Fix declarations of _DINFINITY, _SINFINITY and _SQNAN
[official-gcc.git] / libstdc++-v3 / configure
blobef80912d0b9ea6561f0f2a7fa8016d59d8ff95a5
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_BACKTRACE_FALSE
679 ENABLE_BACKTRACE_TRUE
680 BACKTRACE_SUPPORTS_THREADS
681 BACKTRACE_USES_MALLOC
682 BACKTRACE_SUPPORTED
683 BACKTRACE_CPPFLAGS
684 VIEW_FILE
685 ALLOC_FILE
686 FORMAT_FILE
687 ENABLE_FILESYSTEM_TS_FALSE
688 ENABLE_FILESYSTEM_TS_TRUE
689 baseline_subdir_switch
690 baseline_dir
691 HWCAP_CFLAGS
692 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
693 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
694 GLIBCXX_LDBL_COMPAT_FALSE
695 GLIBCXX_LDBL_COMPAT_TRUE
696 LONG_DOUBLE_ALT128_COMPAT_FLAGS
697 LONG_DOUBLE_128_FLAGS
698 LONG_DOUBLE_COMPAT_FLAGS
699 ENABLE_CXX11_ABI_FALSE
700 ENABLE_CXX11_ABI_TRUE
701 glibcxx_cxx98_abi
702 ENABLE_DUAL_ABI_FALSE
703 ENABLE_DUAL_ABI_TRUE
704 ENABLE_VISIBILITY_FALSE
705 ENABLE_VISIBILITY_TRUE
706 libtool_VERSION
707 ENABLE_SYMVERS_SUN_FALSE
708 ENABLE_SYMVERS_SUN_TRUE
709 ENABLE_SYMVERS_DARWIN_FALSE
710 ENABLE_SYMVERS_DARWIN_TRUE
711 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
712 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
713 ENABLE_SYMVERS_GNU_FALSE
714 ENABLE_SYMVERS_GNU_TRUE
715 ENABLE_SYMVERS_FALSE
716 ENABLE_SYMVERS_TRUE
717 port_specific_symbol_files
718 SYMVER_FILE
719 CXXFILT
720 LTLIBICONV
721 LIBICONV
722 OPT_LDFLAGS
723 SECTION_LDFLAGS
724 GLIBCXX_LIBS
725 ENABLE_VTABLE_VERIFY_FALSE
726 ENABLE_VTABLE_VERIFY_TRUE
727 VTV_CYGMIN_FALSE
728 VTV_CYGMIN_TRUE
729 VTV_CXXLINKFLAGS
730 VTV_PCH_CXXFLAGS
731 VTV_CXXFLAGS
732 ENABLE_WERROR_FALSE
733 ENABLE_WERROR_TRUE
734 ENABLE_PYTHONDIR_FALSE
735 ENABLE_PYTHONDIR_TRUE
736 python_mod_dir
737 ENABLE_EXTERN_TEMPLATE_FALSE
738 ENABLE_EXTERN_TEMPLATE_TRUE
739 EXTRA_CXX_FLAGS
740 GLIBCXX_BUILD_DEBUG_FALSE
741 GLIBCXX_BUILD_DEBUG_TRUE
742 DEBUG_FLAGS
743 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
744 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
745 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
746 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
747 GLIBCXX_C_HEADERS_C_STD_FALSE
748 GLIBCXX_C_HEADERS_C_STD_TRUE
749 GLIBCXX_C_HEADERS_C_FALSE
750 GLIBCXX_C_HEADERS_C_TRUE
751 C_INCLUDE_DIR
752 ALLOCATOR_NAME
753 ALLOCATOR_H
754 ENABLE_ALLOCATOR_NEW_FALSE
755 ENABLE_ALLOCATOR_NEW_TRUE
756 CLOCALE_INTERNAL_H
757 CLOCALE_CC
758 CTIME_CC
759 CTIME_H
760 CNUMERIC_CC
761 CMONEY_CC
762 CMESSAGES_CC
763 CCTYPE_CC
764 CCOLLATE_CC
765 CCODECVT_CC
766 CMESSAGES_H
767 CLOCALE_H
768 USE_NLS
769 glibcxx_localedir
770 glibcxx_POFILES
771 glibcxx_MOFILES
772 check_msgfmt
773 BASIC_FILE_CC
774 BASIC_FILE_H
775 CSTDIO_H
776 SECTION_FLAGS
777 ENABLE_FLOAT128_FALSE
778 ENABLE_FLOAT128_TRUE
779 thread_header
780 glibcxx_PCHFLAGS
781 GLIBCXX_BUILD_PCH_FALSE
782 GLIBCXX_BUILD_PCH_TRUE
783 FREESTANDING_FLAGS
784 GLIBCXX_HOSTED_FALSE
785 GLIBCXX_HOSTED_TRUE
786 glibcxx_compiler_shared_flag
787 glibcxx_compiler_pic_flag
788 glibcxx_lt_pic_flag
789 enable_static
790 enable_shared
791 lt_host_flags
792 CXXCPP
793 OTOOL64
794 OTOOL
795 LIPO
796 NMEDIT
797 DSYMUTIL
798 OBJDUMP
800 ac_ct_DUMPBIN
801 DUMPBIN
803 FGREP
805 LIBTOOL
806 EGREP
807 GREP
809 MAINT
810 MAINTAINER_MODE_FALSE
811 MAINTAINER_MODE_TRUE
812 RANLIB
815 LN_S
816 toplevel_srcdir
817 toplevel_builddir
818 glibcxx_srcdir
819 glibcxx_builddir
820 ac_ct_CXX
821 CXXFLAGS
823 OBJEXT
824 EXEEXT
825 ac_ct_CC
826 CPPFLAGS
827 LDFLAGS
828 CFLAGS
830 AM_BACKSLASH
831 AM_DEFAULT_VERBOSITY
832 AM_DEFAULT_V
833 AM_V
834 am__untar
835 am__tar
836 AMTAR
837 am__leading_dot
838 SET_MAKE
840 mkdir_p
841 MKDIR_P
842 INSTALL_STRIP_PROGRAM
843 STRIP
844 install_sh
845 MAKEINFO
846 AUTOHEADER
847 AUTOMAKE
848 AUTOCONF
849 ACLOCAL
850 VERSION
851 PACKAGE
852 CYGPATH_W
853 am__isrc
854 INSTALL_DATA
855 INSTALL_SCRIPT
856 INSTALL_PROGRAM
857 target_os
858 target_vendor
859 target_cpu
860 target
861 host_os
862 host_vendor
863 host_cpu
864 host
865 build_os
866 build_vendor
867 build_cpu
868 build
869 multi_basedir
870 target_alias
871 host_alias
872 build_alias
873 LIBS
874 ECHO_T
875 ECHO_N
876 ECHO_C
877 DEFS
878 mandir
879 localedir
880 libdir
881 psdir
882 pdfdir
883 dvidir
884 htmldir
885 infodir
886 docdir
887 oldincludedir
888 includedir
889 localstatedir
890 sharedstatedir
891 sysconfdir
892 datadir
893 datarootdir
894 libexecdir
895 sbindir
896 bindir
897 program_transform_name
898 prefix
899 exec_prefix
900 PACKAGE_URL
901 PACKAGE_BUGREPORT
902 PACKAGE_STRING
903 PACKAGE_VERSION
904 PACKAGE_TARNAME
905 PACKAGE_NAME
906 PATH_SEPARATOR
907 SHELL'
908 ac_subst_files=''
909 ac_user_opts='
910 enable_option_checking
911 enable_multilib
912 enable_silent_rules
913 enable_largefile
914 with_target_subdir
915 with_cross_host
916 with_newlib
917 enable_maintainer_mode
918 enable_shared
919 enable_static
920 with_pic
921 enable_fast_install
922 with_gnu_ld
923 enable_libtool_lock
924 enable_hosted_libstdcxx
925 enable_libstdcxx_verbose
926 enable_libstdcxx_pch
927 with_libstdcxx_lock_policy
928 enable_cstdio
929 enable_clocale
930 enable_nls
931 enable_libstdcxx_allocator
932 enable_cheaders_obsolete
933 enable_cheaders
934 enable_long_long
935 enable_wchar_t
936 enable_c99
937 enable_concept_checks
938 enable_libstdcxx_debug_flags
939 enable_libstdcxx_debug
940 enable_cxx_flags
941 enable_fully_dynamic_string
942 enable_extern_template
943 with_python_dir
944 enable_werror
945 enable_vtable_verify
946 enable_libstdcxx_time
947 enable_tls
948 enable_rpath
949 with_libiconv_prefix
950 with_libiconv_type
951 with_system_libunwind
952 enable_linux_futex
953 enable_symvers
954 enable_libstdcxx_visibility
955 enable_libstdcxx_dual_abi
956 with_default_libstdcxx_abi
957 enable_libstdcxx_threads
958 enable_libstdcxx_filesystem_ts
959 enable_libstdcxx_backtrace
960 enable_cet
961 with_gxx_include_dir
962 enable_version_specific_runtime_libs
963 with_toolexeclibdir
964 with_gcc_major_version_only
966 ac_precious_vars='build_alias
967 host_alias
968 target_alias
970 CFLAGS
971 LDFLAGS
972 LIBS
973 CPPFLAGS
975 CXXFLAGS
978 CXXCPP
979 CXXFILT'
982 # Initialize some variables set by options.
983 ac_init_help=
984 ac_init_version=false
985 ac_unrecognized_opts=
986 ac_unrecognized_sep=
987 # The variables have the same names as the options, with
988 # dashes changed to underlines.
989 cache_file=/dev/null
990 exec_prefix=NONE
991 no_create=
992 no_recursion=
993 prefix=NONE
994 program_prefix=NONE
995 program_suffix=NONE
996 program_transform_name=s,x,x,
997 silent=
998 site=
999 srcdir=
1000 verbose=
1001 x_includes=NONE
1002 x_libraries=NONE
1004 # Installation directory options.
1005 # These are left unexpanded so users can "make install exec_prefix=/foo"
1006 # and all the variables that are supposed to be based on exec_prefix
1007 # by default will actually change.
1008 # Use braces instead of parens because sh, perl, etc. also accept them.
1009 # (The list follows the same order as the GNU Coding Standards.)
1010 bindir='${exec_prefix}/bin'
1011 sbindir='${exec_prefix}/sbin'
1012 libexecdir='${exec_prefix}/libexec'
1013 datarootdir='${prefix}/share'
1014 datadir='${datarootdir}'
1015 sysconfdir='${prefix}/etc'
1016 sharedstatedir='${prefix}/com'
1017 localstatedir='${prefix}/var'
1018 includedir='${prefix}/include'
1019 oldincludedir='/usr/include'
1020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1021 infodir='${datarootdir}/info'
1022 htmldir='${docdir}'
1023 dvidir='${docdir}'
1024 pdfdir='${docdir}'
1025 psdir='${docdir}'
1026 libdir='${exec_prefix}/lib'
1027 localedir='${datarootdir}/locale'
1028 mandir='${datarootdir}/man'
1030 ac_prev=
1031 ac_dashdash=
1032 for ac_option
1034 # If the previous option needs an argument, assign it.
1035 if test -n "$ac_prev"; then
1036 eval $ac_prev=\$ac_option
1037 ac_prev=
1038 continue
1041 case $ac_option in
1042 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043 *=) ac_optarg= ;;
1044 *) ac_optarg=yes ;;
1045 esac
1047 # Accept the important Cygnus configure options, so we can diagnose typos.
1049 case $ac_dashdash$ac_option in
1051 ac_dashdash=yes ;;
1053 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1054 ac_prev=bindir ;;
1055 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1056 bindir=$ac_optarg ;;
1058 -build | --build | --buil | --bui | --bu)
1059 ac_prev=build_alias ;;
1060 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1061 build_alias=$ac_optarg ;;
1063 -cache-file | --cache-file | --cache-fil | --cache-fi \
1064 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1065 ac_prev=cache_file ;;
1066 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1067 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1068 cache_file=$ac_optarg ;;
1070 --config-cache | -C)
1071 cache_file=config.cache ;;
1073 -datadir | --datadir | --datadi | --datad)
1074 ac_prev=datadir ;;
1075 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1076 datadir=$ac_optarg ;;
1078 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1079 | --dataroo | --dataro | --datar)
1080 ac_prev=datarootdir ;;
1081 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1082 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1083 datarootdir=$ac_optarg ;;
1085 -disable-* | --disable-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval enable_$ac_useropt=no ;;
1101 -docdir | --docdir | --docdi | --doc | --do)
1102 ac_prev=docdir ;;
1103 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1104 docdir=$ac_optarg ;;
1106 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107 ac_prev=dvidir ;;
1108 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1109 dvidir=$ac_optarg ;;
1111 -enable-* | --enable-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid feature name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1120 "enable_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval enable_$ac_useropt=\$ac_optarg ;;
1127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1129 | --exec | --exe | --ex)
1130 ac_prev=exec_prefix ;;
1131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1133 | --exec=* | --exe=* | --ex=*)
1134 exec_prefix=$ac_optarg ;;
1136 -gas | --gas | --ga | --g)
1137 # Obsolete; use --with-gas.
1138 with_gas=yes ;;
1140 -help | --help | --hel | --he | -h)
1141 ac_init_help=long ;;
1142 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1143 ac_init_help=recursive ;;
1144 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1145 ac_init_help=short ;;
1147 -host | --host | --hos | --ho)
1148 ac_prev=host_alias ;;
1149 -host=* | --host=* | --hos=* | --ho=*)
1150 host_alias=$ac_optarg ;;
1152 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153 ac_prev=htmldir ;;
1154 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155 | --ht=*)
1156 htmldir=$ac_optarg ;;
1158 -includedir | --includedir | --includedi | --included | --include \
1159 | --includ | --inclu | --incl | --inc)
1160 ac_prev=includedir ;;
1161 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1162 | --includ=* | --inclu=* | --incl=* | --inc=*)
1163 includedir=$ac_optarg ;;
1165 -infodir | --infodir | --infodi | --infod | --info | --inf)
1166 ac_prev=infodir ;;
1167 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168 infodir=$ac_optarg ;;
1170 -libdir | --libdir | --libdi | --libd)
1171 ac_prev=libdir ;;
1172 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1173 libdir=$ac_optarg ;;
1175 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1176 | --libexe | --libex | --libe)
1177 ac_prev=libexecdir ;;
1178 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1179 | --libexe=* | --libex=* | --libe=*)
1180 libexecdir=$ac_optarg ;;
1182 -localedir | --localedir | --localedi | --localed | --locale)
1183 ac_prev=localedir ;;
1184 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1185 localedir=$ac_optarg ;;
1187 -localstatedir | --localstatedir | --localstatedi | --localstated \
1188 | --localstate | --localstat | --localsta | --localst | --locals)
1189 ac_prev=localstatedir ;;
1190 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1191 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1192 localstatedir=$ac_optarg ;;
1194 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195 ac_prev=mandir ;;
1196 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1197 mandir=$ac_optarg ;;
1199 -nfp | --nfp | --nf)
1200 # Obsolete; use --without-fp.
1201 with_fp=no ;;
1203 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1204 | --no-cr | --no-c | -n)
1205 no_create=yes ;;
1207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209 no_recursion=yes ;;
1211 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1212 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1213 | --oldin | --oldi | --old | --ol | --o)
1214 ac_prev=oldincludedir ;;
1215 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1216 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1217 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1218 oldincludedir=$ac_optarg ;;
1220 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221 ac_prev=prefix ;;
1222 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1223 prefix=$ac_optarg ;;
1225 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1226 | --program-pre | --program-pr | --program-p)
1227 ac_prev=program_prefix ;;
1228 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1229 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1230 program_prefix=$ac_optarg ;;
1232 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1233 | --program-suf | --program-su | --program-s)
1234 ac_prev=program_suffix ;;
1235 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1236 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1237 program_suffix=$ac_optarg ;;
1239 -program-transform-name | --program-transform-name \
1240 | --program-transform-nam | --program-transform-na \
1241 | --program-transform-n | --program-transform- \
1242 | --program-transform | --program-transfor \
1243 | --program-transfo | --program-transf \
1244 | --program-trans | --program-tran \
1245 | --progr-tra | --program-tr | --program-t)
1246 ac_prev=program_transform_name ;;
1247 -program-transform-name=* | --program-transform-name=* \
1248 | --program-transform-nam=* | --program-transform-na=* \
1249 | --program-transform-n=* | --program-transform-=* \
1250 | --program-transform=* | --program-transfor=* \
1251 | --program-transfo=* | --program-transf=* \
1252 | --program-trans=* | --program-tran=* \
1253 | --progr-tra=* | --program-tr=* | --program-t=*)
1254 program_transform_name=$ac_optarg ;;
1256 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257 ac_prev=pdfdir ;;
1258 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259 pdfdir=$ac_optarg ;;
1261 -psdir | --psdir | --psdi | --psd | --ps)
1262 ac_prev=psdir ;;
1263 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264 psdir=$ac_optarg ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1268 silent=yes ;;
1270 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271 ac_prev=sbindir ;;
1272 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1273 | --sbi=* | --sb=*)
1274 sbindir=$ac_optarg ;;
1276 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1277 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1278 | --sharedst | --shareds | --shared | --share | --shar \
1279 | --sha | --sh)
1280 ac_prev=sharedstatedir ;;
1281 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1282 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1283 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1284 | --sha=* | --sh=*)
1285 sharedstatedir=$ac_optarg ;;
1287 -site | --site | --sit)
1288 ac_prev=site ;;
1289 -site=* | --site=* | --sit=*)
1290 site=$ac_optarg ;;
1292 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293 ac_prev=srcdir ;;
1294 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1295 srcdir=$ac_optarg ;;
1297 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1298 | --syscon | --sysco | --sysc | --sys | --sy)
1299 ac_prev=sysconfdir ;;
1300 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1301 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1302 sysconfdir=$ac_optarg ;;
1304 -target | --target | --targe | --targ | --tar | --ta | --t)
1305 ac_prev=target_alias ;;
1306 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1307 target_alias=$ac_optarg ;;
1309 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310 verbose=yes ;;
1312 -version | --version | --versio | --versi | --vers | -V)
1313 ac_init_version=: ;;
1315 -with-* | --with-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1324 "with_$ac_useropt"
1325 "*) ;;
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1328 esac
1329 eval with_$ac_useropt=\$ac_optarg ;;
1331 -without-* | --without-*)
1332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335 as_fn_error $? "invalid package name: $ac_useropt"
1336 ac_useropt_orig=$ac_useropt
1337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1340 "with_$ac_useropt"
1341 "*) ;;
1342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343 ac_unrecognized_sep=', ';;
1344 esac
1345 eval with_$ac_useropt=no ;;
1347 --x)
1348 # Obsolete; use --with-x.
1349 with_x=yes ;;
1351 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1352 | --x-incl | --x-inc | --x-in | --x-i)
1353 ac_prev=x_includes ;;
1354 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1355 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1356 x_includes=$ac_optarg ;;
1358 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1359 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360 ac_prev=x_libraries ;;
1361 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1362 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1363 x_libraries=$ac_optarg ;;
1365 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1366 Try \`$0 --help' for more information"
1369 *=*)
1370 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371 # Reject names that are not valid shell variable names.
1372 case $ac_envvar in #(
1373 '' | [0-9]* | *[!_$as_cr_alnum]* )
1374 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1375 esac
1376 eval $ac_envvar=\$ac_optarg
1377 export $ac_envvar ;;
1380 # FIXME: should be removed in autoconf 3.0.
1381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1387 esac
1388 done
1390 if test -n "$ac_prev"; then
1391 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1392 as_fn_error $? "missing argument to $ac_option"
1395 if test -n "$ac_unrecognized_opts"; then
1396 case $enable_option_checking in
1397 no) ;;
1398 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1399 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400 esac
1403 # Check all directory arguments for consistency.
1404 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405 datadir sysconfdir sharedstatedir localstatedir includedir \
1406 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407 libdir localedir mandir
1409 eval ac_val=\$$ac_var
1410 # Remove trailing slashes.
1411 case $ac_val in
1412 */ )
1413 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414 eval $ac_var=\$ac_val;;
1415 esac
1416 # Be sure to have absolute directory names.
1417 case $ac_val in
1418 [\\/$]* | ?:[\\/]* ) continue;;
1419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420 esac
1421 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1422 done
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1427 build=$build_alias
1428 host=$host_alias
1429 target=$target_alias
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433 if test "x$build_alias" = x; then
1434 cross_compiling=maybe
1435 elif test "x$build_alias" != "x$host_alias"; then
1436 cross_compiling=yes
1440 ac_tool_prefix=
1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1443 test "$silent" = yes && exec 6>/dev/null
1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di=`ls -di .` &&
1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 as_fn_error $? "working directory cannot be determined"
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 as_fn_error $? "pwd does not report name of working directory"
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1465 s//\1/
1468 /^X\(\/\/\)[^/].*/{
1469 s//\1/
1472 /^X\(\/\/\)$/{
1473 s//\1/
1476 /^X\(\/\).*/{
1477 s//\1/
1480 s/.*/./; q'`
1481 srcdir=$ac_confdir
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1483 srcdir=..
1485 else
1486 ac_srcdir_defaulted=no
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1490 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 ac_abs_confdir=`(
1494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1495 pwd)`
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1498 srcdir=.
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1503 case $srcdir in
1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 esac
1506 for ac_var in $ac_precious_vars; do
1507 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_${ac_var}_value=\$${ac_var}
1509 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1511 done
1514 # Report the --help message.
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1519 cat <<_ACEOF
1520 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1527 Defaults for the options are specified in brackets.
1529 Configuration:
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking ...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1544 [PREFIX]
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1551 For better control, use the options below.
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1573 _ACEOF
1575 cat <<\_ACEOF
1577 Program names:
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1582 System types:
1583 --build=BUILD configure for building on BUILD [guessed]
1584 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1585 --target=TARGET configure for building compilers for TARGET [HOST]
1586 _ACEOF
1589 if test -n "$ac_init_help"; then
1590 case $ac_init_help in
1591 short | recursive ) echo "Configuration of package-unused version-unused:";;
1592 esac
1593 cat <<\_ACEOF
1595 Optional Features:
1596 --disable-option-checking ignore unrecognized --enable/--with options
1597 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1598 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1599 --enable-multilib build many library versions (default)
1600 --enable-silent-rules less verbose build output (undo: "make V=1")
1601 --disable-silent-rules verbose build output (undo: "make V=0")
1602 --disable-largefile omit support for large files
1603 --enable-maintainer-mode
1604 enable make rules and dependencies not useful (and
1605 sometimes confusing) to the casual installer
1606 --enable-shared[=PKGS] build shared libraries [default=yes]
1607 --enable-static[=PKGS] build static libraries [default=yes]
1608 --enable-fast-install[=PKGS]
1609 optimize for fast installation [default=yes]
1610 --disable-libtool-lock avoid locking (might break parallel builds)
1611 --disable-hosted-libstdcxx
1612 only build freestanding C++ runtime support
1613 --disable-libstdcxx-verbose
1614 disable termination messages to standard error
1615 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1616 [default=$is_hosted]
1617 --enable-cstdio[=PACKAGE]
1618 use target-specific I/O package [default=stdio]
1619 --enable-clocale[=MODEL]
1620 use MODEL for target locale package [default=auto]
1621 --enable-nls use Native Language Support (default)
1622 --enable-libstdcxx-allocator[=KIND]
1623 use KIND for target std::allocator base
1624 [default=auto]
1625 --enable-cheaders-obsolete
1626 allow use of obsolete "C" headers for g++
1627 [default=no]
1628 --enable-cheaders[=KIND]
1629 construct "C" headers for g++ [default=$c_model]
1630 --enable-long-long enable template specializations for 'long long'
1631 [default=yes]
1632 --enable-wchar_t enable template specializations for 'wchar_t'
1633 [default=yes]
1634 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1635 --enable-concept-checks use Boost-derived template checks [default=no]
1636 --enable-libstdcxx-debug-flags=FLAGS
1637 pass compiler FLAGS when building debug library
1638 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1639 --enable-libstdcxx-debug
1640 build extra debug library [default=no]
1641 --enable-cxx-flags=FLAGS
1642 pass compiler FLAGS when building library [default=]
1643 --enable-fully-dynamic-string
1644 do not put empty strings in per-process static
1645 memory [default=no]
1646 --enable-extern-template
1647 enable extern template [default=yes]
1648 --enable-werror turns on -Werror [default=no]
1649 --enable-vtable-verify enable vtable verify [default=no]
1650 --enable-libstdcxx-time[=KIND]
1651 use KIND for check type [default=auto]
1652 --enable-tls Use thread-local storage [default=yes]
1653 --disable-rpath do not hardcode runtime library paths
1654 --enable-linux-futex use the Linux futex system call [default=default]
1655 --enable-symvers[=STYLE]
1656 enables symbol versioning of the shared library
1657 [default=yes]
1658 --enable-libstdcxx-visibility
1659 enables visibility safe usage [default=yes]
1660 --enable-libstdcxx-dual-abi
1661 support two versions of std::string [default=yes]
1662 --enable-libstdcxx-threads
1663 enable C++11 threads support [default=auto]
1664 --enable-libstdcxx-filesystem-ts
1665 turns on ISO/IEC TS 18822 support [default=auto]
1666 --enable-libstdcxx-backtrace
1667 turns on libbacktrace support [default=auto]
1668 --enable-cet enable Intel CET in target libraries [default=auto]
1669 --enable-version-specific-runtime-libs
1670 Specify that runtime libraries should be installed
1671 in a compiler-specific directory
1673 Optional Packages:
1674 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1675 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1676 --with-target-subdir=SUBDIR
1677 configuring in a subdirectory
1678 --with-cross-host=HOST configuring with a cross compiler
1679 --with-newlib assume newlib as a system C library
1680 --with-pic try to use only PIC/non-PIC objects [default=use
1681 both]
1682 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1683 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1684 synchronization policy for shared_ptr reference
1685 counting [default=auto]
1686 --with-python-dir the location to install Python modules. This path is
1687 relative starting from the prefix.
1688 --with-gnu-ld assume the C compiler uses GNU ld default=no
1689 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1690 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1691 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1692 --with-system-libunwind use installed libunwind
1693 --with-default-libstdcxx-abi
1694 set the std::string ABI to use by default
1695 --with-gxx-include-dir=DIR
1696 installation directory for include files
1697 --with-toolexeclibdir=DIR
1698 install libraries built with a cross compiler within
1700 --with-gcc-major-version-only
1701 use only GCC major number in filesystem paths
1703 Some influential environment variables:
1704 CC C compiler command
1705 CFLAGS C compiler flags
1706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1707 nonstandard directory <lib dir>
1708 LIBS libraries to pass to the linker, e.g. -l<library>
1709 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1710 you have headers in a nonstandard directory <include dir>
1711 CXX C++ compiler command
1712 CXXFLAGS C++ compiler flags
1713 CPP C preprocessor
1714 CXXCPP C++ preprocessor
1715 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1716 `c++filt', `gc++filt' on PATH.
1718 Use these variables to override the choices made by `configure' or to help
1719 it to find libraries and programs with nonstandard names/locations.
1721 Report bugs to the package provider.
1722 _ACEOF
1723 ac_status=$?
1726 if test "$ac_init_help" = "recursive"; then
1727 # If there are subdirs, report their specific --help.
1728 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1729 test -d "$ac_dir" ||
1730 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1731 continue
1732 ac_builddir=.
1734 case "$ac_dir" in
1735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1738 # A ".." for each directory in $ac_dir_suffix.
1739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1740 case $ac_top_builddir_sub in
1741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1743 esac ;;
1744 esac
1745 ac_abs_top_builddir=$ac_pwd
1746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1747 # for backward compatibility:
1748 ac_top_builddir=$ac_top_build_prefix
1750 case $srcdir in
1751 .) # We are building in place.
1752 ac_srcdir=.
1753 ac_top_srcdir=$ac_top_builddir_sub
1754 ac_abs_top_srcdir=$ac_pwd ;;
1755 [\\/]* | ?:[\\/]* ) # Absolute name.
1756 ac_srcdir=$srcdir$ac_dir_suffix;
1757 ac_top_srcdir=$srcdir
1758 ac_abs_top_srcdir=$srcdir ;;
1759 *) # Relative name.
1760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1761 ac_top_srcdir=$ac_top_build_prefix$srcdir
1762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1763 esac
1764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1766 cd "$ac_dir" || { ac_status=$?; continue; }
1767 # Check for guested configure.
1768 if test -f "$ac_srcdir/configure.gnu"; then
1769 echo &&
1770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1771 elif test -f "$ac_srcdir/configure"; then
1772 echo &&
1773 $SHELL "$ac_srcdir/configure" --help=recursive
1774 else
1775 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1776 fi || ac_status=$?
1777 cd "$ac_pwd" || { ac_status=$?; break; }
1778 done
1781 test -n "$ac_init_help" && exit $ac_status
1782 if $ac_init_version; then
1783 cat <<\_ACEOF
1784 package-unused configure version-unused
1785 generated by GNU Autoconf 2.69
1787 Copyright (C) 2012 Free Software Foundation, Inc.
1788 This configure script is free software; the Free Software Foundation
1789 gives unlimited permission to copy, distribute and modify it.
1790 _ACEOF
1791 exit
1794 ## ------------------------ ##
1795 ## Autoconf initialization. ##
1796 ## ------------------------ ##
1798 # ac_fn_c_try_compile LINENO
1799 # --------------------------
1800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext
1805 if { { ac_try="$ac_compile"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_compile") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest.$ac_objext; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=1
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status $ac_retval
1834 } # ac_fn_c_try_compile
1836 # ac_fn_cxx_try_compile LINENO
1837 # ----------------------------
1838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_compile ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext
1843 if { { ac_try="$ac_compile"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_compile") 2>conftest.err
1851 ac_status=$?
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest.$ac_objext; then :
1862 ac_retval=0
1863 else
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1867 ac_retval=1
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } # ac_fn_cxx_try_compile
1874 # ac_fn_c_try_cpp LINENO
1875 # ----------------------
1876 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1877 ac_fn_c_try_cpp ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if { { ac_try="$ac_cpp conftest.$ac_ext"
1881 case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1888 ac_status=$?
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } > conftest.i && {
1896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1897 test ! -s conftest.err
1898 }; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1904 ac_retval=1
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1909 } # ac_fn_c_try_cpp
1911 # ac_fn_c_try_link LINENO
1912 # -----------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_c_try_link ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 rm -f conftest.$ac_objext conftest$ac_exeext
1918 if { { ac_try="$ac_link"
1919 case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>conftest.err
1926 ac_status=$?
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_c_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest$ac_exeext && {
1937 test "$cross_compiling" = yes ||
1938 test -x conftest$ac_exeext
1939 }; then :
1940 ac_retval=0
1941 else
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1945 ac_retval=1
1947 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1948 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1949 # interfere with the next link command; also delete a directory that is
1950 # left behind by Apple's compiler. We do this before executing the actions.
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status $ac_retval
1955 } # ac_fn_c_try_link
1957 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1958 # -------------------------------------------------------
1959 # Tests whether HEADER exists and can be compiled using the include files in
1960 # INCLUDES, setting the cache variable VAR accordingly.
1961 ac_fn_c_check_header_compile ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1972 #include <$2>
1973 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 eval "$3=yes"
1976 else
1977 eval "$3=no"
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 eval ac_res=\$$3
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_header_compile
1988 # ac_fn_c_try_run LINENO
1989 # ----------------------
1990 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1991 # that executables *can* be run.
1992 ac_fn_c_try_run ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 if { { ac_try="$ac_link"
1996 case "(($ac_try" in
1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
1999 esac
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_link") 2>&5
2003 ac_status=$?
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2006 { { case "(($ac_try" in
2007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2009 esac
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_try") 2>&5
2013 ac_status=$?
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; }; }; then :
2016 ac_retval=0
2017 else
2018 $as_echo "$as_me: program exited with status $ac_status" >&5
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2022 ac_retval=$ac_status
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status $ac_retval
2028 } # ac_fn_c_try_run
2030 # ac_fn_c_check_func LINENO FUNC VAR
2031 # ----------------------------------
2032 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2033 ac_fn_c_check_func ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \${$3+:} false; then :
2039 $as_echo_n "(cached) " >&6
2040 else
2041 if test x$gcc_no_link = xyes; then
2042 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2048 #define $2 innocuous_$2
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char $2 (); below.
2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2053 <limits.h> exists even on freestanding compilers. */
2055 #ifdef __STDC__
2056 # include <limits.h>
2057 #else
2058 # include <assert.h>
2059 #endif
2061 #undef $2
2063 /* Override any GCC internal prototype to avoid an error.
2064 Use char because int might match the return type of a GCC
2065 builtin and then its argument prototype would still apply. */
2066 #ifdef __cplusplus
2067 extern "C"
2068 #endif
2069 char $2 ();
2070 /* The GNU C library defines this for functions which it implements
2071 to always fail with ENOSYS. Some functions are actually named
2072 something starting with __ and the normal name is an alias. */
2073 #if defined __stub_$2 || defined __stub___$2
2074 choke me
2075 #endif
2078 main ()
2080 return $2 ();
2082 return 0;
2084 _ACEOF
2085 if ac_fn_c_try_link "$LINENO"; then :
2086 eval "$3=yes"
2087 else
2088 eval "$3=no"
2090 rm -f core conftest.err conftest.$ac_objext \
2091 conftest$ac_exeext conftest.$ac_ext
2093 eval ac_res=\$$3
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_func
2100 # ac_fn_cxx_try_cpp LINENO
2101 # ------------------------
2102 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2103 ac_fn_cxx_try_cpp ()
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 if { { ac_try="$ac_cpp conftest.$ac_ext"
2107 case "(($ac_try" in
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2110 esac
2111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2112 $as_echo "$ac_try_echo"; } >&5
2113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2114 ac_status=$?
2115 if test -s conftest.err; then
2116 grep -v '^ *+' conftest.err >conftest.er1
2117 cat conftest.er1 >&5
2118 mv -f conftest.er1 conftest.err
2120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2121 test $ac_status = 0; } > conftest.i && {
2122 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2123 test ! -s conftest.err
2124 }; then :
2125 ac_retval=0
2126 else
2127 $as_echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2130 ac_retval=1
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 as_fn_set_status $ac_retval
2135 } # ac_fn_cxx_try_cpp
2137 # ac_fn_cxx_try_link LINENO
2138 # -------------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
2140 ac_fn_cxx_try_link ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest$ac_exeext
2144 if { { ac_try="$ac_link"
2145 case "(($ac_try" in
2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2148 esac
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>conftest.err
2152 ac_status=$?
2153 if test -s conftest.err; then
2154 grep -v '^ *+' conftest.err >conftest.er1
2155 cat conftest.er1 >&5
2156 mv -f conftest.er1 conftest.err
2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159 test $ac_status = 0; } && {
2160 test -z "$ac_cxx_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest$ac_exeext && {
2163 test "$cross_compiling" = yes ||
2164 test -x conftest$ac_exeext
2165 }; then :
2166 ac_retval=0
2167 else
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 ac_retval=1
2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175 # interfere with the next link command; also delete a directory that is
2176 # left behind by Apple's compiler. We do this before executing the actions.
2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 as_fn_set_status $ac_retval
2181 } # ac_fn_cxx_try_link
2183 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # -------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_c_check_header_mongrel ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if eval \${$3+:} false; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if eval \${$3+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_c_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2230 rm -f conftest.err conftest.i conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if eval \${$3+:} false; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2268 } # ac_fn_c_check_header_mongrel
2270 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2271 # ---------------------------------------------------------
2272 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2273 # the include files in INCLUDES and setting the cache variable VAR
2274 # accordingly.
2275 ac_fn_cxx_check_header_mongrel ()
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if eval \${$3+:} false; then :
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \${$3+:} false; then :
2282 $as_echo_n "(cached) " >&6
2284 eval ac_res=\$$3
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2286 $as_echo "$ac_res" >&6; }
2287 else
2288 # Is the header compilable?
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2290 $as_echo_n "checking $2 usability... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2294 #include <$2>
2295 _ACEOF
2296 if ac_fn_cxx_try_compile "$LINENO"; then :
2297 ac_header_compiler=yes
2298 else
2299 ac_header_compiler=no
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2303 $as_echo "$ac_header_compiler" >&6; }
2305 # Is the header present?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2307 $as_echo_n "checking $2 presence... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 #include <$2>
2311 _ACEOF
2312 if ac_fn_cxx_try_cpp "$LINENO"; then :
2313 ac_header_preproc=yes
2314 else
2315 ac_header_preproc=no
2317 rm -f conftest.err conftest.i conftest.$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2319 $as_echo "$ac_header_preproc" >&6; }
2321 # So? What about this header?
2322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2323 yes:no: )
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2325 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2327 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2329 no:yes:* )
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2331 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2333 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2335 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2337 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2339 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2341 esac
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2343 $as_echo_n "checking for $2... " >&6; }
2344 if eval \${$3+:} false; then :
2345 $as_echo_n "(cached) " >&6
2346 else
2347 eval "$3=\$ac_header_compiler"
2349 eval ac_res=\$$3
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2355 } # ac_fn_cxx_check_header_mongrel
2357 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2358 # --------------------------------------------
2359 # Tries to find the compile-time value of EXPR in a program that includes
2360 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2361 # computed
2362 ac_fn_c_compute_int ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 if test "$cross_compiling" = yes; then
2366 # Depending upon the size, compute the lo and hi bounds.
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2371 main ()
2373 static int test_array [1 - 2 * !(($2) >= 0)];
2374 test_array [0] = 0;
2375 return test_array [0];
2378 return 0;
2380 _ACEOF
2381 if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_lo=0 ac_mid=0
2383 while :; do
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2391 test_array [0] = 0;
2392 return test_array [0];
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_hi=$ac_mid; break
2400 else
2401 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2402 if test $ac_lo -le $ac_mid; then
2403 ac_lo= ac_hi=
2404 break
2406 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 done
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2415 main ()
2417 static int test_array [1 - 2 * !(($2) < 0)];
2418 test_array [0] = 0;
2419 return test_array [0];
2422 return 0;
2424 _ACEOF
2425 if ac_fn_c_try_compile "$LINENO"; then :
2426 ac_hi=-1 ac_mid=-1
2427 while :; do
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_lo=$ac_mid; break
2444 else
2445 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2446 if test $ac_mid -le $ac_hi; then
2447 ac_lo= ac_hi=
2448 break
2450 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 else
2455 ac_lo= ac_hi=
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 # Binary search between lo and hi bounds.
2461 while test "x$ac_lo" != "x$ac_hi"; do
2462 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2467 main ()
2469 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2470 test_array [0] = 0;
2471 return test_array [0];
2474 return 0;
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 ac_hi=$ac_mid
2479 else
2480 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 done
2484 case $ac_lo in #((
2485 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2486 '') ac_retval=1 ;;
2487 esac
2488 else
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2492 static long int longval () { return $2; }
2493 static unsigned long int ulongval () { return $2; }
2494 #include <stdio.h>
2495 #include <stdlib.h>
2497 main ()
2500 FILE *f = fopen ("conftest.val", "w");
2501 if (! f)
2502 return 1;
2503 if (($2) < 0)
2505 long int i = longval ();
2506 if (i != ($2))
2507 return 1;
2508 fprintf (f, "%ld", i);
2510 else
2512 unsigned long int i = ulongval ();
2513 if (i != ($2))
2514 return 1;
2515 fprintf (f, "%lu", i);
2517 /* Do not output a trailing newline, as this causes \r\n confusion
2518 on some platforms. */
2519 return ferror (f) || fclose (f) != 0;
2522 return 0;
2524 _ACEOF
2525 if ac_fn_c_try_run "$LINENO"; then :
2526 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2527 else
2528 ac_retval=1
2530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2531 conftest.$ac_objext conftest.beam conftest.$ac_ext
2532 rm -f conftest.val
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2538 } # ac_fn_c_compute_int
2540 # ac_fn_cxx_check_func LINENO FUNC VAR
2541 # ------------------------------------
2542 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2543 ac_fn_cxx_check_func ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \${$3+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test x$gcc_no_link = xyes; then
2552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2556 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2558 #define $2 innocuous_$2
2560 /* System header to define __stub macros and hopefully few prototypes,
2561 which can conflict with char $2 (); below.
2562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2563 <limits.h> exists even on freestanding compilers. */
2565 #ifdef __STDC__
2566 # include <limits.h>
2567 #else
2568 # include <assert.h>
2569 #endif
2571 #undef $2
2573 /* Override any GCC internal prototype to avoid an error.
2574 Use char because int might match the return type of a GCC
2575 builtin and then its argument prototype would still apply. */
2576 #ifdef __cplusplus
2577 extern "C"
2578 #endif
2579 char $2 ();
2580 /* The GNU C library defines this for functions which it implements
2581 to always fail with ENOSYS. Some functions are actually named
2582 something starting with __ and the normal name is an alias. */
2583 #if defined __stub_$2 || defined __stub___$2
2584 choke me
2585 #endif
2588 main ()
2590 return $2 ();
2592 return 0;
2594 _ACEOF
2595 if ac_fn_cxx_try_link "$LINENO"; then :
2596 eval "$3=yes"
2597 else
2598 eval "$3=no"
2600 rm -f core conftest.err conftest.$ac_objext \
2601 conftest$ac_exeext conftest.$ac_ext
2603 eval ac_res=\$$3
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 } # ac_fn_cxx_check_func
2610 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2611 # -------------------------------------------
2612 # Tests whether TYPE exists after having included INCLUDES, setting cache
2613 # variable VAR accordingly.
2614 ac_fn_c_check_type ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 eval "$3=no"
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 :
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2640 main ()
2642 if (sizeof (($2)))
2643 return 0;
2645 return 0;
2647 _ACEOF
2648 if ac_fn_c_try_compile "$LINENO"; then :
2650 else
2651 eval "$3=yes"
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 eval ac_res=\$$3
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_type
2664 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2665 # ---------------------------------------------
2666 # Tests whether TYPE exists after having included INCLUDES, setting cache
2667 # variable VAR accordingly.
2668 ac_fn_cxx_check_type ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if eval \${$3+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 eval "$3=no"
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 :
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2694 main ()
2696 if (sizeof (($2)))
2697 return 0;
2699 return 0;
2701 _ACEOF
2702 if ac_fn_cxx_try_compile "$LINENO"; then :
2704 else
2705 eval "$3=yes"
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2711 eval ac_res=\$$3
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 } # ac_fn_cxx_check_type
2718 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2719 # ---------------------------------------------
2720 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2721 # accordingly.
2722 ac_fn_c_check_decl ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 as_decl_name=`echo $2|sed 's/ *(.*//'`
2726 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2728 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2729 if eval \${$3+:} false; then :
2730 $as_echo_n "(cached) " >&6
2731 else
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2736 main ()
2738 #ifndef $as_decl_name
2739 #ifdef __cplusplus
2740 (void) $as_decl_use;
2741 #else
2742 (void) $as_decl_name;
2743 #endif
2744 #endif
2747 return 0;
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2751 eval "$3=yes"
2752 else
2753 eval "$3=no"
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_decl
2763 cat >config.log <<_ACEOF
2764 This file contains any messages produced by compilers while
2765 running configure, to aid debugging if configure makes a mistake.
2767 It was created by package-unused $as_me version-unused, which was
2768 generated by GNU Autoconf 2.69. Invocation command line was
2770 $ $0 $@
2772 _ACEOF
2773 exec 5>>config.log
2775 cat <<_ASUNAME
2776 ## --------- ##
2777 ## Platform. ##
2778 ## --------- ##
2780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2797 _ASUNAME
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2802 IFS=$as_save_IFS
2803 test -z "$as_dir" && as_dir=.
2804 $as_echo "PATH: $as_dir"
2805 done
2806 IFS=$as_save_IFS
2808 } >&5
2810 cat >&5 <<_ACEOF
2813 ## ----------- ##
2814 ## Core tests. ##
2815 ## ----------- ##
2817 _ACEOF
2820 # Keep a trace of the command line.
2821 # Strip out --no-create and --no-recursion so they do not pile up.
2822 # Strip out --silent because we don't want to record it for future runs.
2823 # Also quote any args containing shell meta-characters.
2824 # Make two passes to allow for proper duplicate-argument suppression.
2825 ac_configure_args=
2826 ac_configure_args0=
2827 ac_configure_args1=
2828 ac_must_keep_next=false
2829 for ac_pass in 1 2
2831 for ac_arg
2833 case $ac_arg in
2834 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2836 | -silent | --silent | --silen | --sile | --sil)
2837 continue ;;
2838 *\'*)
2839 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2840 esac
2841 case $ac_pass in
2842 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2844 as_fn_append ac_configure_args1 " '$ac_arg'"
2845 if test $ac_must_keep_next = true; then
2846 ac_must_keep_next=false # Got value, back to normal.
2847 else
2848 case $ac_arg in
2849 *=* | --config-cache | -C | -disable-* | --disable-* \
2850 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2851 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2852 | -with-* | --with-* | -without-* | --without-* | --x)
2853 case "$ac_configure_args0 " in
2854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2855 esac
2857 -* ) ac_must_keep_next=true ;;
2858 esac
2860 as_fn_append ac_configure_args " '$ac_arg'"
2862 esac
2863 done
2864 done
2865 { ac_configure_args0=; unset ac_configure_args0;}
2866 { ac_configure_args1=; unset ac_configure_args1;}
2868 # When interrupted or exit'd, cleanup temporary files, and complete
2869 # config.log. We remove comments because anyway the quotes in there
2870 # would cause problems or look ugly.
2871 # WARNING: Use '\'' to represent an apostrophe within the trap.
2872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2873 trap 'exit_status=$?
2874 # Save into config.log some information that might help in debugging.
2876 echo
2878 $as_echo "## ---------------- ##
2879 ## Cache variables. ##
2880 ## ---------------- ##"
2881 echo
2882 # The following way of writing the cache mishandles newlines in values,
2884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2895 *) { eval $ac_var=; unset $ac_var;} ;;
2896 esac ;;
2897 esac
2898 done
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 sed -n \
2903 "s/'\''/'\''\\\\'\'''\''/g;
2904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2905 ;; #(
2907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2909 esac |
2910 sort
2912 echo
2914 $as_echo "## ----------------- ##
2915 ## Output variables. ##
2916 ## ----------------- ##"
2917 echo
2918 for ac_var in $ac_subst_vars
2920 eval ac_val=\$$ac_var
2921 case $ac_val in
2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2923 esac
2924 $as_echo "$ac_var='\''$ac_val'\''"
2925 done | sort
2926 echo
2928 if test -n "$ac_subst_files"; then
2929 $as_echo "## ------------------- ##
2930 ## File substitutions. ##
2931 ## ------------------- ##"
2932 echo
2933 for ac_var in $ac_subst_files
2935 eval ac_val=\$$ac_var
2936 case $ac_val in
2937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2938 esac
2939 $as_echo "$ac_var='\''$ac_val'\''"
2940 done | sort
2941 echo
2944 if test -s confdefs.h; then
2945 $as_echo "## ----------- ##
2946 ## confdefs.h. ##
2947 ## ----------- ##"
2948 echo
2949 cat confdefs.h
2950 echo
2952 test "$ac_signal" != 0 &&
2953 $as_echo "$as_me: caught signal $ac_signal"
2954 $as_echo "$as_me: exit $exit_status"
2955 } >&5
2956 rm -f core *.core core.conftest.* &&
2957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2958 exit $exit_status
2960 for ac_signal in 1 2 13 15; do
2961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2962 done
2963 ac_signal=0
2965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2966 rm -f -r conftest* confdefs.h
2968 $as_echo "/* confdefs.h */" > confdefs.h
2970 # Predefined preprocessor variables.
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_NAME "$PACKAGE_NAME"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_STRING "$PACKAGE_STRING"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_URL "$PACKAGE_URL"
2994 _ACEOF
2997 # Let the site file select an alternate cache file if it wants to.
2998 # Prefer an explicitly selected file to automatically selected ones.
2999 ac_site_file1=NONE
3000 ac_site_file2=NONE
3001 if test -n "$CONFIG_SITE"; then
3002 # We do not want a PATH search for config.site.
3003 case $CONFIG_SITE in #((
3004 -*) ac_site_file1=./$CONFIG_SITE;;
3005 */*) ac_site_file1=$CONFIG_SITE;;
3006 *) ac_site_file1=./$CONFIG_SITE;;
3007 esac
3008 elif test "x$prefix" != xNONE; then
3009 ac_site_file1=$prefix/share/config.site
3010 ac_site_file2=$prefix/etc/config.site
3011 else
3012 ac_site_file1=$ac_default_prefix/share/config.site
3013 ac_site_file2=$ac_default_prefix/etc/config.site
3015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3017 test "x$ac_site_file" = xNONE && continue
3018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3021 sed 's/^/| /' "$ac_site_file" >&5
3022 . "$ac_site_file" \
3023 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error $? "failed to load site script $ac_site_file
3026 See \`config.log' for more details" "$LINENO" 5; }
3028 done
3030 if test -r "$cache_file"; then
3031 # Some versions of bash will fail to source /dev/null (special files
3032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3033 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3035 $as_echo "$as_me: loading cache $cache_file" >&6;}
3036 case $cache_file in
3037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3038 *) . "./$cache_file";;
3039 esac
3041 else
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3043 $as_echo "$as_me: creating cache $cache_file" >&6;}
3044 >$cache_file
3047 # Check that the precious variables saved in the cache have kept the same
3048 # value.
3049 ac_cache_corrupted=false
3050 for ac_var in $ac_precious_vars; do
3051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3052 eval ac_new_set=\$ac_env_${ac_var}_set
3053 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3054 eval ac_new_val=\$ac_env_${ac_var}_value
3055 case $ac_old_set,$ac_new_set in
3056 set,)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3059 ac_cache_corrupted=: ;;
3060 ,set)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3064 ,);;
3066 if test "x$ac_old_val" != "x$ac_new_val"; then
3067 # differences in whitespace do not lead to failure.
3068 ac_old_val_w=`echo x $ac_old_val`
3069 ac_new_val_w=`echo x $ac_new_val`
3070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3073 ac_cache_corrupted=:
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3077 eval $ac_var=\$ac_old_val
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3083 fi;;
3084 esac
3085 # Pass precious variables to config.status.
3086 if test "$ac_new_set" = set; then
3087 case $ac_new_val in
3088 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 *) ac_arg=$ac_var=$ac_new_val ;;
3090 esac
3091 case " $ac_configure_args " in
3092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3093 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3094 esac
3096 done
3097 if $ac_cache_corrupted; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3108 ac_ext=c
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 ac_config_headers="$ac_config_headers config.h"
3122 # This works around the fact that libtool configuration may change LD
3123 # for this particular configuration, but some shells, instead of
3124 # keeping the changes in LD private, export them just because LD is
3125 # exported. Only used at the end of this file.
3126 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3128 # Find the rest of the source tree framework.
3129 # Default to --enable-multilib
3130 # Check whether --enable-multilib was given.
3131 if test "${enable_multilib+set}" = set; then :
3132 enableval=$enable_multilib; case "$enableval" in
3133 yes) multilib=yes ;;
3134 no) multilib=no ;;
3135 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3136 esac
3137 else
3138 multilib=yes
3142 # We may get other options which we leave undocumented:
3143 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3144 # See config-ml.in if you want the gory details.
3146 if test "$srcdir" = "."; then
3147 if test "$with_target_subdir" != "."; then
3148 multi_basedir="$srcdir/$with_multisrctop../.."
3149 else
3150 multi_basedir="$srcdir/$with_multisrctop.."
3152 else
3153 multi_basedir="$srcdir/.."
3157 # Even if the default multilib is not a cross compilation,
3158 # it may be that some of the other multilibs are.
3159 if test $cross_compiling = no && test $multilib = yes \
3160 && test "x${with_multisubdir}" != x ; then
3161 cross_compiling=maybe
3164 ac_config_commands="$ac_config_commands default-1"
3167 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3169 # You will slowly go insane if you do not grok the following fact: when
3170 # building v3 as part of the compiler, the top-level /target/ becomes the
3171 # library's /host/. configure then causes --target to default to --host,
3172 # exactly like any other package using autoconf. Therefore, 'target' and
3173 # 'host' will always be the same. This makes sense both for native and
3174 # cross compilers, just think about it for a little while. :-)
3176 # Also, if v3 is being configured as part of a cross compiler, the top-level
3177 # configure script will pass the "real" host as $with_cross_host.
3179 # Do not delete or change the following two lines. For why, see
3180 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3181 ac_aux_dir=
3182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3183 if test -f "$ac_dir/install-sh"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/install-sh -c"
3186 break
3187 elif test -f "$ac_dir/install.sh"; then
3188 ac_aux_dir=$ac_dir
3189 ac_install_sh="$ac_aux_dir/install.sh -c"
3190 break
3191 elif test -f "$ac_dir/shtool"; then
3192 ac_aux_dir=$ac_dir
3193 ac_install_sh="$ac_aux_dir/shtool install -c"
3194 break
3196 done
3197 if test -z "$ac_aux_dir"; then
3198 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3201 # These three variables are undocumented and unsupported,
3202 # and are intended to be withdrawn in a future Autoconf release.
3203 # They can cause serious problems if a builder's source tree is in a directory
3204 # whose full name contains unusual characters.
3205 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3206 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3207 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3210 # Make sure we can run config.sub.
3211 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3212 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3215 $as_echo_n "checking build system type... " >&6; }
3216 if ${ac_cv_build+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 ac_build_alias=$build_alias
3220 test "x$ac_build_alias" = x &&
3221 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3222 test "x$ac_build_alias" = x &&
3223 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3224 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3225 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3229 $as_echo "$ac_cv_build" >&6; }
3230 case $ac_cv_build in
3231 *-*-*) ;;
3232 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3233 esac
3234 build=$ac_cv_build
3235 ac_save_IFS=$IFS; IFS='-'
3236 set x $ac_cv_build
3237 shift
3238 build_cpu=$1
3239 build_vendor=$2
3240 shift; shift
3241 # Remember, the first character of IFS is used to create $*,
3242 # except with old shells:
3243 build_os=$*
3244 IFS=$ac_save_IFS
3245 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3249 $as_echo_n "checking host system type... " >&6; }
3250 if ${ac_cv_host+:} false; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 if test "x$host_alias" = x; then
3254 ac_cv_host=$ac_cv_build
3255 else
3256 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3262 $as_echo "$ac_cv_host" >&6; }
3263 case $ac_cv_host in
3264 *-*-*) ;;
3265 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3266 esac
3267 host=$ac_cv_host
3268 ac_save_IFS=$IFS; IFS='-'
3269 set x $ac_cv_host
3270 shift
3271 host_cpu=$1
3272 host_vendor=$2
3273 shift; shift
3274 # Remember, the first character of IFS is used to create $*,
3275 # except with old shells:
3276 host_os=$*
3277 IFS=$ac_save_IFS
3278 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3282 $as_echo_n "checking target system type... " >&6; }
3283 if ${ac_cv_target+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 if test "x$target_alias" = x; then
3287 ac_cv_target=$ac_cv_host
3288 else
3289 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3295 $as_echo "$ac_cv_target" >&6; }
3296 case $ac_cv_target in
3297 *-*-*) ;;
3298 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3299 esac
3300 target=$ac_cv_target
3301 ac_save_IFS=$IFS; IFS='-'
3302 set x $ac_cv_target
3303 shift
3304 target_cpu=$1
3305 target_vendor=$2
3306 shift; shift
3307 # Remember, the first character of IFS is used to create $*,
3308 # except with old shells:
3309 target_os=$*
3310 IFS=$ac_save_IFS
3311 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3314 # The aliases save the names the user supplied, while $host etc.
3315 # will get canonicalized.
3316 test -n "$target_alias" &&
3317 test "$program_prefix$program_suffix$program_transform_name" = \
3318 NONENONEs,x,x, &&
3319 program_prefix=${target_alias}-
3321 target_alias=${target_alias-$host_alias}
3323 # Handy for debugging:
3324 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3326 if test "$build" != "$host"; then
3327 # We are being configured with some form of cross compiler.
3328 GLIBCXX_IS_NATIVE=false
3329 case "$host","$target" in
3330 # Darwin crosses can use the host system's libraries and headers,
3331 # because of the fat library support. Of course, it must be the
3332 # same version of Darwin on both sides. Allow the user to
3333 # just say --target=foo-darwin without a version number to mean
3334 # "the version on this system".
3335 *-*-darwin*,*-*-darwin*)
3336 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3337 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3338 if test $hostos = $targetos -o $targetos = darwin ; then
3339 GLIBCXX_IS_NATIVE=true
3346 esac
3347 else
3348 GLIBCXX_IS_NATIVE=true
3351 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3352 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3353 # 1.x: minimum required version
3354 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3355 # of other PACKAGE_* variables will, however, and there's nothing
3356 # we can do about that; they come from AC_INIT).
3357 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3358 # file in the top srcdir, etc, etc), so stop complaining.
3359 # no-dependencies: turns off auto dependency generation (just for now)
3360 # no-dist: we don't want 'dist' and related rules.
3361 # -Wall: turns on all automake warnings...
3362 # -Wno-portability: ...except this one, since GNU make is now required.
3363 am__api_version='1.15'
3365 # Find a good install program. We prefer a C program (faster),
3366 # so one script is as good as another. But avoid the broken or
3367 # incompatible versions:
3368 # SysV /etc/install, /usr/sbin/install
3369 # SunOS /usr/etc/install
3370 # IRIX /sbin/install
3371 # AIX /bin/install
3372 # AmigaOS /C/install, which installs bootblocks on floppy discs
3373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3376 # OS/2's system install, which has a completely different semantic
3377 # ./install, which can be erroneously created by make from ./install.sh.
3378 # Reject install programs that cannot install multiple files.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3380 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3381 if test -z "$INSTALL"; then
3382 if ${ac_cv_path_install+:} false; then :
3383 $as_echo_n "(cached) " >&6
3384 else
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH
3388 IFS=$as_save_IFS
3389 test -z "$as_dir" && as_dir=.
3390 # Account for people who put trailing slashes in PATH elements.
3391 case $as_dir/ in #((
3392 ./ | .// | /[cC]/* | \
3393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3394 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3395 /usr/ucb/* ) ;;
3397 # OSF1 and SCO ODT 3.0 have their own names for install.
3398 # Don't use installbsd from OSF since it installs stuff as root
3399 # by default.
3400 for ac_prog in ginstall scoinst install; do
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3403 if test $ac_prog = install &&
3404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3405 # AIX install. It has an incompatible calling convention.
3407 elif test $ac_prog = install &&
3408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409 # program-specific install script used by HP pwplus--don't use.
3411 else
3412 rm -rf conftest.one conftest.two conftest.dir
3413 echo one > conftest.one
3414 echo two > conftest.two
3415 mkdir conftest.dir
3416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3417 test -s conftest.one && test -s conftest.two &&
3418 test -s conftest.dir/conftest.one &&
3419 test -s conftest.dir/conftest.two
3420 then
3421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3422 break 3
3426 done
3427 done
3429 esac
3431 done
3432 IFS=$as_save_IFS
3434 rm -rf conftest.one conftest.two conftest.dir
3437 if test "${ac_cv_path_install+set}" = set; then
3438 INSTALL=$ac_cv_path_install
3439 else
3440 # As a last resort, use the slow shell script. Don't cache a
3441 # value for INSTALL within a source directory, because that will
3442 # break other packages using the cache if that directory is
3443 # removed, or if the value is a relative name.
3444 INSTALL=$ac_install_sh
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3448 $as_echo "$INSTALL" >&6; }
3450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3451 # It thinks the first close brace ends the variable substitution.
3452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3459 $as_echo_n "checking whether build environment is sane... " >&6; }
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name. Accept space and tab only in the latter.
3462 am_lf='
3464 case `pwd` in
3465 *[\\\"\#\$\&\'\`$am_lf]*)
3466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3467 esac
3468 case $srcdir in
3469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3470 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3471 esac
3473 # Do 'set' in a subshell so we don't clobber the current shell's
3474 # arguments. Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3477 # directory).
3478 if (
3479 am_has_slept=no
3480 for am_try in 1 2; do
3481 echo "timestamp, slept: $am_has_slept" > conftest.file
3482 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3483 if test "$*" = "X"; then
3484 # -L didn't work.
3485 set X `ls -t "$srcdir/configure" conftest.file`
3487 if test "$*" != "X $srcdir/configure conftest.file" \
3488 && test "$*" != "X conftest.file $srcdir/configure"; then
3490 # If neither matched, then we have a broken ls. This can happen
3491 # if, for instance, CONFIG_SHELL is bash and it inherits a
3492 # broken ls alias from the environment. This has actually
3493 # happened. Such a system could not be considered "sane".
3494 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3495 alias in your environment" "$LINENO" 5
3497 if test "$2" = conftest.file || test $am_try -eq 2; then
3498 break
3500 # Just in case.
3501 sleep 1
3502 am_has_slept=yes
3503 done
3504 test "$2" = conftest.file
3506 then
3507 # Ok.
3509 else
3510 as_fn_error $? "newly created file is older than distributed files!
3511 Check your system clock" "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3515 # If we didn't sleep, we still need to ensure time stamps of config.status and
3516 # generated files are strictly newer.
3517 am_sleep_pid=
3518 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3519 ( sleep 1 ) &
3520 am_sleep_pid=$!
3523 rm -f conftest.file
3525 test "$program_prefix" != NONE &&
3526 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3527 # Use a double $ so make ignores it.
3528 test "$program_suffix" != NONE &&
3529 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3530 # Double any \ or $.
3531 # By default was `s,x,x', remove it if useless.
3532 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3533 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3535 # Expand $ac_aux_dir to an absolute path.
3536 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3538 if test x"${MISSING+set}" != xset; then
3539 case $am_aux_dir in
3540 *\ * | *\ *)
3541 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3543 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3544 esac
3546 # Use eval to expand $SHELL
3547 if eval "$MISSING --is-lightweight"; then
3548 am_missing_run="$MISSING "
3549 else
3550 am_missing_run=
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3552 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3555 if test x"${install_sh+set}" != xset; then
3556 case $am_aux_dir in
3557 *\ * | *\ *)
3558 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3560 install_sh="\${SHELL} $am_aux_dir/install-sh"
3561 esac
3564 # Installed binaries are usually stripped using 'strip' when the user
3565 # run "make install-strip". However 'strip' might not be the right
3566 # tool to use in cross-compilation environments, therefore Automake
3567 # will honor the 'STRIP' environment variable to overrule this program.
3568 if test "$cross_compiling" != no; then
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}strip; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_STRIP+:} false; then :
3575 $as_echo_n "(cached) " >&6
3576 else
3577 if test -n "$STRIP"; then
3578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3591 done
3592 done
3593 IFS=$as_save_IFS
3597 STRIP=$ac_cv_prog_STRIP
3598 if test -n "$STRIP"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3600 $as_echo "$STRIP" >&6; }
3601 else
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$ac_cv_prog_STRIP"; then
3609 ac_ct_STRIP=$STRIP
3610 # Extract the first word of "strip", so it can be a program name with args.
3611 set dummy strip; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -n "$ac_ct_STRIP"; then
3618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_STRIP="strip"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3638 if test -n "$ac_ct_STRIP"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3640 $as_echo "$ac_ct_STRIP" >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3646 if test "x$ac_ct_STRIP" = x; then
3647 STRIP=":"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned=yes ;;
3654 esac
3655 STRIP=$ac_ct_STRIP
3657 else
3658 STRIP="$ac_cv_prog_STRIP"
3662 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3666 if test -z "$MKDIR_P"; then
3667 if ${ac_cv_path_mkdir+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3673 IFS=$as_save_IFS
3674 test -z "$as_dir" && as_dir=.
3675 for ac_prog in mkdir gmkdir; do
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3679 'mkdir (GNU coreutils) '* | \
3680 'mkdir (coreutils) '* | \
3681 'mkdir (fileutils) '4.1*)
3682 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3683 break 3;;
3684 esac
3685 done
3686 done
3687 done
3688 IFS=$as_save_IFS
3692 test -d ./--version && rmdir ./--version
3693 if test "${ac_cv_path_mkdir+set}" = set; then
3694 MKDIR_P="$ac_cv_path_mkdir -p"
3695 else
3696 # As a last resort, use the slow shell script. Don't cache a
3697 # value for MKDIR_P within a source directory, because that will
3698 # break other packages using the cache if that directory is
3699 # removed, or if the value is a relative name.
3700 MKDIR_P="$ac_install_sh -d"
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3704 $as_echo "$MKDIR_P" >&6; }
3706 for ac_prog in gawk mawk nawk awk
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy $ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_AWK+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$AWK"; then
3716 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_AWK="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 AWK=$ac_cv_prog_AWK
3736 if test -n "$AWK"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3738 $as_echo "$AWK" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$AWK" && break
3746 done
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3749 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3750 set x ${MAKE-make}
3751 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3752 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 cat >conftest.make <<\_ACEOF
3756 SHELL = /bin/sh
3757 all:
3758 @echo '@@@%%%=$(MAKE)=@@@%%%'
3759 _ACEOF
3760 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3761 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3762 *@@@%%%=?*=@@@%%%*)
3763 eval ac_cv_prog_make_${ac_make}_set=yes;;
3765 eval ac_cv_prog_make_${ac_make}_set=no;;
3766 esac
3767 rm -f conftest.make
3769 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771 $as_echo "yes" >&6; }
3772 SET_MAKE=
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 SET_MAKE="MAKE=${MAKE-make}"
3779 rm -rf .tst 2>/dev/null
3780 mkdir .tst 2>/dev/null
3781 if test -d .tst; then
3782 am__leading_dot=.
3783 else
3784 am__leading_dot=_
3786 rmdir .tst 2>/dev/null
3788 # Check whether --enable-silent-rules was given.
3789 if test "${enable_silent_rules+set}" = set; then :
3790 enableval=$enable_silent_rules;
3793 case $enable_silent_rules in # (((
3794 yes) AM_DEFAULT_VERBOSITY=0;;
3795 no) AM_DEFAULT_VERBOSITY=1;;
3796 *) AM_DEFAULT_VERBOSITY=1;;
3797 esac
3798 am_make=${MAKE-make}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3800 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3801 if ${am_cv_make_support_nested_variables+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if $as_echo 'TRUE=$(BAR$(V))
3805 BAR0=false
3806 BAR1=true
3808 am__doit:
3809 @$(TRUE)
3810 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3811 am_cv_make_support_nested_variables=yes
3812 else
3813 am_cv_make_support_nested_variables=no
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3817 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3818 if test $am_cv_make_support_nested_variables = yes; then
3819 AM_V='$(V)'
3820 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3821 else
3822 AM_V=$AM_DEFAULT_VERBOSITY
3823 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3825 AM_BACKSLASH='\'
3827 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3828 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3829 # is not polluted with repeated "-I."
3830 am__isrc=' -I$(srcdir)'
3831 # test to see if srcdir already configured
3832 if test -f $srcdir/config.status; then
3833 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3837 # test whether we have cygpath
3838 if test -z "$CYGPATH_W"; then
3839 if (cygpath --version) >/dev/null 2>/dev/null; then
3840 CYGPATH_W='cygpath -w'
3841 else
3842 CYGPATH_W=echo
3847 # Define the identity of the package.
3848 PACKAGE='libstdc++'
3849 VERSION='version-unused'
3852 # Some tools Automake needs.
3854 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3857 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3860 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3863 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3866 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3868 # For better backward compatibility. To be removed once Automake 1.9.x
3869 # dies out for good. For more background, see:
3870 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3871 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3872 mkdir_p='$(MKDIR_P)'
3874 # We need awk for the "check" target (and possibly the TAP driver). The
3875 # system "awk" is bad on some platforms.
3876 # Always define AMTAR for backward compatibility. Yes, it's still used
3877 # in the wild :-( We should find a proper way to deprecate it ...
3878 AMTAR='$${TAR-tar}'
3881 # We'll loop over all known methods to create a tar archive until one works.
3882 _am_tools='gnutar pax cpio none'
3884 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3891 # POSIX will say in a future version that running "rm -f" with no argument
3892 # is OK; and we want to be able to make that assumption in our Makefile
3893 # recipes. So use an aggressive probe to check that the usage we want is
3894 # actually supported "in the wild" to an acceptable degree.
3895 # See automake bug#10828.
3896 # To make any issue more visible, cause the running configure to be aborted
3897 # by default if the 'rm' program in use doesn't match our expectations; the
3898 # user can still override this though.
3899 if rm -f && rm -fr && rm -rf; then : OK; else
3900 cat >&2 <<'END'
3901 Oops!
3903 Your 'rm' program seems unable to run without file operands specified
3904 on the command line, even when the '-f' option is present. This is contrary
3905 to the behaviour of most rm programs out there, and not conforming with
3906 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3908 Please tell bug-automake@gnu.org about your system, including the value
3909 of your $PATH and any error possibly output before this message. This
3910 can help us improve future automake versions.
3913 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3914 echo 'Configuration will proceed anyway, since you have set the' >&2
3915 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3916 echo >&2
3917 else
3918 cat >&2 <<'END'
3919 Aborting the configuration process, to ensure you take notice of the issue.
3921 You can download and install GNU coreutils to get an 'rm' implementation
3922 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3924 If you want to complete the configuration process using your problematic
3925 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3926 to "yes", and re-run configure.
3929 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3936 # -fno-builtin must be present here so that a non-conflicting form of
3937 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3939 save_CXXFLAGS="$CXXFLAGS"
3940 CXXFLAGS="$CXXFLAGS -fno-builtin"
3941 ac_ext=c
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3968 done
3969 done
3970 IFS=$as_save_IFS
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3985 if test -z "$ac_cv_prog_CC"; then
3986 ac_ct_CC=$CC
3987 # Extract the first word of "gcc", so it can be a program name with args.
3988 set dummy gcc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$ac_ct_CC"; then
3995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_CC="gcc"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4008 done
4009 done
4010 IFS=$as_save_IFS
4014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4015 if test -n "$ac_ct_CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4017 $as_echo "$ac_ct_CC" >&6; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4023 if test "x$ac_ct_CC" = x; then
4024 CC=""
4025 else
4026 case $cross_compiling:$ac_tool_warned in
4027 yes:)
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned=yes ;;
4031 esac
4032 CC=$ac_ct_CC
4034 else
4035 CC="$ac_cv_prog_CC"
4038 if test -z "$CC"; then
4039 if test -n "$ac_tool_prefix"; then
4040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4041 set dummy ${ac_tool_prefix}cc; ac_word=$2
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4043 $as_echo_n "checking for $ac_word... " >&6; }
4044 if ${ac_cv_prog_CC+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -n "$CC"; then
4048 ac_cv_prog_CC="$CC" # Let the user override the test.
4049 else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_CC="${ac_tool_prefix}cc"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 break 2
4061 done
4062 done
4063 IFS=$as_save_IFS
4067 CC=$ac_cv_prog_CC
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4079 if test -z "$CC"; then
4080 # Extract the first word of "cc", so it can be a program name with args.
4081 set dummy cc; 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 ac_prog_rejected=no
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4094 IFS=$as_save_IFS
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4098 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4099 ac_prog_rejected=yes
4100 continue
4102 ac_cv_prog_CC="cc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 break 2
4106 done
4107 done
4108 IFS=$as_save_IFS
4110 if test $ac_prog_rejected = yes; then
4111 # We found a bogon in the path, so make sure we never use it.
4112 set dummy $ac_cv_prog_CC
4113 shift
4114 if test $# != 0; then
4115 # We chose a different compiler from the bogus one.
4116 # However, it has the same basename, so the bogon will be chosen
4117 # first if we set CC to just the basename; use the full file name.
4118 shift
4119 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4124 CC=$ac_cv_prog_CC
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4127 $as_echo "$CC" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4135 if test -z "$CC"; then
4136 if test -n "$ac_tool_prefix"; then
4137 for ac_prog in cl.exe
4139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_CC+:} false; then :
4144 $as_echo_n "(cached) " >&6
4145 else
4146 if test -n "$CC"; then
4147 ac_cv_prog_CC="$CC" # Let the user override the test.
4148 else
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 for as_dir in $PATH
4152 IFS=$as_save_IFS
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4160 done
4161 done
4162 IFS=$as_save_IFS
4166 CC=$ac_cv_prog_CC
4167 if test -n "$CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169 $as_echo "$CC" >&6; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4176 test -n "$CC" && break
4177 done
4179 if test -z "$CC"; then
4180 ac_ct_CC=$CC
4181 for ac_prog in cl.exe
4183 # Extract the first word of "$ac_prog", so it can be a program name with args.
4184 set dummy $ac_prog; ac_word=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4188 $as_echo_n "(cached) " >&6
4189 else
4190 if test -n "$ac_ct_CC"; then
4191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4192 else
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4196 IFS=$as_save_IFS
4197 test -z "$as_dir" && as_dir=.
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_CC="$ac_prog"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 break 2
4204 done
4205 done
4206 IFS=$as_save_IFS
4210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4211 if test -n "$ac_ct_CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4213 $as_echo "$ac_ct_CC" >&6; }
4214 else
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4220 test -n "$ac_ct_CC" && break
4221 done
4223 if test "x$ac_ct_CC" = x; then
4224 CC=""
4225 else
4226 case $cross_compiling:$ac_tool_warned in
4227 yes:)
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4230 ac_tool_warned=yes ;;
4231 esac
4232 CC=$ac_ct_CC
4239 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "no acceptable C compiler found in \$PATH
4242 See \`config.log' for more details" "$LINENO" 5; }
4244 # Provide some information about the compiler.
4245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4246 set X $ac_compile
4247 ac_compiler=$2
4248 for ac_option in --version -v -V -qversion; do
4249 { { ac_try="$ac_compiler $ac_option >&5"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4257 ac_status=$?
4258 if test -s conftest.err; then
4259 sed '10a\
4260 ... rest of stderr output deleted ...
4261 10q' conftest.err >conftest.er1
4262 cat conftest.er1 >&5
4264 rm -f conftest.er1 conftest.err
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }
4267 done
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271 #include <stdio.h>
4273 main ()
4275 printf ("hello world\n");
4277 return 0;
4279 _ACEOF
4280 # FIXME: Cleanup?
4281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4282 (eval $ac_link) 2>&5
4283 ac_status=$?
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 gcc_no_link=no
4287 else
4288 gcc_no_link=yes
4290 if test x$gcc_no_link = xyes; then
4291 # Setting cross_compile will disable run tests; it will
4292 # also disable AC_CHECK_FILE but that's generally
4293 # correct if we can't link.
4294 cross_compiling=yes
4295 EXEEXT=
4296 else
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 main ()
4305 return 0;
4307 _ACEOF
4308 ac_clean_files_save=$ac_clean_files
4309 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4310 # Try to create an executable without -o first, disregard a.out.
4311 # It will help us diagnose broken compilers, and finding out an intuition
4312 # of exeext.
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4314 $as_echo_n "checking whether the C compiler works... " >&6; }
4315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4317 # The possible output files:
4318 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4320 ac_rmfiles=
4321 for ac_file in $ac_files
4323 case $ac_file in
4324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4325 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4326 esac
4327 done
4328 rm -f $ac_rmfiles
4330 if { { ac_try="$ac_link_default"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_link_default") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; then :
4341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4343 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4344 # so that the user can short-circuit this test for compilers unknown to
4345 # Autoconf.
4346 for ac_file in $ac_files ''
4348 test -f "$ac_file" || continue
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4352 [ab].out )
4353 # We found the default executable, but exeext='' is most
4354 # certainly right.
4355 break;;
4356 *.* )
4357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4358 then :; else
4359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 # We set ac_cv_exeext here because the later test for it is not
4362 # safe: cross compilers may not add the suffix if given an `-o'
4363 # argument, so we may need to know it at that point already.
4364 # Even if this section looks crufty: it has the advantage of
4365 # actually working.
4366 break;;
4368 break;;
4369 esac
4370 done
4371 test "$ac_cv_exeext" = no && ac_cv_exeext=
4373 else
4374 ac_file=''
4376 if test -z "$ac_file"; then :
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4384 as_fn_error 77 "C compiler cannot create executables
4385 See \`config.log' for more details" "$LINENO" 5; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4388 $as_echo "yes" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4391 $as_echo_n "checking for C compiler default output file name... " >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4393 $as_echo "$ac_file" >&6; }
4394 ac_exeext=$ac_cv_exeext
4396 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4397 ac_clean_files=$ac_clean_files_save
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4399 $as_echo_n "checking for suffix of executables... " >&6; }
4400 if { { ac_try="$ac_link"
4401 case "(($ac_try" in
4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4404 esac
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_link") 2>&5
4408 ac_status=$?
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }; then :
4411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4413 # work properly (i.e., refer to `conftest.exe'), while it won't with
4414 # `rm'.
4415 for ac_file in conftest.exe conftest conftest.*; do
4416 test -f "$ac_file" || continue
4417 case $ac_file in
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 break;;
4421 * ) break;;
4422 esac
4423 done
4424 else
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4428 See \`config.log' for more details" "$LINENO" 5; }
4430 rm -f conftest conftest$ac_cv_exeext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4432 $as_echo "$ac_cv_exeext" >&6; }
4434 rm -f conftest.$ac_ext
4435 EXEEXT=$ac_cv_exeext
4436 ac_exeext=$EXEEXT
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdio.h>
4441 main ()
4443 FILE *f = fopen ("conftest.out", "w");
4444 return ferror (f) || fclose (f) != 0;
4447 return 0;
4449 _ACEOF
4450 ac_clean_files="$ac_clean_files conftest.out"
4451 # Check that the compiler produces executables we can run. If not, either
4452 # the compiler is broken, or we cross compile.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4454 $as_echo_n "checking whether we are cross compiling... " >&6; }
4455 if test "$cross_compiling" != yes; then
4456 { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 if { ac_try='./conftest$ac_cv_exeext'
4468 { { case "(($ac_try" in
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_try") 2>&5
4475 ac_status=$?
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; }; then
4478 cross_compiling=no
4479 else
4480 if test "$cross_compiling" = maybe; then
4481 cross_compiling=yes
4482 else
4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error $? "cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details" "$LINENO" 5; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4492 $as_echo "$cross_compiling" >&6; }
4494 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4495 ac_clean_files=$ac_clean_files_save
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4498 $as_echo_n "checking for suffix of object files... " >&6; }
4499 if ${ac_cv_objext+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.o conftest.obj
4514 if { { ac_try="$ac_compile"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compile") 2>&5
4522 ac_status=$?
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }; then :
4525 for ac_file in conftest.o conftest.obj conftest.*; do
4526 test -f "$ac_file" || continue;
4527 case $ac_file in
4528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4530 break;;
4531 esac
4532 done
4533 else
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "cannot compute suffix of object files: cannot compile
4540 See \`config.log' for more details" "$LINENO" 5; }
4542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4545 $as_echo "$ac_cv_objext" >&6; }
4546 OBJEXT=$ac_cv_objext
4547 ac_objext=$OBJEXT
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4550 if ${ac_cv_c_compiler_gnu+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4559 #ifndef __GNUC__
4560 choke me
4561 #endif
4564 return 0;
4566 _ACEOF
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 ac_compiler_gnu=yes
4569 else
4570 ac_compiler_gnu=no
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4578 if test $ac_compiler_gnu = yes; then
4579 GCC=yes
4580 else
4581 GCC=
4583 ac_test_CFLAGS=${CFLAGS+set}
4584 ac_save_CFLAGS=$CFLAGS
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4587 if ${ac_cv_prog_cc_g+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 ac_save_c_werror_flag=$ac_c_werror_flag
4591 ac_c_werror_flag=yes
4592 ac_cv_prog_cc_g=no
4593 CFLAGS="-g"
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_g=yes
4607 else
4608 CFLAGS=""
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4617 return 0;
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4622 else
4623 ac_c_werror_flag=$ac_save_c_werror_flag
4624 CFLAGS="-g"
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4629 main ()
4633 return 0;
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_cv_prog_cc_g=yes
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 ac_c_werror_flag=$ac_save_c_werror_flag
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4647 $as_echo "$ac_cv_prog_cc_g" >&6; }
4648 if test "$ac_test_CFLAGS" = set; then
4649 CFLAGS=$ac_save_CFLAGS
4650 elif test $ac_cv_prog_cc_g = yes; then
4651 if test "$GCC" = yes; then
4652 CFLAGS="-g -O2"
4653 else
4654 CFLAGS="-g"
4656 else
4657 if test "$GCC" = yes; then
4658 CFLAGS="-O2"
4659 else
4660 CFLAGS=
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4665 if ${ac_cv_prog_cc_c89+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_cv_prog_cc_c89=no
4669 ac_save_CC=$CC
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672 #include <stdarg.h>
4673 #include <stdio.h>
4674 struct stat;
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4679 char **p;
4680 int i;
4682 return p[i];
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4686 char *s;
4687 va_list v;
4688 va_start (v,p);
4689 s = g (p, va_arg (v,int));
4690 va_end (v);
4691 return s;
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4705 #define FOO(x) 'x'
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4712 int argc;
4713 char **argv;
4715 main ()
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4719 return 0;
4721 _ACEOF
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 done
4732 rm -f conftest.$ac_ext
4733 CC=$ac_save_CC
4736 # AC_CACHE_VAL
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4741 xno)
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 esac
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 ac_ext=c
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4766 if ${am_cv_prog_cc_c_o+:} false; then :
4767 $as_echo_n "(cached) " >&6
4768 else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 # Make sure it works both with $CC and with simple cc.
4781 # Following AC_PROG_CC_C_O, we do the test twice because some
4782 # compilers refuse to overwrite an existing .o file with -o,
4783 # though they will create one.
4784 am_cv_prog_cc_c_o=yes
4785 for am_i in 1 2; do
4786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4788 ac_status=$?
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } \
4791 && test -f conftest2.$ac_objext; then
4792 : OK
4793 else
4794 am_cv_prog_cc_c_o=no
4795 break
4797 done
4798 rm -f core conftest*
4799 unset am_i
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4803 if test "$am_cv_prog_cc_c_o" != yes; then
4804 # Losing compiler, so override with the script.
4805 # FIXME: It is wrong to rewrite CC.
4806 # But if we don't then we get into trouble of one sort or another.
4807 # A longer-term fix would be to have automake use am__CC in this case,
4808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4809 CC="$am_aux_dir/compile $CC"
4811 ac_ext=c
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818 ac_ext=cpp
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4823 if test -z "$CXX"; then
4824 if test -n "$CCC"; then
4825 CXX=$CCC
4826 else
4827 if test -n "$ac_tool_prefix"; then
4828 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_CXX+:} false; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -n "$CXX"; then
4838 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4857 CXX=$ac_cv_prog_CXX
4858 if test -n "$CXX"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4860 $as_echo "$CXX" >&6; }
4861 else
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$CXX" && break
4868 done
4870 if test -z "$CXX"; then
4871 ac_ct_CXX=$CXX
4872 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$ac_ct_CXX"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CXX="$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4902 if test -n "$ac_ct_CXX"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4904 $as_echo "$ac_ct_CXX" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4911 test -n "$ac_ct_CXX" && break
4912 done
4914 if test "x$ac_ct_CXX" = x; then
4915 CXX="g++"
4916 else
4917 case $cross_compiling:$ac_tool_warned in
4918 yes:)
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4922 esac
4923 CXX=$ac_ct_CXX
4929 # Provide some information about the compiler.
4930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4931 set X $ac_compile
4932 ac_compiler=$2
4933 for ac_option in --version -v -V -qversion; do
4934 { { ac_try="$ac_compiler $ac_option >&5"
4935 case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938 esac
4939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940 $as_echo "$ac_try_echo"; } >&5
4941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4942 ac_status=$?
4943 if test -s conftest.err; then
4944 sed '10a\
4945 ... rest of stderr output deleted ...
4946 10q' conftest.err >conftest.er1
4947 cat conftest.er1 >&5
4949 rm -f conftest.er1 conftest.err
4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951 test $ac_status = 0; }
4952 done
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4955 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4956 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4963 main ()
4965 #ifndef __GNUC__
4966 choke me
4967 #endif
4970 return 0;
4972 _ACEOF
4973 if ac_fn_cxx_try_compile "$LINENO"; then :
4974 ac_compiler_gnu=yes
4975 else
4976 ac_compiler_gnu=no
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4983 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4984 if test $ac_compiler_gnu = yes; then
4985 GXX=yes
4986 else
4987 GXX=
4989 ac_test_CXXFLAGS=${CXXFLAGS+set}
4990 ac_save_CXXFLAGS=$CXXFLAGS
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4992 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4993 if ${ac_cv_prog_cxx_g+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4997 ac_cxx_werror_flag=yes
4998 ac_cv_prog_cxx_g=no
4999 CXXFLAGS="-g"
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5004 main ()
5008 return 0;
5010 _ACEOF
5011 if ac_fn_cxx_try_compile "$LINENO"; then :
5012 ac_cv_prog_cxx_g=yes
5013 else
5014 CXXFLAGS=""
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 main ()
5023 return 0;
5025 _ACEOF
5026 if ac_fn_cxx_try_compile "$LINENO"; then :
5028 else
5029 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5030 CXXFLAGS="-g"
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5035 main ()
5039 return 0;
5041 _ACEOF
5042 if ac_fn_cxx_try_compile "$LINENO"; then :
5043 ac_cv_prog_cxx_g=yes
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5053 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5054 if test "$ac_test_CXXFLAGS" = set; then
5055 CXXFLAGS=$ac_save_CXXFLAGS
5056 elif test $ac_cv_prog_cxx_g = yes; then
5057 if test "$GXX" = yes; then
5058 CXXFLAGS="-g -O2"
5059 else
5060 CXXFLAGS="-g"
5062 else
5063 if test "$GXX" = yes; then
5064 CXXFLAGS="-O2"
5065 else
5066 CXXFLAGS=
5069 ac_ext=c
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5075 CXXFLAGS="$save_CXXFLAGS"
5078 # Check whether --enable-largefile was given.
5079 if test "${enable_largefile+set}" = set; then :
5080 enableval=$enable_largefile;
5083 if test "$enable_largefile" != no; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5086 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5087 if ${ac_cv_sys_largefile_CC+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 ac_cv_sys_largefile_CC=no
5091 if test "$GCC" != yes; then
5092 ac_save_CC=$CC
5093 while :; do
5094 # IRIX 6.2 and later do not support large files by default,
5095 # so use the C compiler's -n32 option if that helps.
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/types.h>
5099 /* Check that off_t can represent 2**63 - 1 correctly.
5100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5101 since some C++ compilers masquerading as C compilers
5102 incorrectly reject 9223372036854775807. */
5103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5105 && LARGE_OFF_T % 2147483647 == 1)
5106 ? 1 : -1];
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_compile "$LINENO"; then :
5116 break
5118 rm -f core conftest.err conftest.$ac_objext
5119 CC="$CC -n32"
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 ac_cv_sys_largefile_CC=' -n32'; break
5123 rm -f core conftest.err conftest.$ac_objext
5124 break
5125 done
5126 CC=$ac_save_CC
5127 rm -f conftest.$ac_ext
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5131 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5132 if test "$ac_cv_sys_largefile_CC" != no; then
5133 CC=$CC$ac_cv_sys_largefile_CC
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5137 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5138 if ${ac_cv_sys_file_offset_bits+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 while :; do
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #include <sys/types.h>
5145 /* Check that off_t can represent 2**63 - 1 correctly.
5146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5147 since some C++ compilers masquerading as C compilers
5148 incorrectly reject 9223372036854775807. */
5149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5151 && LARGE_OFF_T % 2147483647 == 1)
5152 ? 1 : -1];
5154 main ()
5158 return 0;
5160 _ACEOF
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162 ac_cv_sys_file_offset_bits=no; break
5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #define _FILE_OFFSET_BITS 64
5168 #include <sys/types.h>
5169 /* Check that off_t can represent 2**63 - 1 correctly.
5170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5171 since some C++ compilers masquerading as C compilers
5172 incorrectly reject 9223372036854775807. */
5173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5175 && LARGE_OFF_T % 2147483647 == 1)
5176 ? 1 : -1];
5178 main ()
5182 return 0;
5184 _ACEOF
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 ac_cv_sys_file_offset_bits=64; break
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 ac_cv_sys_file_offset_bits=unknown
5190 break
5191 done
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5194 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5195 case $ac_cv_sys_file_offset_bits in #(
5196 no | unknown) ;;
5198 cat >>confdefs.h <<_ACEOF
5199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5200 _ACEOF
5202 esac
5203 rm -rf conftest*
5204 if test $ac_cv_sys_file_offset_bits = unknown; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5206 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5207 if ${ac_cv_sys_large_files+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 while :; do
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 #include <sys/types.h>
5214 /* Check that off_t can represent 2**63 - 1 correctly.
5215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5216 since some C++ compilers masquerading as C compilers
5217 incorrectly reject 9223372036854775807. */
5218 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5220 && LARGE_OFF_T % 2147483647 == 1)
5221 ? 1 : -1];
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_c_try_compile "$LINENO"; then :
5231 ac_cv_sys_large_files=no; break
5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #define _LARGE_FILES 1
5237 #include <sys/types.h>
5238 /* Check that off_t can represent 2**63 - 1 correctly.
5239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5240 since some C++ compilers masquerading as C compilers
5241 incorrectly reject 9223372036854775807. */
5242 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5244 && LARGE_OFF_T % 2147483647 == 1)
5245 ? 1 : -1];
5247 main ()
5251 return 0;
5253 _ACEOF
5254 if ac_fn_c_try_compile "$LINENO"; then :
5255 ac_cv_sys_large_files=1; break
5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5258 ac_cv_sys_large_files=unknown
5259 break
5260 done
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5263 $as_echo "$ac_cv_sys_large_files" >&6; }
5264 case $ac_cv_sys_large_files in #(
5265 no | unknown) ;;
5267 cat >>confdefs.h <<_ACEOF
5268 #define _LARGE_FILES $ac_cv_sys_large_files
5269 _ACEOF
5271 esac
5272 rm -rf conftest*
5279 # Runs configure.host, and assorted other critical bits. Sets
5280 # up critical shell variables.
5281 ac_ext=c
5282 ac_cpp='$CPP $CPPFLAGS'
5283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5287 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5288 # On Suns, sometimes $CPP names a directory.
5289 if test -n "$CPP" && test -d "$CPP"; then
5290 CPP=
5292 if test -z "$CPP"; then
5293 if ${ac_cv_prog_CPP+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 # Double quotes because CPP needs to be expanded
5297 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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 :
5345 break
5348 done
5349 ac_cv_prog_CPP=$CPP
5352 CPP=$ac_cv_prog_CPP
5353 else
5354 ac_cv_prog_CPP=$CPP
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5357 $as_echo "$CPP" >&6; }
5358 ac_preproc_ok=false
5359 for ac_c_preproc_warn_flag in '' yes
5361 # Use a header file that comes with gcc, so configuring glibc
5362 # with a fresh cross-compiler works.
5363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5364 # <limits.h> exists even on freestanding compilers.
5365 # On the NeXT, cc -E runs the code through the compiler's parser,
5366 # not just through cpp. "Syntax error" is here to catch this case.
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #ifdef __STDC__
5370 # include <limits.h>
5371 #else
5372 # include <assert.h>
5373 #endif
5374 Syntax error
5375 _ACEOF
5376 if ac_fn_c_try_cpp "$LINENO"; then :
5378 else
5379 # Broken: fails on valid input.
5380 continue
5382 rm -f conftest.err conftest.i conftest.$ac_ext
5384 # OK, works on sane cases. Now check whether nonexistent headers
5385 # can be detected and how.
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5388 #include <ac_nonexistent.h>
5389 _ACEOF
5390 if ac_fn_c_try_cpp "$LINENO"; then :
5391 # Broken: success on invalid input.
5392 continue
5393 else
5394 # Passes both tests.
5395 ac_preproc_ok=:
5396 break
5398 rm -f conftest.err conftest.i conftest.$ac_ext
5400 done
5401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5402 rm -f conftest.i conftest.err conftest.$ac_ext
5403 if $ac_preproc_ok; then :
5405 else
5406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5408 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5409 See \`config.log' for more details" "$LINENO" 5; }
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5420 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5421 if ${ac_cv_path_GREP+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -z "$GREP"; then
5425 ac_path_GREP_found=false
5426 # Loop through the user's path and test for each of PROGNAME-LIST
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_prog in grep ggrep; do
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5435 as_fn_executable_p "$ac_path_GREP" || continue
5436 # Check for GNU ac_path_GREP and select it if it is found.
5437 # Check for GNU $ac_path_GREP
5438 case `"$ac_path_GREP" --version 2>&1` in
5439 *GNU*)
5440 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5442 ac_count=0
5443 $as_echo_n 0123456789 >"conftest.in"
5444 while :
5446 cat "conftest.in" "conftest.in" >"conftest.tmp"
5447 mv "conftest.tmp" "conftest.in"
5448 cp "conftest.in" "conftest.nl"
5449 $as_echo 'GREP' >> "conftest.nl"
5450 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5452 as_fn_arith $ac_count + 1 && ac_count=$as_val
5453 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5454 # Best one so far, save it but keep looking for a better one
5455 ac_cv_path_GREP="$ac_path_GREP"
5456 ac_path_GREP_max=$ac_count
5458 # 10*(2^10) chars as input seems more than enough
5459 test $ac_count -gt 10 && break
5460 done
5461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5462 esac
5464 $ac_path_GREP_found && break 3
5465 done
5466 done
5467 done
5468 IFS=$as_save_IFS
5469 if test -z "$ac_cv_path_GREP"; then
5470 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5472 else
5473 ac_cv_path_GREP=$GREP
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5478 $as_echo "$ac_cv_path_GREP" >&6; }
5479 GREP="$ac_cv_path_GREP"
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5483 $as_echo_n "checking for egrep... " >&6; }
5484 if ${ac_cv_path_EGREP+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5488 then ac_cv_path_EGREP="$GREP -E"
5489 else
5490 if test -z "$EGREP"; then
5491 ac_path_EGREP_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in egrep; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5501 as_fn_executable_p "$ac_path_EGREP" || continue
5502 # Check for GNU ac_path_EGREP and select it if it is found.
5503 # Check for GNU $ac_path_EGREP
5504 case `"$ac_path_EGREP" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo 'EGREP' >> "conftest.nl"
5516 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_EGREP="$ac_path_EGREP"
5522 ac_path_EGREP_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5530 $ac_path_EGREP_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_EGREP"; then
5536 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5538 else
5539 ac_cv_path_EGREP=$EGREP
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5545 $as_echo "$ac_cv_path_EGREP" >&6; }
5546 EGREP="$ac_cv_path_EGREP"
5550 # Keep these sync'd with the list in Makefile.am. The first provides an
5551 # expandable list at autoconf time; the second provides an expandable list
5552 # (i.e., shell variable) at configure time.
5554 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python'
5556 # These need to be absolute paths, yet at the same time need to
5557 # canonicalize only relative paths, because then amd will not unmount
5558 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5559 glibcxx_builddir=`${PWDCMD-pwd}`
5560 case $srcdir in
5561 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5562 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5563 esac
5564 toplevel_builddir=${glibcxx_builddir}/..
5565 toplevel_srcdir=${glibcxx_srcdir}/..
5571 # We use these options to decide which functions to include. They are
5572 # set from the top level.
5574 # Check whether --with-target-subdir was given.
5575 if test "${with_target_subdir+set}" = set; then :
5576 withval=$with_target_subdir;
5581 # Check whether --with-cross-host was given.
5582 if test "${with_cross_host+set}" = set; then :
5583 withval=$with_cross_host;
5588 # Check whether --with-newlib was given.
5589 if test "${with_newlib+set}" = set; then :
5590 withval=$with_newlib;
5594 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5595 # available). Uncomment the next line to force a particular method.
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5597 $as_echo_n "checking whether ln -s works... " >&6; }
5598 LN_S=$as_ln_s
5599 if test "$LN_S" = "ln -s"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5601 $as_echo "yes" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5604 $as_echo "no, using $LN_S" >&6; }
5607 #LN_S='cp -p'
5609 if test -n "$ac_tool_prefix"; then
5610 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5611 set dummy ${ac_tool_prefix}as; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_AS+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$AS"; then
5618 ac_cv_prog_AS="$AS" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_AS="${ac_tool_prefix}as"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 AS=$ac_cv_prog_AS
5638 if test -n "$AS"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5640 $as_echo "$AS" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5648 if test -z "$ac_cv_prog_AS"; then
5649 ac_ct_AS=$AS
5650 # Extract the first word of "as", so it can be a program name with args.
5651 set dummy as; ac_word=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -n "$ac_ct_AS"; then
5658 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_ac_ct_AS="as"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 break 2
5671 done
5672 done
5673 IFS=$as_save_IFS
5677 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5678 if test -n "$ac_ct_AS"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5680 $as_echo "$ac_ct_AS" >&6; }
5681 else
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5686 if test "x$ac_ct_AS" = x; then
5687 AS=""
5688 else
5689 case $cross_compiling:$ac_tool_warned in
5690 yes:)
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5693 ac_tool_warned=yes ;;
5694 esac
5695 AS=$ac_ct_AS
5697 else
5698 AS="$ac_cv_prog_AS"
5701 if test -n "$ac_tool_prefix"; then
5702 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5703 set dummy ${ac_tool_prefix}ar; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_AR+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -n "$AR"; then
5710 ac_cv_prog_AR="$AR" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_AR="${ac_tool_prefix}ar"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5723 done
5724 done
5725 IFS=$as_save_IFS
5729 AR=$ac_cv_prog_AR
5730 if test -n "$AR"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5732 $as_echo "$AR" >&6; }
5733 else
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5740 if test -z "$ac_cv_prog_AR"; then
5741 ac_ct_AR=$AR
5742 # Extract the first word of "ar", so it can be a program name with args.
5743 set dummy ar; ac_word=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5747 $as_echo_n "(cached) " >&6
5748 else
5749 if test -n "$ac_ct_AR"; then
5750 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5751 else
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_ac_ct_AR="ar"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 break 2
5763 done
5764 done
5765 IFS=$as_save_IFS
5769 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5770 if test -n "$ac_ct_AR"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5772 $as_echo "$ac_ct_AR" >&6; }
5773 else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5778 if test "x$ac_ct_AR" = x; then
5779 AR=""
5780 else
5781 case $cross_compiling:$ac_tool_warned in
5782 yes:)
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5785 ac_tool_warned=yes ;;
5786 esac
5787 AR=$ac_ct_AR
5789 else
5790 AR="$ac_cv_prog_AR"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_RANLIB+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$RANLIB"; then
5802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 RANLIB=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824 $as_echo "$RANLIB" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864 $as_echo "$ac_ct_RANLIB" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5870 if test "x$ac_ct_RANLIB" = x; then
5871 RANLIB="ranlib-not-found-in-path-error"
5872 else
5873 case $cross_compiling:$ac_tool_warned in
5874 yes:)
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned=yes ;;
5878 esac
5879 RANLIB=$ac_ct_RANLIB
5881 else
5882 RANLIB="$ac_cv_prog_RANLIB"
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5888 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5889 # Check whether --enable-maintainer-mode was given.
5890 if test "${enable_maintainer_mode+set}" = set; then :
5891 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5892 else
5893 USE_MAINTAINER_MODE=no
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5898 if test $USE_MAINTAINER_MODE = yes; then
5899 MAINTAINER_MODE_TRUE=
5900 MAINTAINER_MODE_FALSE='#'
5901 else
5902 MAINTAINER_MODE_TRUE='#'
5903 MAINTAINER_MODE_FALSE=
5906 MAINT=$MAINTAINER_MODE_TRUE
5910 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5911 # which are themselves conditionally expanded.
5912 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5913 ## other macros from doing the same. This should be automated.) -pme
5915 # Check for C library flavor since GNU/Linux platforms use different
5916 # configuration directories depending on the C library in use.
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5920 #include <stdio.h>
5921 #if __UCLIBC__
5922 _using_uclibc
5923 #endif
5925 _ACEOF
5926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5927 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5928 uclibc=yes
5929 else
5930 uclibc=no
5932 rm -f conftest*
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5938 #include <stdio.h>
5939 #if __BIONIC__
5940 _using_bionic
5941 #endif
5943 _ACEOF
5944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5945 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5946 bionic=yes
5947 else
5948 bionic=no
5950 rm -f conftest*
5953 # Find platform-specific directories containing configuration info.
5954 # Also possibly modify flags used elsewhere, as needed by the platform.
5956 . $glibcxx_srcdir/configure.host
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5958 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5960 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5964 # Libtool setup.
5965 if test "x${with_newlib}" != "xyes" &&
5966 test "x${with_avrlibc}" != "xyes" &&
5967 test "x$with_headers" != "xno"; then
5968 enable_dlopen=yes
5973 case `pwd` in
5974 *\ * | *\ *)
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5976 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5977 esac
5981 macro_version='2.2.7a'
5982 macro_revision='1.3134'
5996 ltmain="$ac_aux_dir/ltmain.sh"
5998 # Backslashify metacharacters that are still active within
5999 # double-quoted strings.
6000 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6002 # Same as above, but do not quote variable references.
6003 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6005 # Sed substitution to delay expansion of an escaped shell variable in a
6006 # double_quote_subst'ed string.
6007 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6009 # Sed substitution to delay expansion of an escaped single quote.
6010 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6012 # Sed substitution to avoid accidental globbing in evaled expressions
6013 no_glob_subst='s/\*/\\\*/g'
6015 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6016 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6020 $as_echo_n "checking how to print strings... " >&6; }
6021 # Test print first, because it will be a builtin if present.
6022 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6023 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6024 ECHO='print -r --'
6025 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6026 ECHO='printf %s\n'
6027 else
6028 # Use this function as a fallback that always works.
6029 func_fallback_echo ()
6031 eval 'cat <<_LTECHO_EOF
6033 _LTECHO_EOF'
6035 ECHO='func_fallback_echo'
6038 # func_echo_all arg...
6039 # Invoke $ECHO with all args, space-separated.
6040 func_echo_all ()
6042 $ECHO ""
6045 case "$ECHO" in
6046 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6047 $as_echo "printf" >&6; } ;;
6048 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6049 $as_echo "print -r" >&6; } ;;
6050 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6051 $as_echo "cat" >&6; } ;;
6052 esac
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6068 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6069 if ${ac_cv_path_SED+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6073 for ac_i in 1 2 3 4 5 6 7; do
6074 ac_script="$ac_script$as_nl$ac_script"
6075 done
6076 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6077 { ac_script=; unset ac_script;}
6078 if test -z "$SED"; then
6079 ac_path_SED_found=false
6080 # Loop through the user's path and test for each of PROGNAME-LIST
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_prog in sed gsed; do
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6089 as_fn_executable_p "$ac_path_SED" || continue
6090 # Check for GNU ac_path_SED and select it if it is found.
6091 # Check for GNU $ac_path_SED
6092 case `"$ac_path_SED" --version 2>&1` in
6093 *GNU*)
6094 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6096 ac_count=0
6097 $as_echo_n 0123456789 >"conftest.in"
6098 while :
6100 cat "conftest.in" "conftest.in" >"conftest.tmp"
6101 mv "conftest.tmp" "conftest.in"
6102 cp "conftest.in" "conftest.nl"
6103 $as_echo '' >> "conftest.nl"
6104 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6105 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6106 as_fn_arith $ac_count + 1 && ac_count=$as_val
6107 if test $ac_count -gt ${ac_path_SED_max-0}; then
6108 # Best one so far, save it but keep looking for a better one
6109 ac_cv_path_SED="$ac_path_SED"
6110 ac_path_SED_max=$ac_count
6112 # 10*(2^10) chars as input seems more than enough
6113 test $ac_count -gt 10 && break
6114 done
6115 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6116 esac
6118 $ac_path_SED_found && break 3
6119 done
6120 done
6121 done
6122 IFS=$as_save_IFS
6123 if test -z "$ac_cv_path_SED"; then
6124 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6126 else
6127 ac_cv_path_SED=$SED
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6132 $as_echo "$ac_cv_path_SED" >&6; }
6133 SED="$ac_cv_path_SED"
6134 rm -f conftest.sed
6136 test -z "$SED" && SED=sed
6137 Xsed="$SED -e 1s/^X//"
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6150 $as_echo_n "checking for fgrep... " >&6; }
6151 if ${ac_cv_path_FGREP+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6155 then ac_cv_path_FGREP="$GREP -F"
6156 else
6157 if test -z "$FGREP"; then
6158 ac_path_FGREP_found=false
6159 # Loop through the user's path and test for each of PROGNAME-LIST
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_prog in fgrep; do
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6168 as_fn_executable_p "$ac_path_FGREP" || continue
6169 # Check for GNU ac_path_FGREP and select it if it is found.
6170 # Check for GNU $ac_path_FGREP
6171 case `"$ac_path_FGREP" --version 2>&1` in
6172 *GNU*)
6173 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6175 ac_count=0
6176 $as_echo_n 0123456789 >"conftest.in"
6177 while :
6179 cat "conftest.in" "conftest.in" >"conftest.tmp"
6180 mv "conftest.tmp" "conftest.in"
6181 cp "conftest.in" "conftest.nl"
6182 $as_echo 'FGREP' >> "conftest.nl"
6183 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6185 as_fn_arith $ac_count + 1 && ac_count=$as_val
6186 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6187 # Best one so far, save it but keep looking for a better one
6188 ac_cv_path_FGREP="$ac_path_FGREP"
6189 ac_path_FGREP_max=$ac_count
6191 # 10*(2^10) chars as input seems more than enough
6192 test $ac_count -gt 10 && break
6193 done
6194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6195 esac
6197 $ac_path_FGREP_found && break 3
6198 done
6199 done
6200 done
6201 IFS=$as_save_IFS
6202 if test -z "$ac_cv_path_FGREP"; then
6203 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6205 else
6206 ac_cv_path_FGREP=$FGREP
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6212 $as_echo "$ac_cv_path_FGREP" >&6; }
6213 FGREP="$ac_cv_path_FGREP"
6216 test -z "$GREP" && GREP=grep
6236 # Check whether --with-gnu-ld was given.
6237 if test "${with_gnu_ld+set}" = set; then :
6238 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6239 else
6240 with_gnu_ld=no
6243 ac_prog=ld
6244 if test "$GCC" = yes; then
6245 # Check if gcc -print-prog-name=ld gives a path.
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6247 $as_echo_n "checking for ld used by $CC... " >&6; }
6248 case $host in
6249 *-*-mingw*)
6250 # gcc leaves a trailing carriage return which upsets mingw
6251 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6253 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6254 esac
6255 case $ac_prog in
6256 # Accept absolute paths.
6257 [\\/]* | ?:[\\/]*)
6258 re_direlt='/[^/][^/]*/\.\./'
6259 # Canonicalize the pathname of ld
6260 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6261 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6262 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6263 done
6264 test -z "$LD" && LD="$ac_prog"
6267 # If it fails, then pretend we aren't using GCC.
6268 ac_prog=ld
6271 # If it is relative, then search for the first ld in PATH.
6272 with_gnu_ld=unknown
6274 esac
6275 elif test "$with_gnu_ld" = yes; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6277 $as_echo_n "checking for GNU ld... " >&6; }
6278 else
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6280 $as_echo_n "checking for non-GNU ld... " >&6; }
6282 if ${lt_cv_path_LD+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -z "$LD"; then
6286 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6287 for ac_dir in $PATH; do
6288 IFS="$lt_save_ifs"
6289 test -z "$ac_dir" && ac_dir=.
6290 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6291 lt_cv_path_LD="$ac_dir/$ac_prog"
6292 # Check to see if the program is GNU ld. I'd rather use --version,
6293 # but apparently some variants of GNU ld only accept -v.
6294 # Break only if it was the GNU/non-GNU ld that we prefer.
6295 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6296 *GNU* | *'with BFD'*)
6297 test "$with_gnu_ld" != no && break
6300 test "$with_gnu_ld" != yes && break
6302 esac
6304 done
6305 IFS="$lt_save_ifs"
6306 else
6307 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6311 LD="$lt_cv_path_LD"
6312 if test -n "$LD"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6314 $as_echo "$LD" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6319 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6321 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6322 if ${lt_cv_prog_gnu_ld+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6326 case `$LD -v 2>&1 </dev/null` in
6327 *GNU* | *'with BFD'*)
6328 lt_cv_prog_gnu_ld=yes
6331 lt_cv_prog_gnu_ld=no
6333 esac
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6336 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6337 with_gnu_ld=$lt_cv_prog_gnu_ld
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6348 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6349 if ${lt_cv_path_NM+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test -n "$NM"; then
6353 # Let the user override the test.
6354 lt_cv_path_NM="$NM"
6355 else
6356 lt_nm_to_check="${ac_tool_prefix}nm"
6357 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6358 lt_nm_to_check="$lt_nm_to_check nm"
6360 for lt_tmp_nm in $lt_nm_to_check; do
6361 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6362 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6363 IFS="$lt_save_ifs"
6364 test -z "$ac_dir" && ac_dir=.
6365 tmp_nm="$ac_dir/$lt_tmp_nm"
6366 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6367 # Check to see if the nm accepts a BSD-compat flag.
6368 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6369 # nm: unknown option "B" ignored
6370 # Tru64's nm complains that /dev/null is an invalid object file
6371 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6372 */dev/null* | *'Invalid file or object type'*)
6373 lt_cv_path_NM="$tmp_nm -B"
6374 break
6377 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6378 */dev/null*)
6379 lt_cv_path_NM="$tmp_nm -p"
6380 break
6383 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6384 continue # so that we can try to find one that supports BSD flags
6386 esac
6388 esac
6390 done
6391 IFS="$lt_save_ifs"
6392 done
6393 : ${lt_cv_path_NM=no}
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6397 $as_echo "$lt_cv_path_NM" >&6; }
6398 if test "$lt_cv_path_NM" != "no"; then
6399 NM="$lt_cv_path_NM"
6400 else
6401 # Didn't find any BSD compatible name lister, look for dumpbin.
6402 if test -n "$DUMPBIN"; then :
6403 # Let the user override the test.
6404 else
6405 if test -n "$ac_tool_prefix"; then
6406 for ac_prog in dumpbin "link -dump"
6408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_DUMPBIN+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$DUMPBIN"; then
6416 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6435 DUMPBIN=$ac_cv_prog_DUMPBIN
6436 if test -n "$DUMPBIN"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6438 $as_echo "$DUMPBIN" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6445 test -n "$DUMPBIN" && break
6446 done
6448 if test -z "$DUMPBIN"; then
6449 ac_ct_DUMPBIN=$DUMPBIN
6450 for ac_prog in dumpbin "link -dump"
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6457 $as_echo_n "(cached) " >&6
6458 else
6459 if test -n "$ac_ct_DUMPBIN"; then
6460 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6465 IFS=$as_save_IFS
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 break 2
6473 done
6474 done
6475 IFS=$as_save_IFS
6479 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6480 if test -n "$ac_ct_DUMPBIN"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6482 $as_echo "$ac_ct_DUMPBIN" >&6; }
6483 else
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6489 test -n "$ac_ct_DUMPBIN" && break
6490 done
6492 if test "x$ac_ct_DUMPBIN" = x; then
6493 DUMPBIN=":"
6494 else
6495 case $cross_compiling:$ac_tool_warned in
6496 yes:)
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499 ac_tool_warned=yes ;;
6500 esac
6501 DUMPBIN=$ac_ct_DUMPBIN
6505 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6506 *COFF*)
6507 DUMPBIN="$DUMPBIN -symbols"
6510 DUMPBIN=:
6512 esac
6515 if test "$DUMPBIN" != ":"; then
6516 NM="$DUMPBIN"
6519 test -z "$NM" && NM=nm
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6527 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6528 if ${lt_cv_nm_interface+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 lt_cv_nm_interface="BSD nm"
6532 echo "int some_variable = 0;" > conftest.$ac_ext
6533 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6534 (eval "$ac_compile" 2>conftest.err)
6535 cat conftest.err >&5
6536 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6537 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6538 cat conftest.err >&5
6539 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6540 cat conftest.out >&5
6541 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6542 lt_cv_nm_interface="MS dumpbin"
6544 rm -f conftest*
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6547 $as_echo "$lt_cv_nm_interface" >&6; }
6549 # find the maximum length of command line arguments
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6551 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6552 if ${lt_cv_sys_max_cmd_len+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6556 teststring="ABCD"
6558 case $build_os in
6559 msdosdjgpp*)
6560 # On DJGPP, this test can blow up pretty badly due to problems in libc
6561 # (any single argument exceeding 2000 bytes causes a buffer overrun
6562 # during glob expansion). Even if it were fixed, the result of this
6563 # check would be larger than it should be.
6564 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6567 gnu*)
6568 # Under GNU Hurd, this test is not required because there is
6569 # no limit to the length of command line arguments.
6570 # Libtool will interpret -1 as no limit whatsoever
6571 lt_cv_sys_max_cmd_len=-1;
6574 cygwin* | mingw* | cegcc*)
6575 # On Win9x/ME, this test blows up -- it succeeds, but takes
6576 # about 5 minutes as the teststring grows exponentially.
6577 # Worse, since 9x/ME are not pre-emptively multitasking,
6578 # you end up with a "frozen" computer, even though with patience
6579 # the test eventually succeeds (with a max line length of 256k).
6580 # Instead, let's just punt: use the minimum linelength reported by
6581 # all of the supported platforms: 8192 (on NT/2K/XP).
6582 lt_cv_sys_max_cmd_len=8192;
6585 mint*)
6586 # On MiNT this can take a long time and run out of memory.
6587 lt_cv_sys_max_cmd_len=8192;
6590 amigaos*)
6591 # On AmigaOS with pdksh, this test takes hours, literally.
6592 # So we just punt and use a minimum line length of 8192.
6593 lt_cv_sys_max_cmd_len=8192;
6596 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6597 # This has been around since 386BSD, at least. Likely further.
6598 if test -x /sbin/sysctl; then
6599 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6600 elif test -x /usr/sbin/sysctl; then
6601 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6602 else
6603 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6605 # And add a safety zone
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6610 interix*)
6611 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6612 lt_cv_sys_max_cmd_len=196608
6615 osf*)
6616 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6617 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6618 # nice to cause kernel panics so lets avoid the loop below.
6619 # First set a reasonable default.
6620 lt_cv_sys_max_cmd_len=16384
6622 if test -x /sbin/sysconfig; then
6623 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6624 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6625 esac
6628 sco3.2v5*)
6629 lt_cv_sys_max_cmd_len=102400
6631 sysv5* | sco5v6* | sysv4.2uw2*)
6632 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6633 if test -n "$kargmax"; then
6634 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6635 else
6636 lt_cv_sys_max_cmd_len=32768
6640 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6641 if test -n "$lt_cv_sys_max_cmd_len"; then
6642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6644 else
6645 # Make teststring a little bigger before we do anything with it.
6646 # a 1K string should be a reasonable start.
6647 for i in 1 2 3 4 5 6 7 8 ; do
6648 teststring=$teststring$teststring
6649 done
6650 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6651 # If test is not a shell built-in, we'll probably end up computing a
6652 # maximum length that is only half of the actual maximum length, but
6653 # we can't tell.
6654 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6655 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6656 test $i != 17 # 1/2 MB should be enough
6658 i=`expr $i + 1`
6659 teststring=$teststring$teststring
6660 done
6661 # Only check the string length outside the loop.
6662 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6663 teststring=
6664 # Add a significant safety factor because C++ compilers can tack on
6665 # massive amounts of additional arguments before passing them to the
6666 # linker. It appears as though 1/2 is a usable value.
6667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6670 esac
6674 if test -n $lt_cv_sys_max_cmd_len ; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6676 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6679 $as_echo "none" >&6; }
6681 max_cmd_len=$lt_cv_sys_max_cmd_len
6688 : ${CP="cp -f"}
6689 : ${MV="mv -f"}
6690 : ${RM="rm -f"}
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6693 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6694 # Try some XSI features
6695 xsi_shell=no
6696 ( _lt_dummy="a/b/c"
6697 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6698 = c,a/b,, \
6699 && eval 'test $(( 1 + 1 )) -eq 2 \
6700 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6701 && xsi_shell=yes
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6703 $as_echo "$xsi_shell" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6707 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6708 lt_shell_append=no
6709 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6710 >/dev/null 2>&1 \
6711 && lt_shell_append=yes
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6713 $as_echo "$lt_shell_append" >&6; }
6716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6717 lt_unset=unset
6718 else
6719 lt_unset=false
6726 # test EBCDIC or ASCII
6727 case `echo X|tr X '\101'` in
6728 A) # ASCII based system
6729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6730 lt_SP2NL='tr \040 \012'
6731 lt_NL2SP='tr \015\012 \040\040'
6733 *) # EBCDIC based system
6734 lt_SP2NL='tr \100 \n'
6735 lt_NL2SP='tr \r\n \100\100'
6737 esac
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6748 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6749 if ${lt_cv_ld_reload_flag+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 lt_cv_ld_reload_flag='-r'
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6755 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6756 reload_flag=$lt_cv_ld_reload_flag
6757 case $reload_flag in
6758 "" | " "*) ;;
6759 *) reload_flag=" $reload_flag" ;;
6760 esac
6761 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6762 case $host_os in
6763 darwin*)
6764 if test "$GCC" = yes; then
6765 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6766 else
6767 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6770 esac
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_OBJDUMP+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 if test -n "$OBJDUMP"; then
6789 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 break 2
6802 done
6803 done
6804 IFS=$as_save_IFS
6808 OBJDUMP=$ac_cv_prog_OBJDUMP
6809 if test -n "$OBJDUMP"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6811 $as_echo "$OBJDUMP" >&6; }
6812 else
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6819 if test -z "$ac_cv_prog_OBJDUMP"; then
6820 ac_ct_OBJDUMP=$OBJDUMP
6821 # Extract the first word of "objdump", so it can be a program name with args.
6822 set dummy objdump; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 if test -n "$ac_ct_OBJDUMP"; then
6829 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6830 else
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 for as_dir in $PATH
6834 IFS=$as_save_IFS
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 break 2
6842 done
6843 done
6844 IFS=$as_save_IFS
6848 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6849 if test -n "$ac_ct_OBJDUMP"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6851 $as_echo "$ac_ct_OBJDUMP" >&6; }
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6857 if test "x$ac_ct_OBJDUMP" = x; then
6858 OBJDUMP="false"
6859 else
6860 case $cross_compiling:$ac_tool_warned in
6861 yes:)
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6864 ac_tool_warned=yes ;;
6865 esac
6866 OBJDUMP=$ac_ct_OBJDUMP
6868 else
6869 OBJDUMP="$ac_cv_prog_OBJDUMP"
6872 test -z "$OBJDUMP" && OBJDUMP=objdump
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6883 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6884 if ${lt_cv_deplibs_check_method+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 lt_cv_file_magic_cmd='$MAGIC_CMD'
6888 lt_cv_file_magic_test_file=
6889 lt_cv_deplibs_check_method='unknown'
6890 # Need to set the preceding variable on all platforms that support
6891 # interlibrary dependencies.
6892 # 'none' -- dependencies not supported.
6893 # `unknown' -- same as none, but documents that we really don't know.
6894 # 'pass_all' -- all dependencies passed with no checks.
6895 # 'test_compile' -- check by making test program.
6896 # 'file_magic [[regex]]' -- check by looking for files in library path
6897 # which responds to the $file_magic_cmd with a given extended regex.
6898 # If you have `file' or equivalent on your system and you're not sure
6899 # whether `pass_all' will *always* work, you probably want this one.
6901 case $host_os in
6902 aix[4-9]*)
6903 lt_cv_deplibs_check_method=pass_all
6906 beos*)
6907 lt_cv_deplibs_check_method=pass_all
6910 bsdi[45]*)
6911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6912 lt_cv_file_magic_cmd='/usr/bin/file -L'
6913 lt_cv_file_magic_test_file=/shlib/libc.so
6916 cygwin*)
6917 # func_win32_libid is a shell function defined in ltmain.sh
6918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6919 lt_cv_file_magic_cmd='func_win32_libid'
6922 mingw* | pw32*)
6923 # Base MSYS/MinGW do not provide the 'file' command needed by
6924 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6925 # unless we find 'file', for example because we are cross-compiling.
6926 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6927 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6928 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6929 lt_cv_file_magic_cmd='func_win32_libid'
6930 else
6931 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6932 lt_cv_file_magic_cmd='$OBJDUMP -f'
6936 cegcc*)
6937 # use the weaker test based on 'objdump'. See mingw*.
6938 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6939 lt_cv_file_magic_cmd='$OBJDUMP -f'
6942 darwin* | rhapsody*)
6943 lt_cv_deplibs_check_method=pass_all
6946 freebsd* | dragonfly*)
6947 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6948 case $host_cpu in
6949 i*86 )
6950 # Not sure whether the presence of OpenBSD here was a mistake.
6951 # Let's accept both of them until this is cleared up.
6952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6953 lt_cv_file_magic_cmd=/usr/bin/file
6954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6956 esac
6957 else
6958 lt_cv_deplibs_check_method=pass_all
6962 gnu*)
6963 lt_cv_deplibs_check_method=pass_all
6966 haiku*)
6967 lt_cv_deplibs_check_method=pass_all
6970 hpux10.20* | hpux11*)
6971 lt_cv_file_magic_cmd=/usr/bin/file
6972 case $host_cpu in
6973 ia64*)
6974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6977 hppa*64*)
6978 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]'
6979 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6983 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6985 esac
6988 interix[3-9]*)
6989 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6993 irix5* | irix6* | nonstopux*)
6994 case $LD in
6995 *-32|*"-32 ") libmagic=32-bit;;
6996 *-n32|*"-n32 ") libmagic=N32;;
6997 *-64|*"-64 ") libmagic=64-bit;;
6998 *) libmagic=never-match;;
6999 esac
7000 lt_cv_deplibs_check_method=pass_all
7003 # This must be Linux ELF.
7004 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7005 lt_cv_deplibs_check_method=pass_all
7008 netbsd*)
7009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7011 else
7012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7016 newos6*)
7017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7018 lt_cv_file_magic_cmd=/usr/bin/file
7019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7022 *nto* | *qnx*)
7023 lt_cv_deplibs_check_method=pass_all
7026 openbsd*)
7027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7029 else
7030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7034 osf3* | osf4* | osf5*)
7035 lt_cv_deplibs_check_method=pass_all
7038 rdos*)
7039 lt_cv_deplibs_check_method=pass_all
7042 solaris*)
7043 lt_cv_deplibs_check_method=pass_all
7046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7047 lt_cv_deplibs_check_method=pass_all
7050 sysv4 | sysv4.3*)
7051 case $host_vendor in
7052 motorola)
7053 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]'
7054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7056 ncr)
7057 lt_cv_deplibs_check_method=pass_all
7059 sequent)
7060 lt_cv_file_magic_cmd='/bin/file'
7061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7063 sni)
7064 lt_cv_file_magic_cmd='/bin/file'
7065 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7066 lt_cv_file_magic_test_file=/lib/libc.so
7068 siemens)
7069 lt_cv_deplibs_check_method=pass_all
7072 lt_cv_deplibs_check_method=pass_all
7074 esac
7077 tpf*)
7078 lt_cv_deplibs_check_method=pass_all
7080 esac
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7084 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7085 file_magic_cmd=$lt_cv_file_magic_cmd
7086 deplibs_check_method=$lt_cv_deplibs_check_method
7087 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}ar; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_AR+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 if test -n "$AR"; then
7109 ac_cv_prog_AR="$AR" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7114 IFS=$as_save_IFS
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_AR="${ac_tool_prefix}ar"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 break 2
7122 done
7123 done
7124 IFS=$as_save_IFS
7128 AR=$ac_cv_prog_AR
7129 if test -n "$AR"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7131 $as_echo "$AR" >&6; }
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7139 if test -z "$ac_cv_prog_AR"; then
7140 ac_ct_AR=$AR
7141 # Extract the first word of "ar", so it can be a program name with args.
7142 set dummy ar; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 if test -n "$ac_ct_AR"; then
7149 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7154 IFS=$as_save_IFS
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_AR="ar"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7169 if test -n "$ac_ct_AR"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7171 $as_echo "$ac_ct_AR" >&6; }
7172 else
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7177 if test "x$ac_ct_AR" = x; then
7178 AR="false"
7179 else
7180 case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186 AR=$ac_ct_AR
7188 else
7189 AR="$ac_cv_prog_AR"
7192 test -z "$AR" && AR=ar
7193 test -z "$AR_FLAGS" && AR_FLAGS=cru
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}strip; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_STRIP+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$STRIP"; then
7214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 STRIP=$ac_cv_prog_STRIP
7234 if test -n "$STRIP"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7236 $as_echo "$STRIP" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_STRIP"; then
7245 ac_ct_STRIP=$STRIP
7246 # Extract the first word of "strip", so it can be a program name with args.
7247 set dummy strip; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$ac_ct_STRIP"; then
7254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_STRIP="strip"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7274 if test -n "$ac_ct_STRIP"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7276 $as_echo "$ac_ct_STRIP" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_STRIP" = x; then
7283 STRIP=":"
7284 else
7285 case $cross_compiling:$ac_tool_warned in
7286 yes:)
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7290 esac
7291 STRIP=$ac_ct_STRIP
7293 else
7294 STRIP="$ac_cv_prog_STRIP"
7297 test -z "$STRIP" && STRIP=:
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_RANLIB+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$RANLIB"; then
7313 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 RANLIB=$ac_cv_prog_RANLIB
7333 if test -n "$RANLIB"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7335 $as_echo "$RANLIB" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_RANLIB"; then
7344 ac_ct_RANLIB=$RANLIB
7345 # Extract the first word of "ranlib", so it can be a program name with args.
7346 set dummy ranlib; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_RANLIB"; then
7353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_RANLIB="ranlib"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7373 if test -n "$ac_ct_RANLIB"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7375 $as_echo "$ac_ct_RANLIB" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_RANLIB" = x; then
7382 RANLIB=":"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 RANLIB=$ac_ct_RANLIB
7392 else
7393 RANLIB="$ac_cv_prog_RANLIB"
7396 test -z "$RANLIB" && RANLIB=:
7403 # Determine commands to create old-style static archives.
7404 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7405 old_postinstall_cmds='chmod 644 $oldlib'
7406 old_postuninstall_cmds=
7408 if test -n "$RANLIB"; then
7409 case $host_os in
7410 openbsd*)
7411 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7414 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7416 esac
7417 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7420 case $host_os in
7421 darwin*)
7422 lock_old_archive_extraction=yes ;;
7424 lock_old_archive_extraction=no ;;
7425 esac
7465 # If no C compiler was specified, use CC.
7466 LTCC=${LTCC-"$CC"}
7468 # If no C compiler flags were specified, use CFLAGS.
7469 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7471 # Allow CC to be a program name with arguments.
7472 compiler=$CC
7475 # Check for command to grab the raw symbol name followed by C symbol from nm.
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7477 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7478 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7482 # These are sane defaults that work on at least a few old systems.
7483 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7485 # Character class describing NM global symbol codes.
7486 symcode='[BCDEGRST]'
7488 # Regexp to match symbols that can be accessed directly from C.
7489 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7491 # Define system-specific variables.
7492 case $host_os in
7493 aix*)
7494 symcode='[BCDT]'
7496 cygwin* | mingw* | pw32* | cegcc*)
7497 symcode='[ABCDGISTW]'
7499 hpux*)
7500 if test "$host_cpu" = ia64; then
7501 symcode='[ABCDEGRST]'
7504 irix* | nonstopux*)
7505 symcode='[BCDEGRST]'
7507 osf*)
7508 symcode='[BCDEGQRST]'
7510 solaris*)
7511 symcode='[BDRT]'
7513 sco3.2v5*)
7514 symcode='[DT]'
7516 sysv4.2uw2*)
7517 symcode='[DT]'
7519 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7520 symcode='[ABDT]'
7522 sysv4)
7523 symcode='[DFNSTU]'
7525 esac
7527 # If we're using GNU nm, then use its standard symbol codes.
7528 case `$NM -V 2>&1` in
7529 *GNU* | *'with BFD'*)
7530 symcode='[ABCDGIRSTW]' ;;
7531 esac
7533 # Transform an extracted symbol line into a proper C declaration.
7534 # Some systems (esp. on ia64) link data and code symbols differently,
7535 # so use this general approach.
7536 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7538 # Transform an extracted symbol line into symbol name and symbol address
7539 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7540 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'"
7542 # Handle CRLF in mingw tool chain
7543 opt_cr=
7544 case $build_os in
7545 mingw*)
7546 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7548 esac
7550 # Try without a prefix underscore, then with it.
7551 for ac_symprfx in "" "_"; do
7553 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7554 symxfrm="\\1 $ac_symprfx\\2 \\2"
7556 # Write the raw and C identifiers.
7557 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7558 # Fake it for dumpbin and say T for any non-static function
7559 # and D for any global variable.
7560 # Also find C++ and __fastcall symbols from MSVC++,
7561 # which start with @ or ?.
7562 lt_cv_sys_global_symbol_pipe="$AWK '"\
7563 " {last_section=section; section=\$ 3};"\
7564 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7565 " \$ 0!~/External *\|/{next};"\
7566 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7567 " {if(hide[section]) next};"\
7568 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7569 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7570 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7571 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7572 " ' prfx=^$ac_symprfx"
7573 else
7574 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7577 # Check to see that the pipe works correctly.
7578 pipe_works=no
7580 rm -f conftest*
7581 cat > conftest.$ac_ext <<_LT_EOF
7582 #ifdef __cplusplus
7583 extern "C" {
7584 #endif
7585 char nm_test_var;
7586 void nm_test_func(void);
7587 void nm_test_func(void){}
7588 #ifdef __cplusplus
7590 #endif
7591 int main(){nm_test_var='a';nm_test_func();return(0);}
7592 _LT_EOF
7594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595 (eval $ac_compile) 2>&5
7596 ac_status=$?
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; }; then
7599 # Now try to grab the symbols.
7600 nlist=conftest.nm
7601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7602 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7603 ac_status=$?
7604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605 test $ac_status = 0; } && test -s "$nlist"; then
7606 # Try sorting and uniquifying the output.
7607 if sort "$nlist" | uniq > "$nlist"T; then
7608 mv -f "$nlist"T "$nlist"
7609 else
7610 rm -f "$nlist"T
7613 # Make sure that we snagged all the symbols we need.
7614 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7615 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7616 cat <<_LT_EOF > conftest.$ac_ext
7617 #ifdef __cplusplus
7618 extern "C" {
7619 #endif
7621 _LT_EOF
7622 # Now generate the symbol file.
7623 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7625 cat <<_LT_EOF >> conftest.$ac_ext
7627 /* The mapping between symbol names and symbols. */
7628 const struct {
7629 const char *name;
7630 void *address;
7632 lt__PROGRAM__LTX_preloaded_symbols[] =
7634 { "@PROGRAM@", (void *) 0 },
7635 _LT_EOF
7636 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7637 cat <<\_LT_EOF >> conftest.$ac_ext
7638 {0, (void *) 0}
7641 /* This works around a problem in FreeBSD linker */
7642 #ifdef FREEBSD_WORKAROUND
7643 static const void *lt_preloaded_setup() {
7644 return lt__PROGRAM__LTX_preloaded_symbols;
7646 #endif
7648 #ifdef __cplusplus
7650 #endif
7651 _LT_EOF
7652 # Now try linking the two files.
7653 mv conftest.$ac_objext conftstm.$ac_objext
7654 lt_save_LIBS="$LIBS"
7655 lt_save_CFLAGS="$CFLAGS"
7656 LIBS="conftstm.$ac_objext"
7657 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7659 (eval $ac_link) 2>&5
7660 ac_status=$?
7661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7662 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7663 pipe_works=yes
7665 LIBS="$lt_save_LIBS"
7666 CFLAGS="$lt_save_CFLAGS"
7667 else
7668 echo "cannot find nm_test_func in $nlist" >&5
7670 else
7671 echo "cannot find nm_test_var in $nlist" >&5
7673 else
7674 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7676 else
7677 echo "$progname: failed program was:" >&5
7678 cat conftest.$ac_ext >&5
7680 rm -rf conftest* conftst*
7682 # Do not use the global_symbol_pipe unless it works.
7683 if test "$pipe_works" = yes; then
7684 break
7685 else
7686 lt_cv_sys_global_symbol_pipe=
7688 done
7692 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7693 lt_cv_sys_global_symbol_to_cdecl=
7695 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7697 $as_echo "failed" >&6; }
7698 else
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7700 $as_echo "ok" >&6; }
7724 # Check whether --enable-libtool-lock was given.
7725 if test "${enable_libtool_lock+set}" = set; then :
7726 enableval=$enable_libtool_lock;
7729 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7731 # Some flags need to be propagated to the compiler or linker for good
7732 # libtool support.
7733 case $host in
7734 ia64-*-hpux*)
7735 # Find out which ABI we are using.
7736 echo 'int i;' > conftest.$ac_ext
7737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7738 (eval $ac_compile) 2>&5
7739 ac_status=$?
7740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7741 test $ac_status = 0; }; then
7742 case `/usr/bin/file conftest.$ac_objext` in
7743 *ELF-32*)
7744 HPUX_IA64_MODE="32"
7746 *ELF-64*)
7747 HPUX_IA64_MODE="64"
7749 esac
7751 rm -rf conftest*
7753 *-*-irix6*)
7754 # Find out which ABI we are using.
7755 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7757 (eval $ac_compile) 2>&5
7758 ac_status=$?
7759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7760 test $ac_status = 0; }; then
7761 if test "$lt_cv_prog_gnu_ld" = yes; then
7762 case `/usr/bin/file conftest.$ac_objext` in
7763 *32-bit*)
7764 LD="${LD-ld} -melf32bsmip"
7766 *N32*)
7767 LD="${LD-ld} -melf32bmipn32"
7769 *64-bit*)
7770 LD="${LD-ld} -melf64bmip"
7772 esac
7773 else
7774 case `/usr/bin/file conftest.$ac_objext` in
7775 *32-bit*)
7776 LD="${LD-ld} -32"
7778 *N32*)
7779 LD="${LD-ld} -n32"
7781 *64-bit*)
7782 LD="${LD-ld} -64"
7784 esac
7787 rm -rf conftest*
7790 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7791 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7792 # Find out which ABI we are using.
7793 echo 'int i;' > conftest.$ac_ext
7794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7795 (eval $ac_compile) 2>&5
7796 ac_status=$?
7797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7798 test $ac_status = 0; }; then
7799 case `/usr/bin/file conftest.o` in
7800 *32-bit*)
7801 case $host in
7802 x86_64-*kfreebsd*-gnu)
7803 LD="${LD-ld} -m elf_i386_fbsd"
7805 x86_64-*linux*)
7806 case `/usr/bin/file conftest.o` in
7807 *x86-64*)
7808 LD="${LD-ld} -m elf32_x86_64"
7811 LD="${LD-ld} -m elf_i386"
7813 esac
7815 powerpc64le-*linux*)
7816 LD="${LD-ld} -m elf32lppclinux"
7818 powerpc64-*linux*)
7819 LD="${LD-ld} -m elf32ppclinux"
7821 s390x-*linux*)
7822 LD="${LD-ld} -m elf_s390"
7824 sparc64-*linux*)
7825 LD="${LD-ld} -m elf32_sparc"
7827 esac
7829 *64-bit*)
7830 case $host in
7831 x86_64-*kfreebsd*-gnu)
7832 LD="${LD-ld} -m elf_x86_64_fbsd"
7834 x86_64-*linux*)
7835 LD="${LD-ld} -m elf_x86_64"
7837 powerpcle-*linux*)
7838 LD="${LD-ld} -m elf64lppc"
7840 powerpc-*linux*)
7841 LD="${LD-ld} -m elf64ppc"
7843 s390*-*linux*|s390*-*tpf*)
7844 LD="${LD-ld} -m elf64_s390"
7846 sparc*-*linux*)
7847 LD="${LD-ld} -m elf64_sparc"
7849 esac
7851 esac
7853 rm -rf conftest*
7856 *-*-sco3.2v5*)
7857 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7858 SAVE_CFLAGS="$CFLAGS"
7859 CFLAGS="$CFLAGS -belf"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7862 if ${lt_cv_cc_needs_belf+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 ac_ext=c
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7871 if test x$gcc_no_link = xyes; then
7872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7878 main ()
7882 return 0;
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"; then :
7886 lt_cv_cc_needs_belf=yes
7887 else
7888 lt_cv_cc_needs_belf=no
7890 rm -f core conftest.err conftest.$ac_objext \
7891 conftest$ac_exeext conftest.$ac_ext
7892 ac_ext=c
7893 ac_cpp='$CPP $CPPFLAGS'
7894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7903 CFLAGS="$SAVE_CFLAGS"
7906 sparc*-*solaris*)
7907 # Find out which ABI we are using.
7908 echo 'int i;' > conftest.$ac_ext
7909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7910 (eval $ac_compile) 2>&5
7911 ac_status=$?
7912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7913 test $ac_status = 0; }; then
7914 case `/usr/bin/file conftest.o` in
7915 *64-bit*)
7916 case $lt_cv_prog_gnu_ld in
7917 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7920 LD="${LD-ld} -64"
7923 esac
7925 esac
7927 rm -rf conftest*
7929 esac
7931 need_locks="$enable_libtool_lock"
7934 case $host_os in
7935 rhapsody* | darwin*)
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$DSYMUTIL"; then
7945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7958 done
7959 done
7960 IFS=$as_save_IFS
7964 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7965 if test -n "$DSYMUTIL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7967 $as_echo "$DSYMUTIL" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_DSYMUTIL"; then
7976 ac_ct_DSYMUTIL=$DSYMUTIL
7977 # Extract the first word of "dsymutil", so it can be a program name with args.
7978 set dummy dsymutil; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 if test -n "$ac_ct_DSYMUTIL"; then
7985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7990 IFS=$as_save_IFS
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996 break 2
7998 done
7999 done
8000 IFS=$as_save_IFS
8004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8005 if test -n "$ac_ct_DSYMUTIL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8007 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8008 else
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_DSYMUTIL" = x; then
8014 DSYMUTIL=":"
8015 else
8016 case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022 DSYMUTIL=$ac_ct_DSYMUTIL
8024 else
8025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_NMEDIT+:} false; then :
8034 $as_echo_n "(cached) " >&6
8035 else
8036 if test -n "$NMEDIT"; then
8037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8038 else
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 for as_dir in $PATH
8042 IFS=$as_save_IFS
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 break 2
8050 done
8051 done
8052 IFS=$as_save_IFS
8056 NMEDIT=$ac_cv_prog_NMEDIT
8057 if test -n "$NMEDIT"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8059 $as_echo "$NMEDIT" >&6; }
8060 else
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_NMEDIT"; then
8068 ac_ct_NMEDIT=$NMEDIT
8069 # Extract the first word of "nmedit", so it can be a program name with args.
8070 set dummy nmedit; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 if test -n "$ac_ct_NMEDIT"; then
8077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8090 done
8091 done
8092 IFS=$as_save_IFS
8096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8097 if test -n "$ac_ct_NMEDIT"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8099 $as_echo "$ac_ct_NMEDIT" >&6; }
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_NMEDIT" = x; then
8106 NMEDIT=":"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 NMEDIT=$ac_ct_NMEDIT
8116 else
8117 NMEDIT="$ac_cv_prog_NMEDIT"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_LIPO+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 if test -n "$LIPO"; then
8129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8134 IFS=$as_save_IFS
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 break 2
8142 done
8143 done
8144 IFS=$as_save_IFS
8148 LIPO=$ac_cv_prog_LIPO
8149 if test -n "$LIPO"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8151 $as_echo "$LIPO" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_LIPO"; then
8160 ac_ct_LIPO=$LIPO
8161 # Extract the first word of "lipo", so it can be a program name with args.
8162 set dummy lipo; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 if test -n "$ac_ct_LIPO"; then
8169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8170 else
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8174 IFS=$as_save_IFS
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_LIPO="lipo"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 break 2
8182 done
8183 done
8184 IFS=$as_save_IFS
8188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8189 if test -n "$ac_ct_LIPO"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8191 $as_echo "$ac_ct_LIPO" >&6; }
8192 else
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_LIPO" = x; then
8198 LIPO=":"
8199 else
8200 case $cross_compiling:$ac_tool_warned in
8201 yes:)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8205 esac
8206 LIPO=$ac_ct_LIPO
8208 else
8209 LIPO="$ac_cv_prog_LIPO"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}otool; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_OTOOL+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 if test -n "$OTOOL"; then
8221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8226 IFS=$as_save_IFS
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 break 2
8234 done
8235 done
8236 IFS=$as_save_IFS
8240 OTOOL=$ac_cv_prog_OTOOL
8241 if test -n "$OTOOL"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8243 $as_echo "$OTOOL" >&6; }
8244 else
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_OTOOL"; then
8252 ac_ct_OTOOL=$OTOOL
8253 # Extract the first word of "otool", so it can be a program name with args.
8254 set dummy otool; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 if test -n "$ac_ct_OTOOL"; then
8261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8266 IFS=$as_save_IFS
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_OTOOL="otool"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 break 2
8274 done
8275 done
8276 IFS=$as_save_IFS
8280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8281 if test -n "$ac_ct_OTOOL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8283 $as_echo "$ac_ct_OTOOL" >&6; }
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_OTOOL" = x; then
8290 OTOOL=":"
8291 else
8292 case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298 OTOOL=$ac_ct_OTOOL
8300 else
8301 OTOOL="$ac_cv_prog_OTOOL"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL64+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$OTOOL64"; then
8313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8326 done
8327 done
8328 IFS=$as_save_IFS
8332 OTOOL64=$ac_cv_prog_OTOOL64
8333 if test -n "$OTOOL64"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8335 $as_echo "$OTOOL64" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL64"; then
8344 ac_ct_OTOOL64=$OTOOL64
8345 # Extract the first word of "otool64", so it can be a program name with args.
8346 set dummy otool64; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$ac_ct_OTOOL64"; then
8353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL64="otool64"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8366 done
8367 done
8368 IFS=$as_save_IFS
8372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8373 if test -n "$ac_ct_OTOOL64"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8375 $as_echo "$ac_ct_OTOOL64" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_OTOOL64" = x; then
8382 OTOOL64=":"
8383 else
8384 case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390 OTOOL64=$ac_ct_OTOOL64
8392 else
8393 OTOOL64="$ac_cv_prog_OTOOL64"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8423 $as_echo_n "checking for -single_module linker flag... " >&6; }
8424 if ${lt_cv_apple_cc_single_mod+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 lt_cv_apple_cc_single_mod=no
8428 if test -z "${LT_MULTI_MODULE}"; then
8429 # By default we will add the -single_module flag. You can override
8430 # by either setting the environment variable LT_MULTI_MODULE
8431 # non-empty at configure time, or by adding -multi_module to the
8432 # link flags.
8433 rm -rf libconftest.dylib*
8434 echo "int foo(void){return 1;}" > conftest.c
8435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8436 -dynamiclib -Wl,-single_module conftest.c" >&5
8437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8439 _lt_result=$?
8440 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8441 lt_cv_apple_cc_single_mod=yes
8442 else
8443 cat conftest.err >&5
8445 rm -rf libconftest.dylib*
8446 rm -f conftest.*
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8452 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8453 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 lt_cv_ld_exported_symbols_list=no
8457 save_LDFLAGS=$LDFLAGS
8458 echo "_main" > conftest.sym
8459 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8460 if test x$gcc_no_link = xyes; then
8461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8467 main ()
8471 return 0;
8473 _ACEOF
8474 if ac_fn_c_try_link "$LINENO"; then :
8475 lt_cv_ld_exported_symbols_list=yes
8476 else
8477 lt_cv_ld_exported_symbols_list=no
8479 rm -f core conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LDFLAGS="$save_LDFLAGS"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8485 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8487 $as_echo_n "checking for -force_load linker flag... " >&6; }
8488 if ${lt_cv_ld_force_load+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_ld_force_load=no
8492 cat > conftest.c << _LT_EOF
8493 int forced_loaded() { return 2;}
8494 _LT_EOF
8495 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8496 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8497 echo "$AR cru libconftest.a conftest.o" >&5
8498 $AR cru libconftest.a conftest.o 2>&5
8499 cat > conftest.c << _LT_EOF
8500 int main() { return 0;}
8501 _LT_EOF
8502 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8503 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8504 _lt_result=$?
8505 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8506 lt_cv_ld_force_load=yes
8507 else
8508 cat conftest.err >&5
8510 rm -f conftest.err libconftest.a conftest conftest.c
8511 rm -rf conftest.dSYM
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8515 $as_echo "$lt_cv_ld_force_load" >&6; }
8516 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8517 # build without first building modern cctools / linker.
8518 case $host_cpu-$host_os in
8519 *-rhapsody* | *-darwin1.[012])
8520 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8521 *-darwin1.*)
8522 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8523 *-darwin*)
8524 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8525 # deployment target is forced to an earlier version.
8526 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8527 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8529 10.[012][,.]*)
8530 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8534 esac
8536 esac
8537 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8538 _lt_dar_single_mod='$single_module'
8540 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8541 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8542 else
8543 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8545 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8546 _lt_dsymutil='~$DSYMUTIL $lib || :'
8547 else
8548 _lt_dsymutil=
8551 esac
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8554 $as_echo_n "checking for ANSI C header files... " >&6; }
8555 if ${ac_cv_header_stdc+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <stdlib.h>
8561 #include <stdarg.h>
8562 #include <string.h>
8563 #include <float.h>
8566 main ()
8570 return 0;
8572 _ACEOF
8573 if ac_fn_c_try_compile "$LINENO"; then :
8574 ac_cv_header_stdc=yes
8575 else
8576 ac_cv_header_stdc=no
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 if test $ac_cv_header_stdc = yes; then
8581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 #include <string.h>
8586 _ACEOF
8587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8588 $EGREP "memchr" >/dev/null 2>&1; then :
8590 else
8591 ac_cv_header_stdc=no
8593 rm -f conftest*
8597 if test $ac_cv_header_stdc = yes; then
8598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #include <stdlib.h>
8603 _ACEOF
8604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8605 $EGREP "free" >/dev/null 2>&1; then :
8607 else
8608 ac_cv_header_stdc=no
8610 rm -f conftest*
8614 if test $ac_cv_header_stdc = yes; then
8615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8616 if test "$cross_compiling" = yes; then :
8618 else
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 #include <ctype.h>
8622 #include <stdlib.h>
8623 #if ((' ' & 0x0FF) == 0x020)
8624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8626 #else
8627 # define ISLOWER(c) \
8628 (('a' <= (c) && (c) <= 'i') \
8629 || ('j' <= (c) && (c) <= 'r') \
8630 || ('s' <= (c) && (c) <= 'z'))
8631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8632 #endif
8634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8636 main ()
8638 int i;
8639 for (i = 0; i < 256; i++)
8640 if (XOR (islower (i), ISLOWER (i))
8641 || toupper (i) != TOUPPER (i))
8642 return 2;
8643 return 0;
8645 _ACEOF
8646 if ac_fn_c_try_run "$LINENO"; then :
8648 else
8649 ac_cv_header_stdc=no
8651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8652 conftest.$ac_objext conftest.beam conftest.$ac_ext
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8658 $as_echo "$ac_cv_header_stdc" >&6; }
8659 if test $ac_cv_header_stdc = yes; then
8661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8666 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8667 inttypes.h stdint.h unistd.h
8668 do :
8669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8675 _ACEOF
8679 done
8682 for ac_header in dlfcn.h
8683 do :
8684 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8686 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8687 cat >>confdefs.h <<_ACEOF
8688 #define HAVE_DLFCN_H 1
8689 _ACEOF
8693 done
8700 # Set options
8705 enable_win32_dll=no
8708 # Check whether --enable-shared was given.
8709 if test "${enable_shared+set}" = set; then :
8710 enableval=$enable_shared; p=${PACKAGE-default}
8711 case $enableval in
8712 yes) enable_shared=yes ;;
8713 no) enable_shared=no ;;
8715 enable_shared=no
8716 # Look at the argument we got. We use all the common list separators.
8717 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8718 for pkg in $enableval; do
8719 IFS="$lt_save_ifs"
8720 if test "X$pkg" = "X$p"; then
8721 enable_shared=yes
8723 done
8724 IFS="$lt_save_ifs"
8726 esac
8727 else
8728 enable_shared=yes
8739 # Check whether --enable-static was given.
8740 if test "${enable_static+set}" = set; then :
8741 enableval=$enable_static; p=${PACKAGE-default}
8742 case $enableval in
8743 yes) enable_static=yes ;;
8744 no) enable_static=no ;;
8746 enable_static=no
8747 # Look at the argument we got. We use all the common list separators.
8748 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8749 for pkg in $enableval; do
8750 IFS="$lt_save_ifs"
8751 if test "X$pkg" = "X$p"; then
8752 enable_static=yes
8754 done
8755 IFS="$lt_save_ifs"
8757 esac
8758 else
8759 enable_static=yes
8771 # Check whether --with-pic was given.
8772 if test "${with_pic+set}" = set; then :
8773 withval=$with_pic; pic_mode="$withval"
8774 else
8775 pic_mode=default
8779 test -z "$pic_mode" && pic_mode=default
8787 # Check whether --enable-fast-install was given.
8788 if test "${enable_fast_install+set}" = set; then :
8789 enableval=$enable_fast_install; p=${PACKAGE-default}
8790 case $enableval in
8791 yes) enable_fast_install=yes ;;
8792 no) enable_fast_install=no ;;
8794 enable_fast_install=no
8795 # Look at the argument we got. We use all the common list separators.
8796 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8797 for pkg in $enableval; do
8798 IFS="$lt_save_ifs"
8799 if test "X$pkg" = "X$p"; then
8800 enable_fast_install=yes
8802 done
8803 IFS="$lt_save_ifs"
8805 esac
8806 else
8807 enable_fast_install=yes
8820 # This can be used to rebuild libtool when needed
8821 LIBTOOL_DEPS="$ltmain"
8823 # Always use our own libtool.
8824 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8851 test -z "$LN_S" && LN_S="ln -s"
8866 if test -n "${ZSH_VERSION+set}" ; then
8867 setopt NO_GLOB_SUBST
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8871 $as_echo_n "checking for objdir... " >&6; }
8872 if ${lt_cv_objdir+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 rm -f .libs 2>/dev/null
8876 mkdir .libs 2>/dev/null
8877 if test -d .libs; then
8878 lt_cv_objdir=.libs
8879 else
8880 # MS-DOS does not allow filenames that begin with a dot.
8881 lt_cv_objdir=_libs
8883 rmdir .libs 2>/dev/null
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8886 $as_echo "$lt_cv_objdir" >&6; }
8887 objdir=$lt_cv_objdir
8893 cat >>confdefs.h <<_ACEOF
8894 #define LT_OBJDIR "$lt_cv_objdir/"
8895 _ACEOF
8900 case $host_os in
8901 aix3*)
8902 # AIX sometimes has problems with the GCC collect2 program. For some
8903 # reason, if we set the COLLECT_NAMES environment variable, the problems
8904 # vanish in a puff of smoke.
8905 if test "X${COLLECT_NAMES+set}" != Xset; then
8906 COLLECT_NAMES=
8907 export COLLECT_NAMES
8910 esac
8912 # Global variables:
8913 ofile=libtool
8914 can_build_shared=yes
8916 # All known linkers require a `.a' archive for static linking (except MSVC,
8917 # which needs '.lib').
8918 libext=a
8920 with_gnu_ld="$lt_cv_prog_gnu_ld"
8922 old_CC="$CC"
8923 old_CFLAGS="$CFLAGS"
8925 # Set sane defaults for various variables
8926 test -z "$CC" && CC=cc
8927 test -z "$LTCC" && LTCC=$CC
8928 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8929 test -z "$LD" && LD=ld
8930 test -z "$ac_objext" && ac_objext=o
8932 for cc_temp in $compiler""; do
8933 case $cc_temp in
8934 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8935 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8936 \-*) ;;
8937 *) break;;
8938 esac
8939 done
8940 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8943 # Only perform the check for file, if the check method requires it
8944 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8945 case $deplibs_check_method in
8946 file_magic*)
8947 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8949 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8950 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 case $MAGIC_CMD in
8954 [\\/*] | ?:[\\/]*)
8955 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8958 lt_save_MAGIC_CMD="$MAGIC_CMD"
8959 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8960 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8961 for ac_dir in $ac_dummy; do
8962 IFS="$lt_save_ifs"
8963 test -z "$ac_dir" && ac_dir=.
8964 if test -f $ac_dir/${ac_tool_prefix}file; then
8965 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8966 if test -n "$file_magic_test_file"; then
8967 case $deplibs_check_method in
8968 "file_magic "*)
8969 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8970 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8971 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8972 $EGREP "$file_magic_regex" > /dev/null; then
8974 else
8975 cat <<_LT_EOF 1>&2
8977 *** Warning: the command libtool uses to detect shared libraries,
8978 *** $file_magic_cmd, produces output that libtool cannot recognize.
8979 *** The result is that libtool may fail to recognize shared libraries
8980 *** as such. This will affect the creation of libtool libraries that
8981 *** depend on shared libraries, but programs linked with such libtool
8982 *** libraries will work regardless of this problem. Nevertheless, you
8983 *** may want to report the problem to your system manager and/or to
8984 *** bug-libtool@gnu.org
8986 _LT_EOF
8987 fi ;;
8988 esac
8990 break
8992 done
8993 IFS="$lt_save_ifs"
8994 MAGIC_CMD="$lt_save_MAGIC_CMD"
8996 esac
8999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9000 if test -n "$MAGIC_CMD"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9002 $as_echo "$MAGIC_CMD" >&6; }
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9012 if test -z "$lt_cv_path_MAGIC_CMD"; then
9013 if test -n "$ac_tool_prefix"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9015 $as_echo_n "checking for file... " >&6; }
9016 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 case $MAGIC_CMD in
9020 [\\/*] | ?:[\\/]*)
9021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9024 lt_save_MAGIC_CMD="$MAGIC_CMD"
9025 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9026 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9027 for ac_dir in $ac_dummy; do
9028 IFS="$lt_save_ifs"
9029 test -z "$ac_dir" && ac_dir=.
9030 if test -f $ac_dir/file; then
9031 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9032 if test -n "$file_magic_test_file"; then
9033 case $deplibs_check_method in
9034 "file_magic "*)
9035 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9036 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9037 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9038 $EGREP "$file_magic_regex" > /dev/null; then
9040 else
9041 cat <<_LT_EOF 1>&2
9043 *** Warning: the command libtool uses to detect shared libraries,
9044 *** $file_magic_cmd, produces output that libtool cannot recognize.
9045 *** The result is that libtool may fail to recognize shared libraries
9046 *** as such. This will affect the creation of libtool libraries that
9047 *** depend on shared libraries, but programs linked with such libtool
9048 *** libraries will work regardless of this problem. Nevertheless, you
9049 *** may want to report the problem to your system manager and/or to
9050 *** bug-libtool@gnu.org
9052 _LT_EOF
9053 fi ;;
9054 esac
9056 break
9058 done
9059 IFS="$lt_save_ifs"
9060 MAGIC_CMD="$lt_save_MAGIC_CMD"
9062 esac
9065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9066 if test -n "$MAGIC_CMD"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9068 $as_echo "$MAGIC_CMD" >&6; }
9069 else
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9071 $as_echo "no" >&6; }
9075 else
9076 MAGIC_CMD=:
9082 esac
9084 # Use C for the default configuration in the libtool script
9086 lt_save_CC="$CC"
9087 ac_ext=c
9088 ac_cpp='$CPP $CPPFLAGS'
9089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9094 # Source file extension for C test sources.
9095 ac_ext=c
9097 # Object file extension for compiled C test sources.
9098 objext=o
9099 objext=$objext
9101 # Code to be used in simple compile tests
9102 lt_simple_compile_test_code="int some_variable = 0;"
9104 # Code to be used in simple link tests
9105 lt_simple_link_test_code='int main(){return(0);}'
9113 # If no C compiler was specified, use CC.
9114 LTCC=${LTCC-"$CC"}
9116 # If no C compiler flags were specified, use CFLAGS.
9117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9119 # Allow CC to be a program name with arguments.
9120 compiler=$CC
9122 # Save the default compiler, since it gets overwritten when the other
9123 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9124 compiler_DEFAULT=$CC
9126 # save warnings/boilerplate of simple test code
9127 ac_outfile=conftest.$ac_objext
9128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9130 _lt_compiler_boilerplate=`cat conftest.err`
9131 $RM conftest*
9133 ac_outfile=conftest.$ac_objext
9134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9136 _lt_linker_boilerplate=`cat conftest.err`
9137 $RM -r conftest*
9140 ## CAVEAT EMPTOR:
9141 ## There is no encapsulation within the following macros, do not change
9142 ## the running order or otherwise move them around unless you know exactly
9143 ## what you are doing...
9144 if test -n "$compiler"; then
9146 lt_prog_compiler_no_builtin_flag=
9148 if test "$GCC" = yes; then
9149 case $cc_basename in
9150 nvcc*)
9151 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9153 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9154 esac
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9157 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9158 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 lt_cv_prog_compiler_rtti_exceptions=no
9162 ac_outfile=conftest.$ac_objext
9163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9164 lt_compiler_flag="-fno-rtti -fno-exceptions"
9165 # Insert the option either (1) after the last *FLAGS variable, or
9166 # (2) before a word containing "conftest.", or (3) at the end.
9167 # Note that $ac_compile itself does not contain backslashes and begins
9168 # with a dollar sign (not a hyphen), so the echo should work correctly.
9169 # The option is referenced via a variable to avoid confusing sed.
9170 lt_compile=`echo "$ac_compile" | $SED \
9171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9173 -e 's:$: $lt_compiler_flag:'`
9174 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9175 (eval "$lt_compile" 2>conftest.err)
9176 ac_status=$?
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 if (exit $ac_status) && test -s "$ac_outfile"; then
9180 # The compiler can only warn and ignore the option if not recognized
9181 # So say no if there are warnings other than the usual output.
9182 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9185 lt_cv_prog_compiler_rtti_exceptions=yes
9188 $RM conftest*
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9192 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9194 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9195 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9196 else
9207 lt_prog_compiler_wl=
9208 lt_prog_compiler_pic=
9209 lt_prog_compiler_static=
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9214 if test "$GCC" = yes; then
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_static='-static'
9218 case $host_os in
9219 aix*)
9220 # All AIX code is PIC.
9221 if test "$host_cpu" = ia64; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static='-Bstatic'
9225 lt_prog_compiler_pic='-fPIC'
9228 amigaos*)
9229 case $host_cpu in
9230 powerpc)
9231 # see comment about AmigaOS4 .so support
9232 lt_prog_compiler_pic='-fPIC'
9234 m68k)
9235 # FIXME: we need at least 68020 code to build shared libraries, but
9236 # adding the `-m68020' flag to GCC prevents building anything better,
9237 # like `-m68040'.
9238 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9240 esac
9243 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9244 # PIC is the default for these OSes.
9247 mingw* | cygwin* | pw32* | os2* | cegcc*)
9248 # This hack is so that the source file can tell whether it is being
9249 # built for inclusion in a dll (and should export symbols for example).
9250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9251 # (--disable-auto-import) libraries
9252 lt_prog_compiler_pic='-DDLL_EXPORT'
9255 darwin* | rhapsody*)
9256 # PIC is the default on this platform
9257 # Common symbols not allowed in MH_DYLIB files
9258 lt_prog_compiler_pic='-fno-common'
9261 haiku*)
9262 # PIC is the default for Haiku.
9263 # The "-static" flag exists, but is broken.
9264 lt_prog_compiler_static=
9267 hpux*)
9268 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9269 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9270 # sets the default TLS model and affects inlining.
9271 case $host_cpu in
9272 hppa*64*)
9273 # +Z the default
9276 lt_prog_compiler_pic='-fPIC'
9278 esac
9281 interix[3-9]*)
9282 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9283 # Instead, we relocate shared libraries at runtime.
9286 msdosdjgpp*)
9287 # Just because we use GCC doesn't mean we suddenly get shared libraries
9288 # on systems that don't support them.
9289 lt_prog_compiler_can_build_shared=no
9290 enable_shared=no
9293 *nto* | *qnx*)
9294 # QNX uses GNU C++, but need to define -shared option too, otherwise
9295 # it will coredump.
9296 lt_prog_compiler_pic='-fPIC -shared'
9299 sysv4*MP*)
9300 if test -d /usr/nec; then
9301 lt_prog_compiler_pic=-Kconform_pic
9306 lt_prog_compiler_pic='-fPIC'
9308 esac
9310 case $cc_basename in
9311 nvcc*) # Cuda Compiler Driver 2.2
9312 lt_prog_compiler_wl='-Xlinker '
9313 lt_prog_compiler_pic='-Xcompiler -fPIC'
9315 esac
9316 else
9317 # PORTME Check for flag to pass linker flags through the system compiler.
9318 case $host_os in
9319 aix*)
9320 lt_prog_compiler_wl='-Wl,'
9321 if test "$host_cpu" = ia64; then
9322 # AIX 5 now supports IA64 processor
9323 lt_prog_compiler_static='-Bstatic'
9324 else
9325 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9329 mingw* | cygwin* | pw32* | os2* | cegcc*)
9330 # This hack is so that the source file can tell whether it is being
9331 # built for inclusion in a dll (and should export symbols for example).
9332 lt_prog_compiler_pic='-DDLL_EXPORT'
9335 hpux9* | hpux10* | hpux11*)
9336 lt_prog_compiler_wl='-Wl,'
9337 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9338 # not for PA HP-UX.
9339 case $host_cpu in
9340 hppa*64*|ia64*)
9341 # +Z the default
9344 lt_prog_compiler_pic='+Z'
9346 esac
9347 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9348 lt_prog_compiler_static='${wl}-a ${wl}archive'
9351 irix5* | irix6* | nonstopux*)
9352 lt_prog_compiler_wl='-Wl,'
9353 # PIC (with -KPIC) is the default.
9354 lt_prog_compiler_static='-non_shared'
9357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9358 case $cc_basename in
9359 # old Intel for x86_64 which still supported -KPIC.
9360 ecc*)
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_pic='-KPIC'
9363 lt_prog_compiler_static='-static'
9365 # icc used to be incompatible with GCC.
9366 # ICC 10 doesn't accept -KPIC any more.
9367 icc* | ifort*)
9368 lt_prog_compiler_wl='-Wl,'
9369 lt_prog_compiler_pic='-fPIC'
9370 lt_prog_compiler_static='-static'
9372 # Lahey Fortran 8.1.
9373 lf95*)
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='--shared'
9376 lt_prog_compiler_static='--static'
9378 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9379 # Portland Group compilers (*not* the Pentium gcc compiler,
9380 # which looks to be a dead project)
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-fpic'
9383 lt_prog_compiler_static='-Bstatic'
9385 ccc*)
9386 lt_prog_compiler_wl='-Wl,'
9387 # All Alpha code is PIC.
9388 lt_prog_compiler_static='-non_shared'
9390 xl* | bgxl* | bgf* | mpixl*)
9391 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9392 lt_prog_compiler_wl='-Wl,'
9393 lt_prog_compiler_pic='-qpic'
9394 lt_prog_compiler_static='-qstaticlink'
9397 case `$CC -V 2>&1 | sed 5q` in
9398 *Sun\ F* | *Sun*Fortran*)
9399 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9400 lt_prog_compiler_pic='-KPIC'
9401 lt_prog_compiler_static='-Bstatic'
9402 lt_prog_compiler_wl=''
9404 *Sun\ C*)
9405 # Sun C 5.9
9406 lt_prog_compiler_pic='-KPIC'
9407 lt_prog_compiler_static='-Bstatic'
9408 lt_prog_compiler_wl='-Wl,'
9410 esac
9412 esac
9415 newsos6)
9416 lt_prog_compiler_pic='-KPIC'
9417 lt_prog_compiler_static='-Bstatic'
9420 *nto* | *qnx*)
9421 # QNX uses GNU C++, but need to define -shared option too, otherwise
9422 # it will coredump.
9423 lt_prog_compiler_pic='-fPIC -shared'
9426 osf3* | osf4* | osf5*)
9427 lt_prog_compiler_wl='-Wl,'
9428 # All OSF/1 code is PIC.
9429 lt_prog_compiler_static='-non_shared'
9432 rdos*)
9433 lt_prog_compiler_static='-non_shared'
9436 solaris*)
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9439 case $cc_basename in
9440 f77* | f90* | f95*)
9441 lt_prog_compiler_wl='-Qoption ld ';;
9443 lt_prog_compiler_wl='-Wl,';;
9444 esac
9447 sunos4*)
9448 lt_prog_compiler_wl='-Qoption ld '
9449 lt_prog_compiler_pic='-PIC'
9450 lt_prog_compiler_static='-Bstatic'
9453 sysv4 | sysv4.2uw2* | sysv4.3*)
9454 lt_prog_compiler_wl='-Wl,'
9455 lt_prog_compiler_pic='-KPIC'
9456 lt_prog_compiler_static='-Bstatic'
9459 sysv4*MP*)
9460 if test -d /usr/nec ;then
9461 lt_prog_compiler_pic='-Kconform_pic'
9462 lt_prog_compiler_static='-Bstatic'
9466 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9467 lt_prog_compiler_wl='-Wl,'
9468 lt_prog_compiler_pic='-KPIC'
9469 lt_prog_compiler_static='-Bstatic'
9472 unicos*)
9473 lt_prog_compiler_wl='-Wl,'
9474 lt_prog_compiler_can_build_shared=no
9477 uts4*)
9478 lt_prog_compiler_pic='-pic'
9479 lt_prog_compiler_static='-Bstatic'
9483 lt_prog_compiler_can_build_shared=no
9485 esac
9488 case $host_os in
9489 # For platforms which do not support PIC, -DPIC is meaningless:
9490 *djgpp*)
9491 lt_prog_compiler_pic=
9494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9496 esac
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9498 $as_echo "$lt_prog_compiler_pic" >&6; }
9506 # Check to make sure the PIC flag actually works.
9508 if test -n "$lt_prog_compiler_pic"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9510 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9511 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 lt_cv_prog_compiler_pic_works=no
9515 ac_outfile=conftest.$ac_objext
9516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9517 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9518 # Insert the option either (1) after the last *FLAGS variable, or
9519 # (2) before a word containing "conftest.", or (3) at the end.
9520 # Note that $ac_compile itself does not contain backslashes and begins
9521 # with a dollar sign (not a hyphen), so the echo should work correctly.
9522 # The option is referenced via a variable to avoid confusing sed.
9523 lt_compile=`echo "$ac_compile" | $SED \
9524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9526 -e 's:$: $lt_compiler_flag:'`
9527 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9528 (eval "$lt_compile" 2>conftest.err)
9529 ac_status=$?
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 if (exit $ac_status) && test -s "$ac_outfile"; then
9533 # The compiler can only warn and ignore the option if not recognized
9534 # So say no if there are warnings other than the usual output.
9535 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9537 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9538 lt_cv_prog_compiler_pic_works=yes
9541 $RM conftest*
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9545 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9547 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9548 case $lt_prog_compiler_pic in
9549 "" | " "*) ;;
9550 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9551 esac
9552 else
9553 lt_prog_compiler_pic=
9554 lt_prog_compiler_can_build_shared=no
9565 # Check to make sure the static flag actually works.
9567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9569 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9570 if ${lt_cv_prog_compiler_static_works+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 lt_cv_prog_compiler_static_works=no
9574 save_LDFLAGS="$LDFLAGS"
9575 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9578 # The linker can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 if test -s conftest.err; then
9581 # Append any errors to the config.log.
9582 cat conftest.err 1>&5
9583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9585 if diff conftest.exp conftest.er2 >/dev/null; then
9586 lt_cv_prog_compiler_static_works=yes
9588 else
9589 lt_cv_prog_compiler_static_works=yes
9592 $RM -r conftest*
9593 LDFLAGS="$save_LDFLAGS"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9597 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9599 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9601 else
9602 lt_prog_compiler_static=
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9612 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9613 if ${lt_cv_prog_compiler_c_o+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 lt_cv_prog_compiler_c_o=no
9617 $RM -r conftest 2>/dev/null
9618 mkdir conftest
9619 cd conftest
9620 mkdir out
9621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9623 lt_compiler_flag="-o out/conftest2.$ac_objext"
9624 # Insert the option either (1) after the last *FLAGS variable, or
9625 # (2) before a word containing "conftest.", or (3) at the end.
9626 # Note that $ac_compile itself does not contain backslashes and begins
9627 # with a dollar sign (not a hyphen), so the echo should work correctly.
9628 lt_compile=`echo "$ac_compile" | $SED \
9629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9631 -e 's:$: $lt_compiler_flag:'`
9632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9633 (eval "$lt_compile" 2>out/conftest.err)
9634 ac_status=$?
9635 cat out/conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9638 then
9639 # The compiler can only warn and ignore the option if not recognized
9640 # So say no if there are warnings
9641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9642 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9643 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9644 lt_cv_prog_compiler_c_o=yes
9647 chmod u+w . 2>&5
9648 $RM conftest*
9649 # SGI C++ compiler will create directory out/ii_files/ for
9650 # template instantiation
9651 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9652 $RM out/* && rmdir out
9653 cd ..
9654 $RM -r conftest
9655 $RM conftest*
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9668 if ${lt_cv_prog_compiler_c_o+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 lt_cv_prog_compiler_c_o=no
9672 $RM -r conftest 2>/dev/null
9673 mkdir conftest
9674 cd conftest
9675 mkdir out
9676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9678 lt_compiler_flag="-o out/conftest2.$ac_objext"
9679 # Insert the option either (1) after the last *FLAGS variable, or
9680 # (2) before a word containing "conftest.", or (3) at the end.
9681 # Note that $ac_compile itself does not contain backslashes and begins
9682 # with a dollar sign (not a hyphen), so the echo should work correctly.
9683 lt_compile=`echo "$ac_compile" | $SED \
9684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9686 -e 's:$: $lt_compiler_flag:'`
9687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9688 (eval "$lt_compile" 2>out/conftest.err)
9689 ac_status=$?
9690 cat out/conftest.err >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9693 then
9694 # The compiler can only warn and ignore the option if not recognized
9695 # So say no if there are warnings
9696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9699 lt_cv_prog_compiler_c_o=yes
9702 chmod u+w . 2>&5
9703 $RM conftest*
9704 # SGI C++ compiler will create directory out/ii_files/ for
9705 # template instantiation
9706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9707 $RM out/* && rmdir out
9708 cd ..
9709 $RM -r conftest
9710 $RM conftest*
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9719 hard_links="nottested"
9720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9721 # do not overwrite the value of need_locks provided by the user
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9723 $as_echo_n "checking if we can lock with hard links... " >&6; }
9724 hard_links=yes
9725 $RM conftest*
9726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9727 touch conftest.a
9728 ln conftest.a conftest.b 2>&5 || hard_links=no
9729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9731 $as_echo "$hard_links" >&6; }
9732 if test "$hard_links" = no; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9735 need_locks=warn
9737 else
9738 need_locks=no
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9747 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9749 runpath_var=
9750 allow_undefined_flag=
9751 always_export_symbols=no
9752 archive_cmds=
9753 archive_expsym_cmds=
9754 compiler_needs_object=no
9755 enable_shared_with_static_runtimes=no
9756 export_dynamic_flag_spec=
9757 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9758 hardcode_automatic=no
9759 hardcode_direct=no
9760 hardcode_direct_absolute=no
9761 hardcode_libdir_flag_spec=
9762 hardcode_libdir_flag_spec_ld=
9763 hardcode_libdir_separator=
9764 hardcode_minus_L=no
9765 hardcode_shlibpath_var=unsupported
9766 inherit_rpath=no
9767 link_all_deplibs=unknown
9768 module_cmds=
9769 module_expsym_cmds=
9770 old_archive_from_new_cmds=
9771 old_archive_from_expsyms_cmds=
9772 thread_safe_flag_spec=
9773 whole_archive_flag_spec=
9774 # include_expsyms should be a list of space-separated symbols to be *always*
9775 # included in the symbol list
9776 include_expsyms=
9777 # exclude_expsyms can be an extended regexp of symbols to exclude
9778 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9779 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9780 # as well as any symbol that contains `d'.
9781 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9782 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9783 # platforms (ab)use it in PIC code, but their linkers get confused if
9784 # the symbol is explicitly referenced. Since portable code cannot
9785 # rely on this symbol name, it's probably fine to never include it in
9786 # preloaded symbol tables.
9787 # Exclude shared library initialization/finalization symbols.
9788 extract_expsyms_cmds=
9790 case $host_os in
9791 cygwin* | mingw* | pw32* | cegcc*)
9792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9793 # When not using gcc, we currently assume that we are using
9794 # Microsoft Visual C++.
9795 if test "$GCC" != yes; then
9796 with_gnu_ld=no
9799 interix*)
9800 # we just hope/assume this is gcc and not c89 (= MSVC++)
9801 with_gnu_ld=yes
9803 openbsd*)
9804 with_gnu_ld=no
9806 esac
9808 ld_shlibs=yes
9810 # On some targets, GNU ld is compatible enough with the native linker
9811 # that we're better off using the native interface for both.
9812 lt_use_gnu_ld_interface=no
9813 if test "$with_gnu_ld" = yes; then
9814 case $host_os in
9815 aix*)
9816 # The AIX port of GNU ld has always aspired to compatibility
9817 # with the native linker. However, as the warning in the GNU ld
9818 # block says, versions before 2.19.5* couldn't really create working
9819 # shared libraries, regardless of the interface used.
9820 case `$LD -v 2>&1` in
9821 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9822 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9823 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9825 lt_use_gnu_ld_interface=yes
9827 esac
9830 lt_use_gnu_ld_interface=yes
9832 esac
9835 if test "$lt_use_gnu_ld_interface" = yes; then
9836 # If archive_cmds runs LD, not CC, wlarc should be empty
9837 wlarc='${wl}'
9839 # Set some defaults for GNU ld with shared library support. These
9840 # are reset later if shared libraries are not supported. Putting them
9841 # here allows them to be overridden if necessary.
9842 runpath_var=LD_RUN_PATH
9843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844 export_dynamic_flag_spec='${wl}--export-dynamic'
9845 # ancient GNU ld didn't support --whole-archive et. al.
9846 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9847 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9848 else
9849 whole_archive_flag_spec=
9851 supports_anon_versioning=no
9852 case `$LD -v 2>&1` in
9853 *GNU\ gold*) supports_anon_versioning=yes ;;
9854 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9855 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9856 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9857 *\ 2.11.*) ;; # other 2.11 versions
9858 *) supports_anon_versioning=yes ;;
9859 esac
9861 # See if GNU ld supports shared libraries.
9862 case $host_os in
9863 aix[3-9]*)
9864 # On AIX/PPC, the GNU linker is very broken
9865 if test "$host_cpu" != ia64; then
9866 ld_shlibs=no
9867 cat <<_LT_EOF 1>&2
9869 *** Warning: the GNU linker, at least up to release 2.19, is reported
9870 *** to be unable to reliably create shared libraries on AIX.
9871 *** Therefore, libtool is disabling shared libraries support. If you
9872 *** really care for shared libraries, you may want to install binutils
9873 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9874 *** You will then need to restart the configuration process.
9876 _LT_EOF
9880 amigaos*)
9881 case $host_cpu in
9882 powerpc)
9883 # see comment about AmigaOS4 .so support
9884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885 archive_expsym_cmds=''
9887 m68k)
9888 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)'
9889 hardcode_libdir_flag_spec='-L$libdir'
9890 hardcode_minus_L=yes
9892 esac
9895 beos*)
9896 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897 allow_undefined_flag=unsupported
9898 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9899 # support --undefined. This deserves some investigation. FIXME
9900 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 else
9902 ld_shlibs=no
9906 cygwin* | mingw* | pw32* | cegcc*)
9907 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9908 # as there is no search path for DLLs.
9909 hardcode_libdir_flag_spec='-L$libdir'
9910 export_dynamic_flag_spec='${wl}--export-all-symbols'
9911 allow_undefined_flag=unsupported
9912 always_export_symbols=no
9913 enable_shared_with_static_runtimes=yes
9914 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9916 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9918 # If the export-symbols file already is a .def file (1st line
9919 # is EXPORTS), use it as is; otherwise, prepend...
9920 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9921 cp $export_symbols $output_objdir/$soname.def;
9922 else
9923 echo EXPORTS > $output_objdir/$soname.def;
9924 cat $export_symbols >> $output_objdir/$soname.def;
9926 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9927 else
9928 ld_shlibs=no
9932 haiku*)
9933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 link_all_deplibs=yes
9937 interix[3-9]*)
9938 hardcode_direct=no
9939 hardcode_shlibpath_var=no
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 export_dynamic_flag_spec='${wl}-E'
9942 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9943 # Instead, shared libraries are loaded at an image base (0x10000000 by
9944 # default) and relocated if they conflict, which is a slow very memory
9945 # consuming and fragmenting process. To avoid this, we pick a random,
9946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9947 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9949 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'
9952 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9953 tmp_diet=no
9954 if test "$host_os" = linux-dietlibc; then
9955 case $cc_basename in
9956 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9957 esac
9959 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9960 && test "$tmp_diet" = no
9961 then
9962 tmp_addflag=' $pic_flag'
9963 tmp_sharedflag='-shared'
9964 case $cc_basename,$host_cpu in
9965 pgcc*) # Portland Group C compiler
9966 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'
9967 tmp_addflag=' $pic_flag'
9969 pgf77* | pgf90* | pgf95* | pgfortran*)
9970 # Portland Group f77 and f90 compilers
9971 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9972 tmp_addflag=' $pic_flag -Mnomain' ;;
9973 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9974 tmp_addflag=' -i_dynamic' ;;
9975 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9976 tmp_addflag=' -i_dynamic -nofor_main' ;;
9977 ifc* | ifort*) # Intel Fortran compiler
9978 tmp_addflag=' -nofor_main' ;;
9979 lf95*) # Lahey Fortran 8.1
9980 whole_archive_flag_spec=
9981 tmp_sharedflag='--shared' ;;
9982 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9983 tmp_sharedflag='-qmkshrobj'
9984 tmp_addflag= ;;
9985 nvcc*) # Cuda Compiler Driver 2.2
9986 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'
9987 compiler_needs_object=yes
9989 esac
9990 case `$CC -V 2>&1 | sed 5q` in
9991 *Sun\ C*) # Sun C 5.9
9992 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'
9993 compiler_needs_object=yes
9994 tmp_sharedflag='-G' ;;
9995 *Sun\ F*) # Sun Fortran 8.3
9996 tmp_sharedflag='-G' ;;
9997 esac
9998 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10000 if test "x$supports_anon_versioning" = xyes; then
10001 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10002 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10003 echo "local: *; };" >> $output_objdir/$libname.ver~
10004 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10007 case $cc_basename in
10008 xlf* | bgf* | bgxlf* | mpixlf*)
10009 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10010 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10011 hardcode_libdir_flag_spec=
10012 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10013 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10014 if test "x$supports_anon_versioning" = xyes; then
10015 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017 echo "local: *; };" >> $output_objdir/$libname.ver~
10018 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10021 esac
10022 else
10023 ld_shlibs=no
10027 netbsd*)
10028 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10029 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10030 wlarc=
10031 else
10032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 solaris*)
10038 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10039 ld_shlibs=no
10040 cat <<_LT_EOF 1>&2
10042 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10043 *** create shared libraries on Solaris systems. Therefore, libtool
10044 *** is disabling shared libraries support. We urge you to upgrade GNU
10045 *** binutils to release 2.9.1 or newer. Another option is to modify
10046 *** your PATH or compiler configuration so that the native linker is
10047 *** used, and then restart.
10049 _LT_EOF
10050 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10052 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 else
10054 ld_shlibs=no
10058 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10059 case `$LD -v 2>&1` in
10060 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10061 ld_shlibs=no
10062 cat <<_LT_EOF 1>&2
10064 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10065 *** reliably create shared libraries on SCO systems. Therefore, libtool
10066 *** is disabling shared libraries support. We urge you to upgrade GNU
10067 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10068 *** your PATH or compiler configuration so that the native linker is
10069 *** used, and then restart.
10071 _LT_EOF
10074 # For security reasons, it is highly recommended that you always
10075 # use absolute paths for naming shared libraries, and exclude the
10076 # DT_RUNPATH tag from executables and libraries. But doing so
10077 # requires that you compile everything twice, which is a pain.
10078 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10079 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10080 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10082 else
10083 ld_shlibs=no
10086 esac
10089 sunos4*)
10090 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10091 wlarc=
10092 hardcode_direct=yes
10093 hardcode_shlibpath_var=no
10097 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10099 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10100 else
10101 ld_shlibs=no
10104 esac
10106 if test "$ld_shlibs" = no; then
10107 runpath_var=
10108 hardcode_libdir_flag_spec=
10109 export_dynamic_flag_spec=
10110 whole_archive_flag_spec=
10112 else
10113 # PORTME fill in a description of your system's linker (not GNU ld)
10114 case $host_os in
10115 aix3*)
10116 allow_undefined_flag=unsupported
10117 always_export_symbols=yes
10118 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'
10119 # Note: this linker hardcodes the directories in LIBPATH if there
10120 # are no directories specified by -L.
10121 hardcode_minus_L=yes
10122 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10123 # Neither direct hardcoding nor static linking is supported with a
10124 # broken collect2.
10125 hardcode_direct=unsupported
10129 aix[4-9]*)
10130 if test "$host_cpu" = ia64; then
10131 # On IA64, the linker does run time linking by default, so we don't
10132 # have to do anything special.
10133 aix_use_runtimelinking=no
10134 exp_sym_flag='-Bexport'
10135 no_entry_flag=""
10136 else
10137 # If we're using GNU nm, then we don't want the "-C" option.
10138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10139 # Also, AIX nm treats weak defined symbols like other global
10140 # defined symbols, whereas GNU nm marks them as "W".
10141 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10142 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'
10143 else
10144 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'
10146 aix_use_runtimelinking=no
10148 # Test if we are trying to use run time linking or normal
10149 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10150 # need to do runtime linking.
10151 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10152 for ld_flag in $LDFLAGS; do
10153 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10154 aix_use_runtimelinking=yes
10155 break
10157 done
10159 esac
10161 exp_sym_flag='-bexport'
10162 no_entry_flag='-bnoentry'
10165 # When large executables or shared objects are built, AIX ld can
10166 # have problems creating the table of contents. If linking a library
10167 # or program results in "error TOC overflow" add -mminimal-toc to
10168 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10169 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10171 archive_cmds=''
10172 hardcode_direct=yes
10173 hardcode_direct_absolute=yes
10174 hardcode_libdir_separator=':'
10175 link_all_deplibs=yes
10176 file_list_spec='${wl}-f,'
10178 if test "$GCC" = yes; then
10179 case $host_os in aix4.[012]|aix4.[012].*)
10180 # We only want to do this on AIX 4.2 and lower, the check
10181 # below for broken collect2 doesn't work under 4.3+
10182 collect2name=`${CC} -print-prog-name=collect2`
10183 if test -f "$collect2name" &&
10184 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10185 then
10186 # We have reworked collect2
10188 else
10189 # We have old collect2
10190 hardcode_direct=unsupported
10191 # It fails to find uninstalled libraries when the uninstalled
10192 # path is not listed in the libpath. Setting hardcode_minus_L
10193 # to unsupported forces relinking
10194 hardcode_minus_L=yes
10195 hardcode_libdir_flag_spec='-L$libdir'
10196 hardcode_libdir_separator=
10199 esac
10200 shared_flag='-shared'
10201 if test "$aix_use_runtimelinking" = yes; then
10202 shared_flag="$shared_flag "'${wl}-G'
10204 else
10205 # not using gcc
10206 if test "$host_cpu" = ia64; then
10207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10208 # chokes on -Wl,-G. The following line is correct:
10209 shared_flag='-G'
10210 else
10211 if test "$aix_use_runtimelinking" = yes; then
10212 shared_flag='${wl}-G'
10213 else
10214 shared_flag='${wl}-bM:SRE'
10219 export_dynamic_flag_spec='${wl}-bexpall'
10220 # It seems that -bexpall does not export symbols beginning with
10221 # underscore (_), so it is better to generate a list of symbols to export.
10222 always_export_symbols=yes
10223 if test "$aix_use_runtimelinking" = yes; then
10224 # Warning - without using the other runtime loading flags (-brtl),
10225 # -berok will link without error, but may produce a broken library.
10226 allow_undefined_flag='-berok'
10227 # Determine the default libpath from the value encoded in an
10228 # empty executable.
10229 if test x$gcc_no_link = xyes; then
10230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10236 main ()
10240 return 0;
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10245 lt_aix_libpath_sed='
10246 /Import File Strings/,/^$/ {
10247 /^0/ {
10248 s/^0 *\(.*\)$/\1/
10252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10253 # Check for a 64-bit object if we didn't find anything.
10254 if test -z "$aix_libpath"; then
10255 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10262 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10263 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"
10264 else
10265 if test "$host_cpu" = ia64; then
10266 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10267 allow_undefined_flag="-z nodefs"
10268 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"
10269 else
10270 # Determine the default libpath from the value encoded in an
10271 # empty executable.
10272 if test x$gcc_no_link = xyes; then
10273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10279 main ()
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10288 lt_aix_libpath_sed='
10289 /Import File Strings/,/^$/ {
10290 /^0/ {
10291 s/^0 *\(.*\)$/\1/
10295 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10296 # Check for a 64-bit object if we didn't find anything.
10297 if test -z "$aix_libpath"; then
10298 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10305 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10306 # Warning - without using the other run time loading flags,
10307 # -berok will link without error, but may produce a broken library.
10308 no_undefined_flag=' ${wl}-bernotok'
10309 allow_undefined_flag=' ${wl}-berok'
10310 if test "$with_gnu_ld" = yes; then
10311 # We only use this code for GNU lds that support --whole-archive.
10312 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10313 else
10314 # Exported symbols can be pulled into shared objects from archives
10315 whole_archive_flag_spec='$convenience'
10317 archive_cmds_need_lc=yes
10318 # This is similar to how AIX traditionally builds its shared libraries.
10319 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'
10324 amigaos*)
10325 case $host_cpu in
10326 powerpc)
10327 # see comment about AmigaOS4 .so support
10328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10329 archive_expsym_cmds=''
10331 m68k)
10332 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)'
10333 hardcode_libdir_flag_spec='-L$libdir'
10334 hardcode_minus_L=yes
10336 esac
10339 bsdi[45]*)
10340 export_dynamic_flag_spec=-rdynamic
10343 cygwin* | mingw* | pw32* | cegcc*)
10344 # When not using gcc, we currently assume that we are using
10345 # Microsoft Visual C++.
10346 # hardcode_libdir_flag_spec is actually meaningless, as there is
10347 # no search path for DLLs.
10348 hardcode_libdir_flag_spec=' '
10349 allow_undefined_flag=unsupported
10350 # Tell ltmain to make .lib files, not .a files.
10351 libext=lib
10352 # Tell ltmain to make .dll files, not .so files.
10353 shrext_cmds=".dll"
10354 # FIXME: Setting linknames here is a bad hack.
10355 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10356 # The linker will automatically build a .lib file if we build a DLL.
10357 old_archive_from_new_cmds='true'
10358 # FIXME: Should let the user specify the lib program.
10359 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10360 fix_srcfile_path='`cygpath -w "$srcfile"`'
10361 enable_shared_with_static_runtimes=yes
10364 darwin* | rhapsody*)
10367 archive_cmds_need_lc=no
10368 hardcode_direct=no
10369 hardcode_automatic=yes
10370 hardcode_shlibpath_var=unsupported
10371 if test "$lt_cv_ld_force_load" = "yes"; then
10372 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\"`'
10373 else
10374 whole_archive_flag_spec=''
10376 link_all_deplibs=yes
10377 allow_undefined_flag="$_lt_dar_allow_undefined"
10378 case $cc_basename in
10379 ifort*) _lt_dar_can_shared=yes ;;
10380 *) _lt_dar_can_shared=$GCC ;;
10381 esac
10382 if test "$_lt_dar_can_shared" = "yes"; then
10383 output_verbose_link_cmd=func_echo_all
10384 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10385 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10386 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}"
10387 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}"
10389 else
10390 ld_shlibs=no
10395 dgux*)
10396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10397 hardcode_libdir_flag_spec='-L$libdir'
10398 hardcode_shlibpath_var=no
10401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10402 # support. Future versions do this automatically, but an explicit c++rt0.o
10403 # does not break anything, and helps significantly (at the cost of a little
10404 # extra space).
10405 freebsd2.2*)
10406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10407 hardcode_libdir_flag_spec='-R$libdir'
10408 hardcode_direct=yes
10409 hardcode_shlibpath_var=no
10412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10413 freebsd2.*)
10414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_direct=yes
10416 hardcode_minus_L=yes
10417 hardcode_shlibpath_var=no
10420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10421 freebsd* | dragonfly*)
10422 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec='-R$libdir'
10424 hardcode_direct=yes
10425 hardcode_shlibpath_var=no
10428 hpux9*)
10429 if test "$GCC" = yes; then
10430 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'
10431 else
10432 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'
10434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator=:
10436 hardcode_direct=yes
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L=yes
10441 export_dynamic_flag_spec='${wl}-E'
10444 hpux10*)
10445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10446 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10447 else
10448 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10450 if test "$with_gnu_ld" = no; then
10451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10452 hardcode_libdir_flag_spec_ld='+b $libdir'
10453 hardcode_libdir_separator=:
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 export_dynamic_flag_spec='${wl}-E'
10457 # hardcode_minus_L: Not really in the search PATH,
10458 # but as the default location of the library.
10459 hardcode_minus_L=yes
10463 hpux11*)
10464 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10465 case $host_cpu in
10466 hppa*64*)
10467 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10469 ia64*)
10470 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 esac
10476 else
10477 case $host_cpu in
10478 hppa*64*)
10479 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10481 ia64*)
10482 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10486 # Older versions of the 11.00 compiler do not understand -b yet
10487 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10489 $as_echo_n "checking if $CC understands -b... " >&6; }
10490 if ${lt_cv_prog_compiler__b+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 lt_cv_prog_compiler__b=no
10494 save_LDFLAGS="$LDFLAGS"
10495 LDFLAGS="$LDFLAGS -b"
10496 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10498 # The linker can only warn and ignore the option if not recognized
10499 # So say no if there are warnings
10500 if test -s conftest.err; then
10501 # Append any errors to the config.log.
10502 cat conftest.err 1>&5
10503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10505 if diff conftest.exp conftest.er2 >/dev/null; then
10506 lt_cv_prog_compiler__b=yes
10508 else
10509 lt_cv_prog_compiler__b=yes
10512 $RM -r conftest*
10513 LDFLAGS="$save_LDFLAGS"
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10517 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10519 if test x"$lt_cv_prog_compiler__b" = xyes; then
10520 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10521 else
10522 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10526 esac
10528 if test "$with_gnu_ld" = no; then
10529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10530 hardcode_libdir_separator=:
10532 case $host_cpu in
10533 hppa*64*|ia64*)
10534 hardcode_direct=no
10535 hardcode_shlibpath_var=no
10538 hardcode_direct=yes
10539 hardcode_direct_absolute=yes
10540 export_dynamic_flag_spec='${wl}-E'
10542 # hardcode_minus_L: Not really in the search PATH,
10543 # but as the default location of the library.
10544 hardcode_minus_L=yes
10546 esac
10550 irix5* | irix6* | nonstopux*)
10551 if test "$GCC" = yes; then
10552 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'
10553 # Try to use the -exported_symbol ld option, if it does not
10554 # work, assume that -exports_file does not work either and
10555 # implicitly export all symbols.
10556 save_LDFLAGS="$LDFLAGS"
10557 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10558 if test x$gcc_no_link = xyes; then
10559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int foo(void) {}
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 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'
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LDFLAGS="$save_LDFLAGS"
10572 else
10573 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'
10574 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'
10576 archive_cmds_need_lc='no'
10577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10578 hardcode_libdir_separator=:
10579 inherit_rpath=yes
10580 link_all_deplibs=yes
10583 netbsd*)
10584 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10585 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10586 else
10587 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10589 hardcode_libdir_flag_spec='-R$libdir'
10590 hardcode_direct=yes
10591 hardcode_shlibpath_var=no
10594 newsos6)
10595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_direct=yes
10597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10598 hardcode_libdir_separator=:
10599 hardcode_shlibpath_var=no
10602 *nto* | *qnx*)
10605 openbsd*)
10606 if test -f /usr/libexec/ld.so; then
10607 hardcode_direct=yes
10608 hardcode_shlibpath_var=no
10609 hardcode_direct_absolute=yes
10610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10611 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10613 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10614 export_dynamic_flag_spec='${wl}-E'
10615 else
10616 case $host_os in
10617 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10619 hardcode_libdir_flag_spec='-R$libdir'
10622 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10623 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10625 esac
10627 else
10628 ld_shlibs=no
10632 os2*)
10633 hardcode_libdir_flag_spec='-L$libdir'
10634 hardcode_minus_L=yes
10635 allow_undefined_flag=unsupported
10636 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'
10637 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10640 osf3*)
10641 if test "$GCC" = yes; then
10642 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10643 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'
10644 else
10645 allow_undefined_flag=' -expect_unresolved \*'
10646 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'
10648 archive_cmds_need_lc='no'
10649 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10650 hardcode_libdir_separator=:
10653 osf4* | osf5*) # as osf3* with the addition of -msym flag
10654 if test "$GCC" = yes; then
10655 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10656 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'
10657 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10658 else
10659 allow_undefined_flag=' -expect_unresolved \*'
10660 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'
10661 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~
10662 $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'
10664 # Both c and cxx compiler support -rpath directly
10665 hardcode_libdir_flag_spec='-rpath $libdir'
10667 archive_cmds_need_lc='no'
10668 hardcode_libdir_separator=:
10671 solaris*)
10672 no_undefined_flag=' -z defs'
10673 if test "$GCC" = yes; then
10674 wlarc='${wl}'
10675 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10677 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10678 else
10679 case `$CC -V 2>&1` in
10680 *"Compilers 5.0"*)
10681 wlarc=''
10682 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10683 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10684 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10687 wlarc='${wl}'
10688 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10690 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10692 esac
10694 hardcode_libdir_flag_spec='-R$libdir'
10695 hardcode_shlibpath_var=no
10696 case $host_os in
10697 solaris2.[0-5] | solaris2.[0-5].*) ;;
10699 # The compiler driver will combine and reorder linker options,
10700 # but understands `-z linker_flag'. GCC discards it without `$wl',
10701 # but is careful enough not to reorder.
10702 # Supported since Solaris 2.6 (maybe 2.5.1?)
10703 if test "$GCC" = yes; then
10704 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10705 else
10706 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10709 esac
10710 link_all_deplibs=yes
10713 sunos4*)
10714 if test "x$host_vendor" = xsequent; then
10715 # Use $CC to link under sequent, because it throws in some extra .o
10716 # files that make .init and .fini sections work.
10717 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10718 else
10719 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10721 hardcode_libdir_flag_spec='-L$libdir'
10722 hardcode_direct=yes
10723 hardcode_minus_L=yes
10724 hardcode_shlibpath_var=no
10727 sysv4)
10728 case $host_vendor in
10729 sni)
10730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10731 hardcode_direct=yes # is this really true???
10733 siemens)
10734 ## LD is ld it makes a PLAMLIB
10735 ## CC just makes a GrossModule.
10736 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10737 reload_cmds='$CC -r -o $output$reload_objs'
10738 hardcode_direct=no
10740 motorola)
10741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10744 esac
10745 runpath_var='LD_RUN_PATH'
10746 hardcode_shlibpath_var=no
10749 sysv4.3*)
10750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_shlibpath_var=no
10752 export_dynamic_flag_spec='-Bexport'
10755 sysv4*MP*)
10756 if test -d /usr/nec; then
10757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_shlibpath_var=no
10759 runpath_var=LD_RUN_PATH
10760 hardcode_runpath_var=yes
10761 ld_shlibs=yes
10765 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10766 no_undefined_flag='${wl}-z,text'
10767 archive_cmds_need_lc=no
10768 hardcode_shlibpath_var=no
10769 runpath_var='LD_RUN_PATH'
10771 if test "$GCC" = yes; then
10772 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10773 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10774 else
10775 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 sysv5* | sco3.2v5* | sco5v6*)
10781 # Note: We can NOT use -z defs as we might desire, because we do not
10782 # link with -lc, and that would cause any symbols used from libc to
10783 # always be unresolved, which means just about no library would
10784 # ever link correctly. If we're not using GNU ld we use -z text
10785 # though, which does catch some bad symbols but isn't as heavy-handed
10786 # as -z defs.
10787 no_undefined_flag='${wl}-z,text'
10788 allow_undefined_flag='${wl}-z,nodefs'
10789 archive_cmds_need_lc=no
10790 hardcode_shlibpath_var=no
10791 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10792 hardcode_libdir_separator=':'
10793 link_all_deplibs=yes
10794 export_dynamic_flag_spec='${wl}-Bexport'
10795 runpath_var='LD_RUN_PATH'
10797 if test "$GCC" = yes; then
10798 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10799 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10800 else
10801 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 uts4*)
10807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808 hardcode_libdir_flag_spec='-L$libdir'
10809 hardcode_shlibpath_var=no
10813 ld_shlibs=no
10815 esac
10817 if test x$host_vendor = xsni; then
10818 case $host in
10819 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10820 export_dynamic_flag_spec='${wl}-Blargedynsym'
10822 esac
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10827 $as_echo "$ld_shlibs" >&6; }
10828 test "$ld_shlibs" = no && can_build_shared=no
10830 with_gnu_ld=$with_gnu_ld
10847 # Do we need to explicitly link libc?
10849 case "x$archive_cmds_need_lc" in
10850 x|xyes)
10851 # Assume -lc should be added
10852 archive_cmds_need_lc=yes
10854 if test "$enable_shared" = yes && test "$GCC" = yes; then
10855 case $archive_cmds in
10856 *'~'*)
10857 # FIXME: we may have to deal with multi-command sequences.
10859 '$CC '*)
10860 # Test whether the compiler implicitly links with -lc since on some
10861 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10862 # to ld, don't add -lc before -lgcc.
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10864 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10865 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10866 $as_echo_n "(cached) " >&6
10867 else
10868 $RM conftest*
10869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10872 (eval $ac_compile) 2>&5
10873 ac_status=$?
10874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10875 test $ac_status = 0; } 2>conftest.err; then
10876 soname=conftest
10877 lib=conftest
10878 libobjs=conftest.$ac_objext
10879 deplibs=
10880 wl=$lt_prog_compiler_wl
10881 pic_flag=$lt_prog_compiler_pic
10882 compiler_flags=-v
10883 linker_flags=-v
10884 verstring=
10885 output_objdir=.
10886 libname=conftest
10887 lt_save_allow_undefined_flag=$allow_undefined_flag
10888 allow_undefined_flag=
10889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10890 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10891 ac_status=$?
10892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10893 test $ac_status = 0; }
10894 then
10895 lt_cv_archive_cmds_need_lc=no
10896 else
10897 lt_cv_archive_cmds_need_lc=yes
10899 allow_undefined_flag=$lt_save_allow_undefined_flag
10900 else
10901 cat conftest.err 1>&5
10903 $RM conftest*
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10907 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10908 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10910 esac
10913 esac
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11072 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11074 if test "$GCC" = yes; then
11075 case $host_os in
11076 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11077 *) lt_awk_arg="/^libraries:/" ;;
11078 esac
11079 case $host_os in
11080 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11081 *) lt_sed_strip_eq="s,=/,/,g" ;;
11082 esac
11083 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11084 case $lt_search_path_spec in
11085 *\;*)
11086 # if the path contains ";" then we assume it to be the separator
11087 # otherwise default to the standard path separator (i.e. ":") - it is
11088 # assumed that no part of a normal pathname contains ";" but that should
11089 # okay in the real world where ";" in dirpaths is itself problematic.
11090 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11093 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11095 esac
11096 # Ok, now we have the path, separated by spaces, we can step through it
11097 # and add multilib dir if necessary.
11098 lt_tmp_lt_search_path_spec=
11099 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11100 for lt_sys_path in $lt_search_path_spec; do
11101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11102 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11103 else
11104 test -d "$lt_sys_path" && \
11105 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11107 done
11108 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11109 BEGIN {RS=" "; FS="/|\n";} {
11110 lt_foo="";
11111 lt_count=0;
11112 for (lt_i = NF; lt_i > 0; lt_i--) {
11113 if ($lt_i != "" && $lt_i != ".") {
11114 if ($lt_i == "..") {
11115 lt_count++;
11116 } else {
11117 if (lt_count == 0) {
11118 lt_foo="/" $lt_i lt_foo;
11119 } else {
11120 lt_count--;
11125 if (lt_foo != "") { lt_freq[lt_foo]++; }
11126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11128 # AWK program above erroneously prepends '/' to C:/dos/paths
11129 # for these hosts.
11130 case $host_os in
11131 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11132 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11133 esac
11134 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11135 else
11136 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11138 library_names_spec=
11139 libname_spec='lib$name'
11140 soname_spec=
11141 shrext_cmds=".so"
11142 postinstall_cmds=
11143 postuninstall_cmds=
11144 finish_cmds=
11145 finish_eval=
11146 shlibpath_var=
11147 shlibpath_overrides_runpath=unknown
11148 version_type=none
11149 dynamic_linker="$host_os ld.so"
11150 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11151 need_lib_prefix=unknown
11152 hardcode_into_libs=no
11154 # when you set need_version to no, make sure it does not cause -set_version
11155 # flags to be left without arguments
11156 need_version=unknown
11158 case $host_os in
11159 aix3*)
11160 version_type=linux
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11162 shlibpath_var=LIBPATH
11164 # AIX 3 has no versioning support, so we append a major version to the name.
11165 soname_spec='${libname}${release}${shared_ext}$major'
11168 aix[4-9]*)
11169 version_type=linux
11170 need_lib_prefix=no
11171 need_version=no
11172 hardcode_into_libs=yes
11173 if test "$host_cpu" = ia64; then
11174 # AIX 5 supports IA64
11175 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 else
11178 # With GCC up to 2.95.x, collect2 would create an import file
11179 # for dependence libraries. The import file would start with
11180 # the line `#! .'. This would cause the generated library to
11181 # depend on `.', always an invalid library. This was fixed in
11182 # development snapshots of GCC prior to 3.0.
11183 case $host_os in
11184 aix4 | aix4.[01] | aix4.[01].*)
11185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11186 echo ' yes '
11187 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11189 else
11190 can_build_shared=no
11193 esac
11194 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11195 # soname into executable. Probably we can add versioning support to
11196 # collect2, so additional links can be useful in future.
11197 if test "$aix_use_runtimelinking" = yes; then
11198 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11199 # instead of lib<name>.a to let people know that these are not
11200 # typical AIX shared libraries.
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 else
11203 # We preserve .a as extension for shared libraries through AIX4.2
11204 # and later when we are not doing run time linking.
11205 library_names_spec='${libname}${release}.a $libname.a'
11206 soname_spec='${libname}${release}${shared_ext}$major'
11208 shlibpath_var=LIBPATH
11212 amigaos*)
11213 case $host_cpu in
11214 powerpc)
11215 # Since July 2007 AmigaOS4 officially supports .so libraries.
11216 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 m68k)
11220 library_names_spec='$libname.ixlibrary $libname.a'
11221 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11222 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'
11224 esac
11227 beos*)
11228 library_names_spec='${libname}${shared_ext}'
11229 dynamic_linker="$host_os ld.so"
11230 shlibpath_var=LIBRARY_PATH
11233 bsdi[45]*)
11234 version_type=linux
11235 need_version=no
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec='${libname}${release}${shared_ext}$major'
11238 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11241 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11242 # the default ld.so.conf also contains /usr/contrib/lib and
11243 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11244 # libtool to hard-code these into programs
11247 cygwin* | mingw* | pw32* | cegcc*)
11248 version_type=windows
11249 shrext_cmds=".dll"
11250 need_version=no
11251 need_lib_prefix=no
11253 case $GCC,$host_os in
11254 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11255 library_names_spec='$libname.dll.a'
11256 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11257 postinstall_cmds='base_file=`basename \${file}`~
11258 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11259 dldir=$destdir/`dirname \$dlpath`~
11260 test -d \$dldir || mkdir -p \$dldir~
11261 $install_prog $dir/$dlname \$dldir/$dlname~
11262 chmod a+x \$dldir/$dlname~
11263 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11264 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11266 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11267 dlpath=$dir/\$dldll~
11268 $RM \$dlpath'
11269 shlibpath_overrides_runpath=yes
11271 case $host_os in
11272 cygwin*)
11273 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11274 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11276 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11278 mingw* | cegcc*)
11279 # MinGW DLLs use traditional 'lib' prefix
11280 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11282 pw32*)
11283 # pw32 DLLs use 'pw' prefix rather than 'lib'
11284 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11286 esac
11290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11292 esac
11293 dynamic_linker='Win32 ld.exe'
11294 # FIXME: first we should search . and the directory the executable is in
11295 shlibpath_var=PATH
11298 darwin* | rhapsody*)
11299 dynamic_linker="$host_os dyld"
11300 version_type=darwin
11301 need_lib_prefix=no
11302 need_version=no
11303 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11304 soname_spec='${libname}${release}${major}$shared_ext'
11305 shlibpath_overrides_runpath=yes
11306 shlibpath_var=DYLD_LIBRARY_PATH
11307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11309 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11313 dgux*)
11314 version_type=linux
11315 need_lib_prefix=no
11316 need_version=no
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11322 freebsd* | dragonfly*)
11323 # DragonFly does not have aout. When/if they implement a new
11324 # versioning mechanism, adjust this.
11325 if test -x /usr/bin/objformat; then
11326 objformat=`/usr/bin/objformat`
11327 else
11328 case $host_os in
11329 freebsd[23].*) objformat=aout ;;
11330 *) objformat=elf ;;
11331 esac
11333 version_type=freebsd-$objformat
11334 case $version_type in
11335 freebsd-elf*)
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11337 need_version=no
11338 need_lib_prefix=no
11340 freebsd-*)
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11342 need_version=yes
11344 esac
11345 shlibpath_var=LD_LIBRARY_PATH
11346 case $host_os in
11347 freebsd2.*)
11348 shlibpath_overrides_runpath=yes
11350 freebsd3.[01]* | freebsdelf3.[01]*)
11351 shlibpath_overrides_runpath=yes
11352 hardcode_into_libs=yes
11354 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11355 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11356 shlibpath_overrides_runpath=no
11357 hardcode_into_libs=yes
11359 *) # from 4.6 on, and DragonFly
11360 shlibpath_overrides_runpath=yes
11361 hardcode_into_libs=yes
11363 esac
11366 haiku*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 dynamic_linker="$host_os runtime_loader"
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 shlibpath_var=LIBRARY_PATH
11374 shlibpath_overrides_runpath=yes
11375 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11376 hardcode_into_libs=yes
11379 hpux9* | hpux10* | hpux11*)
11380 # Give a soname corresponding to the major version so that dld.sl refuses to
11381 # link against other versions.
11382 version_type=sunos
11383 need_lib_prefix=no
11384 need_version=no
11385 case $host_cpu in
11386 ia64*)
11387 shrext_cmds='.so'
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.so"
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 if test "X$HPUX_IA64_MODE" = X32; then
11395 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11396 else
11397 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11401 hppa*64*)
11402 shrext_cmds='.sl'
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.sl"
11405 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11413 shrext_cmds='.sl'
11414 dynamic_linker="$host_os dld.sl"
11415 shlibpath_var=SHLIB_PATH
11416 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec='${libname}${release}${shared_ext}$major'
11420 esac
11421 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11422 postinstall_cmds='chmod 555 $lib'
11423 # or fails outright, so override atomically:
11424 install_override_mode=555
11427 interix[3-9]*)
11428 version_type=linux
11429 need_lib_prefix=no
11430 need_version=no
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11432 soname_spec='${libname}${release}${shared_ext}$major'
11433 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11434 shlibpath_var=LD_LIBRARY_PATH
11435 shlibpath_overrides_runpath=no
11436 hardcode_into_libs=yes
11439 irix5* | irix6* | nonstopux*)
11440 case $host_os in
11441 nonstopux*) version_type=nonstopux ;;
11443 if test "$lt_cv_prog_gnu_ld" = yes; then
11444 version_type=linux
11445 else
11446 version_type=irix
11447 fi ;;
11448 esac
11449 need_lib_prefix=no
11450 need_version=no
11451 soname_spec='${libname}${release}${shared_ext}$major'
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11453 case $host_os in
11454 irix5* | nonstopux*)
11455 libsuff= shlibsuff=
11458 case $LD in # libtool.m4 will add one of these switches to LD
11459 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11460 libsuff= shlibsuff= libmagic=32-bit;;
11461 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11462 libsuff=32 shlibsuff=N32 libmagic=N32;;
11463 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11464 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11465 *) libsuff= shlibsuff= libmagic=never-match;;
11466 esac
11468 esac
11469 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11470 shlibpath_overrides_runpath=no
11471 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11472 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11473 hardcode_into_libs=yes
11476 # No shared lib support for Linux oldld, aout, or coff.
11477 linux*oldld* | linux*aout* | linux*coff*)
11478 dynamic_linker=no
11481 # This must be Linux ELF.
11483 # uclinux* changes (here and below) have been submitted to the libtool
11484 # project, but have not yet been accepted: they are GCC-local changes
11485 # for the time being. (See
11486 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11488 version_type=linux
11489 need_lib_prefix=no
11490 need_version=no
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 shlibpath_overrides_runpath=no
11497 # Some binutils ld are patched to set DT_RUNPATH
11498 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 lt_cv_shlibpath_overrides_runpath=no
11502 save_LDFLAGS=$LDFLAGS
11503 save_libdir=$libdir
11504 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11505 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11506 if test x$gcc_no_link = xyes; then
11507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11513 main ()
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11522 lt_cv_shlibpath_overrides_runpath=yes
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LDFLAGS=$save_LDFLAGS
11528 libdir=$save_libdir
11532 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11534 # This implies no fast_install, which is unacceptable.
11535 # Some rework will be needed to allow for fast_install
11536 # before this can be enabled.
11537 hardcode_into_libs=yes
11539 # Append ld.so.conf contents to the search path
11540 if test -f /etc/ld.so.conf; then
11541 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' ' '`
11542 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11545 # We used to test for /lib/ld.so.1 and disable shared libraries on
11546 # powerpc, because MkLinux only supported shared libraries with the
11547 # GNU dynamic linker. Since this was broken with cross compilers,
11548 # most powerpc-linux boxes support dynamic linking these days and
11549 # people can always --disable-shared, the test was removed, and we
11550 # assume the GNU/Linux dynamic linker is in use.
11551 dynamic_linker='GNU/Linux ld.so'
11554 netbsd*)
11555 version_type=sunos
11556 need_lib_prefix=no
11557 need_version=no
11558 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11561 dynamic_linker='NetBSD (a.out) ld.so'
11562 else
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 dynamic_linker='NetBSD ld.elf_so'
11567 shlibpath_var=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath=yes
11569 hardcode_into_libs=yes
11572 newsos6)
11573 version_type=linux
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=yes
11579 *nto* | *qnx*)
11580 version_type=qnx
11581 need_lib_prefix=no
11582 need_version=no
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 soname_spec='${libname}${release}${shared_ext}$major'
11585 shlibpath_var=LD_LIBRARY_PATH
11586 shlibpath_overrides_runpath=no
11587 hardcode_into_libs=yes
11588 dynamic_linker='ldqnx.so'
11591 openbsd*)
11592 version_type=sunos
11593 sys_lib_dlsearch_path_spec="/usr/lib"
11594 need_lib_prefix=no
11595 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11596 case $host_os in
11597 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11598 *) need_version=no ;;
11599 esac
11600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11602 shlibpath_var=LD_LIBRARY_PATH
11603 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11604 case $host_os in
11605 openbsd2.[89] | openbsd2.[89].*)
11606 shlibpath_overrides_runpath=no
11609 shlibpath_overrides_runpath=yes
11611 esac
11612 else
11613 shlibpath_overrides_runpath=yes
11617 os2*)
11618 libname_spec='$name'
11619 shrext_cmds=".dll"
11620 need_lib_prefix=no
11621 library_names_spec='$libname${shared_ext} $libname.a'
11622 dynamic_linker='OS/2 ld.exe'
11623 shlibpath_var=LIBPATH
11626 osf3* | osf4* | osf5*)
11627 version_type=osf
11628 need_lib_prefix=no
11629 need_version=no
11630 soname_spec='${libname}${release}${shared_ext}$major'
11631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11632 shlibpath_var=LD_LIBRARY_PATH
11633 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11634 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11637 rdos*)
11638 dynamic_linker=no
11641 solaris*)
11642 version_type=linux
11643 need_lib_prefix=no
11644 need_version=no
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=yes
11649 hardcode_into_libs=yes
11650 # ldd complains unless libraries are executable
11651 postinstall_cmds='chmod +x $lib'
11654 sunos4*)
11655 version_type=sunos
11656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11657 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11658 shlibpath_var=LD_LIBRARY_PATH
11659 shlibpath_overrides_runpath=yes
11660 if test "$with_gnu_ld" = yes; then
11661 need_lib_prefix=no
11663 need_version=yes
11666 sysv4 | sysv4.3*)
11667 version_type=linux
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 soname_spec='${libname}${release}${shared_ext}$major'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 case $host_vendor in
11672 sni)
11673 shlibpath_overrides_runpath=no
11674 need_lib_prefix=no
11675 runpath_var=LD_RUN_PATH
11677 siemens)
11678 need_lib_prefix=no
11680 motorola)
11681 need_lib_prefix=no
11682 need_version=no
11683 shlibpath_overrides_runpath=no
11684 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11686 esac
11689 sysv4*MP*)
11690 if test -d /usr/nec ;then
11691 version_type=linux
11692 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11693 soname_spec='$libname${shared_ext}.$major'
11694 shlibpath_var=LD_LIBRARY_PATH
11698 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11699 version_type=freebsd-elf
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11703 soname_spec='${libname}${release}${shared_ext}$major'
11704 shlibpath_var=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath=yes
11706 hardcode_into_libs=yes
11707 if test "$with_gnu_ld" = yes; then
11708 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11709 else
11710 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11711 case $host_os in
11712 sco3.2v5*)
11713 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11715 esac
11717 sys_lib_dlsearch_path_spec='/usr/lib'
11720 tpf*)
11721 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11722 version_type=linux
11723 need_lib_prefix=no
11724 need_version=no
11725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=no
11728 hardcode_into_libs=yes
11731 uts4*)
11732 version_type=linux
11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 soname_spec='${libname}${release}${shared_ext}$major'
11735 shlibpath_var=LD_LIBRARY_PATH
11739 dynamic_linker=no
11741 esac
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11743 $as_echo "$dynamic_linker" >&6; }
11744 test "$dynamic_linker" = no && can_build_shared=no
11746 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11747 if test "$GCC" = yes; then
11748 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11751 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11752 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11754 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11755 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11850 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11851 hardcode_action=
11852 if test -n "$hardcode_libdir_flag_spec" ||
11853 test -n "$runpath_var" ||
11854 test "X$hardcode_automatic" = "Xyes" ; then
11856 # We can hardcode non-existent directories.
11857 if test "$hardcode_direct" != no &&
11858 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11859 # have to relink, otherwise we might link with an installed library
11860 # when we should be linking with a yet-to-be-installed one
11861 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11862 test "$hardcode_minus_L" != no; then
11863 # Linking always hardcodes the temporary library directory.
11864 hardcode_action=relink
11865 else
11866 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11867 hardcode_action=immediate
11869 else
11870 # We cannot hardcode anything, or else we can only hardcode existing
11871 # directories.
11872 hardcode_action=unsupported
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11875 $as_echo "$hardcode_action" >&6; }
11877 if test "$hardcode_action" = relink ||
11878 test "$inherit_rpath" = yes; then
11879 # Fast installation is not supported
11880 enable_fast_install=no
11881 elif test "$shlibpath_overrides_runpath" = yes ||
11882 test "$enable_shared" = no; then
11883 # Fast installation is not necessary
11884 enable_fast_install=needless
11892 if test "x$enable_dlopen" != xyes; then
11893 enable_dlopen=unknown
11894 enable_dlopen_self=unknown
11895 enable_dlopen_self_static=unknown
11896 else
11897 lt_cv_dlopen=no
11898 lt_cv_dlopen_libs=
11900 case $host_os in
11901 beos*)
11902 lt_cv_dlopen="load_add_on"
11903 lt_cv_dlopen_libs=
11904 lt_cv_dlopen_self=yes
11907 mingw* | pw32* | cegcc*)
11908 lt_cv_dlopen="LoadLibrary"
11909 lt_cv_dlopen_libs=
11912 cygwin*)
11913 lt_cv_dlopen="dlopen"
11914 lt_cv_dlopen_libs=
11917 darwin*)
11918 # if libdl is installed we need to link against it
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11920 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11921 if ${ac_cv_lib_dl_dlopen+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-ldl $LIBS"
11926 if test x$gcc_no_link = xyes; then
11927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char dlopen ();
11940 main ()
11942 return dlopen ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_dl_dlopen=yes
11949 else
11950 ac_cv_lib_dl_dlopen=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11958 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11959 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11960 else
11962 lt_cv_dlopen="dyld"
11963 lt_cv_dlopen_libs=
11964 lt_cv_dlopen_self=yes
11971 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11972 if test "x$ac_cv_func_shl_load" = xyes; then :
11973 lt_cv_dlopen="shl_load"
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11977 if ${ac_cv_lib_dld_shl_load+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-ldld $LIBS"
11982 if test x$gcc_no_link = xyes; then
11983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char shl_load ();
11996 main ()
11998 return shl_load ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_dld_shl_load=yes
12005 else
12006 ac_cv_lib_dld_shl_load=no
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12013 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12014 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12015 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12016 else
12017 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12018 if test "x$ac_cv_func_dlopen" = xyes; then :
12019 lt_cv_dlopen="dlopen"
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12022 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12023 if ${ac_cv_lib_dl_dlopen+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_lib_save_LIBS=$LIBS
12027 LIBS="-ldl $LIBS"
12028 if test x$gcc_no_link = xyes; then
12029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char dlopen ();
12042 main ()
12044 return dlopen ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_dl_dlopen=yes
12051 else
12052 ac_cv_lib_dl_dlopen=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12061 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12064 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12065 if ${ac_cv_lib_svld_dlopen+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-lsvld $LIBS"
12070 if test x$gcc_no_link = xyes; then
12071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char dlopen ();
12084 main ()
12086 return dlopen ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_svld_dlopen=yes
12093 else
12094 ac_cv_lib_svld_dlopen=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12101 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12102 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12103 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12106 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12107 if ${ac_cv_lib_dld_dld_link+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-ldld $LIBS"
12112 if test x$gcc_no_link = xyes; then
12113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char dld_link ();
12126 main ()
12128 return dld_link ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_dld_dld_link=yes
12135 else
12136 ac_cv_lib_dld_dld_link=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12143 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12144 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12145 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12164 esac
12166 if test "x$lt_cv_dlopen" != xno; then
12167 enable_dlopen=yes
12168 else
12169 enable_dlopen=no
12172 case $lt_cv_dlopen in
12173 dlopen)
12174 save_CPPFLAGS="$CPPFLAGS"
12175 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12177 save_LDFLAGS="$LDFLAGS"
12178 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12180 save_LIBS="$LIBS"
12181 LIBS="$lt_cv_dlopen_libs $LIBS"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12184 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12185 if ${lt_cv_dlopen_self+:} false; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 if test "$cross_compiling" = yes; then :
12189 lt_cv_dlopen_self=cross
12190 else
12191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12192 lt_status=$lt_dlunknown
12193 cat > conftest.$ac_ext <<_LT_EOF
12194 #line 12194 "configure"
12195 #include "confdefs.h"
12197 #if HAVE_DLFCN_H
12198 #include <dlfcn.h>
12199 #endif
12201 #include <stdio.h>
12203 #ifdef RTLD_GLOBAL
12204 # define LT_DLGLOBAL RTLD_GLOBAL
12205 #else
12206 # ifdef DL_GLOBAL
12207 # define LT_DLGLOBAL DL_GLOBAL
12208 # else
12209 # define LT_DLGLOBAL 0
12210 # endif
12211 #endif
12213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12214 find out it does not work in some platform. */
12215 #ifndef LT_DLLAZY_OR_NOW
12216 # ifdef RTLD_LAZY
12217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12218 # else
12219 # ifdef DL_LAZY
12220 # define LT_DLLAZY_OR_NOW DL_LAZY
12221 # else
12222 # ifdef RTLD_NOW
12223 # define LT_DLLAZY_OR_NOW RTLD_NOW
12224 # else
12225 # ifdef DL_NOW
12226 # define LT_DLLAZY_OR_NOW DL_NOW
12227 # else
12228 # define LT_DLLAZY_OR_NOW 0
12229 # endif
12230 # endif
12231 # endif
12232 # endif
12233 #endif
12235 /* When -fvisbility=hidden is used, assume the code has been annotated
12236 correspondingly for the symbols needed. */
12237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12238 void fnord () __attribute__((visibility("default")));
12239 #endif
12241 void fnord () { int i=42; }
12242 int main ()
12244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12245 int status = $lt_dlunknown;
12247 if (self)
12249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12250 else
12252 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12253 else puts (dlerror ());
12255 /* dlclose (self); */
12257 else
12258 puts (dlerror ());
12260 return status;
12262 _LT_EOF
12263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12264 (eval $ac_link) 2>&5
12265 ac_status=$?
12266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12267 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12268 (./conftest; exit; ) >&5 2>/dev/null
12269 lt_status=$?
12270 case x$lt_status in
12271 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12272 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12273 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12274 esac
12275 else :
12276 # compilation failed
12277 lt_cv_dlopen_self=no
12280 rm -fr conftest*
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12285 $as_echo "$lt_cv_dlopen_self" >&6; }
12287 if test "x$lt_cv_dlopen_self" = xyes; then
12288 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12290 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12291 if ${lt_cv_dlopen_self_static+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 if test "$cross_compiling" = yes; then :
12295 lt_cv_dlopen_self_static=cross
12296 else
12297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12298 lt_status=$lt_dlunknown
12299 cat > conftest.$ac_ext <<_LT_EOF
12300 #line 12300 "configure"
12301 #include "confdefs.h"
12303 #if HAVE_DLFCN_H
12304 #include <dlfcn.h>
12305 #endif
12307 #include <stdio.h>
12309 #ifdef RTLD_GLOBAL
12310 # define LT_DLGLOBAL RTLD_GLOBAL
12311 #else
12312 # ifdef DL_GLOBAL
12313 # define LT_DLGLOBAL DL_GLOBAL
12314 # else
12315 # define LT_DLGLOBAL 0
12316 # endif
12317 #endif
12319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12320 find out it does not work in some platform. */
12321 #ifndef LT_DLLAZY_OR_NOW
12322 # ifdef RTLD_LAZY
12323 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12324 # else
12325 # ifdef DL_LAZY
12326 # define LT_DLLAZY_OR_NOW DL_LAZY
12327 # else
12328 # ifdef RTLD_NOW
12329 # define LT_DLLAZY_OR_NOW RTLD_NOW
12330 # else
12331 # ifdef DL_NOW
12332 # define LT_DLLAZY_OR_NOW DL_NOW
12333 # else
12334 # define LT_DLLAZY_OR_NOW 0
12335 # endif
12336 # endif
12337 # endif
12338 # endif
12339 #endif
12341 /* When -fvisbility=hidden is used, assume the code has been annotated
12342 correspondingly for the symbols needed. */
12343 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12344 void fnord () __attribute__((visibility("default")));
12345 #endif
12347 void fnord () { int i=42; }
12348 int main ()
12350 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12351 int status = $lt_dlunknown;
12353 if (self)
12355 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12356 else
12358 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12359 else puts (dlerror ());
12361 /* dlclose (self); */
12363 else
12364 puts (dlerror ());
12366 return status;
12368 _LT_EOF
12369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12370 (eval $ac_link) 2>&5
12371 ac_status=$?
12372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12373 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12374 (./conftest; exit; ) >&5 2>/dev/null
12375 lt_status=$?
12376 case x$lt_status in
12377 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12378 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12379 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12380 esac
12381 else :
12382 # compilation failed
12383 lt_cv_dlopen_self_static=no
12386 rm -fr conftest*
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12394 CPPFLAGS="$save_CPPFLAGS"
12395 LDFLAGS="$save_LDFLAGS"
12396 LIBS="$save_LIBS"
12398 esac
12400 case $lt_cv_dlopen_self in
12401 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12402 *) enable_dlopen_self=unknown ;;
12403 esac
12405 case $lt_cv_dlopen_self_static in
12406 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12407 *) enable_dlopen_self_static=unknown ;;
12408 esac
12427 striplib=
12428 old_striplib=
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12431 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12432 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12433 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12436 else
12437 # FIXME - insert some real tests, host_os isn't really good enough
12438 case $host_os in
12439 darwin*)
12440 if test -n "$STRIP" ; then
12441 striplib="$STRIP -x"
12442 old_striplib="$STRIP -S"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12444 $as_echo "yes" >&6; }
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452 $as_echo "no" >&6; }
12454 esac
12468 # Report which library types will actually be built
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12472 $as_echo "$can_build_shared" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12475 $as_echo_n "checking whether to build shared libraries... " >&6; }
12476 test "$can_build_shared" = "no" && enable_shared=no
12478 # On AIX, shared libraries and static libraries use the same namespace, and
12479 # are all built from PIC.
12480 case $host_os in
12481 aix3*)
12482 test "$enable_shared" = yes && enable_static=no
12483 if test -n "$RANLIB"; then
12484 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12485 postinstall_cmds='$RANLIB $lib'
12489 aix[4-9]*)
12490 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12491 test "$enable_shared" = yes && enable_static=no
12494 esac
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12496 $as_echo "$enable_shared" >&6; }
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12499 $as_echo_n "checking whether to build static libraries... " >&6; }
12500 # Make sure either enable_shared or enable_static is yes.
12501 test "$enable_shared" = yes || enable_static=yes
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12503 $as_echo "$enable_static" >&6; }
12509 ac_ext=c
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12515 CC="$lt_save_CC"
12517 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12518 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12519 (test "X$CXX" != "Xg++"))) ; then
12520 ac_ext=cpp
12521 ac_cpp='$CXXCPP $CPPFLAGS'
12522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12526 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12527 if test -z "$CXXCPP"; then
12528 if ${ac_cv_prog_CXXCPP+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 # Double quotes because CXXCPP needs to be expanded
12532 for CXXCPP in "$CXX -E" "/lib/cpp"
12534 ac_preproc_ok=false
12535 for ac_cxx_preproc_warn_flag in '' yes
12537 # Use a header file that comes with gcc, so configuring glibc
12538 # with a fresh cross-compiler works.
12539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12540 # <limits.h> exists even on freestanding compilers.
12541 # On the NeXT, cc -E runs the code through the compiler's parser,
12542 # not just through cpp. "Syntax error" is here to catch this case.
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 #ifdef __STDC__
12546 # include <limits.h>
12547 #else
12548 # include <assert.h>
12549 #endif
12550 Syntax error
12551 _ACEOF
12552 if ac_fn_cxx_try_cpp "$LINENO"; then :
12554 else
12555 # Broken: fails on valid input.
12556 continue
12558 rm -f conftest.err conftest.i conftest.$ac_ext
12560 # OK, works on sane cases. Now check whether nonexistent headers
12561 # can be detected and how.
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12564 #include <ac_nonexistent.h>
12565 _ACEOF
12566 if ac_fn_cxx_try_cpp "$LINENO"; then :
12567 # Broken: success on invalid input.
12568 continue
12569 else
12570 # Passes both tests.
12571 ac_preproc_ok=:
12572 break
12574 rm -f conftest.err conftest.i conftest.$ac_ext
12576 done
12577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12578 rm -f conftest.i conftest.err conftest.$ac_ext
12579 if $ac_preproc_ok; then :
12580 break
12583 done
12584 ac_cv_prog_CXXCPP=$CXXCPP
12587 CXXCPP=$ac_cv_prog_CXXCPP
12588 else
12589 ac_cv_prog_CXXCPP=$CXXCPP
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12592 $as_echo "$CXXCPP" >&6; }
12593 ac_preproc_ok=false
12594 for ac_cxx_preproc_warn_flag in '' yes
12596 # Use a header file that comes with gcc, so configuring glibc
12597 # with a fresh cross-compiler works.
12598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599 # <limits.h> exists even on freestanding compilers.
12600 # On the NeXT, cc -E runs the code through the compiler's parser,
12601 # not just through cpp. "Syntax error" is here to catch this case.
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12604 #ifdef __STDC__
12605 # include <limits.h>
12606 #else
12607 # include <assert.h>
12608 #endif
12609 Syntax error
12610 _ACEOF
12611 if ac_fn_cxx_try_cpp "$LINENO"; then :
12613 else
12614 # Broken: fails on valid input.
12615 continue
12617 rm -f conftest.err conftest.i conftest.$ac_ext
12619 # OK, works on sane cases. Now check whether nonexistent headers
12620 # can be detected and how.
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 #include <ac_nonexistent.h>
12624 _ACEOF
12625 if ac_fn_cxx_try_cpp "$LINENO"; then :
12626 # Broken: success on invalid input.
12627 continue
12628 else
12629 # Passes both tests.
12630 ac_preproc_ok=:
12631 break
12633 rm -f conftest.err conftest.i conftest.$ac_ext
12635 done
12636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12637 rm -f conftest.i conftest.err conftest.$ac_ext
12638 if $ac_preproc_ok; then :
12640 else
12641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12643 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12644 See \`config.log' for more details" "$LINENO" 5; }
12647 ac_ext=c
12648 ac_cpp='$CPP $CPPFLAGS'
12649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12653 else
12654 _lt_caught_CXX_error=yes
12657 ac_ext=cpp
12658 ac_cpp='$CXXCPP $CPPFLAGS'
12659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12663 archive_cmds_need_lc_CXX=no
12664 allow_undefined_flag_CXX=
12665 always_export_symbols_CXX=no
12666 archive_expsym_cmds_CXX=
12667 compiler_needs_object_CXX=no
12668 export_dynamic_flag_spec_CXX=
12669 hardcode_direct_CXX=no
12670 hardcode_direct_absolute_CXX=no
12671 hardcode_libdir_flag_spec_CXX=
12672 hardcode_libdir_flag_spec_ld_CXX=
12673 hardcode_libdir_separator_CXX=
12674 hardcode_minus_L_CXX=no
12675 hardcode_shlibpath_var_CXX=unsupported
12676 hardcode_automatic_CXX=no
12677 inherit_rpath_CXX=no
12678 module_cmds_CXX=
12679 module_expsym_cmds_CXX=
12680 link_all_deplibs_CXX=unknown
12681 old_archive_cmds_CXX=$old_archive_cmds
12682 reload_flag_CXX=$reload_flag
12683 reload_cmds_CXX=$reload_cmds
12684 no_undefined_flag_CXX=
12685 whole_archive_flag_spec_CXX=
12686 enable_shared_with_static_runtimes_CXX=no
12688 # Source file extension for C++ test sources.
12689 ac_ext=cpp
12691 # Object file extension for compiled C++ test sources.
12692 objext=o
12693 objext_CXX=$objext
12695 # No sense in running all these tests if we already determined that
12696 # the CXX compiler isn't working. Some variables (like enable_shared)
12697 # are currently assumed to apply to all compilers on this platform,
12698 # and will be corrupted by setting them based on a non-working compiler.
12699 if test "$_lt_caught_CXX_error" != yes; then
12700 # Code to be used in simple compile tests
12701 lt_simple_compile_test_code="int some_variable = 0;"
12703 # Code to be used in simple link tests
12704 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12706 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12713 # If no C compiler was specified, use CC.
12714 LTCC=${LTCC-"$CC"}
12716 # If no C compiler flags were specified, use CFLAGS.
12717 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12719 # Allow CC to be a program name with arguments.
12720 compiler=$CC
12723 # save warnings/boilerplate of simple test code
12724 ac_outfile=conftest.$ac_objext
12725 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12726 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12727 _lt_compiler_boilerplate=`cat conftest.err`
12728 $RM conftest*
12730 ac_outfile=conftest.$ac_objext
12731 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12732 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12733 _lt_linker_boilerplate=`cat conftest.err`
12734 $RM -r conftest*
12737 # Allow CC to be a program name with arguments.
12738 lt_save_CC=$CC
12739 lt_save_LD=$LD
12740 lt_save_GCC=$GCC
12741 GCC=$GXX
12742 lt_save_with_gnu_ld=$with_gnu_ld
12743 lt_save_path_LD=$lt_cv_path_LD
12744 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12745 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12746 else
12747 $as_unset lt_cv_prog_gnu_ld
12749 if test -n "${lt_cv_path_LDCXX+set}"; then
12750 lt_cv_path_LD=$lt_cv_path_LDCXX
12751 else
12752 $as_unset lt_cv_path_LD
12754 test -z "${LDCXX+set}" || LD=$LDCXX
12755 CC=${CXX-"c++"}
12756 compiler=$CC
12757 compiler_CXX=$CC
12758 for cc_temp in $compiler""; do
12759 case $cc_temp in
12760 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12761 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12762 \-*) ;;
12763 *) break;;
12764 esac
12765 done
12766 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12769 if test -n "$compiler"; then
12770 # We don't want -fno-exception when compiling C++ code, so set the
12771 # no_builtin_flag separately
12772 if test "$GXX" = yes; then
12773 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12774 else
12775 lt_prog_compiler_no_builtin_flag_CXX=
12778 if test "$GXX" = yes; then
12779 # Set up default GNU C++ configuration
12783 # Check whether --with-gnu-ld was given.
12784 if test "${with_gnu_ld+set}" = set; then :
12785 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12786 else
12787 with_gnu_ld=no
12790 ac_prog=ld
12791 if test "$GCC" = yes; then
12792 # Check if gcc -print-prog-name=ld gives a path.
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12794 $as_echo_n "checking for ld used by $CC... " >&6; }
12795 case $host in
12796 *-*-mingw*)
12797 # gcc leaves a trailing carriage return which upsets mingw
12798 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12800 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12801 esac
12802 case $ac_prog in
12803 # Accept absolute paths.
12804 [\\/]* | ?:[\\/]*)
12805 re_direlt='/[^/][^/]*/\.\./'
12806 # Canonicalize the pathname of ld
12807 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12808 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12809 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12810 done
12811 test -z "$LD" && LD="$ac_prog"
12814 # If it fails, then pretend we aren't using GCC.
12815 ac_prog=ld
12818 # If it is relative, then search for the first ld in PATH.
12819 with_gnu_ld=unknown
12821 esac
12822 elif test "$with_gnu_ld" = yes; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12824 $as_echo_n "checking for GNU ld... " >&6; }
12825 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12827 $as_echo_n "checking for non-GNU ld... " >&6; }
12829 if ${lt_cv_path_LD+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 if test -z "$LD"; then
12833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12834 for ac_dir in $PATH; do
12835 IFS="$lt_save_ifs"
12836 test -z "$ac_dir" && ac_dir=.
12837 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12838 lt_cv_path_LD="$ac_dir/$ac_prog"
12839 # Check to see if the program is GNU ld. I'd rather use --version,
12840 # but apparently some variants of GNU ld only accept -v.
12841 # Break only if it was the GNU/non-GNU ld that we prefer.
12842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12843 *GNU* | *'with BFD'*)
12844 test "$with_gnu_ld" != no && break
12847 test "$with_gnu_ld" != yes && break
12849 esac
12851 done
12852 IFS="$lt_save_ifs"
12853 else
12854 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12858 LD="$lt_cv_path_LD"
12859 if test -n "$LD"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12861 $as_echo "$LD" >&6; }
12862 else
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12866 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12869 if ${lt_cv_prog_gnu_ld+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12873 case `$LD -v 2>&1 </dev/null` in
12874 *GNU* | *'with BFD'*)
12875 lt_cv_prog_gnu_ld=yes
12878 lt_cv_prog_gnu_ld=no
12880 esac
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12884 with_gnu_ld=$lt_cv_prog_gnu_ld
12892 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12893 # archiving commands below assume that GNU ld is being used.
12894 if test "$with_gnu_ld" = yes; then
12895 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896 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'
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12901 # If archive_cmds runs LD, not CC, wlarc should be empty
12902 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12903 # investigate it a little bit more. (MM)
12904 wlarc='${wl}'
12906 # ancient GNU ld didn't support --whole-archive et. al.
12907 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12908 $GREP 'no-whole-archive' > /dev/null; then
12909 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12910 else
12911 whole_archive_flag_spec_CXX=
12913 else
12914 with_gnu_ld=no
12915 wlarc=
12917 # A generic and very simple default shared library creation
12918 # command for GNU C++ for the case where it uses the native
12919 # linker, instead of GNU ld. If possible, this setting should
12920 # overridden to take advantage of the native linker features on
12921 # the platform it is being used on.
12922 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12925 # Commands to make compiler produce verbose output that lists
12926 # what "hidden" libraries, object files and flags are used when
12927 # linking a shared library.
12928 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12930 else
12931 GXX=no
12932 with_gnu_ld=no
12933 wlarc=
12936 # PORTME: fill in a description of your system's C++ link characteristics
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12939 ld_shlibs_CXX=yes
12940 case $host_os in
12941 aix3*)
12942 # FIXME: insert proper C++ library support
12943 ld_shlibs_CXX=no
12945 aix[4-9]*)
12946 if test "$host_cpu" = ia64; then
12947 # On IA64, the linker does run time linking by default, so we don't
12948 # have to do anything special.
12949 aix_use_runtimelinking=no
12950 exp_sym_flag='-Bexport'
12951 no_entry_flag=""
12952 else
12953 aix_use_runtimelinking=no
12955 # Test if we are trying to use run time linking or normal
12956 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12957 # need to do runtime linking.
12958 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12959 for ld_flag in $LDFLAGS; do
12960 case $ld_flag in
12961 *-brtl*)
12962 aix_use_runtimelinking=yes
12963 break
12965 esac
12966 done
12968 esac
12970 exp_sym_flag='-bexport'
12971 no_entry_flag='-bnoentry'
12974 # When large executables or shared objects are built, AIX ld can
12975 # have problems creating the table of contents. If linking a library
12976 # or program results in "error TOC overflow" add -mminimal-toc to
12977 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12978 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12980 archive_cmds_CXX=''
12981 hardcode_direct_CXX=yes
12982 hardcode_direct_absolute_CXX=yes
12983 hardcode_libdir_separator_CXX=':'
12984 link_all_deplibs_CXX=yes
12985 file_list_spec_CXX='${wl}-f,'
12987 if test "$GXX" = yes; then
12988 case $host_os in aix4.[012]|aix4.[012].*)
12989 # We only want to do this on AIX 4.2 and lower, the check
12990 # below for broken collect2 doesn't work under 4.3+
12991 collect2name=`${CC} -print-prog-name=collect2`
12992 if test -f "$collect2name" &&
12993 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12994 then
12995 # We have reworked collect2
12997 else
12998 # We have old collect2
12999 hardcode_direct_CXX=unsupported
13000 # It fails to find uninstalled libraries when the uninstalled
13001 # path is not listed in the libpath. Setting hardcode_minus_L
13002 # to unsupported forces relinking
13003 hardcode_minus_L_CXX=yes
13004 hardcode_libdir_flag_spec_CXX='-L$libdir'
13005 hardcode_libdir_separator_CXX=
13007 esac
13008 shared_flag='-shared'
13009 if test "$aix_use_runtimelinking" = yes; then
13010 shared_flag="$shared_flag "'${wl}-G'
13012 else
13013 # not using gcc
13014 if test "$host_cpu" = ia64; then
13015 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13016 # chokes on -Wl,-G. The following line is correct:
13017 shared_flag='-G'
13018 else
13019 if test "$aix_use_runtimelinking" = yes; then
13020 shared_flag='${wl}-G'
13021 else
13022 shared_flag='${wl}-bM:SRE'
13027 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13028 # It seems that -bexpall does not export symbols beginning with
13029 # underscore (_), so it is better to generate a list of symbols to
13030 # export.
13031 always_export_symbols_CXX=yes
13032 if test "$aix_use_runtimelinking" = yes; then
13033 # Warning - without using the other runtime loading flags (-brtl),
13034 # -berok will link without error, but may produce a broken library.
13035 allow_undefined_flag_CXX='-berok'
13036 # Determine the default libpath from the value encoded in an empty
13037 # executable.
13038 if test x$gcc_no_link = xyes; then
13039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13045 main ()
13049 return 0;
13051 _ACEOF
13052 if ac_fn_cxx_try_link "$LINENO"; then :
13054 lt_aix_libpath_sed='
13055 /Import File Strings/,/^$/ {
13056 /^0/ {
13057 s/^0 *\(.*\)$/\1/
13061 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13062 # Check for a 64-bit object if we didn't find anything.
13063 if test -z "$aix_libpath"; then
13064 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13071 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13073 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"
13074 else
13075 if test "$host_cpu" = ia64; then
13076 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13077 allow_undefined_flag_CXX="-z nodefs"
13078 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"
13079 else
13080 # Determine the default libpath from the value encoded in an
13081 # empty executable.
13082 if test x$gcc_no_link = xyes; then
13083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13089 main ()
13093 return 0;
13095 _ACEOF
13096 if ac_fn_cxx_try_link "$LINENO"; then :
13098 lt_aix_libpath_sed='
13099 /Import File Strings/,/^$/ {
13100 /^0/ {
13101 s/^0 *\(.*\)$/\1/
13105 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13106 # Check for a 64-bit object if we didn't find anything.
13107 if test -z "$aix_libpath"; then
13108 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13115 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13116 # Warning - without using the other run time loading flags,
13117 # -berok will link without error, but may produce a broken library.
13118 no_undefined_flag_CXX=' ${wl}-bernotok'
13119 allow_undefined_flag_CXX=' ${wl}-berok'
13120 if test "$with_gnu_ld" = yes; then
13121 # We only use this code for GNU lds that support --whole-archive.
13122 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13123 else
13124 # Exported symbols can be pulled into shared objects from archives
13125 whole_archive_flag_spec_CXX='$convenience'
13127 archive_cmds_need_lc_CXX=yes
13128 # This is similar to how AIX traditionally builds its shared
13129 # libraries.
13130 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'
13135 beos*)
13136 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13137 allow_undefined_flag_CXX=unsupported
13138 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13139 # support --undefined. This deserves some investigation. FIXME
13140 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13141 else
13142 ld_shlibs_CXX=no
13146 chorus*)
13147 case $cc_basename in
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13152 esac
13155 cygwin* | mingw* | pw32* | cegcc*)
13156 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13157 # as there is no search path for DLLs.
13158 hardcode_libdir_flag_spec_CXX='-L$libdir'
13159 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13160 allow_undefined_flag_CXX=unsupported
13161 always_export_symbols_CXX=no
13162 enable_shared_with_static_runtimes_CXX=yes
13164 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13165 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'
13166 # If the export-symbols file already is a .def file (1st line
13167 # is EXPORTS), use it as is; otherwise, prepend...
13168 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13169 cp $export_symbols $output_objdir/$soname.def;
13170 else
13171 echo EXPORTS > $output_objdir/$soname.def;
13172 cat $export_symbols >> $output_objdir/$soname.def;
13174 $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'
13175 else
13176 ld_shlibs_CXX=no
13179 darwin* | rhapsody*)
13182 archive_cmds_need_lc_CXX=no
13183 hardcode_direct_CXX=no
13184 hardcode_automatic_CXX=yes
13185 hardcode_shlibpath_var_CXX=unsupported
13186 if test "$lt_cv_ld_force_load" = "yes"; then
13187 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\"`'
13188 else
13189 whole_archive_flag_spec_CXX=''
13191 link_all_deplibs_CXX=yes
13192 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13193 case $cc_basename in
13194 ifort*) _lt_dar_can_shared=yes ;;
13195 *) _lt_dar_can_shared=$GCC ;;
13196 esac
13197 if test "$_lt_dar_can_shared" = "yes"; then
13198 output_verbose_link_cmd=func_echo_all
13199 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}"
13200 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13201 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}"
13202 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}"
13203 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13204 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}"
13205 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}"
13208 else
13209 ld_shlibs_CXX=no
13214 dgux*)
13215 case $cc_basename in
13216 ec++*)
13217 # FIXME: insert proper C++ library support
13218 ld_shlibs_CXX=no
13220 ghcx*)
13221 # Green Hills C++ Compiler
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13226 # FIXME: insert proper C++ library support
13227 ld_shlibs_CXX=no
13229 esac
13232 freebsd2.*)
13233 # C++ shared libraries reported to be fairly broken before
13234 # switch to ELF
13235 ld_shlibs_CXX=no
13238 freebsd-elf*)
13239 archive_cmds_need_lc_CXX=no
13242 freebsd* | dragonfly*)
13243 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13244 # conventions
13245 ld_shlibs_CXX=yes
13248 gnu*)
13251 haiku*)
13252 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 link_all_deplibs_CXX=yes
13256 hpux9*)
13257 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13258 hardcode_libdir_separator_CXX=:
13259 export_dynamic_flag_spec_CXX='${wl}-E'
13260 hardcode_direct_CXX=yes
13261 hardcode_minus_L_CXX=yes # Not in the search PATH,
13262 # but as the default
13263 # location of the library.
13265 case $cc_basename in
13266 CC*)
13267 # FIXME: insert proper C++ library support
13268 ld_shlibs_CXX=no
13270 aCC*)
13271 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'
13272 # Commands to make compiler produce verbose output that lists
13273 # what "hidden" libraries, object files and flags are used when
13274 # linking a shared library.
13276 # There doesn't appear to be a way to prevent this compiler from
13277 # explicitly linking system object files so we need to strip them
13278 # from the output so that they don't get included in the library
13279 # dependencies.
13280 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"'
13283 if test "$GXX" = yes; then
13284 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'
13285 else
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13290 esac
13293 hpux10*|hpux11*)
13294 if test $with_gnu_ld = no; then
13295 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13296 hardcode_libdir_separator_CXX=:
13298 case $host_cpu in
13299 hppa*64*|ia64*)
13302 export_dynamic_flag_spec_CXX='${wl}-E'
13304 esac
13306 case $host_cpu in
13307 hppa*64*|ia64*)
13308 hardcode_direct_CXX=no
13309 hardcode_shlibpath_var_CXX=no
13312 hardcode_direct_CXX=yes
13313 hardcode_direct_absolute_CXX=yes
13314 hardcode_minus_L_CXX=yes # Not in the search PATH,
13315 # but as the default
13316 # location of the library.
13318 esac
13320 case $cc_basename in
13321 CC*)
13322 # FIXME: insert proper C++ library support
13323 ld_shlibs_CXX=no
13325 aCC*)
13326 case $host_cpu in
13327 hppa*64*)
13328 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 ia64*)
13331 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13334 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13336 esac
13337 # Commands to make compiler produce verbose output that lists
13338 # what "hidden" libraries, object files and flags are used when
13339 # linking a shared library.
13341 # There doesn't appear to be a way to prevent this compiler from
13342 # explicitly linking system object files so we need to strip them
13343 # from the output so that they don't get included in the library
13344 # dependencies.
13345 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"'
13348 if test "$GXX" = yes; then
13349 if test $with_gnu_ld = no; then
13350 case $host_cpu in
13351 hppa*64*)
13352 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 ia64*)
13355 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13358 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'
13360 esac
13362 else
13363 # FIXME: insert proper C++ library support
13364 ld_shlibs_CXX=no
13367 esac
13370 interix[3-9]*)
13371 hardcode_direct_CXX=no
13372 hardcode_shlibpath_var_CXX=no
13373 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13374 export_dynamic_flag_spec_CXX='${wl}-E'
13375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13376 # Instead, shared libraries are loaded at an image base (0x10000000 by
13377 # default) and relocated if they conflict, which is a slow very memory
13378 # consuming and fragmenting process. To avoid this, we pick a random,
13379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13381 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'
13382 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'
13384 irix5* | irix6*)
13385 case $cc_basename in
13386 CC*)
13387 # SGI C++
13388 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'
13390 # Archives containing C++ object files must be created using
13391 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13392 # necessary to make sure instantiated templates are included
13393 # in the archive.
13394 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13397 if test "$GXX" = yes; then
13398 if test "$with_gnu_ld" = no; then
13399 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'
13400 else
13401 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'
13404 link_all_deplibs_CXX=yes
13406 esac
13407 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13408 hardcode_libdir_separator_CXX=:
13409 inherit_rpath_CXX=yes
13412 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13413 case $cc_basename in
13414 KCC*)
13415 # Kuck and Associates, Inc. (KAI) C++ Compiler
13417 # KCC will only create a shared library if the output file
13418 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13419 # to its proper name (with version) after linking.
13420 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'
13421 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'
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13426 # There doesn't appear to be a way to prevent this compiler from
13427 # explicitly linking system object files so we need to strip them
13428 # from the output so that they don't get included in the library
13429 # dependencies.
13430 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"'
13432 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13433 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13435 # Archives containing C++ object files must be created using
13436 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13437 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13439 icpc* | ecpc* )
13440 # Intel C++
13441 with_gnu_ld=yes
13442 # version 8.0 and above of icpc choke on multiply defined symbols
13443 # if we add $predep_objects and $postdep_objects, however 7.1 and
13444 # earlier do not add the objects themselves.
13445 case `$CC -V 2>&1` in
13446 *"Version 7."*)
13447 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448 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'
13450 *) # Version 8.0 or newer
13451 tmp_idyn=
13452 case $host_cpu in
13453 ia64*) tmp_idyn=' -i_dynamic';;
13454 esac
13455 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13456 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'
13458 esac
13459 archive_cmds_need_lc_CXX=no
13460 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13461 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13464 pgCC* | pgcpp*)
13465 # Portland Group C++ compiler
13466 case `$CC -V` in
13467 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13468 prelink_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13471 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13472 old_archive_cmds_CXX='tpldir=Template.dir~
13473 rm -rf $tpldir~
13474 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13475 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13476 $RANLIB $oldlib'
13477 archive_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13481 archive_expsym_cmds_CXX='tpldir=Template.dir~
13482 rm -rf $tpldir~
13483 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13484 $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'
13486 *) # Version 6 and above use weak symbols
13487 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13488 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'
13490 esac
13492 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13493 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13494 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'
13496 cxx*)
13497 # Compaq C++
13498 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13499 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'
13501 runpath_var=LD_RUN_PATH
13502 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13503 hardcode_libdir_separator_CXX=:
13505 # Commands to make compiler produce verbose output that lists
13506 # what "hidden" libraries, object files and flags are used when
13507 # linking a shared library.
13509 # There doesn't appear to be a way to prevent this compiler from
13510 # explicitly linking system object files so we need to strip them
13511 # from the output so that they don't get included in the library
13512 # dependencies.
13513 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'
13515 xl* | mpixl* | bgxl*)
13516 # IBM XL 8.0 on PPC, with GNU ld
13517 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13518 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13519 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13520 if test "x$supports_anon_versioning" = xyes; then
13521 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13522 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13523 echo "local: *; };" >> $output_objdir/$libname.ver~
13524 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13528 case `$CC -V 2>&1 | sed 5q` in
13529 *Sun\ C*)
13530 # Sun C++ 5.9
13531 no_undefined_flag_CXX=' -zdefs'
13532 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 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'
13534 hardcode_libdir_flag_spec_CXX='-R$libdir'
13535 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'
13536 compiler_needs_object_CXX=yes
13538 # Not sure whether something based on
13539 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13540 # would be better.
13541 output_verbose_link_cmd='func_echo_all'
13543 # Archives containing C++ object files must be created using
13544 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13545 # necessary to make sure instantiated templates are included
13546 # in the archive.
13547 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13549 esac
13551 esac
13554 lynxos*)
13555 # FIXME: insert proper C++ library support
13556 ld_shlibs_CXX=no
13559 m88k*)
13560 # FIXME: insert proper C++ library support
13561 ld_shlibs_CXX=no
13564 mvs*)
13565 case $cc_basename in
13566 cxx*)
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13571 # FIXME: insert proper C++ library support
13572 ld_shlibs_CXX=no
13574 esac
13577 netbsd*)
13578 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13579 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13580 wlarc=
13581 hardcode_libdir_flag_spec_CXX='-R$libdir'
13582 hardcode_direct_CXX=yes
13583 hardcode_shlibpath_var_CXX=no
13585 # Workaround some broken pre-1.5 toolchains
13586 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13589 *nto* | *qnx*)
13590 ld_shlibs_CXX=yes
13593 openbsd2*)
13594 # C++ shared libraries are fairly broken
13595 ld_shlibs_CXX=no
13598 openbsd*)
13599 if test -f /usr/libexec/ld.so; then
13600 hardcode_direct_CXX=yes
13601 hardcode_shlibpath_var_CXX=no
13602 hardcode_direct_absolute_CXX=yes
13603 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13604 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13605 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13606 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13607 export_dynamic_flag_spec_CXX='${wl}-E'
13608 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13610 output_verbose_link_cmd=func_echo_all
13611 else
13612 ld_shlibs_CXX=no
13616 osf3* | osf4* | osf5*)
13617 case $cc_basename in
13618 KCC*)
13619 # Kuck and Associates, Inc. (KAI) C++ Compiler
13621 # KCC will only create a shared library if the output file
13622 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13623 # to its proper name (with version) after linking.
13624 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'
13626 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13627 hardcode_libdir_separator_CXX=:
13629 # Archives containing C++ object files must be created using
13630 # the KAI C++ compiler.
13631 case $host in
13632 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13633 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13634 esac
13636 RCC*)
13637 # Rational C++ 2.4.1
13638 # FIXME: insert proper C++ library support
13639 ld_shlibs_CXX=no
13641 cxx*)
13642 case $host in
13643 osf3*)
13644 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13645 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'
13646 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13649 allow_undefined_flag_CXX=' -expect_unresolved \*'
13650 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'
13651 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13652 echo "-hidden">> $lib.exp~
13653 $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~
13654 $RM $lib.exp'
13655 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13657 esac
13659 hardcode_libdir_separator_CXX=:
13661 # Commands to make compiler produce verbose output that lists
13662 # what "hidden" libraries, object files and flags are used when
13663 # linking a shared library.
13665 # There doesn't appear to be a way to prevent this compiler from
13666 # explicitly linking system object files so we need to strip them
13667 # from the output so that they don't get included in the library
13668 # dependencies.
13669 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"'
13672 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13673 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13674 case $host in
13675 osf3*)
13676 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'
13679 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'
13681 esac
13683 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13684 hardcode_libdir_separator_CXX=:
13686 # Commands to make compiler produce verbose output that lists
13687 # what "hidden" libraries, object files and flags are used when
13688 # linking a shared library.
13689 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13691 else
13692 # FIXME: insert proper C++ library support
13693 ld_shlibs_CXX=no
13696 esac
13699 psos*)
13700 # FIXME: insert proper C++ library support
13701 ld_shlibs_CXX=no
13704 sunos4*)
13705 case $cc_basename in
13706 CC*)
13707 # Sun C++ 4.x
13708 # FIXME: insert proper C++ library support
13709 ld_shlibs_CXX=no
13711 lcc*)
13712 # Lucid
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13717 # FIXME: insert proper C++ library support
13718 ld_shlibs_CXX=no
13720 esac
13723 solaris*)
13724 case $cc_basename in
13725 CC*)
13726 # Sun C++ 4.2, 5.x and Centerline C++
13727 archive_cmds_need_lc_CXX=yes
13728 no_undefined_flag_CXX=' -zdefs'
13729 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13730 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13731 $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'
13733 hardcode_libdir_flag_spec_CXX='-R$libdir'
13734 hardcode_shlibpath_var_CXX=no
13735 case $host_os in
13736 solaris2.[0-5] | solaris2.[0-5].*) ;;
13738 # The compiler driver will combine and reorder linker options,
13739 # but understands `-z linker_flag'.
13740 # Supported since Solaris 2.6 (maybe 2.5.1?)
13741 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13743 esac
13744 link_all_deplibs_CXX=yes
13746 output_verbose_link_cmd='func_echo_all'
13748 # Archives containing C++ object files must be created using
13749 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13750 # necessary to make sure instantiated templates are included
13751 # in the archive.
13752 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13754 gcx*)
13755 # Green Hills C++ Compiler
13756 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13758 # The C++ compiler must be used to create the archive.
13759 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13762 # GNU C++ compiler with Solaris linker
13763 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13764 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13765 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13766 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13767 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13768 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13770 # Commands to make compiler produce verbose output that lists
13771 # what "hidden" libraries, object files and flags are used when
13772 # linking a shared library.
13773 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13774 else
13775 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13776 # platform.
13777 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13778 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13779 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13784 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13787 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13788 case $host_os in
13789 solaris2.[0-5] | solaris2.[0-5].*) ;;
13791 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13793 esac
13796 esac
13799 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13800 no_undefined_flag_CXX='${wl}-z,text'
13801 archive_cmds_need_lc_CXX=no
13802 hardcode_shlibpath_var_CXX=no
13803 runpath_var='LD_RUN_PATH'
13805 case $cc_basename in
13806 CC*)
13807 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13811 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13812 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13814 esac
13817 sysv5* | sco3.2v5* | sco5v6*)
13818 # Note: We can NOT use -z defs as we might desire, because we do not
13819 # link with -lc, and that would cause any symbols used from libc to
13820 # always be unresolved, which means just about no library would
13821 # ever link correctly. If we're not using GNU ld we use -z text
13822 # though, which does catch some bad symbols but isn't as heavy-handed
13823 # as -z defs.
13824 no_undefined_flag_CXX='${wl}-z,text'
13825 allow_undefined_flag_CXX='${wl}-z,nodefs'
13826 archive_cmds_need_lc_CXX=no
13827 hardcode_shlibpath_var_CXX=no
13828 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13829 hardcode_libdir_separator_CXX=':'
13830 link_all_deplibs_CXX=yes
13831 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13832 runpath_var='LD_RUN_PATH'
13834 case $cc_basename in
13835 CC*)
13836 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13837 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13839 '"$old_archive_cmds_CXX"
13840 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13841 '"$reload_cmds_CXX"
13844 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13845 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13847 esac
13850 tandem*)
13851 case $cc_basename in
13852 NCC*)
13853 # NonStop-UX NCC 3.20
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13858 # FIXME: insert proper C++ library support
13859 ld_shlibs_CXX=no
13861 esac
13864 vxworks*)
13865 # FIXME: insert proper C++ library support
13866 ld_shlibs_CXX=no
13870 # FIXME: insert proper C++ library support
13871 ld_shlibs_CXX=no
13873 esac
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13876 $as_echo "$ld_shlibs_CXX" >&6; }
13877 test "$ld_shlibs_CXX" = no && can_build_shared=no
13879 GCC_CXX="$GXX"
13880 LD_CXX="$LD"
13882 ## CAVEAT EMPTOR:
13883 ## There is no encapsulation within the following macros, do not change
13884 ## the running order or otherwise move them around unless you know exactly
13885 ## what you are doing...
13886 # Dependencies to place before and after the object being linked:
13887 predep_objects_CXX=
13888 postdep_objects_CXX=
13889 predeps_CXX=
13890 postdeps_CXX=
13891 compiler_lib_search_path_CXX=
13893 cat > conftest.$ac_ext <<_LT_EOF
13894 class Foo
13896 public:
13897 Foo (void) { a = 0; }
13898 private:
13899 int a;
13901 _LT_EOF
13903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13904 (eval $ac_compile) 2>&5
13905 ac_status=$?
13906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 test $ac_status = 0; }; then
13908 # Parse the compiler output and extract the necessary
13909 # objects, libraries and library flags.
13911 # Sentinel used to keep track of whether or not we are before
13912 # the conftest object file.
13913 pre_test_object_deps_done=no
13915 for p in `eval "$output_verbose_link_cmd"`; do
13916 case $p in
13918 -L* | -R* | -l*)
13919 # Some compilers place space between "-{L,R}" and the path.
13920 # Remove the space.
13921 if test $p = "-L" ||
13922 test $p = "-R"; then
13923 prev=$p
13924 continue
13925 else
13926 prev=
13929 if test "$pre_test_object_deps_done" = no; then
13930 case $p in
13931 -L* | -R*)
13932 # Internal compiler library paths should come after those
13933 # provided the user. The postdeps already come after the
13934 # user supplied libs so there is no need to process them.
13935 if test -z "$compiler_lib_search_path_CXX"; then
13936 compiler_lib_search_path_CXX="${prev}${p}"
13937 else
13938 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13941 # The "-l" case would never come before the object being
13942 # linked, so don't bother handling this case.
13943 esac
13944 else
13945 if test -z "$postdeps_CXX"; then
13946 postdeps_CXX="${prev}${p}"
13947 else
13948 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13953 *.$objext)
13954 # This assumes that the test object file only shows up
13955 # once in the compiler output.
13956 if test "$p" = "conftest.$objext"; then
13957 pre_test_object_deps_done=yes
13958 continue
13961 if test "$pre_test_object_deps_done" = no; then
13962 if test -z "$predep_objects_CXX"; then
13963 predep_objects_CXX="$p"
13964 else
13965 predep_objects_CXX="$predep_objects_CXX $p"
13967 else
13968 if test -z "$postdep_objects_CXX"; then
13969 postdep_objects_CXX="$p"
13970 else
13971 postdep_objects_CXX="$postdep_objects_CXX $p"
13976 *) ;; # Ignore the rest.
13978 esac
13979 done
13981 # Clean up.
13982 rm -f a.out a.exe
13983 else
13984 echo "libtool.m4: error: problem compiling CXX test program"
13987 $RM -f confest.$objext
13989 # PORTME: override above test on systems where it is broken
13990 case $host_os in
13991 interix[3-9]*)
13992 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13993 # hack all around it, let's just trust "g++" to DTRT.
13994 predep_objects_CXX=
13995 postdep_objects_CXX=
13996 postdeps_CXX=
13999 linux*)
14000 case `$CC -V 2>&1 | sed 5q` in
14001 *Sun\ C*)
14002 # Sun C++ 5.9
14004 # The more standards-conforming stlport4 library is
14005 # incompatible with the Cstd library. Avoid specifying
14006 # it if it's in CXXFLAGS. Ignore libCrun as
14007 # -library=stlport4 depends on it.
14008 case " $CXX $CXXFLAGS " in
14009 *" -library=stlport4 "*)
14010 solaris_use_stlport4=yes
14012 esac
14014 if test "$solaris_use_stlport4" != yes; then
14015 postdeps_CXX='-library=Cstd -library=Crun'
14018 esac
14021 solaris*)
14022 case $cc_basename in
14023 CC*)
14024 # The more standards-conforming stlport4 library is
14025 # incompatible with the Cstd library. Avoid specifying
14026 # it if it's in CXXFLAGS. Ignore libCrun as
14027 # -library=stlport4 depends on it.
14028 case " $CXX $CXXFLAGS " in
14029 *" -library=stlport4 "*)
14030 solaris_use_stlport4=yes
14032 esac
14034 # Adding this requires a known-good setup of shared libraries for
14035 # Sun compiler versions before 5.6, else PIC objects from an old
14036 # archive will be linked into the output, leading to subtle bugs.
14037 if test "$solaris_use_stlport4" != yes; then
14038 postdeps_CXX='-library=Cstd -library=Crun'
14041 esac
14043 esac
14046 case " $postdeps_CXX " in
14047 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14048 esac
14049 compiler_lib_search_dirs_CXX=
14050 if test -n "${compiler_lib_search_path_CXX}"; then
14051 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14084 lt_prog_compiler_wl_CXX=
14085 lt_prog_compiler_pic_CXX=
14086 lt_prog_compiler_static_CXX=
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14089 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14091 # C++ specific cases for pic, static, wl, etc.
14092 if test "$GXX" = yes; then
14093 lt_prog_compiler_wl_CXX='-Wl,'
14094 lt_prog_compiler_static_CXX='-static'
14096 case $host_os in
14097 aix*)
14098 # All AIX code is PIC.
14099 if test "$host_cpu" = ia64; then
14100 # AIX 5 now supports IA64 processor
14101 lt_prog_compiler_static_CXX='-Bstatic'
14103 lt_prog_compiler_pic_CXX='-fPIC'
14106 amigaos*)
14107 case $host_cpu in
14108 powerpc)
14109 # see comment about AmigaOS4 .so support
14110 lt_prog_compiler_pic_CXX='-fPIC'
14112 m68k)
14113 # FIXME: we need at least 68020 code to build shared libraries, but
14114 # adding the `-m68020' flag to GCC prevents building anything better,
14115 # like `-m68040'.
14116 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14118 esac
14121 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14122 # PIC is the default for these OSes.
14124 mingw* | cygwin* | os2* | pw32* | cegcc*)
14125 # This hack is so that the source file can tell whether it is being
14126 # built for inclusion in a dll (and should export symbols for example).
14127 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14128 # (--disable-auto-import) libraries
14129 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14131 darwin* | rhapsody*)
14132 # PIC is the default on this platform
14133 # Common symbols not allowed in MH_DYLIB files
14134 lt_prog_compiler_pic_CXX='-fno-common'
14136 *djgpp*)
14137 # DJGPP does not support shared libraries at all
14138 lt_prog_compiler_pic_CXX=
14140 haiku*)
14141 # PIC is the default for Haiku.
14142 # The "-static" flag exists, but is broken.
14143 lt_prog_compiler_static_CXX=
14145 interix[3-9]*)
14146 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14147 # Instead, we relocate shared libraries at runtime.
14149 sysv4*MP*)
14150 if test -d /usr/nec; then
14151 lt_prog_compiler_pic_CXX=-Kconform_pic
14154 hpux*)
14155 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14156 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14157 # sets the default TLS model and affects inlining.
14158 case $host_cpu in
14159 hppa*64*)
14162 lt_prog_compiler_pic_CXX='-fPIC'
14164 esac
14166 *qnx* | *nto*)
14167 # QNX uses GNU C++, but need to define -shared option too, otherwise
14168 # it will coredump.
14169 lt_prog_compiler_pic_CXX='-fPIC -shared'
14172 lt_prog_compiler_pic_CXX='-fPIC'
14174 esac
14175 else
14176 case $host_os in
14177 aix[4-9]*)
14178 # All AIX code is PIC.
14179 if test "$host_cpu" = ia64; then
14180 # AIX 5 now supports IA64 processor
14181 lt_prog_compiler_static_CXX='-Bstatic'
14182 else
14183 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14186 chorus*)
14187 case $cc_basename in
14188 cxch68*)
14189 # Green Hills C++ Compiler
14190 # _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"
14192 esac
14194 dgux*)
14195 case $cc_basename in
14196 ec++*)
14197 lt_prog_compiler_pic_CXX='-KPIC'
14199 ghcx*)
14200 # Green Hills C++ Compiler
14201 lt_prog_compiler_pic_CXX='-pic'
14205 esac
14207 freebsd* | dragonfly*)
14208 # FreeBSD uses GNU C++
14210 hpux9* | hpux10* | hpux11*)
14211 case $cc_basename in
14212 CC*)
14213 lt_prog_compiler_wl_CXX='-Wl,'
14214 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14215 if test "$host_cpu" != ia64; then
14216 lt_prog_compiler_pic_CXX='+Z'
14219 aCC*)
14220 lt_prog_compiler_wl_CXX='-Wl,'
14221 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14222 case $host_cpu in
14223 hppa*64*|ia64*)
14224 # +Z the default
14227 lt_prog_compiler_pic_CXX='+Z'
14229 esac
14233 esac
14235 interix*)
14236 # This is c89, which is MS Visual C++ (no shared libs)
14237 # Anyone wants to do a port?
14239 irix5* | irix6* | nonstopux*)
14240 case $cc_basename in
14241 CC*)
14242 lt_prog_compiler_wl_CXX='-Wl,'
14243 lt_prog_compiler_static_CXX='-non_shared'
14244 # CC pic flag -KPIC is the default.
14248 esac
14250 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14251 case $cc_basename in
14252 KCC*)
14253 # KAI C++ Compiler
14254 lt_prog_compiler_wl_CXX='--backend -Wl,'
14255 lt_prog_compiler_pic_CXX='-fPIC'
14257 ecpc* )
14258 # old Intel C++ for x86_64 which still supported -KPIC.
14259 lt_prog_compiler_wl_CXX='-Wl,'
14260 lt_prog_compiler_pic_CXX='-KPIC'
14261 lt_prog_compiler_static_CXX='-static'
14263 icpc* )
14264 # Intel C++, used to be incompatible with GCC.
14265 # ICC 10 doesn't accept -KPIC any more.
14266 lt_prog_compiler_wl_CXX='-Wl,'
14267 lt_prog_compiler_pic_CXX='-fPIC'
14268 lt_prog_compiler_static_CXX='-static'
14270 pgCC* | pgcpp*)
14271 # Portland Group C++ compiler
14272 lt_prog_compiler_wl_CXX='-Wl,'
14273 lt_prog_compiler_pic_CXX='-fpic'
14274 lt_prog_compiler_static_CXX='-Bstatic'
14276 cxx*)
14277 # Compaq C++
14278 # Make sure the PIC flag is empty. It appears that all Alpha
14279 # Linux and Compaq Tru64 Unix objects are PIC.
14280 lt_prog_compiler_pic_CXX=
14281 lt_prog_compiler_static_CXX='-non_shared'
14283 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14284 # IBM XL 8.0, 9.0 on PPC and BlueGene
14285 lt_prog_compiler_wl_CXX='-Wl,'
14286 lt_prog_compiler_pic_CXX='-qpic'
14287 lt_prog_compiler_static_CXX='-qstaticlink'
14290 case `$CC -V 2>&1 | sed 5q` in
14291 *Sun\ C*)
14292 # Sun C++ 5.9
14293 lt_prog_compiler_pic_CXX='-KPIC'
14294 lt_prog_compiler_static_CXX='-Bstatic'
14295 lt_prog_compiler_wl_CXX='-Qoption ld '
14297 esac
14299 esac
14301 lynxos*)
14303 m88k*)
14305 mvs*)
14306 case $cc_basename in
14307 cxx*)
14308 lt_prog_compiler_pic_CXX='-W c,exportall'
14312 esac
14314 netbsd*)
14316 *qnx* | *nto*)
14317 # QNX uses GNU C++, but need to define -shared option too, otherwise
14318 # it will coredump.
14319 lt_prog_compiler_pic_CXX='-fPIC -shared'
14321 osf3* | osf4* | osf5*)
14322 case $cc_basename in
14323 KCC*)
14324 lt_prog_compiler_wl_CXX='--backend -Wl,'
14326 RCC*)
14327 # Rational C++ 2.4.1
14328 lt_prog_compiler_pic_CXX='-pic'
14330 cxx*)
14331 # Digital/Compaq C++
14332 lt_prog_compiler_wl_CXX='-Wl,'
14333 # Make sure the PIC flag is empty. It appears that all Alpha
14334 # Linux and Compaq Tru64 Unix objects are PIC.
14335 lt_prog_compiler_pic_CXX=
14336 lt_prog_compiler_static_CXX='-non_shared'
14340 esac
14342 psos*)
14344 solaris*)
14345 case $cc_basename in
14346 CC*)
14347 # Sun C++ 4.2, 5.x and Centerline C++
14348 lt_prog_compiler_pic_CXX='-KPIC'
14349 lt_prog_compiler_static_CXX='-Bstatic'
14350 lt_prog_compiler_wl_CXX='-Qoption ld '
14352 gcx*)
14353 # Green Hills C++ Compiler
14354 lt_prog_compiler_pic_CXX='-PIC'
14358 esac
14360 sunos4*)
14361 case $cc_basename in
14362 CC*)
14363 # Sun C++ 4.x
14364 lt_prog_compiler_pic_CXX='-pic'
14365 lt_prog_compiler_static_CXX='-Bstatic'
14367 lcc*)
14368 # Lucid
14369 lt_prog_compiler_pic_CXX='-pic'
14373 esac
14375 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14376 case $cc_basename in
14377 CC*)
14378 lt_prog_compiler_wl_CXX='-Wl,'
14379 lt_prog_compiler_pic_CXX='-KPIC'
14380 lt_prog_compiler_static_CXX='-Bstatic'
14382 esac
14384 tandem*)
14385 case $cc_basename in
14386 NCC*)
14387 # NonStop-UX NCC 3.20
14388 lt_prog_compiler_pic_CXX='-KPIC'
14392 esac
14394 vxworks*)
14397 lt_prog_compiler_can_build_shared_CXX=no
14399 esac
14402 case $host_os in
14403 # For platforms which do not support PIC, -DPIC is meaningless:
14404 *djgpp*)
14405 lt_prog_compiler_pic_CXX=
14408 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14410 esac
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14412 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14417 # Check to make sure the PIC flag actually works.
14419 if test -n "$lt_prog_compiler_pic_CXX"; then
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14421 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14422 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 lt_cv_prog_compiler_pic_works_CXX=no
14426 ac_outfile=conftest.$ac_objext
14427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14428 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14429 # Insert the option either (1) after the last *FLAGS variable, or
14430 # (2) before a word containing "conftest.", or (3) at the end.
14431 # Note that $ac_compile itself does not contain backslashes and begins
14432 # with a dollar sign (not a hyphen), so the echo should work correctly.
14433 # The option is referenced via a variable to avoid confusing sed.
14434 lt_compile=`echo "$ac_compile" | $SED \
14435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14437 -e 's:$: $lt_compiler_flag:'`
14438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14439 (eval "$lt_compile" 2>conftest.err)
14440 ac_status=$?
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 if (exit $ac_status) && test -s "$ac_outfile"; then
14444 # The compiler can only warn and ignore the option if not recognized
14445 # So say no if there are warnings other than the usual output.
14446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14449 lt_cv_prog_compiler_pic_works_CXX=yes
14452 $RM conftest*
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14456 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14458 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14459 case $lt_prog_compiler_pic_CXX in
14460 "" | " "*) ;;
14461 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14462 esac
14463 else
14464 lt_prog_compiler_pic_CXX=
14465 lt_prog_compiler_can_build_shared_CXX=no
14473 # Check to make sure the static flag actually works.
14475 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14477 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14478 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_prog_compiler_static_works_CXX=no
14482 save_LDFLAGS="$LDFLAGS"
14483 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14484 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14485 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14486 # The linker can only warn and ignore the option if not recognized
14487 # So say no if there are warnings
14488 if test -s conftest.err; then
14489 # Append any errors to the config.log.
14490 cat conftest.err 1>&5
14491 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14493 if diff conftest.exp conftest.er2 >/dev/null; then
14494 lt_cv_prog_compiler_static_works_CXX=yes
14496 else
14497 lt_cv_prog_compiler_static_works_CXX=yes
14500 $RM -r conftest*
14501 LDFLAGS="$save_LDFLAGS"
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14505 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14507 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14509 else
14510 lt_prog_compiler_static_CXX=
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14518 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 lt_cv_prog_compiler_c_o_CXX=no
14522 $RM -r conftest 2>/dev/null
14523 mkdir conftest
14524 cd conftest
14525 mkdir out
14526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14528 lt_compiler_flag="-o out/conftest2.$ac_objext"
14529 # Insert the option either (1) after the last *FLAGS variable, or
14530 # (2) before a word containing "conftest.", or (3) at the end.
14531 # Note that $ac_compile itself does not contain backslashes and begins
14532 # with a dollar sign (not a hyphen), so the echo should work correctly.
14533 lt_compile=`echo "$ac_compile" | $SED \
14534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14536 -e 's:$: $lt_compiler_flag:'`
14537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14538 (eval "$lt_compile" 2>out/conftest.err)
14539 ac_status=$?
14540 cat out/conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14543 then
14544 # The compiler can only warn and ignore the option if not recognized
14545 # So say no if there are warnings
14546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14549 lt_cv_prog_compiler_c_o_CXX=yes
14552 chmod u+w . 2>&5
14553 $RM conftest*
14554 # SGI C++ compiler will create directory out/ii_files/ for
14555 # template instantiation
14556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14557 $RM out/* && rmdir out
14558 cd ..
14559 $RM -r conftest
14560 $RM conftest*
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14564 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14569 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14570 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 lt_cv_prog_compiler_c_o_CXX=no
14574 $RM -r conftest 2>/dev/null
14575 mkdir conftest
14576 cd conftest
14577 mkdir out
14578 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14580 lt_compiler_flag="-o out/conftest2.$ac_objext"
14581 # Insert the option either (1) after the last *FLAGS variable, or
14582 # (2) before a word containing "conftest.", or (3) at the end.
14583 # Note that $ac_compile itself does not contain backslashes and begins
14584 # with a dollar sign (not a hyphen), so the echo should work correctly.
14585 lt_compile=`echo "$ac_compile" | $SED \
14586 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14587 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14588 -e 's:$: $lt_compiler_flag:'`
14589 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14590 (eval "$lt_compile" 2>out/conftest.err)
14591 ac_status=$?
14592 cat out/conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14595 then
14596 # The compiler can only warn and ignore the option if not recognized
14597 # So say no if there are warnings
14598 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14599 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14600 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14601 lt_cv_prog_compiler_c_o_CXX=yes
14604 chmod u+w . 2>&5
14605 $RM conftest*
14606 # SGI C++ compiler will create directory out/ii_files/ for
14607 # template instantiation
14608 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14609 $RM out/* && rmdir out
14610 cd ..
14611 $RM -r conftest
14612 $RM conftest*
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14616 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14621 hard_links="nottested"
14622 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14623 # do not overwrite the value of need_locks provided by the user
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14625 $as_echo_n "checking if we can lock with hard links... " >&6; }
14626 hard_links=yes
14627 $RM conftest*
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 touch conftest.a
14630 ln conftest.a conftest.b 2>&5 || hard_links=no
14631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14633 $as_echo "$hard_links" >&6; }
14634 if test "$hard_links" = no; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14636 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14637 need_locks=warn
14639 else
14640 need_locks=no
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14648 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14649 case $host_os in
14650 aix[4-9]*)
14651 # If we're using GNU nm, then we don't want the "-C" option.
14652 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14653 # Also, AIX nm treats weak defined symbols like other global defined
14654 # symbols, whereas GNU nm marks them as "W".
14655 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14656 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'
14657 else
14658 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'
14661 pw32*)
14662 export_symbols_cmds_CXX="$ltdll_cmds"
14664 cygwin* | mingw* | cegcc*)
14665 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'
14668 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14670 esac
14671 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14674 $as_echo "$ld_shlibs_CXX" >&6; }
14675 test "$ld_shlibs_CXX" = no && can_build_shared=no
14677 with_gnu_ld_CXX=$with_gnu_ld
14685 # Do we need to explicitly link libc?
14687 case "x$archive_cmds_need_lc_CXX" in
14688 x|xyes)
14689 # Assume -lc should be added
14690 archive_cmds_need_lc_CXX=yes
14692 if test "$enable_shared" = yes && test "$GCC" = yes; then
14693 case $archive_cmds_CXX in
14694 *'~'*)
14695 # FIXME: we may have to deal with multi-command sequences.
14697 '$CC '*)
14698 # Test whether the compiler implicitly links with -lc since on some
14699 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14700 # to ld, don't add -lc before -lgcc.
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14702 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14703 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 $RM conftest*
14707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14710 (eval $ac_compile) 2>&5
14711 ac_status=$?
14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; } 2>conftest.err; then
14714 soname=conftest
14715 lib=conftest
14716 libobjs=conftest.$ac_objext
14717 deplibs=
14718 wl=$lt_prog_compiler_wl_CXX
14719 pic_flag=$lt_prog_compiler_pic_CXX
14720 compiler_flags=-v
14721 linker_flags=-v
14722 verstring=
14723 output_objdir=.
14724 libname=conftest
14725 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14726 allow_undefined_flag_CXX=
14727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14728 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14729 ac_status=$?
14730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731 test $ac_status = 0; }
14732 then
14733 lt_cv_archive_cmds_need_lc_CXX=no
14734 else
14735 lt_cv_archive_cmds_need_lc_CXX=yes
14737 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14738 else
14739 cat conftest.err 1>&5
14741 $RM conftest*
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14745 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14746 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14748 esac
14751 esac
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14819 library_names_spec=
14820 libname_spec='lib$name'
14821 soname_spec=
14822 shrext_cmds=".so"
14823 postinstall_cmds=
14824 postuninstall_cmds=
14825 finish_cmds=
14826 finish_eval=
14827 shlibpath_var=
14828 shlibpath_overrides_runpath=unknown
14829 version_type=none
14830 dynamic_linker="$host_os ld.so"
14831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14832 need_lib_prefix=unknown
14833 hardcode_into_libs=no
14835 # when you set need_version to no, make sure it does not cause -set_version
14836 # flags to be left without arguments
14837 need_version=unknown
14839 case $host_os in
14840 aix3*)
14841 version_type=linux
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14843 shlibpath_var=LIBPATH
14845 # AIX 3 has no versioning support, so we append a major version to the name.
14846 soname_spec='${libname}${release}${shared_ext}$major'
14849 aix[4-9]*)
14850 version_type=linux
14851 need_lib_prefix=no
14852 need_version=no
14853 hardcode_into_libs=yes
14854 if test "$host_cpu" = ia64; then
14855 # AIX 5 supports IA64
14856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14857 shlibpath_var=LD_LIBRARY_PATH
14858 else
14859 # With GCC up to 2.95.x, collect2 would create an import file
14860 # for dependence libraries. The import file would start with
14861 # the line `#! .'. This would cause the generated library to
14862 # depend on `.', always an invalid library. This was fixed in
14863 # development snapshots of GCC prior to 3.0.
14864 case $host_os in
14865 aix4 | aix4.[01] | aix4.[01].*)
14866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14867 echo ' yes '
14868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14870 else
14871 can_build_shared=no
14874 esac
14875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14876 # soname into executable. Probably we can add versioning support to
14877 # collect2, so additional links can be useful in future.
14878 if test "$aix_use_runtimelinking" = yes; then
14879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14880 # instead of lib<name>.a to let people know that these are not
14881 # typical AIX shared libraries.
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 else
14884 # We preserve .a as extension for shared libraries through AIX4.2
14885 # and later when we are not doing run time linking.
14886 library_names_spec='${libname}${release}.a $libname.a'
14887 soname_spec='${libname}${release}${shared_ext}$major'
14889 shlibpath_var=LIBPATH
14893 amigaos*)
14894 case $host_cpu in
14895 powerpc)
14896 # Since July 2007 AmigaOS4 officially supports .so libraries.
14897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14900 m68k)
14901 library_names_spec='$libname.ixlibrary $libname.a'
14902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14903 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'
14905 esac
14908 beos*)
14909 library_names_spec='${libname}${shared_ext}'
14910 dynamic_linker="$host_os ld.so"
14911 shlibpath_var=LIBRARY_PATH
14914 bsdi[45]*)
14915 version_type=linux
14916 need_version=no
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 soname_spec='${libname}${release}${shared_ext}$major'
14919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14920 shlibpath_var=LD_LIBRARY_PATH
14921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14923 # the default ld.so.conf also contains /usr/contrib/lib and
14924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14925 # libtool to hard-code these into programs
14928 cygwin* | mingw* | pw32* | cegcc*)
14929 version_type=windows
14930 shrext_cmds=".dll"
14931 need_version=no
14932 need_lib_prefix=no
14934 case $GCC,$host_os in
14935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14936 library_names_spec='$libname.dll.a'
14937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14938 postinstall_cmds='base_file=`basename \${file}`~
14939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14940 dldir=$destdir/`dirname \$dlpath`~
14941 test -d \$dldir || mkdir -p \$dldir~
14942 $install_prog $dir/$dlname \$dldir/$dlname~
14943 chmod a+x \$dldir/$dlname~
14944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14948 dlpath=$dir/\$dldll~
14949 $RM \$dlpath'
14950 shlibpath_overrides_runpath=yes
14952 case $host_os in
14953 cygwin*)
14954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14958 mingw* | cegcc*)
14959 # MinGW DLLs use traditional 'lib' prefix
14960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14962 pw32*)
14963 # pw32 DLLs use 'pw' prefix rather than 'lib'
14964 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14966 esac
14970 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14972 esac
14973 dynamic_linker='Win32 ld.exe'
14974 # FIXME: first we should search . and the directory the executable is in
14975 shlibpath_var=PATH
14978 darwin* | rhapsody*)
14979 dynamic_linker="$host_os dyld"
14980 version_type=darwin
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14984 soname_spec='${libname}${release}${major}$shared_ext'
14985 shlibpath_overrides_runpath=yes
14986 shlibpath_var=DYLD_LIBRARY_PATH
14987 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14989 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14992 dgux*)
14993 version_type=linux
14994 need_lib_prefix=no
14995 need_version=no
14996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14997 soname_spec='${libname}${release}${shared_ext}$major'
14998 shlibpath_var=LD_LIBRARY_PATH
15001 freebsd* | dragonfly*)
15002 # DragonFly does not have aout. When/if they implement a new
15003 # versioning mechanism, adjust this.
15004 if test -x /usr/bin/objformat; then
15005 objformat=`/usr/bin/objformat`
15006 else
15007 case $host_os in
15008 freebsd[23].*) objformat=aout ;;
15009 *) objformat=elf ;;
15010 esac
15012 version_type=freebsd-$objformat
15013 case $version_type in
15014 freebsd-elf*)
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15016 need_version=no
15017 need_lib_prefix=no
15019 freebsd-*)
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15021 need_version=yes
15023 esac
15024 shlibpath_var=LD_LIBRARY_PATH
15025 case $host_os in
15026 freebsd2.*)
15027 shlibpath_overrides_runpath=yes
15029 freebsd3.[01]* | freebsdelf3.[01]*)
15030 shlibpath_overrides_runpath=yes
15031 hardcode_into_libs=yes
15033 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15034 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15035 shlibpath_overrides_runpath=no
15036 hardcode_into_libs=yes
15038 *) # from 4.6 on, and DragonFly
15039 shlibpath_overrides_runpath=yes
15040 hardcode_into_libs=yes
15042 esac
15045 haiku*)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
15049 dynamic_linker="$host_os runtime_loader"
15050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15051 soname_spec='${libname}${release}${shared_ext}$major'
15052 shlibpath_var=LIBRARY_PATH
15053 shlibpath_overrides_runpath=yes
15054 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15055 hardcode_into_libs=yes
15058 hpux9* | hpux10* | hpux11*)
15059 # Give a soname corresponding to the major version so that dld.sl refuses to
15060 # link against other versions.
15061 version_type=sunos
15062 need_lib_prefix=no
15063 need_version=no
15064 case $host_cpu in
15065 ia64*)
15066 shrext_cmds='.so'
15067 hardcode_into_libs=yes
15068 dynamic_linker="$host_os dld.so"
15069 shlibpath_var=LD_LIBRARY_PATH
15070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 if test "X$HPUX_IA64_MODE" = X32; then
15074 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15075 else
15076 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15078 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15080 hppa*64*)
15081 shrext_cmds='.sl'
15082 hardcode_into_libs=yes
15083 dynamic_linker="$host_os dld.sl"
15084 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec='${libname}${release}${shared_ext}$major'
15088 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15089 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15092 shrext_cmds='.sl'
15093 dynamic_linker="$host_os dld.sl"
15094 shlibpath_var=SHLIB_PATH
15095 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15097 soname_spec='${libname}${release}${shared_ext}$major'
15099 esac
15100 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15101 postinstall_cmds='chmod 555 $lib'
15102 # or fails outright, so override atomically:
15103 install_override_mode=555
15106 interix[3-9]*)
15107 version_type=linux
15108 need_lib_prefix=no
15109 need_version=no
15110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15111 soname_spec='${libname}${release}${shared_ext}$major'
15112 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15113 shlibpath_var=LD_LIBRARY_PATH
15114 shlibpath_overrides_runpath=no
15115 hardcode_into_libs=yes
15118 irix5* | irix6* | nonstopux*)
15119 case $host_os in
15120 nonstopux*) version_type=nonstopux ;;
15122 if test "$lt_cv_prog_gnu_ld" = yes; then
15123 version_type=linux
15124 else
15125 version_type=irix
15126 fi ;;
15127 esac
15128 need_lib_prefix=no
15129 need_version=no
15130 soname_spec='${libname}${release}${shared_ext}$major'
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15132 case $host_os in
15133 irix5* | nonstopux*)
15134 libsuff= shlibsuff=
15137 case $LD in # libtool.m4 will add one of these switches to LD
15138 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15139 libsuff= shlibsuff= libmagic=32-bit;;
15140 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15141 libsuff=32 shlibsuff=N32 libmagic=N32;;
15142 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15143 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15144 *) libsuff= shlibsuff= libmagic=never-match;;
15145 esac
15147 esac
15148 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15149 shlibpath_overrides_runpath=no
15150 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15151 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15152 hardcode_into_libs=yes
15155 # No shared lib support for Linux oldld, aout, or coff.
15156 linux*oldld* | linux*aout* | linux*coff*)
15157 dynamic_linker=no
15160 # This must be Linux ELF.
15162 # uclinux* changes (here and below) have been submitted to the libtool
15163 # project, but have not yet been accepted: they are GCC-local changes
15164 # for the time being. (See
15165 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15166 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15167 version_type=linux
15168 need_lib_prefix=no
15169 need_version=no
15170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 soname_spec='${libname}${release}${shared_ext}$major'
15172 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15173 shlibpath_var=LD_LIBRARY_PATH
15174 shlibpath_overrides_runpath=no
15176 # Some binutils ld are patched to set DT_RUNPATH
15177 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 lt_cv_shlibpath_overrides_runpath=no
15181 save_LDFLAGS=$LDFLAGS
15182 save_libdir=$libdir
15183 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15184 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15185 if test x$gcc_no_link = xyes; then
15186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15192 main ()
15196 return 0;
15198 _ACEOF
15199 if ac_fn_cxx_try_link "$LINENO"; then :
15200 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15201 lt_cv_shlibpath_overrides_runpath=yes
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LDFLAGS=$save_LDFLAGS
15207 libdir=$save_libdir
15211 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15213 # This implies no fast_install, which is unacceptable.
15214 # Some rework will be needed to allow for fast_install
15215 # before this can be enabled.
15216 hardcode_into_libs=yes
15218 # Append ld.so.conf contents to the search path
15219 if test -f /etc/ld.so.conf; then
15220 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' ' '`
15221 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15224 # We used to test for /lib/ld.so.1 and disable shared libraries on
15225 # powerpc, because MkLinux only supported shared libraries with the
15226 # GNU dynamic linker. Since this was broken with cross compilers,
15227 # most powerpc-linux boxes support dynamic linking these days and
15228 # people can always --disable-shared, the test was removed, and we
15229 # assume the GNU/Linux dynamic linker is in use.
15230 dynamic_linker='GNU/Linux ld.so'
15233 netbsd*)
15234 version_type=sunos
15235 need_lib_prefix=no
15236 need_version=no
15237 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15239 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15240 dynamic_linker='NetBSD (a.out) ld.so'
15241 else
15242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15243 soname_spec='${libname}${release}${shared_ext}$major'
15244 dynamic_linker='NetBSD ld.elf_so'
15246 shlibpath_var=LD_LIBRARY_PATH
15247 shlibpath_overrides_runpath=yes
15248 hardcode_into_libs=yes
15251 newsos6)
15252 version_type=linux
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254 shlibpath_var=LD_LIBRARY_PATH
15255 shlibpath_overrides_runpath=yes
15258 *nto* | *qnx*)
15259 version_type=qnx
15260 need_lib_prefix=no
15261 need_version=no
15262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15263 soname_spec='${libname}${release}${shared_ext}$major'
15264 shlibpath_var=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath=no
15266 hardcode_into_libs=yes
15267 dynamic_linker='ldqnx.so'
15270 openbsd*)
15271 version_type=sunos
15272 sys_lib_dlsearch_path_spec="/usr/lib"
15273 need_lib_prefix=no
15274 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15275 case $host_os in
15276 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15277 *) need_version=no ;;
15278 esac
15279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15280 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15281 shlibpath_var=LD_LIBRARY_PATH
15282 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15283 case $host_os in
15284 openbsd2.[89] | openbsd2.[89].*)
15285 shlibpath_overrides_runpath=no
15288 shlibpath_overrides_runpath=yes
15290 esac
15291 else
15292 shlibpath_overrides_runpath=yes
15296 os2*)
15297 libname_spec='$name'
15298 shrext_cmds=".dll"
15299 need_lib_prefix=no
15300 library_names_spec='$libname${shared_ext} $libname.a'
15301 dynamic_linker='OS/2 ld.exe'
15302 shlibpath_var=LIBPATH
15305 osf3* | osf4* | osf5*)
15306 version_type=osf
15307 need_lib_prefix=no
15308 need_version=no
15309 soname_spec='${libname}${release}${shared_ext}$major'
15310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 shlibpath_var=LD_LIBRARY_PATH
15312 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15313 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15316 rdos*)
15317 dynamic_linker=no
15320 solaris*)
15321 version_type=linux
15322 need_lib_prefix=no
15323 need_version=no
15324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325 soname_spec='${libname}${release}${shared_ext}$major'
15326 shlibpath_var=LD_LIBRARY_PATH
15327 shlibpath_overrides_runpath=yes
15328 hardcode_into_libs=yes
15329 # ldd complains unless libraries are executable
15330 postinstall_cmds='chmod +x $lib'
15333 sunos4*)
15334 version_type=sunos
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15336 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15337 shlibpath_var=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath=yes
15339 if test "$with_gnu_ld" = yes; then
15340 need_lib_prefix=no
15342 need_version=yes
15345 sysv4 | sysv4.3*)
15346 version_type=linux
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15348 soname_spec='${libname}${release}${shared_ext}$major'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 case $host_vendor in
15351 sni)
15352 shlibpath_overrides_runpath=no
15353 need_lib_prefix=no
15354 runpath_var=LD_RUN_PATH
15356 siemens)
15357 need_lib_prefix=no
15359 motorola)
15360 need_lib_prefix=no
15361 need_version=no
15362 shlibpath_overrides_runpath=no
15363 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15365 esac
15368 sysv4*MP*)
15369 if test -d /usr/nec ;then
15370 version_type=linux
15371 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15372 soname_spec='$libname${shared_ext}.$major'
15373 shlibpath_var=LD_LIBRARY_PATH
15377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15378 version_type=freebsd-elf
15379 need_lib_prefix=no
15380 need_version=no
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 shlibpath_var=LD_LIBRARY_PATH
15384 shlibpath_overrides_runpath=yes
15385 hardcode_into_libs=yes
15386 if test "$with_gnu_ld" = yes; then
15387 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15388 else
15389 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15390 case $host_os in
15391 sco3.2v5*)
15392 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15394 esac
15396 sys_lib_dlsearch_path_spec='/usr/lib'
15399 tpf*)
15400 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15401 version_type=linux
15402 need_lib_prefix=no
15403 need_version=no
15404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 shlibpath_var=LD_LIBRARY_PATH
15406 shlibpath_overrides_runpath=no
15407 hardcode_into_libs=yes
15410 uts4*)
15411 version_type=linux
15412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 soname_spec='${libname}${release}${shared_ext}$major'
15414 shlibpath_var=LD_LIBRARY_PATH
15418 dynamic_linker=no
15420 esac
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15422 $as_echo "$dynamic_linker" >&6; }
15423 test "$dynamic_linker" = no && can_build_shared=no
15425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15426 if test "$GCC" = yes; then
15427 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15430 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15431 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15433 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15434 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15475 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15476 hardcode_action_CXX=
15477 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15478 test -n "$runpath_var_CXX" ||
15479 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15481 # We can hardcode non-existent directories.
15482 if test "$hardcode_direct_CXX" != no &&
15483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15484 # have to relink, otherwise we might link with an installed library
15485 # when we should be linking with a yet-to-be-installed one
15486 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15487 test "$hardcode_minus_L_CXX" != no; then
15488 # Linking always hardcodes the temporary library directory.
15489 hardcode_action_CXX=relink
15490 else
15491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15492 hardcode_action_CXX=immediate
15494 else
15495 # We cannot hardcode anything, or else we can only hardcode existing
15496 # directories.
15497 hardcode_action_CXX=unsupported
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15500 $as_echo "$hardcode_action_CXX" >&6; }
15502 if test "$hardcode_action_CXX" = relink ||
15503 test "$inherit_rpath_CXX" = yes; then
15504 # Fast installation is not supported
15505 enable_fast_install=no
15506 elif test "$shlibpath_overrides_runpath" = yes ||
15507 test "$enable_shared" = no; then
15508 # Fast installation is not necessary
15509 enable_fast_install=needless
15518 fi # test -n "$compiler"
15520 CC=$lt_save_CC
15521 LDCXX=$LD
15522 LD=$lt_save_LD
15523 GCC=$lt_save_GCC
15524 with_gnu_ld=$lt_save_with_gnu_ld
15525 lt_cv_path_LDCXX=$lt_cv_path_LD
15526 lt_cv_path_LD=$lt_save_path_LD
15527 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15528 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15529 fi # test "$_lt_caught_CXX_error" != yes
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 ac_config_commands="$ac_config_commands libtool"
15554 # Only expand once:
15560 case $host in
15561 *-cygwin* | *-mingw*)
15562 # 'host' will be top-level target in the case of a target lib,
15563 # we must compare to with_cross_host to decide if this is a native
15564 # or cross-compiler and select where to install dlls appropriately.
15565 if test -n "$with_cross_host" &&
15566 test x"$with_cross_host" != x"no"; then
15567 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15568 else
15569 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15573 lt_host_flags=
15575 esac
15582 if test "$enable_vtable_verify" = yes; then
15583 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15584 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15588 # libtool variables for C++ shared and position-independent compiles.
15590 # Use glibcxx_lt_pic_flag to designate the automake variable
15591 # used to encapsulate the default libtool approach to creating objects
15592 # with position-independent code. Default: -prefer-pic.
15594 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15595 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15597 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15598 # creating position-independent objects. This varies with the target
15599 # hardware and operating system, but is often: -DPIC -fPIC.
15600 if test "$enable_shared" = yes; then
15601 glibcxx_lt_pic_flag="-prefer-pic"
15602 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15603 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15605 else
15606 glibcxx_lt_pic_flag=
15607 glibcxx_compiler_pic_flag=
15608 glibcxx_compiler_shared_flag=
15614 # Override the libtool's pic_flag and pic_mode.
15615 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15616 # NB: this impacts --with-pic and --without-pic.
15617 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15618 pic_mode='default'
15620 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15621 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15623 # Possibly disable most of the library.
15624 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15625 ## than just ignoring the results. Faster /and/ more correct, win win.
15627 # Check whether --enable-hosted-libstdcxx was given.
15628 if test "${enable_hosted_libstdcxx+set}" = set; then :
15629 enableval=$enable_hosted_libstdcxx;
15630 else
15631 case "$host" in
15632 arm*-*-symbianelf*)
15633 enable_hosted_libstdcxx=no
15636 enable_hosted_libstdcxx=yes
15638 esac
15641 freestanding_flags=
15642 if test "$enable_hosted_libstdcxx" = no; then
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15644 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15645 is_hosted=no
15646 hosted_define=0
15647 enable_abi_check=no
15648 enable_libstdcxx_pch=no
15649 if test "x$with_headers" = xno; then
15650 freestanding_flags="-ffreestanding"
15652 else
15653 is_hosted=yes
15654 hosted_define=1
15658 cat >>confdefs.h <<_ACEOF
15659 #define _GLIBCXX_HOSTED $hosted_define
15660 _ACEOF
15662 FREESTANDING_FLAGS="$freestanding_flags"
15666 # Enable descriptive messages to standard output on termination.
15668 # Check whether --enable-libstdcxx-verbose was given.
15669 if test "${enable_libstdcxx_verbose+set}" = set; then :
15670 enableval=$enable_libstdcxx_verbose;
15671 else
15672 enable_libstdcxx_verbose=yes
15675 if test x"$enable_libstdcxx_verbose" = xyes; then
15676 verbose_define=1
15677 else
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15679 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15680 verbose_define=0
15683 cat >>confdefs.h <<_ACEOF
15684 #define _GLIBCXX_VERBOSE $verbose_define
15685 _ACEOF
15689 # Enable compiler support that doesn't require linking.
15691 # Check whether --enable-libstdcxx-pch was given.
15692 if test "${enable_libstdcxx_pch+set}" = set; then :
15693 enableval=$enable_libstdcxx_pch;
15694 case "$enableval" in
15695 yes|no) ;;
15696 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15697 esac
15699 else
15700 enable_libstdcxx_pch=$is_hosted
15704 if test $enable_libstdcxx_pch = yes; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15706 $as_echo_n "checking for compiler with PCH support... " >&6; }
15707 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 ac_save_CXXFLAGS="$CXXFLAGS"
15711 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 echo '#include <math.h>' > conftest.h
15720 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15721 -o conftest.h.gch 1>&5 2>&1 &&
15722 echo '#error "pch failed"' > conftest.h &&
15723 echo '#include "conftest.h"' > conftest.cc &&
15724 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15725 then
15726 glibcxx_cv_prog_CXX_pch=yes
15727 else
15728 glibcxx_cv_prog_CXX_pch=no
15730 rm -f conftest*
15731 CXXFLAGS=$ac_save_CXXFLAGS
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15741 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15742 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15746 $as_echo_n "checking for enabled PCH... " >&6; }
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15748 $as_echo "$enable_libstdcxx_pch" >&6; }
15751 if test $enable_libstdcxx_pch = yes; then
15752 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15753 else
15754 glibcxx_PCHFLAGS=""
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15760 $as_echo_n "checking for thread model used by GCC... " >&6; }
15761 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15763 $as_echo "$target_thread_file" >&6; }
15765 case $target_thread_file in
15766 aix) thread_header=config/rs6000/gthr-aix.h ;;
15767 dce) thread_header=config/pa/gthr-dce.h ;;
15768 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15769 lynx) thread_header=config/gthr-lynx.h ;;
15770 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15771 posix) thread_header=gthr-posix.h ;;
15772 rtems) thread_header=config/gthr-rtems.h ;;
15773 single) thread_header=gthr-single.h ;;
15774 tpf) thread_header=config/s390/gthr-tpf.h ;;
15775 vxworks) thread_header=config/gthr-vxworks.h ;;
15776 win32) thread_header=config/i386/gthr-win32.h ;;
15777 esac
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15789 old_CXXFLAGS="$CXXFLAGS"
15791 # Do link tests if possible, instead asm tests, limited to some platforms
15792 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15793 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15794 atomic_builtins_link_tests=no
15795 if test x$gcc_no_link != xyes; then
15796 # Can do link tests. Limit to some tested platforms
15797 case "$host" in
15798 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15799 atomic_builtins_link_tests=yes
15801 esac
15804 if test x$atomic_builtins_link_tests = xyes; then
15806 # Do link tests.
15808 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15811 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15812 if ${glibcxx_cv_atomic_bool+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15816 if test x$gcc_no_link = xyes; then
15817 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15823 main ()
15825 typedef bool atomic_type;
15826 atomic_type c1;
15827 atomic_type c2;
15828 atomic_type c3(0);
15829 // N.B. __atomic_fetch_add is not supported for bool.
15830 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15831 __ATOMIC_RELAXED);
15832 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15833 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15836 return 0;
15838 _ACEOF
15839 if ac_fn_cxx_try_link "$LINENO"; then :
15840 glibcxx_cv_atomic_bool=yes
15841 else
15842 glibcxx_cv_atomic_bool=no
15844 rm -f core conftest.err conftest.$ac_objext \
15845 conftest$ac_exeext conftest.$ac_ext
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15849 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15852 $as_echo_n "checking for atomic builtins for short... " >&6; }
15853 if ${glibcxx_cv_atomic_short+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15857 if test x$gcc_no_link = xyes; then
15858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15864 main ()
15866 typedef short atomic_type;
15867 atomic_type c1;
15868 atomic_type c2;
15869 atomic_type c3(0);
15870 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15871 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15872 __ATOMIC_RELAXED);
15873 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15874 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15877 return 0;
15879 _ACEOF
15880 if ac_fn_cxx_try_link "$LINENO"; then :
15881 glibcxx_cv_atomic_short=yes
15882 else
15883 glibcxx_cv_atomic_short=no
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15890 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15893 $as_echo_n "checking for atomic builtins for int... " >&6; }
15894 if ${glibcxx_cv_atomic_int+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15898 if test x$gcc_no_link = xyes; then
15899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15905 main ()
15907 typedef int atomic_type;
15908 atomic_type c1;
15909 atomic_type c2;
15910 atomic_type c3(0);
15911 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15912 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15913 __ATOMIC_RELAXED);
15914 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15915 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15918 return 0;
15920 _ACEOF
15921 if ac_fn_cxx_try_link "$LINENO"; then :
15922 glibcxx_cv_atomic_int=yes
15923 else
15924 glibcxx_cv_atomic_int=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15931 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15934 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15935 if ${glibcxx_cv_atomic_long_long+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15939 if test x$gcc_no_link = xyes; then
15940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15946 main ()
15948 typedef long long atomic_type;
15949 atomic_type c1;
15950 atomic_type c2;
15951 atomic_type c3(0);
15952 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15953 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15954 __ATOMIC_RELAXED);
15955 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15956 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15959 return 0;
15961 _ACEOF
15962 if ac_fn_cxx_try_link "$LINENO"; then :
15963 glibcxx_cv_atomic_long_long=yes
15964 else
15965 glibcxx_cv_atomic_long_long=no
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext conftest.$ac_ext
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15972 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15974 else
15976 # Do asm tests.
15978 # Compile unoptimized.
15979 CXXFLAGS='-O0 -S'
15981 # Fake what AC_TRY_COMPILE does.
15983 cat > conftest.$ac_ext << EOF
15984 #line 15984 "configure"
15985 int main()
15987 typedef bool atomic_type;
15988 atomic_type c1;
15989 atomic_type c2;
15990 atomic_type c3(0);
15991 // N.B. __atomic_fetch_add is not supported for bool.
15992 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15993 __ATOMIC_RELAXED);
15994 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15995 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15997 return 0;
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16002 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16004 (eval $ac_compile) 2>&5
16005 ac_status=$?
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; then
16008 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16009 glibcxx_cv_atomic_bool=no
16010 else
16011 glibcxx_cv_atomic_bool=yes
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16015 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16016 rm -f conftest*
16018 cat > conftest.$ac_ext << EOF
16019 #line 16019 "configure"
16020 int main()
16022 typedef short atomic_type;
16023 atomic_type c1;
16024 atomic_type c2;
16025 atomic_type c3(0);
16026 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16027 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16028 __ATOMIC_RELAXED);
16029 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16030 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16032 return 0;
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16037 $as_echo_n "checking for atomic builtins for short... " >&6; }
16038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16039 (eval $ac_compile) 2>&5
16040 ac_status=$?
16041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16042 test $ac_status = 0; }; then
16043 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16044 glibcxx_cv_atomic_short=no
16045 else
16046 glibcxx_cv_atomic_short=yes
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16050 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16051 rm -f conftest*
16053 cat > conftest.$ac_ext << EOF
16054 #line 16054 "configure"
16055 int main()
16057 // NB: _Atomic_word not necessarily int.
16058 typedef int atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16068 return 0;
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16073 $as_echo_n "checking for atomic builtins for int... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_int=no
16081 else
16082 glibcxx_cv_atomic_int=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16086 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 typedef long long atomic_type;
16094 atomic_type c1;
16095 atomic_type c2;
16096 atomic_type c3(0);
16097 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16098 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16099 __ATOMIC_RELAXED);
16100 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16101 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16103 return 0;
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16108 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16110 (eval $ac_compile) 2>&5
16111 ac_status=$?
16112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16113 test $ac_status = 0; }; then
16114 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16115 glibcxx_cv_atomic_long_long=no
16116 else
16117 glibcxx_cv_atomic_long_long=yes
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16121 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16122 rm -f conftest*
16126 CXXFLAGS="$old_CXXFLAGS"
16127 ac_ext=c
16128 ac_cpp='$CPP $CPPFLAGS'
16129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16134 # Set atomicity_dir to builtins if all but the long long test above passes,
16135 # or if the builtins were already chosen (e.g. by configure.host).
16136 if { test "$glibcxx_cv_atomic_bool" = yes \
16137 && test "$glibcxx_cv_atomic_short" = yes \
16138 && test "$glibcxx_cv_atomic_int" = yes; } \
16139 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16141 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16143 atomicity_dir=cpu/generic/atomicity_builtins
16146 # If still generic, set to mutex.
16147 if test $atomicity_dir = "cpu/generic" ; then
16148 atomicity_dir=cpu/generic/atomicity_mutex
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16150 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16151 if test "x$target_thread_file" = xsingle; then
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16153 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16155 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16156 else
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16158 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16160 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16168 # Check whether --with-libstdcxx-lock-policy was given.
16169 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16170 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16171 else
16172 libstdcxx_atomic_lock_policy=auto
16176 case "$libstdcxx_atomic_lock_policy" in
16177 atomic|mutex|auto) ;;
16178 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16179 esac
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16181 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16183 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16185 ac_ext=cpp
16186 ac_cpp='$CXXCPP $CPPFLAGS'
16187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16191 ac_save_CXXFLAGS="$CXXFLAGS"
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16196 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16197 # error "No 2-byte compare-and-swap"
16198 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16199 # error "No 4-byte compare-and-swap"
16200 #endif
16203 main ()
16207 return 0;
16209 _ACEOF
16210 if ac_fn_cxx_try_compile "$LINENO"; then :
16211 libstdcxx_atomic_lock_policy=atomic
16212 else
16213 libstdcxx_atomic_lock_policy=mutex
16215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16216 ac_ext=c
16217 ac_cpp='$CPP $CPPFLAGS'
16218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16222 CXXFLAGS="$ac_save_CXXFLAGS"
16225 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16227 $as_echo "atomic" >&6; }
16229 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16231 else
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16233 $as_echo "mutex" >&6; }
16239 # Fake what AC_TRY_COMPILE does, without linking as this is
16240 # unnecessary for this test.
16242 cat > conftest.$ac_ext << EOF
16243 #line 16243 "configure"
16244 int main()
16246 _Decimal32 d1;
16247 _Decimal64 d2;
16248 _Decimal128 d3;
16249 return 0;
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16254 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16256 (eval $ac_compile) 2>&5
16257 ac_status=$?
16258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16259 test $ac_status = 0; }; then
16261 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16263 enable_dfp=yes
16264 else
16265 enable_dfp=no
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16268 $as_echo "$enable_dfp" >&6; }
16269 rm -f conftest*
16274 ac_ext=cpp
16275 ac_cpp='$CXXCPP $CPPFLAGS'
16276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16281 # Fake what AC_TRY_COMPILE does, without linking as this is
16282 # unnecessary for this test.
16284 cat > conftest.$ac_ext << EOF
16285 #line 16285 "configure"
16286 template<typename T1, typename T2>
16287 struct same
16288 { typedef T2 type; };
16290 template<typename T>
16291 struct same<T, T>;
16293 int main()
16295 typename same<double, __float128>::type f1;
16296 typename same<long double, __float128>::type f2;
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16301 $as_echo_n "checking for __float128... " >&6; }
16302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16303 (eval $ac_compile) 2>&5
16304 ac_status=$?
16305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16306 test $ac_status = 0; }; then
16307 enable_float128=yes
16308 else
16309 enable_float128=no
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16312 $as_echo "$enable_float128" >&6; }
16314 rm -f conftest*
16316 ac_ext=c
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323 if test "$enable_float128" = yes; then
16324 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16327 # Checks for compiler support that doesn't require linking.
16329 # All these tests are for C++; save the language and the compiler flags.
16330 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16331 # found in GLIBCXX_CONFIGURE.
16333 ac_ext=cpp
16334 ac_cpp='$CXXCPP $CPPFLAGS'
16335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16340 ac_save_CXXFLAGS="$CXXFLAGS"
16342 # Check for -ffunction-sections -fdata-sections
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16344 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16345 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16348 int foo; void bar() { };
16350 main ()
16354 return 0;
16356 _ACEOF
16357 if ac_fn_cxx_try_compile "$LINENO"; then :
16358 ac_fdsections=yes
16359 else
16360 ac_fdsections=no
16362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16363 if test "$ac_test_CXXFLAGS" = set; then
16364 CXXFLAGS="$ac_save_CXXFLAGS"
16365 else
16366 # this is the suspicious part
16367 CXXFLAGS=''
16369 if test x"$ac_fdsections" = x"yes"; then
16370 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16373 $as_echo "$ac_fdsections" >&6; }
16375 ac_ext=c
16376 ac_cpp='$CPP $CPPFLAGS'
16377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16384 # Enable all the variable C++ runtime options that don't require linking.
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16387 $as_echo_n "checking for underlying I/O to use... " >&6; }
16388 # Check whether --enable-cstdio was given.
16389 if test "${enable_cstdio+set}" = set; then :
16390 enableval=$enable_cstdio;
16391 case "$enableval" in
16392 stdio|stdio_posix|stdio_pure) ;;
16393 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16394 esac
16396 else
16397 enable_cstdio=stdio
16402 # The only available I/O model is based on stdio, via basic_file_stdio.
16403 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16404 # to get a file descriptor and then uses read(3) and write(3) with it.
16405 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16406 case ${enable_cstdio} in
16407 stdio*)
16408 CSTDIO_H=config/io/c_io_stdio.h
16409 BASIC_FILE_H=config/io/basic_file_stdio.h
16410 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16412 if test "x$enable_cstdio" = "xstdio_pure" ; then
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16414 $as_echo "stdio (without POSIX read/write)" >&6; }
16416 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16418 else
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16420 $as_echo "stdio (with POSIX read/write)" >&6; }
16423 esac
16430 # Check whether --enable-clocale was given.
16431 if test "${enable_clocale+set}" = set; then :
16432 enableval=$enable_clocale;
16433 case "$enableval" in
16434 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16435 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16436 esac
16438 else
16439 enable_clocale=auto
16444 # Deal with gettext issues. Default to not using it (=no) until we detect
16445 # support for it later. Let the user turn it off via --e/d, but let that
16446 # default to on for easier handling.
16447 USE_NLS=no
16448 # Check whether --enable-nls was given.
16449 if test "${enable_nls+set}" = set; then :
16450 enableval=$enable_nls;
16451 else
16452 enable_nls=yes
16456 # Either a known package, or "auto"
16457 if test $enable_clocale = no || test $enable_clocale = yes; then
16458 enable_clocale=auto
16460 enable_clocale_flag=$enable_clocale
16462 # Probe for locale model to use if none specified.
16463 # Default to "generic".
16464 if test $enable_clocale_flag = auto; then
16465 case ${target_os} in
16466 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16467 enable_clocale_flag=gnu
16469 darwin*)
16470 enable_clocale_flag=darwin
16472 vxworks*)
16473 enable_clocale_flag=vxworks
16475 dragonfly* | freebsd*)
16476 enable_clocale_flag=dragonfly
16478 openbsd*)
16479 enable_clocale_flag=newlib
16482 if test x"$with_newlib" = x"yes"; then
16483 enable_clocale_flag=newlib
16484 else
16485 enable_clocale_flag=generic
16488 esac
16491 # Sanity check model, and test for special functionality.
16492 if test $enable_clocale_flag = gnu; then
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16496 #include <features.h>
16497 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16498 _GLIBCXX_ok
16499 #endif
16501 _ACEOF
16502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16503 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16504 enable_clocale_flag=gnu
16505 else
16506 enable_clocale_flag=generic
16508 rm -f conftest*
16511 # Set it to scream when it hurts.
16512 ac_save_CFLAGS="$CFLAGS"
16513 CFLAGS="-Wimplicit-function-declaration -Werror"
16515 # Use strxfrm_l if available.
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16518 #define _GNU_SOURCE 1
16519 #include <string.h>
16520 #include <locale.h>
16522 main ()
16524 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16526 return 0;
16528 _ACEOF
16529 if ac_fn_c_try_compile "$LINENO"; then :
16531 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16536 # Use strerror_l if available.
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #define _GNU_SOURCE 1
16540 #include <string.h>
16541 #include <locale.h>
16543 main ()
16545 __locale_t loc; strerror_l(5, loc);
16547 return 0;
16549 _ACEOF
16550 if ac_fn_c_try_compile "$LINENO"; then :
16552 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16557 CFLAGS="$ac_save_CFLAGS"
16560 # Perhaps use strerror_r if available, and strerror_l isn't.
16561 ac_save_CFLAGS="$CFLAGS"
16562 CFLAGS="-Wimplicit-function-declaration -Werror"
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #define _GNU_SOURCE 1
16566 #include <string.h>
16567 #include <locale.h>
16569 main ()
16571 char s[128]; strerror_r(5, s, 128);
16573 return 0;
16575 _ACEOF
16576 if ac_fn_c_try_compile "$LINENO"; then :
16578 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16582 CFLAGS="$ac_save_CFLAGS"
16584 # Set configure bits for specified locale package
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16586 $as_echo_n "checking for C locale to use... " >&6; }
16587 case ${enable_clocale_flag} in
16588 generic)
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16590 $as_echo "generic" >&6; }
16592 CLOCALE_H=config/locale/generic/c_locale.h
16593 CLOCALE_CC=config/locale/generic/c_locale.cc
16594 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16595 CCOLLATE_CC=config/locale/generic/collate_members.cc
16596 CCTYPE_CC=config/locale/generic/ctype_members.cc
16597 CMESSAGES_H=config/locale/generic/messages_members.h
16598 CMESSAGES_CC=config/locale/generic/messages_members.cc
16599 CMONEY_CC=config/locale/generic/monetary_members.cc
16600 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16601 CTIME_H=config/locale/generic/time_members.h
16602 CTIME_CC=config/locale/generic/time_members.cc
16603 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16605 darwin)
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16607 $as_echo "darwin" >&6; }
16609 CLOCALE_H=config/locale/generic/c_locale.h
16610 CLOCALE_CC=config/locale/generic/c_locale.cc
16611 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16612 CCOLLATE_CC=config/locale/generic/collate_members.cc
16613 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16614 CMESSAGES_H=config/locale/generic/messages_members.h
16615 CMESSAGES_CC=config/locale/generic/messages_members.cc
16616 CMONEY_CC=config/locale/generic/monetary_members.cc
16617 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16618 CTIME_H=config/locale/generic/time_members.h
16619 CTIME_CC=config/locale/generic/time_members.cc
16620 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16622 vxworks)
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16624 $as_echo "vxworks" >&6; }
16626 CLOCALE_H=config/locale/generic/c_locale.h
16627 CLOCALE_CC=config/locale/generic/c_locale.cc
16628 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16629 CCOLLATE_CC=config/locale/generic/collate_members.cc
16630 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16631 CMESSAGES_H=config/locale/generic/messages_members.h
16632 CMESSAGES_CC=config/locale/generic/messages_members.cc
16633 CMONEY_CC=config/locale/generic/monetary_members.cc
16634 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16635 CTIME_H=config/locale/generic/time_members.h
16636 CTIME_CC=config/locale/generic/time_members.cc
16637 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16639 dragonfly)
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16641 $as_echo "dragonfly or freebsd" >&6; }
16643 CLOCALE_H=config/locale/dragonfly/c_locale.h
16644 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16645 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16646 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16647 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16648 CMESSAGES_H=config/locale/generic/messages_members.h
16649 CMESSAGES_CC=config/locale/generic/messages_members.cc
16650 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16651 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16652 CTIME_H=config/locale/dragonfly/time_members.h
16653 CTIME_CC=config/locale/dragonfly/time_members.cc
16654 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16657 gnu)
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16659 $as_echo "gnu" >&6; }
16661 # Declare intention to use gettext, and add support for specific
16662 # languages.
16663 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16664 ALL_LINGUAS="de fr"
16666 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16667 # Extract the first word of "msgfmt", so it can be a program name with args.
16668 set dummy msgfmt; ac_word=$2
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16670 $as_echo_n "checking for $ac_word... " >&6; }
16671 if ${ac_cv_prog_check_msgfmt+:} false; then :
16672 $as_echo_n "(cached) " >&6
16673 else
16674 if test -n "$check_msgfmt"; then
16675 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16676 else
16677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16678 for as_dir in $PATH
16680 IFS=$as_save_IFS
16681 test -z "$as_dir" && as_dir=.
16682 for ac_exec_ext in '' $ac_executable_extensions; do
16683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16684 ac_cv_prog_check_msgfmt="yes"
16685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16686 break 2
16688 done
16689 done
16690 IFS=$as_save_IFS
16692 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16695 check_msgfmt=$ac_cv_prog_check_msgfmt
16696 if test -n "$check_msgfmt"; then
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16698 $as_echo "$check_msgfmt" >&6; }
16699 else
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16701 $as_echo "no" >&6; }
16705 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16706 USE_NLS=yes
16708 # Export the build objects.
16709 for ling in $ALL_LINGUAS; do \
16710 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16711 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16712 done
16716 CLOCALE_H=config/locale/gnu/c_locale.h
16717 CLOCALE_CC=config/locale/gnu/c_locale.cc
16718 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16719 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16720 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16721 CMESSAGES_H=config/locale/gnu/messages_members.h
16722 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16723 CMONEY_CC=config/locale/gnu/monetary_members.cc
16724 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16725 CTIME_H=config/locale/gnu/time_members.h
16726 CTIME_CC=config/locale/gnu/time_members.cc
16727 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16729 ieee_1003.1-2001)
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16731 $as_echo "IEEE 1003.1" >&6; }
16733 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16734 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16735 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16736 CCOLLATE_CC=config/locale/generic/collate_members.cc
16737 CCTYPE_CC=config/locale/generic/ctype_members.cc
16738 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16739 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16740 CMONEY_CC=config/locale/generic/monetary_members.cc
16741 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16742 CTIME_H=config/locale/generic/time_members.h
16743 CTIME_CC=config/locale/generic/time_members.cc
16744 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16746 newlib)
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16748 $as_echo "newlib" >&6; }
16750 CLOCALE_H=config/locale/generic/c_locale.h
16751 CLOCALE_CC=config/locale/generic/c_locale.cc
16752 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16753 CCOLLATE_CC=config/locale/generic/collate_members.cc
16754 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16755 CMESSAGES_H=config/locale/generic/messages_members.h
16756 CMESSAGES_CC=config/locale/generic/messages_members.cc
16757 CMONEY_CC=config/locale/generic/monetary_members.cc
16758 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16759 CTIME_H=config/locale/generic/time_members.h
16760 CTIME_CC=config/locale/generic/time_members.cc
16761 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16763 esac
16765 # This is where the testsuite looks for locale catalogs, using the
16766 # -DLOCALEDIR define during testsuite compilation.
16767 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16770 # A standalone libintl (e.g., GNU libintl) may be in use.
16771 if test $USE_NLS = yes; then
16772 for ac_header in libintl.h
16773 do :
16774 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16775 if test "x$ac_cv_header_libintl_h" = xyes; then :
16776 cat >>confdefs.h <<_ACEOF
16777 #define HAVE_LIBINTL_H 1
16778 _ACEOF
16780 else
16781 USE_NLS=no
16784 done
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16787 $as_echo_n "checking for library containing gettext... " >&6; }
16788 if ${ac_cv_search_gettext+:} false; then :
16789 $as_echo_n "(cached) " >&6
16790 else
16791 ac_func_search_save_LIBS=$LIBS
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16795 /* Override any GCC internal prototype to avoid an error.
16796 Use char because int might match the return type of a GCC
16797 builtin and then its argument prototype would still apply. */
16798 #ifdef __cplusplus
16799 extern "C"
16800 #endif
16801 char gettext ();
16803 main ()
16805 return gettext ();
16807 return 0;
16809 _ACEOF
16810 for ac_lib in '' intl; do
16811 if test -z "$ac_lib"; then
16812 ac_res="none required"
16813 else
16814 ac_res=-l$ac_lib
16815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16817 if test x$gcc_no_link = xyes; then
16818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16820 if ac_fn_c_try_link "$LINENO"; then :
16821 ac_cv_search_gettext=$ac_res
16823 rm -f core conftest.err conftest.$ac_objext \
16824 conftest$ac_exeext
16825 if ${ac_cv_search_gettext+:} false; then :
16826 break
16828 done
16829 if ${ac_cv_search_gettext+:} false; then :
16831 else
16832 ac_cv_search_gettext=no
16834 rm conftest.$ac_ext
16835 LIBS=$ac_func_search_save_LIBS
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16838 $as_echo "$ac_cv_search_gettext" >&6; }
16839 ac_res=$ac_cv_search_gettext
16840 if test "$ac_res" != no; then :
16841 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16843 else
16844 USE_NLS=no
16848 if test $USE_NLS = yes; then
16850 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16870 $as_echo_n "checking for std::allocator base class... " >&6; }
16871 # Check whether --enable-libstdcxx-allocator was given.
16872 if test "${enable_libstdcxx_allocator+set}" = set; then :
16873 enableval=$enable_libstdcxx_allocator;
16874 case "$enableval" in
16875 new|malloc|yes|no|auto) ;;
16876 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16877 esac
16879 else
16880 enable_libstdcxx_allocator=auto
16885 # If they didn't use this option switch, or if they specified --enable
16886 # with no specific model, we'll have to look for one. If they
16887 # specified --disable (???), do likewise.
16888 if test $enable_libstdcxx_allocator = no ||
16889 test $enable_libstdcxx_allocator = yes;
16890 then
16891 enable_libstdcxx_allocator=auto
16894 # Either a known package, or "auto". Auto implies the default choice
16895 # for a particular platform.
16896 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16898 # Probe for host-specific support if no specific model is specified.
16899 # Default to "new".
16900 if test $enable_libstdcxx_allocator_flag = auto; then
16901 case ${target_os} in
16902 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16903 enable_libstdcxx_allocator_flag=new
16906 enable_libstdcxx_allocator_flag=new
16908 esac
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16911 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16914 # Set configure bits for specified locale package
16915 case ${enable_libstdcxx_allocator_flag} in
16916 malloc)
16917 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16918 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16920 new)
16921 ALLOCATOR_H=config/allocator/new_allocator_base.h
16922 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16924 esac
16931 # Check whether --enable-cheaders-obsolete was given.
16932 if test "${enable_cheaders_obsolete+set}" = set; then :
16933 enableval=$enable_cheaders_obsolete;
16934 case "$enableval" in
16935 yes|no) ;;
16936 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16937 esac
16939 else
16940 enable_cheaders_obsolete=no
16944 # Check whether --enable-cheaders was given.
16945 if test "${enable_cheaders+set}" = set; then :
16946 enableval=$enable_cheaders;
16947 case "$enableval" in
16948 c|c_global|c_std) ;;
16949 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16950 esac
16952 else
16953 enable_cheaders=$c_model
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16958 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16959 if test $enable_cheaders = c_std ; then
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16961 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16962 { $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
16963 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16964 if test $enable_cheaders_obsolete != yes ; then
16965 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16969 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16971 # Allow overrides to configure.host here.
16972 if test $enable_cheaders = c_global; then
16973 c_compatibility=yes
16982 # Check whether --enable-long-long was given.
16983 if test "${enable_long_long+set}" = set; then :
16984 enableval=$enable_long_long;
16985 case "$enableval" in
16986 yes|no) ;;
16987 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16988 esac
16990 else
16991 enable_long_long=yes
16995 if test $enable_long_long = yes; then
16997 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17001 $as_echo_n "checking for enabled long long specializations... " >&6; }
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17003 $as_echo "$enable_long_long" >&6; }
17006 # Check whether --enable-wchar_t was given.
17007 if test "${enable_wchar_t+set}" = set; then :
17008 enableval=$enable_wchar_t;
17009 case "$enableval" in
17010 yes|no) ;;
17011 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17012 esac
17014 else
17015 enable_wchar_t=yes
17020 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17021 for ac_header in wchar.h
17022 do :
17023 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17024 if test "x$ac_cv_header_wchar_h" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_WCHAR_H 1
17027 _ACEOF
17028 ac_has_wchar_h=yes
17029 else
17030 ac_has_wchar_h=no
17033 done
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17036 $as_echo_n "checking for mbstate_t... " >&6; }
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <wchar.h>
17041 main ()
17043 mbstate_t teststate;
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_compile "$LINENO"; then :
17049 have_mbstate_t=yes
17050 else
17051 have_mbstate_t=no
17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17055 $as_echo "$have_mbstate_t" >&6; }
17056 if test x"$have_mbstate_t" = xyes; then
17058 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17062 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17063 # ac_has_wchar_h.
17064 for ac_header in wctype.h
17065 do :
17066 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17067 if test "x$ac_cv_header_wctype_h" = xyes; then :
17068 cat >>confdefs.h <<_ACEOF
17069 #define HAVE_WCTYPE_H 1
17070 _ACEOF
17071 ac_has_wctype_h=yes
17072 else
17073 ac_has_wctype_h=no
17076 done
17079 if test x"$enable_wchar_t" = x"yes"; then
17082 ac_ext=cpp
17083 ac_cpp='$CXXCPP $CPPFLAGS'
17084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17089 if test x"$ac_has_wchar_h" = xyes &&
17090 test x"$ac_has_wctype_h" = xyes; then
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #include <wchar.h>
17094 #include <stddef.h>
17095 wint_t i;
17096 long l = WEOF;
17097 long j = WCHAR_MIN;
17098 long k = WCHAR_MAX;
17099 namespace test
17101 using ::btowc;
17102 using ::fgetwc;
17103 using ::fgetws;
17104 using ::fputwc;
17105 using ::fputws;
17106 using ::fwide;
17107 using ::fwprintf;
17108 using ::fwscanf;
17109 using ::getwc;
17110 using ::getwchar;
17111 using ::mbrlen;
17112 using ::mbrtowc;
17113 using ::mbsinit;
17114 using ::mbsrtowcs;
17115 using ::putwc;
17116 using ::putwchar;
17117 using ::swprintf;
17118 using ::swscanf;
17119 using ::ungetwc;
17120 using ::vfwprintf;
17121 using ::vswprintf;
17122 using ::vwprintf;
17123 using ::wcrtomb;
17124 using ::wcscat;
17125 using ::wcschr;
17126 using ::wcscmp;
17127 using ::wcscoll;
17128 using ::wcscpy;
17129 using ::wcscspn;
17130 using ::wcsftime;
17131 using ::wcslen;
17132 using ::wcsncat;
17133 using ::wcsncmp;
17134 using ::wcsncpy;
17135 using ::wcspbrk;
17136 using ::wcsrchr;
17137 using ::wcsrtombs;
17138 using ::wcsspn;
17139 using ::wcsstr;
17140 using ::wcstod;
17141 using ::wcstok;
17142 using ::wcstol;
17143 using ::wcstoul;
17144 using ::wcsxfrm;
17145 using ::wctob;
17146 using ::wmemchr;
17147 using ::wmemcmp;
17148 using ::wmemcpy;
17149 using ::wmemmove;
17150 using ::wmemset;
17151 using ::wprintf;
17152 using ::wscanf;
17156 main ()
17160 return 0;
17162 _ACEOF
17163 if ac_fn_cxx_try_compile "$LINENO"; then :
17165 else
17166 enable_wchar_t=no
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 else
17170 enable_wchar_t=no
17173 ac_ext=c
17174 ac_cpp='$CPP $CPPFLAGS'
17175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17181 if test x"$enable_wchar_t" = x"yes"; then
17183 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17188 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17190 $as_echo "$enable_wchar_t" >&6; }
17194 # Check whether --enable-c99 was given.
17195 if test "${enable_c99+set}" = set; then :
17196 enableval=$enable_c99;
17197 case "$enableval" in
17198 yes|no) ;;
17199 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17200 esac
17202 else
17203 enable_c99=yes
17208 if test x"$enable_c99" = x"yes"; then
17210 ac_ext=cpp
17211 ac_cpp='$CXXCPP $CPPFLAGS'
17212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17217 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17218 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17219 # to be spuriously enabled.
17220 ac_save_CXXFLAGS="$CXXFLAGS"
17221 CXXFLAGS="$CXXFLAGS -std=c++98"
17222 ac_save_LIBS="$LIBS"
17223 ac_save_gcc_no_link="$gcc_no_link"
17225 if test x$gcc_no_link != xyes; then
17226 # Use -fno-exceptions to that the C driver can link these tests without
17227 # hitting undefined references to personality routines.
17228 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17230 $as_echo_n "checking for sin in -lm... " >&6; }
17231 if ${ac_cv_lib_m_sin+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 ac_check_lib_save_LIBS=$LIBS
17235 LIBS="-lm $LIBS"
17236 if test x$gcc_no_link = xyes; then
17237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17242 /* Override any GCC internal prototype to avoid an error.
17243 Use char because int might match the return type of a GCC
17244 builtin and then its argument prototype would still apply. */
17245 #ifdef __cplusplus
17246 extern "C"
17247 #endif
17248 char sin ();
17250 main ()
17252 return sin ();
17254 return 0;
17256 _ACEOF
17257 if ac_fn_cxx_try_link "$LINENO"; then :
17258 ac_cv_lib_m_sin=yes
17259 else
17260 ac_cv_lib_m_sin=no
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 LIBS=$ac_check_lib_save_LIBS
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17267 $as_echo "$ac_cv_lib_m_sin" >&6; }
17268 if test "x$ac_cv_lib_m_sin" = xyes; then :
17269 LIBS="$LIBS -lm"
17270 else
17272 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17273 gcc_no_link=yes
17279 # Check for the existence of <math.h> functions used if C99 is enabled.
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17281 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17282 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17286 if test x$gcc_no_link = xyes; then
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 #include <math.h>
17290 volatile double d1, d2;
17291 volatile int i;
17293 main ()
17295 i = fpclassify(d1);
17296 i = isfinite(d1);
17297 i = isinf(d1);
17298 i = isnan(d1);
17299 i = isnormal(d1);
17300 i = signbit(d1);
17301 i = isgreater(d1, d2);
17302 i = isgreaterequal(d1, d2);
17303 i = isless(d1, d2);
17304 i = islessequal(d1, d2);
17305 i = islessgreater(d1, d2);
17306 i = islessgreater(d1, d2);
17307 i = isunordered(d1, d2);
17310 return 0;
17312 _ACEOF
17313 if ac_fn_cxx_try_compile "$LINENO"; then :
17314 glibcxx_cv_c99_math_cxx98=yes
17315 else
17316 glibcxx_cv_c99_math_cxx98=no
17318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17319 else
17320 if test x$gcc_no_link = xyes; then
17321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 #include <math.h>
17326 volatile double d1, d2;
17327 volatile int i;
17329 main ()
17331 i = fpclassify(d1);
17332 i = isfinite(d1);
17333 i = isinf(d1);
17334 i = isnan(d1);
17335 i = isnormal(d1);
17336 i = signbit(d1);
17337 i = isgreater(d1, d2);
17338 i = isgreaterequal(d1, d2);
17339 i = isless(d1, d2);
17340 i = islessequal(d1, d2);
17341 i = islessgreater(d1, d2);
17342 i = islessgreater(d1, d2);
17343 i = isunordered(d1, d2);
17346 return 0;
17348 _ACEOF
17349 if ac_fn_cxx_try_link "$LINENO"; then :
17350 glibcxx_cv_c99_math_cxx98=yes
17351 else
17352 glibcxx_cv_c99_math_cxx98=no
17354 rm -f core conftest.err conftest.$ac_objext \
17355 conftest$ac_exeext conftest.$ac_ext
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17360 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17361 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17363 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17367 # Check for the existence of <complex.h> complex math functions.
17368 # This is necessary even though libstdc++ uses the builtin versions
17369 # of these functions, because if the builtin cannot be used, a reference
17370 # to the library function is emitted.
17371 for ac_header in tgmath.h
17372 do :
17373 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17374 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17375 cat >>confdefs.h <<_ACEOF
17376 #define HAVE_TGMATH_H 1
17377 _ACEOF
17378 ac_has_tgmath_h=yes
17379 else
17380 ac_has_tgmath_h=no
17383 done
17385 for ac_header in complex.h
17386 do :
17387 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17388 if test "x$ac_cv_header_complex_h" = xyes; then :
17389 cat >>confdefs.h <<_ACEOF
17390 #define HAVE_COMPLEX_H 1
17391 _ACEOF
17392 ac_has_complex_h=yes
17393 else
17394 ac_has_complex_h=no
17397 done
17399 if test x"$ac_has_complex_h" = x"yes"; then
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17401 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17402 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17406 if test x$gcc_no_link = xyes; then
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <complex.h>
17410 typedef __complex__ float float_type;
17411 typedef __complex__ double double_type;
17412 typedef __complex__ long double ld_type;
17413 volatile float_type tmpf;
17414 volatile double_type tmpd;
17415 volatile ld_type tmpld;
17416 volatile float f;
17417 volatile double d;
17418 volatile long double ld;
17420 main ()
17422 f = cabsf(tmpf);
17423 f = cargf(tmpf);
17424 tmpf = ccosf(tmpf);
17425 tmpf = ccoshf(tmpf);
17426 tmpf = cexpf(tmpf);
17427 tmpf = clogf(tmpf);
17428 tmpf = csinf(tmpf);
17429 tmpf = csinhf(tmpf);
17430 tmpf = csqrtf(tmpf);
17431 tmpf = ctanf(tmpf);
17432 tmpf = ctanhf(tmpf);
17433 tmpf = cpowf(tmpf, tmpf);
17434 tmpf = cprojf(tmpf);
17435 d = cabs(tmpd);
17436 d = carg(tmpd);
17437 tmpd = ccos(tmpd);
17438 tmpd = ccosh(tmpd);
17439 tmpd = cexp(tmpd);
17440 tmpd = clog(tmpd);
17441 tmpd = csin(tmpd);
17442 tmpd = csinh(tmpd);
17443 tmpd = csqrt(tmpd);
17444 tmpd = ctan(tmpd);
17445 tmpd = ctanh(tmpd);
17446 tmpd = cpow(tmpd, tmpd);
17447 tmpd = cproj(tmpd);
17448 ld = cabsl(tmpld);
17449 ld = cargl(tmpld);
17450 tmpld = ccosl(tmpld);
17451 tmpld = ccoshl(tmpld);
17452 tmpld = cexpl(tmpld);
17453 tmpld = clogl(tmpld);
17454 tmpld = csinl(tmpld);
17455 tmpld = csinhl(tmpld);
17456 tmpld = csqrtl(tmpld);
17457 tmpld = ctanl(tmpld);
17458 tmpld = ctanhl(tmpld);
17459 tmpld = cpowl(tmpld, tmpld);
17460 tmpld = cprojl(tmpld);
17463 return 0;
17465 _ACEOF
17466 if ac_fn_cxx_try_compile "$LINENO"; then :
17467 glibcxx_cv_c99_complex_cxx98=yes
17468 else
17469 glibcxx_cv_c99_complex_cxx98=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 else
17473 if test x$gcc_no_link = xyes; then
17474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #include <complex.h>
17479 typedef __complex__ float float_type;
17480 typedef __complex__ double double_type;
17481 typedef __complex__ long double ld_type;
17482 volatile float_type tmpf;
17483 volatile double_type tmpd;
17484 volatile ld_type tmpld;
17485 volatile float f;
17486 volatile double d;
17487 volatile long double ld;
17489 main ()
17491 f = cabsf(tmpf);
17492 f = cargf(tmpf);
17493 tmpf = ccosf(tmpf);
17494 tmpf = ccoshf(tmpf);
17495 tmpf = cexpf(tmpf);
17496 tmpf = clogf(tmpf);
17497 tmpf = csinf(tmpf);
17498 tmpf = csinhf(tmpf);
17499 tmpf = csqrtf(tmpf);
17500 tmpf = ctanf(tmpf);
17501 tmpf = ctanhf(tmpf);
17502 tmpf = cpowf(tmpf, tmpf);
17503 tmpf = cprojf(tmpf);
17504 d = cabs(tmpd);
17505 d = carg(tmpd);
17506 tmpd = ccos(tmpd);
17507 tmpd = ccosh(tmpd);
17508 tmpd = cexp(tmpd);
17509 tmpd = clog(tmpd);
17510 tmpd = csin(tmpd);
17511 tmpd = csinh(tmpd);
17512 tmpd = csqrt(tmpd);
17513 tmpd = ctan(tmpd);
17514 tmpd = ctanh(tmpd);
17515 tmpd = cpow(tmpd, tmpd);
17516 tmpd = cproj(tmpd);
17517 ld = cabsl(tmpld);
17518 ld = cargl(tmpld);
17519 tmpld = ccosl(tmpld);
17520 tmpld = ccoshl(tmpld);
17521 tmpld = cexpl(tmpld);
17522 tmpld = clogl(tmpld);
17523 tmpld = csinl(tmpld);
17524 tmpld = csinhl(tmpld);
17525 tmpld = csqrtl(tmpld);
17526 tmpld = ctanl(tmpld);
17527 tmpld = ctanhl(tmpld);
17528 tmpld = cpowl(tmpld, tmpld);
17529 tmpld = cprojl(tmpld);
17532 return 0;
17534 _ACEOF
17535 if ac_fn_cxx_try_link "$LINENO"; then :
17536 glibcxx_cv_c99_complex_cxx98=yes
17537 else
17538 glibcxx_cv_c99_complex_cxx98=no
17540 rm -f core conftest.err conftest.$ac_objext \
17541 conftest$ac_exeext conftest.$ac_ext
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17546 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17548 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17550 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17554 # Check for the existence in <stdio.h> of vscanf, et. al.
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17556 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17557 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17561 if test x$gcc_no_link = xyes; then
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <stdio.h>
17565 #include <stdarg.h>
17566 void foo(char* fmt, ...)
17568 va_list args; va_start(args, fmt);
17569 vfscanf(stderr, "%i", args);
17570 vscanf("%i", args);
17571 vsnprintf(fmt, 0, "%i", args);
17572 vsscanf(fmt, "%i", args);
17573 snprintf(fmt, 0, "%i");
17576 main ()
17580 return 0;
17582 _ACEOF
17583 if ac_fn_cxx_try_compile "$LINENO"; then :
17584 glibcxx_cv_c99_stdio_cxx98=yes
17585 else
17586 glibcxx_cv_c99_stdio_cxx98=no
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 else
17590 if test x$gcc_no_link = xyes; then
17591 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #include <stdio.h>
17596 #include <stdarg.h>
17597 void foo(char* fmt, ...)
17599 va_list args; va_start(args, fmt);
17600 vfscanf(stderr, "%i", args);
17601 vscanf("%i", args);
17602 vsnprintf(fmt, 0, "%i", args);
17603 vsscanf(fmt, "%i", args);
17604 snprintf(fmt, 0, "%i");
17607 main ()
17611 return 0;
17613 _ACEOF
17614 if ac_fn_cxx_try_link "$LINENO"; then :
17615 glibcxx_cv_c99_stdio_cxx98=yes
17616 else
17617 glibcxx_cv_c99_stdio_cxx98=no
17619 rm -f core conftest.err conftest.$ac_objext \
17620 conftest$ac_exeext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17625 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17626 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17628 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17632 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17634 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17635 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17639 if test x$gcc_no_link = xyes; then
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #include <stdlib.h>
17643 volatile float f;
17644 volatile long double ld;
17645 volatile unsigned long long ll;
17646 lldiv_t mydivt;
17648 main ()
17650 char* tmp;
17651 f = strtof("gnu", &tmp);
17652 ld = strtold("gnu", &tmp);
17653 ll = strtoll("gnu", &tmp, 10);
17654 ll = strtoull("gnu", &tmp, 10);
17655 ll = llabs(10);
17656 mydivt = lldiv(10,1);
17657 ll = mydivt.quot;
17658 ll = mydivt.rem;
17659 ll = atoll("10");
17660 _Exit(0);
17663 return 0;
17665 _ACEOF
17666 if ac_fn_cxx_try_compile "$LINENO"; then :
17667 glibcxx_cv_c99_stdlib_cxx98=yes
17668 else
17669 glibcxx_cv_c99_stdlib_cxx98=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 else
17673 if test x$gcc_no_link = xyes; then
17674 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678 #include <stdlib.h>
17679 volatile float f;
17680 volatile long double ld;
17681 volatile unsigned long long ll;
17682 lldiv_t mydivt;
17684 main ()
17686 char* tmp;
17687 f = strtof("gnu", &tmp);
17688 ld = strtold("gnu", &tmp);
17689 ll = strtoll("gnu", &tmp, 10);
17690 ll = strtoull("gnu", &tmp, 10);
17691 ll = llabs(10);
17692 mydivt = lldiv(10,1);
17693 ll = mydivt.quot;
17694 ll = mydivt.rem;
17695 ll = atoll("10");
17696 _Exit(0);
17699 return 0;
17701 _ACEOF
17702 if ac_fn_cxx_try_link "$LINENO"; then :
17703 glibcxx_cv_c99_stdlib_cxx98=yes
17704 else
17705 glibcxx_cv_c99_stdlib_cxx98=no
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17713 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17714 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17716 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17720 # Check for the existence in <wchar.h> of wcstold, etc.
17721 if test x"$ac_has_wchar_h" = xyes &&
17722 test x"$ac_has_wctype_h" = xyes; then
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17724 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17725 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <wchar.h>
17732 namespace test
17734 using ::wcstold;
17735 using ::wcstoll;
17736 using ::wcstoull;
17740 main ()
17744 return 0;
17746 _ACEOF
17747 if ac_fn_cxx_try_compile "$LINENO"; then :
17748 glibcxx_cv_c99_wchar_cxx98=yes
17749 else
17750 glibcxx_cv_c99_wchar_cxx98=no
17752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17756 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17758 # Checks for wide character functions that may not be present.
17759 # Injection of these is wrapped with guard macros.
17760 # NB: only put functions here, instead of immediately above, if
17761 # absolutely necessary.
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <wchar.h>
17765 namespace test { using ::vfwscanf; }
17767 main ()
17771 return 0;
17773 _ACEOF
17774 if ac_fn_cxx_try_compile "$LINENO"; then :
17776 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17783 #include <wchar.h>
17784 namespace test { using ::vswscanf; }
17786 main ()
17790 return 0;
17792 _ACEOF
17793 if ac_fn_cxx_try_compile "$LINENO"; then :
17795 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 #include <wchar.h>
17803 namespace test { using ::vwscanf; }
17805 main ()
17809 return 0;
17811 _ACEOF
17812 if ac_fn_cxx_try_compile "$LINENO"; then :
17814 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 #include <wchar.h>
17822 namespace test { using ::wcstof; }
17824 main ()
17828 return 0;
17830 _ACEOF
17831 if ac_fn_cxx_try_compile "$LINENO"; then :
17833 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17840 #include <wctype.h>
17842 main ()
17844 wint_t t; int i = iswblank(t);
17846 return 0;
17848 _ACEOF
17849 if ac_fn_cxx_try_compile "$LINENO"; then :
17851 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17858 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17863 # Option parsed, now set things appropriately.
17864 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17865 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17866 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17867 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17868 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17869 enable_c99=no;
17870 else
17872 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17876 gcc_no_link="$ac_save_gcc_no_link"
17877 LIBS="$ac_save_LIBS"
17878 CXXFLAGS="$ac_save_CXXFLAGS"
17879 ac_ext=c
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887 ac_ext=cpp
17888 ac_cpp='$CXXCPP $CPPFLAGS'
17889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17894 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17895 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17896 ac_save_CXXFLAGS="$CXXFLAGS"
17897 CXXFLAGS="$CXXFLAGS -std=c++11"
17898 ac_save_LIBS="$LIBS"
17899 ac_save_gcc_no_link="$gcc_no_link"
17901 if test x$gcc_no_link != xyes; then
17902 # Use -fno-exceptions to that the C driver can link these tests without
17903 # hitting undefined references to personality routines.
17904 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17906 $as_echo_n "checking for sin in -lm... " >&6; }
17907 if ${ac_cv_lib_m_sin+:} false; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17910 ac_check_lib_save_LIBS=$LIBS
17911 LIBS="-lm $LIBS"
17912 if test x$gcc_no_link = xyes; then
17913 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17918 /* Override any GCC internal prototype to avoid an error.
17919 Use char because int might match the return type of a GCC
17920 builtin and then its argument prototype would still apply. */
17921 #ifdef __cplusplus
17922 extern "C"
17923 #endif
17924 char sin ();
17926 main ()
17928 return sin ();
17930 return 0;
17932 _ACEOF
17933 if ac_fn_cxx_try_link "$LINENO"; then :
17934 ac_cv_lib_m_sin=yes
17935 else
17936 ac_cv_lib_m_sin=no
17938 rm -f core conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17943 $as_echo "$ac_cv_lib_m_sin" >&6; }
17944 if test "x$ac_cv_lib_m_sin" = xyes; then :
17945 LIBS="$LIBS -lm"
17946 else
17948 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17949 gcc_no_link=yes
17955 # Check for the existence of <math.h> functions used if C99 is enabled.
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17957 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17958 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17962 if test x$gcc_no_link = xyes; then
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17965 #include <math.h>
17966 volatile double d1, d2;
17967 volatile int i;
17969 main ()
17971 i = fpclassify(d1);
17972 i = isfinite(d1);
17973 i = isinf(d1);
17974 i = isnan(d1);
17975 i = isnormal(d1);
17976 i = signbit(d1);
17977 i = isgreater(d1, d2);
17978 i = isgreaterequal(d1, d2);
17979 i = isless(d1, d2);
17980 i = islessequal(d1, d2);
17981 i = islessgreater(d1, d2);
17982 i = islessgreater(d1, d2);
17983 i = isunordered(d1, d2);
17986 return 0;
17988 _ACEOF
17989 if ac_fn_cxx_try_compile "$LINENO"; then :
17990 glibcxx_cv_c99_math_cxx11=yes
17991 else
17992 glibcxx_cv_c99_math_cxx11=no
17994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 else
17996 if test x$gcc_no_link = xyes; then
17997 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18001 #include <math.h>
18002 volatile double d1, d2;
18003 volatile int i;
18005 main ()
18007 i = fpclassify(d1);
18008 i = isfinite(d1);
18009 i = isinf(d1);
18010 i = isnan(d1);
18011 i = isnormal(d1);
18012 i = signbit(d1);
18013 i = isgreater(d1, d2);
18014 i = isgreaterequal(d1, d2);
18015 i = isless(d1, d2);
18016 i = islessequal(d1, d2);
18017 i = islessgreater(d1, d2);
18018 i = islessgreater(d1, d2);
18019 i = isunordered(d1, d2);
18022 return 0;
18024 _ACEOF
18025 if ac_fn_cxx_try_link "$LINENO"; then :
18026 glibcxx_cv_c99_math_cxx11=yes
18027 else
18028 glibcxx_cv_c99_math_cxx11=no
18030 rm -f core conftest.err conftest.$ac_objext \
18031 conftest$ac_exeext conftest.$ac_ext
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18036 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18037 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18039 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18043 # Check for the existence of <complex.h> complex math functions.
18044 # This is necessary even though libstdc++ uses the builtin versions
18045 # of these functions, because if the builtin cannot be used, a reference
18046 # to the library function is emitted.
18047 for ac_header in tgmath.h
18048 do :
18049 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18050 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18051 cat >>confdefs.h <<_ACEOF
18052 #define HAVE_TGMATH_H 1
18053 _ACEOF
18054 ac_has_tgmath_h=yes
18055 else
18056 ac_has_tgmath_h=no
18059 done
18061 for ac_header in complex.h
18062 do :
18063 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18064 if test "x$ac_cv_header_complex_h" = xyes; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_COMPLEX_H 1
18067 _ACEOF
18068 ac_has_complex_h=yes
18069 else
18070 ac_has_complex_h=no
18073 done
18075 if test x"$ac_has_complex_h" = x"yes"; then
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18077 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18078 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 if test x$gcc_no_link = xyes; then
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h. */
18085 #include <complex.h>
18086 typedef __complex__ float float_type;
18087 typedef __complex__ double double_type;
18088 typedef __complex__ long double ld_type;
18089 volatile float_type tmpf;
18090 volatile double_type tmpd;
18091 volatile ld_type tmpld;
18092 volatile float f;
18093 volatile double d;
18094 volatile long double ld;
18096 main ()
18098 f = cabsf(tmpf);
18099 f = cargf(tmpf);
18100 tmpf = ccosf(tmpf);
18101 tmpf = ccoshf(tmpf);
18102 tmpf = cexpf(tmpf);
18103 tmpf = clogf(tmpf);
18104 tmpf = csinf(tmpf);
18105 tmpf = csinhf(tmpf);
18106 tmpf = csqrtf(tmpf);
18107 tmpf = ctanf(tmpf);
18108 tmpf = ctanhf(tmpf);
18109 tmpf = cpowf(tmpf, tmpf);
18110 tmpf = cprojf(tmpf);
18111 d = cabs(tmpd);
18112 d = carg(tmpd);
18113 tmpd = ccos(tmpd);
18114 tmpd = ccosh(tmpd);
18115 tmpd = cexp(tmpd);
18116 tmpd = clog(tmpd);
18117 tmpd = csin(tmpd);
18118 tmpd = csinh(tmpd);
18119 tmpd = csqrt(tmpd);
18120 tmpd = ctan(tmpd);
18121 tmpd = ctanh(tmpd);
18122 tmpd = cpow(tmpd, tmpd);
18123 tmpd = cproj(tmpd);
18124 ld = cabsl(tmpld);
18125 ld = cargl(tmpld);
18126 tmpld = ccosl(tmpld);
18127 tmpld = ccoshl(tmpld);
18128 tmpld = cexpl(tmpld);
18129 tmpld = clogl(tmpld);
18130 tmpld = csinl(tmpld);
18131 tmpld = csinhl(tmpld);
18132 tmpld = csqrtl(tmpld);
18133 tmpld = ctanl(tmpld);
18134 tmpld = ctanhl(tmpld);
18135 tmpld = cpowl(tmpld, tmpld);
18136 tmpld = cprojl(tmpld);
18139 return 0;
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_c99_complex_cxx11=yes
18144 else
18145 glibcxx_cv_c99_complex_cxx11=no
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148 else
18149 if test x$gcc_no_link = xyes; then
18150 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18154 #include <complex.h>
18155 typedef __complex__ float float_type;
18156 typedef __complex__ double double_type;
18157 typedef __complex__ long double ld_type;
18158 volatile float_type tmpf;
18159 volatile double_type tmpd;
18160 volatile ld_type tmpld;
18161 volatile float f;
18162 volatile double d;
18163 volatile long double ld;
18165 main ()
18167 f = cabsf(tmpf);
18168 f = cargf(tmpf);
18169 tmpf = ccosf(tmpf);
18170 tmpf = ccoshf(tmpf);
18171 tmpf = cexpf(tmpf);
18172 tmpf = clogf(tmpf);
18173 tmpf = csinf(tmpf);
18174 tmpf = csinhf(tmpf);
18175 tmpf = csqrtf(tmpf);
18176 tmpf = ctanf(tmpf);
18177 tmpf = ctanhf(tmpf);
18178 tmpf = cpowf(tmpf, tmpf);
18179 tmpf = cprojf(tmpf);
18180 d = cabs(tmpd);
18181 d = carg(tmpd);
18182 tmpd = ccos(tmpd);
18183 tmpd = ccosh(tmpd);
18184 tmpd = cexp(tmpd);
18185 tmpd = clog(tmpd);
18186 tmpd = csin(tmpd);
18187 tmpd = csinh(tmpd);
18188 tmpd = csqrt(tmpd);
18189 tmpd = ctan(tmpd);
18190 tmpd = ctanh(tmpd);
18191 tmpd = cpow(tmpd, tmpd);
18192 tmpd = cproj(tmpd);
18193 ld = cabsl(tmpld);
18194 ld = cargl(tmpld);
18195 tmpld = ccosl(tmpld);
18196 tmpld = ccoshl(tmpld);
18197 tmpld = cexpl(tmpld);
18198 tmpld = clogl(tmpld);
18199 tmpld = csinl(tmpld);
18200 tmpld = csinhl(tmpld);
18201 tmpld = csqrtl(tmpld);
18202 tmpld = ctanl(tmpld);
18203 tmpld = ctanhl(tmpld);
18204 tmpld = cpowl(tmpld, tmpld);
18205 tmpld = cprojl(tmpld);
18208 return 0;
18210 _ACEOF
18211 if ac_fn_cxx_try_link "$LINENO"; then :
18212 glibcxx_cv_c99_complex_cxx11=yes
18213 else
18214 glibcxx_cv_c99_complex_cxx11=no
18216 rm -f core conftest.err conftest.$ac_objext \
18217 conftest$ac_exeext conftest.$ac_ext
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18222 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18224 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18226 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18230 # Check for the existence in <stdio.h> of vscanf, et. al.
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18232 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18233 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18234 $as_echo_n "(cached) " >&6
18235 else
18237 if test x$gcc_no_link = xyes; then
18238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18239 /* end confdefs.h. */
18240 #include <stdio.h>
18241 #include <stdarg.h>
18242 void foo(char* fmt, ...)
18244 va_list args; va_start(args, fmt);
18245 vfscanf(stderr, "%i", args);
18246 vscanf("%i", args);
18247 vsnprintf(fmt, 0, "%i", args);
18248 vsscanf(fmt, "%i", args);
18249 snprintf(fmt, 0, "%i");
18252 main ()
18256 return 0;
18258 _ACEOF
18259 if ac_fn_cxx_try_compile "$LINENO"; then :
18260 glibcxx_cv_c99_stdio_cxx11=yes
18261 else
18262 glibcxx_cv_c99_stdio_cxx11=no
18264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18265 else
18266 if test x$gcc_no_link = xyes; then
18267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18271 #include <stdio.h>
18272 #include <stdarg.h>
18273 void foo(char* fmt, ...)
18275 va_list args; va_start(args, fmt);
18276 vfscanf(stderr, "%i", args);
18277 vscanf("%i", args);
18278 vsnprintf(fmt, 0, "%i", args);
18279 vsscanf(fmt, "%i", args);
18280 snprintf(fmt, 0, "%i");
18283 main ()
18287 return 0;
18289 _ACEOF
18290 if ac_fn_cxx_try_link "$LINENO"; then :
18291 glibcxx_cv_c99_stdio_cxx11=yes
18292 else
18293 glibcxx_cv_c99_stdio_cxx11=no
18295 rm -f core conftest.err conftest.$ac_objext \
18296 conftest$ac_exeext conftest.$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18301 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18302 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18304 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18308 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18310 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18311 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18315 if test x$gcc_no_link = xyes; then
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 #include <stdlib.h>
18319 volatile float f;
18320 volatile long double ld;
18321 volatile unsigned long long ll;
18322 lldiv_t mydivt;
18324 main ()
18326 char* tmp;
18327 f = strtof("gnu", &tmp);
18328 ld = strtold("gnu", &tmp);
18329 ll = strtoll("gnu", &tmp, 10);
18330 ll = strtoull("gnu", &tmp, 10);
18331 ll = llabs(10);
18332 mydivt = lldiv(10,1);
18333 ll = mydivt.quot;
18334 ll = mydivt.rem;
18335 ll = atoll("10");
18336 _Exit(0);
18339 return 0;
18341 _ACEOF
18342 if ac_fn_cxx_try_compile "$LINENO"; then :
18343 glibcxx_cv_c99_stdlib_cxx11=yes
18344 else
18345 glibcxx_cv_c99_stdlib_cxx11=no
18347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 else
18349 if test x$gcc_no_link = xyes; then
18350 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18354 #include <stdlib.h>
18355 volatile float f;
18356 volatile long double ld;
18357 volatile unsigned long long ll;
18358 lldiv_t mydivt;
18360 main ()
18362 char* tmp;
18363 f = strtof("gnu", &tmp);
18364 ld = strtold("gnu", &tmp);
18365 ll = strtoll("gnu", &tmp, 10);
18366 ll = strtoull("gnu", &tmp, 10);
18367 ll = llabs(10);
18368 mydivt = lldiv(10,1);
18369 ll = mydivt.quot;
18370 ll = mydivt.rem;
18371 ll = atoll("10");
18372 _Exit(0);
18375 return 0;
18377 _ACEOF
18378 if ac_fn_cxx_try_link "$LINENO"; then :
18379 glibcxx_cv_c99_stdlib_cxx11=yes
18380 else
18381 glibcxx_cv_c99_stdlib_cxx11=no
18383 rm -f core conftest.err conftest.$ac_objext \
18384 conftest$ac_exeext conftest.$ac_ext
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18389 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18390 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18392 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18396 # Check for the existence in <wchar.h> of wcstold, etc.
18397 if test x"$ac_has_wchar_h" = xyes &&
18398 test x"$ac_has_wctype_h" = xyes; then
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18400 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18401 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #include <wchar.h>
18408 namespace test
18410 using ::wcstold;
18411 using ::wcstoll;
18412 using ::wcstoull;
18416 main ()
18420 return 0;
18422 _ACEOF
18423 if ac_fn_cxx_try_compile "$LINENO"; then :
18424 glibcxx_cv_c99_wchar_cxx11=yes
18425 else
18426 glibcxx_cv_c99_wchar_cxx11=no
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18432 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18434 # Checks for wide character functions that may not be present.
18435 # Injection of these is wrapped with guard macros.
18436 # NB: only put functions here, instead of immediately above, if
18437 # absolutely necessary.
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 #include <wchar.h>
18441 namespace test { using ::vfwscanf; }
18443 main ()
18447 return 0;
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18452 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18459 #include <wchar.h>
18460 namespace test { using ::vswscanf; }
18462 main ()
18466 return 0;
18468 _ACEOF
18469 if ac_fn_cxx_try_compile "$LINENO"; then :
18471 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18478 #include <wchar.h>
18479 namespace test { using ::vwscanf; }
18481 main ()
18485 return 0;
18487 _ACEOF
18488 if ac_fn_cxx_try_compile "$LINENO"; then :
18490 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 #include <wchar.h>
18498 namespace test { using ::wcstof; }
18500 main ()
18504 return 0;
18506 _ACEOF
18507 if ac_fn_cxx_try_compile "$LINENO"; then :
18509 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 #include <wctype.h>
18518 main ()
18520 wint_t t; int i = iswblank(t);
18522 return 0;
18524 _ACEOF
18525 if ac_fn_cxx_try_compile "$LINENO"; then :
18527 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18534 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18539 gcc_no_link="$ac_save_gcc_no_link"
18540 LIBS="$ac_save_LIBS"
18541 CXXFLAGS="$ac_save_CXXFLAGS"
18542 ac_ext=c
18543 ac_cpp='$CPP $CPPFLAGS'
18544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18551 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18553 $as_echo "$enable_c99" >&6; }
18556 # Check whether --enable-concept-checks was given.
18557 if test "${enable_concept_checks+set}" = set; then :
18558 enableval=$enable_concept_checks;
18559 case "$enableval" in
18560 yes|no) ;;
18561 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18562 esac
18564 else
18565 enable_concept_checks=no
18569 if test $enable_concept_checks = yes; then
18571 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18576 # Check whether --enable-libstdcxx-debug-flags was given.
18577 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18578 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18579 xno | x) enable_libstdcxx_debug_flags= ;;
18580 x-*) ;;
18581 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18582 esac
18583 else
18584 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18589 # Option parsed, now set things appropriately
18590 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18594 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18598 $as_echo_n "checking for additional debug build... " >&6; }
18599 skip_debug_build=
18600 # Check whether --enable-libstdcxx-debug was given.
18601 if test "${enable_libstdcxx_debug+set}" = set; then :
18602 enableval=$enable_libstdcxx_debug;
18603 case "$enableval" in
18604 yes|no) ;;
18605 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18606 esac
18608 else
18609 enable_libstdcxx_debug=no
18613 if test x$enable_libstdcxx_debug = xyes; then
18614 if test -f $toplevel_builddir/../stage_final \
18615 && test -f $toplevel_builddir/../stage_current; then
18616 stage_final=`cat $toplevel_builddir/../stage_final`
18617 stage_current=`cat $toplevel_builddir/../stage_current`
18618 if test x$stage_current != x$stage_final ; then
18619 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18620 enable_libstdcxx_debug=no
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18625 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18630 enable_parallel=no;
18632 # See if configured libgomp/omp.h exists. (libgomp may be in
18633 # noconfigdirs but not explicitly disabled.)
18634 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18635 enable_parallel=yes;
18636 else
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18638 $as_echo "$as_me: target-libgomp not built" >&6;}
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18642 $as_echo_n "checking for parallel mode support... " >&6; }
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18644 $as_echo "$enable_parallel" >&6; }
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18647 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18648 # Check whether --enable-cxx-flags was given.
18649 if test "${enable_cxx_flags+set}" = set; then :
18650 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18651 xno | x) enable_cxx_flags= ;;
18652 x-*) ;;
18653 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18654 esac
18655 else
18656 enable_cxx_flags=
18661 # Run through flags (either default or command-line) and set anything
18662 # extra (e.g., #defines) that must accompany particular g++ options.
18663 if test -n "$enable_cxx_flags"; then
18664 for f in $enable_cxx_flags; do
18665 case "$f" in
18666 -fhonor-std) ;;
18667 -*) ;;
18668 *) # and we're trying to pass /what/ exactly?
18669 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18670 esac
18671 done
18674 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18676 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18680 # Check whether --enable-fully-dynamic-string was given.
18681 if test "${enable_fully_dynamic_string+set}" = set; then :
18682 enableval=$enable_fully_dynamic_string;
18683 case "$enableval" in
18684 yes|no) ;;
18685 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18686 esac
18688 else
18689 enable_fully_dynamic_string=no
18693 if test $enable_fully_dynamic_string = yes; then
18694 enable_fully_dynamic_string_def=1
18695 else
18696 enable_fully_dynamic_string_def=0
18699 cat >>confdefs.h <<_ACEOF
18700 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18701 _ACEOF
18706 # Check whether --enable-extern-template was given.
18707 if test "${enable_extern_template+set}" = set; then :
18708 enableval=$enable_extern_template;
18709 case "$enableval" in
18710 yes|no) ;;
18711 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18712 esac
18714 else
18715 enable_extern_template=yes
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18721 $as_echo_n "checking for extern template support... " >&6; }
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18723 $as_echo "$enable_extern_template" >&6; }
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18730 $as_echo_n "checking for custom python install directory... " >&6; }
18732 # Check whether --with-python-dir was given.
18733 if test "${with_python_dir+set}" = set; then :
18734 withval=$with_python_dir; with_python_dir=$withval
18735 else
18736 with_python_dir="no"
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18740 $as_echo "${with_python_dir}" >&6; }
18742 # Needed for installing Python modules during make install.
18743 python_mod_dir="${with_python_dir}"
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18749 $as_echo_n "checking for -Werror... " >&6; }
18750 # Check whether --enable-werror was given.
18751 if test "${enable_werror+set}" = set; then :
18752 enableval=$enable_werror;
18753 case "$enableval" in
18754 yes|no) ;;
18755 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18756 esac
18758 else
18759 enable_werror=no
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18764 $as_echo "$enable_werror" >&6; }
18769 # Check whether --enable-vtable-verify was given.
18770 if test "${enable_vtable_verify+set}" = set; then :
18771 enableval=$enable_vtable_verify;
18772 case "$enableval" in
18773 yes|no) ;;
18774 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18775 esac
18777 else
18778 enable_vtable_verify=no
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18784 $as_echo_n "checking for vtable verify support... " >&6; }
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18786 $as_echo "$enable_vtable_verify" >&6; }
18788 vtv_cygmin=no
18789 if test $enable_vtable_verify = yes; then
18790 case ${target_os} in
18791 cygwin*|mingw32*)
18792 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18793 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18794 vtv_cygmin=yes
18796 darwin*)
18797 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18798 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18800 solaris2*)
18801 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18802 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18805 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18806 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18808 esac
18809 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18810 else
18811 VTV_CXXFLAGS=
18812 VTV_PCH_CXXFLAGS=
18813 VTV_CXXLINKFLAGS=
18819 if test x$vtv_cygmin = xyes; then
18820 VTV_CYGMIN_TRUE=
18821 VTV_CYGMIN_FALSE='#'
18822 else
18823 VTV_CYGMIN_TRUE='#'
18824 VTV_CYGMIN_FALSE=
18830 # Checks for operating systems support that doesn't require linking.
18834 ac_ext=cpp
18835 ac_cpp='$CXXCPP $CPPFLAGS'
18836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18840 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18841 # and we don't need a declaration for C++14 anyway.
18842 ac_save_CXXFLAGS="$CXXFLAGS"
18843 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18846 $as_echo_n "checking for gets declaration... " >&6; }
18847 if ${glibcxx_cv_gets+:} false; then :
18848 $as_echo_n "(cached) " >&6
18849 else
18851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18853 #include <stdio.h>
18854 namespace test
18856 using ::gets;
18859 _ACEOF
18860 if ac_fn_cxx_try_compile "$LINENO"; then :
18861 glibcxx_cv_gets=yes
18862 else
18863 glibcxx_cv_gets=no
18866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18869 $as_echo "$glibcxx_cv_gets" >&6; }
18871 if test $glibcxx_cv_gets = yes; then
18873 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18877 CXXFLAGS="$ac_save_CXXFLAGS"
18878 ac_ext=c
18879 ac_cpp='$CPP $CPPFLAGS'
18880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18888 ac_ext=cpp
18889 ac_cpp='$CXXCPP $CPPFLAGS'
18890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18894 ac_save_CXXFLAGS="$CXXFLAGS"
18895 CXXFLAGS="$CXXFLAGS -std=c++11"
18897 case "$host" in
18898 *-*-solaris2.*)
18899 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18900 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18902 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18903 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18904 $as_echo_n "(cached) " >&6
18905 else
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <math.h>
18910 #undef isfinite
18911 namespace std {
18912 inline bool isfinite(float __x)
18913 { return __builtin_isfinite(__x); }
18916 _ACEOF
18917 if ac_fn_cxx_try_compile "$LINENO"; then :
18918 glibcxx_cv_math11_fp_overload=no
18919 else
18920 glibcxx_cv_math11_fp_overload=yes
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18926 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18928 # autoheader cannot handle indented templates.
18931 if test $glibcxx_cv_math11_fp_overload = yes; then
18932 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18936 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18937 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18939 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18940 if ${glibcxx_cv_math11_int_overload+:} false; then :
18941 $as_echo_n "(cached) " >&6
18942 else
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 #include <math.h>
18947 namespace std {
18948 template<typename _Tp>
18949 struct __is_integer;
18950 template<>
18951 struct __is_integer<int>
18953 enum { __value = 1 };
18956 namespace __gnu_cxx {
18957 template<bool, typename>
18958 struct __enable_if;
18959 template<typename _Tp>
18960 struct __enable_if<true, _Tp>
18961 { typedef _Tp __type; };
18963 namespace std {
18964 template<typename _Tp>
18965 constexpr typename __gnu_cxx::__enable_if
18966 <__is_integer<_Tp>::__value, double>::__type
18967 log2(_Tp __x)
18968 { return __builtin_log2(__x); }
18971 main (void)
18973 int i = 1000;
18974 return std::log2(i);
18977 _ACEOF
18978 if ac_fn_cxx_try_compile "$LINENO"; then :
18979 glibcxx_cv_math11_int_overload=no
18980 else
18981 glibcxx_cv_math11_int_overload=yes
18984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18987 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18989 # autoheader cannot handle indented templates.
18992 if test $glibcxx_cv_math11_int_overload = yes; then
18993 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18998 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18999 # functions (instead of or as well as the C99 generic macros) then we
19000 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19001 # and must use the ones from <math.h> instead.
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19003 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19004 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19011 #include <math.h>
19012 #undef isinf
19013 namespace std {
19014 using ::isinf;
19015 bool isinf(float);
19016 bool isinf(long double);
19018 using std::isinf;
19019 bool b = isinf(0.0);
19021 _ACEOF
19022 if ac_fn_cxx_try_compile "$LINENO"; then :
19023 glibcxx_cv_obsolete_isinf=yes
19024 else
19025 glibcxx_cv_obsolete_isinf=no
19028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19031 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19032 if test $glibcxx_cv_obsolete_isinf = yes; then
19034 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19039 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19040 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19041 $as_echo_n "(cached) " >&6
19042 else
19044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19046 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19047 #include <math.h>
19048 #undef isnan
19049 namespace std {
19050 using ::isnan;
19051 bool isnan(float);
19052 bool isnan(long double);
19054 using std::isnan;
19055 bool b = isnan(0.0);
19057 _ACEOF
19058 if ac_fn_cxx_try_compile "$LINENO"; then :
19059 glibcxx_cv_obsolete_isnan=yes
19060 else
19061 glibcxx_cv_obsolete_isnan=no
19064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19067 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19068 if test $glibcxx_cv_obsolete_isnan = yes; then
19070 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19074 esac
19076 CXXFLAGS="$ac_save_CXXFLAGS"
19077 ac_ext=c
19078 ac_cpp='$CPP $CPPFLAGS'
19079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19086 # Test uchar.h.
19087 for ac_header in uchar.h
19088 do :
19089 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19090 if test "x$ac_cv_header_uchar_h" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_UCHAR_H 1
19093 _ACEOF
19094 ac_has_uchar_h=yes
19095 else
19096 ac_has_uchar_h=no
19099 done
19103 ac_ext=cpp
19104 ac_cpp='$CXXCPP $CPPFLAGS'
19105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19109 ac_save_CXXFLAGS="$CXXFLAGS"
19110 CXXFLAGS="$CXXFLAGS -std=c++11"
19112 if test x"$ac_has_uchar_h" = x"yes"; then
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19114 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 #include <uchar.h>
19118 #ifdef __STDC_UTF_16__
19119 long i = __STDC_UTF_16__;
19120 #endif
19121 #ifdef __STDC_UTF_32__
19122 long j = __STDC_UTF_32__;
19123 #endif
19124 namespace test
19126 using ::c16rtomb;
19127 using ::c32rtomb;
19128 using ::mbrtoc16;
19129 using ::mbrtoc32;
19133 main ()
19137 return 0;
19139 _ACEOF
19140 if ac_fn_cxx_try_compile "$LINENO"; then :
19141 ac_c11_uchar_cxx11=yes
19142 else
19143 ac_c11_uchar_cxx11=no
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19147 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19148 else
19149 ac_c11_uchar_cxx11=no
19151 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19153 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19157 CXXFLAGS="$CXXFLAGS -fchar8_t"
19158 if test x"$ac_has_uchar_h" = x"yes"; then
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19160 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 #include <uchar.h>
19164 namespace test
19166 using ::c8rtomb;
19167 using ::mbrtoc8;
19171 main ()
19175 return 0;
19177 _ACEOF
19178 if ac_fn_cxx_try_compile "$LINENO"; then :
19179 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19180 else
19181 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 else
19185 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19188 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19189 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19191 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19195 CXXFLAGS="$CXXFLAGS -std=c++20"
19196 if test x"$ac_has_uchar_h" = x"yes"; then
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19198 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h. */
19201 #include <uchar.h>
19202 namespace test
19204 using ::c8rtomb;
19205 using ::mbrtoc8;
19209 main ()
19213 return 0;
19215 _ACEOF
19216 if ac_fn_cxx_try_compile "$LINENO"; then :
19217 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19218 else
19219 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 else
19223 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19226 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19227 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19229 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19233 CXXFLAGS="$ac_save_CXXFLAGS"
19234 ac_ext=c
19235 ac_cpp='$CPP $CPPFLAGS'
19236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19242 # For LFS support.
19245 ac_ext=cpp
19246 ac_cpp='$CXXCPP $CPPFLAGS'
19247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19251 ac_save_CXXFLAGS="$CXXFLAGS"
19252 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19254 $as_echo_n "checking for LFS support... " >&6; }
19255 if ${glibcxx_cv_LFS+:} false; then :
19256 $as_echo_n "(cached) " >&6
19257 else
19259 if test x$gcc_no_link = xyes; then
19260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261 /* end confdefs.h. */
19262 #include <unistd.h>
19263 #include <stdio.h>
19264 #include <sys/stat.h>
19267 main ()
19269 FILE* fp;
19270 fopen64("t", "w");
19271 fseeko64(fp, 0, SEEK_CUR);
19272 ftello64(fp);
19273 lseek64(1, 0, SEEK_CUR);
19274 struct stat64 buf;
19275 fstat64(1, &buf);
19277 return 0;
19279 _ACEOF
19280 if ac_fn_cxx_try_compile "$LINENO"; then :
19281 glibcxx_cv_LFS=yes
19282 else
19283 glibcxx_cv_LFS=no
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19286 else
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #include <unistd.h>
19293 #include <stdio.h>
19294 #include <sys/stat.h>
19297 main ()
19299 FILE* fp;
19300 fopen64("t", "w");
19301 fseeko64(fp, 0, SEEK_CUR);
19302 ftello64(fp);
19303 lseek64(1, 0, SEEK_CUR);
19304 struct stat64 buf;
19305 fstat64(1, &buf);
19307 return 0;
19309 _ACEOF
19310 if ac_fn_cxx_try_link "$LINENO"; then :
19311 glibcxx_cv_LFS=yes
19312 else
19313 glibcxx_cv_LFS=no
19315 rm -f core conftest.err conftest.$ac_objext \
19316 conftest$ac_exeext conftest.$ac_ext
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19321 $as_echo "$glibcxx_cv_LFS" >&6; }
19322 if test $glibcxx_cv_LFS = yes; then
19324 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19327 CXXFLAGS="$ac_save_CXXFLAGS"
19328 ac_ext=c
19329 ac_cpp='$CPP $CPPFLAGS'
19330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19336 # For showmanyc_helper().
19337 for ac_header in sys/ioctl.h sys/filio.h
19338 do :
19339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19340 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19342 cat >>confdefs.h <<_ACEOF
19343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19344 _ACEOF
19348 done
19353 ac_ext=cpp
19354 ac_cpp='$CXXCPP $CPPFLAGS'
19355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19359 ac_save_CXXFLAGS="$CXXFLAGS"
19360 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19363 $as_echo_n "checking for poll... " >&6; }
19364 if ${glibcxx_cv_POLL+:} false; then :
19365 $as_echo_n "(cached) " >&6
19366 else
19368 if test x$gcc_no_link = xyes; then
19369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19370 /* end confdefs.h. */
19371 #include <poll.h>
19373 main ()
19375 struct pollfd pfd[1];
19376 pfd[0].events = POLLIN;
19377 poll(pfd, 1, 0);
19379 return 0;
19381 _ACEOF
19382 if ac_fn_cxx_try_compile "$LINENO"; then :
19383 glibcxx_cv_POLL=yes
19384 else
19385 glibcxx_cv_POLL=no
19387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19388 else
19389 if test x$gcc_no_link = xyes; then
19390 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 #include <poll.h>
19396 main ()
19398 struct pollfd pfd[1];
19399 pfd[0].events = POLLIN;
19400 poll(pfd, 1, 0);
19402 return 0;
19404 _ACEOF
19405 if ac_fn_cxx_try_link "$LINENO"; then :
19406 glibcxx_cv_POLL=yes
19407 else
19408 glibcxx_cv_POLL=no
19410 rm -f core conftest.err conftest.$ac_objext \
19411 conftest$ac_exeext conftest.$ac_ext
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19416 $as_echo "$glibcxx_cv_POLL" >&6; }
19417 if test $glibcxx_cv_POLL = yes; then
19419 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19423 CXXFLAGS="$ac_save_CXXFLAGS"
19424 ac_ext=c
19425 ac_cpp='$CPP $CPPFLAGS'
19426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19434 ac_ext=cpp
19435 ac_cpp='$CXXCPP $CPPFLAGS'
19436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19440 ac_save_CXXFLAGS="$CXXFLAGS"
19441 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19444 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19445 if ${glibcxx_cv_S_ISREG+:} false; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19449 if test x$gcc_no_link = xyes; then
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 #include <sys/stat.h>
19454 main ()
19456 struct stat buffer;
19457 fstat(0, &buffer);
19458 S_ISREG(buffer.st_mode);
19460 return 0;
19462 _ACEOF
19463 if ac_fn_cxx_try_compile "$LINENO"; then :
19464 glibcxx_cv_S_ISREG=yes
19465 else
19466 glibcxx_cv_S_ISREG=no
19468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 else
19470 if test x$gcc_no_link = xyes; then
19471 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 #include <sys/stat.h>
19477 main ()
19479 struct stat buffer;
19480 fstat(0, &buffer);
19481 S_ISREG(buffer.st_mode);
19483 return 0;
19485 _ACEOF
19486 if ac_fn_cxx_try_link "$LINENO"; then :
19487 glibcxx_cv_S_ISREG=yes
19488 else
19489 glibcxx_cv_S_ISREG=no
19491 rm -f core conftest.err conftest.$ac_objext \
19492 conftest$ac_exeext conftest.$ac_ext
19497 if ${glibcxx_cv_S_IFREG+:} false; then :
19498 $as_echo_n "(cached) " >&6
19499 else
19501 if test x$gcc_no_link = xyes; then
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 #include <sys/stat.h>
19506 main ()
19508 struct stat buffer;
19509 fstat(0, &buffer);
19510 S_IFREG & buffer.st_mode;
19512 return 0;
19514 _ACEOF
19515 if ac_fn_cxx_try_compile "$LINENO"; then :
19516 glibcxx_cv_S_IFREG=yes
19517 else
19518 glibcxx_cv_S_IFREG=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 else
19522 if test x$gcc_no_link = xyes; then
19523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 #include <sys/stat.h>
19529 main ()
19531 struct stat buffer;
19532 fstat(0, &buffer);
19533 S_IFREG & buffer.st_mode;
19535 return 0;
19537 _ACEOF
19538 if ac_fn_cxx_try_link "$LINENO"; then :
19539 glibcxx_cv_S_IFREG=yes
19540 else
19541 glibcxx_cv_S_IFREG=no
19543 rm -f core conftest.err conftest.$ac_objext \
19544 conftest$ac_exeext conftest.$ac_ext
19549 res=no
19550 if test $glibcxx_cv_S_ISREG = yes; then
19552 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19554 res=S_ISREG
19555 elif test $glibcxx_cv_S_IFREG = yes; then
19557 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19559 res=S_IFREG
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19562 $as_echo "$res" >&6; }
19564 CXXFLAGS="$ac_save_CXXFLAGS"
19565 ac_ext=c
19566 ac_cpp='$CPP $CPPFLAGS'
19567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19573 # For xsputn_2().
19574 for ac_header in sys/uio.h
19575 do :
19576 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19577 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19578 cat >>confdefs.h <<_ACEOF
19579 #define HAVE_SYS_UIO_H 1
19580 _ACEOF
19584 done
19589 ac_ext=cpp
19590 ac_cpp='$CXXCPP $CPPFLAGS'
19591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19595 ac_save_CXXFLAGS="$CXXFLAGS"
19596 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19599 $as_echo_n "checking for writev... " >&6; }
19600 if ${glibcxx_cv_WRITEV+:} false; then :
19601 $as_echo_n "(cached) " >&6
19602 else
19604 if test x$gcc_no_link = xyes; then
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19607 #include <sys/uio.h>
19609 main ()
19611 struct iovec iov[2];
19612 writev(0, iov, 0);
19614 return 0;
19616 _ACEOF
19617 if ac_fn_cxx_try_compile "$LINENO"; then :
19618 glibcxx_cv_WRITEV=yes
19619 else
19620 glibcxx_cv_WRITEV=no
19622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19623 else
19624 if test x$gcc_no_link = xyes; then
19625 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19629 #include <sys/uio.h>
19631 main ()
19633 struct iovec iov[2];
19634 writev(0, iov, 0);
19636 return 0;
19638 _ACEOF
19639 if ac_fn_cxx_try_link "$LINENO"; then :
19640 glibcxx_cv_WRITEV=yes
19641 else
19642 glibcxx_cv_WRITEV=no
19644 rm -f core conftest.err conftest.$ac_objext \
19645 conftest$ac_exeext conftest.$ac_ext
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19650 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19651 if test $glibcxx_cv_WRITEV = yes; then
19653 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19657 CXXFLAGS="$ac_save_CXXFLAGS"
19658 ac_ext=c
19659 ac_cpp='$CPP $CPPFLAGS'
19660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19666 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19667 # so that the check is done with the C compiler (not C++).
19668 # Checking with C++ can break a canadian cross build if either
19669 # file does not exist in C but does in C++.
19670 for ac_header in fenv.h complex.h
19671 do :
19672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19673 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19675 cat >>confdefs.h <<_ACEOF
19676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19677 _ACEOF
19681 done
19684 # For C99 support to TR1.
19688 ac_ext=cpp
19689 ac_cpp='$CXXCPP $CPPFLAGS'
19690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19695 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19696 # undefined and fake C99 facilities may be spuriously enabled.
19697 ac_save_CXXFLAGS="$CXXFLAGS"
19698 CXXFLAGS="$CXXFLAGS -std=c++98"
19700 # Check for the existence of <complex.h> complex math functions used
19701 # by tr1/complex.
19702 for ac_header in complex.h
19703 do :
19704 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19705 if test "x$ac_cv_header_complex_h" = xyes; then :
19706 cat >>confdefs.h <<_ACEOF
19707 #define HAVE_COMPLEX_H 1
19708 _ACEOF
19709 ac_has_complex_h=yes
19710 else
19711 ac_has_complex_h=no
19714 done
19716 ac_c99_complex_tr1=no;
19717 if test x"$ac_has_complex_h" = x"yes"; then
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19719 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #include <complex.h>
19724 main ()
19726 typedef __complex__ float float_type; float_type tmpf;
19727 cacosf(tmpf);
19728 casinf(tmpf);
19729 catanf(tmpf);
19730 cacoshf(tmpf);
19731 casinhf(tmpf);
19732 catanhf(tmpf);
19733 typedef __complex__ double double_type; double_type tmpd;
19734 cacos(tmpd);
19735 casin(tmpd);
19736 catan(tmpd);
19737 cacosh(tmpd);
19738 casinh(tmpd);
19739 catanh(tmpd);
19740 typedef __complex__ long double ld_type; ld_type tmpld;
19741 cacosl(tmpld);
19742 casinl(tmpld);
19743 catanl(tmpld);
19744 cacoshl(tmpld);
19745 casinhl(tmpld);
19746 catanhl(tmpld);
19749 return 0;
19751 _ACEOF
19752 if ac_fn_cxx_try_compile "$LINENO"; then :
19753 ac_c99_complex_tr1=yes
19754 else
19755 ac_c99_complex_tr1=no
19757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19760 $as_echo "$ac_c99_complex_tr1" >&6; }
19761 if test x"$ac_c99_complex_tr1" = x"yes"; then
19763 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19767 # Check for the existence of <ctype.h> functions.
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19769 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19770 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19776 #include <ctype.h>
19778 main ()
19780 int ch;
19781 int ret;
19782 ret = isblank(ch);
19785 return 0;
19787 _ACEOF
19788 if ac_fn_cxx_try_compile "$LINENO"; then :
19789 glibcxx_cv_c99_ctype_tr1=yes
19790 else
19791 glibcxx_cv_c99_ctype_tr1=no
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19797 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19798 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19800 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19804 # Check for the existence of <fenv.h> functions.
19805 for ac_header in fenv.h
19806 do :
19807 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19808 if test "x$ac_cv_header_fenv_h" = xyes; then :
19809 cat >>confdefs.h <<_ACEOF
19810 #define HAVE_FENV_H 1
19811 _ACEOF
19812 ac_has_fenv_h=yes
19813 else
19814 ac_has_fenv_h=no
19817 done
19819 ac_c99_fenv_tr1=no;
19820 if test x"$ac_has_fenv_h" = x"yes"; then
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19822 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #include <fenv.h>
19827 main ()
19829 int except, mode;
19830 fexcept_t* pflag;
19831 fenv_t* penv;
19832 int ret;
19833 ret = feclearexcept(except);
19834 ret = fegetexceptflag(pflag, except);
19835 ret = feraiseexcept(except);
19836 ret = fesetexceptflag(pflag, except);
19837 ret = fetestexcept(except);
19838 ret = fegetround();
19839 ret = fesetround(mode);
19840 ret = fegetenv(penv);
19841 ret = feholdexcept(penv);
19842 ret = fesetenv(penv);
19843 ret = feupdateenv(penv);
19846 return 0;
19848 _ACEOF
19849 if ac_fn_cxx_try_compile "$LINENO"; then :
19850 ac_c99_fenv_tr1=yes
19851 else
19852 ac_c99_fenv_tr1=no
19854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19856 $as_echo "$ac_c99_fenv_tr1" >&6; }
19858 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19860 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19864 # Check for the existence of <stdint.h> types.
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19866 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19867 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19868 $as_echo_n "(cached) " >&6
19869 else
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #define __STDC_LIMIT_MACROS
19874 #define __STDC_CONSTANT_MACROS
19875 #include <stdint.h>
19877 main ()
19879 typedef int8_t my_int8_t;
19880 my_int8_t i8 = INT8_MIN;
19881 i8 = INT8_MAX;
19882 typedef int16_t my_int16_t;
19883 my_int16_t i16 = INT16_MIN;
19884 i16 = INT16_MAX;
19885 typedef int32_t my_int32_t;
19886 my_int32_t i32 = INT32_MIN;
19887 i32 = INT32_MAX;
19888 typedef int64_t my_int64_t;
19889 my_int64_t i64 = INT64_MIN;
19890 i64 = INT64_MAX;
19891 typedef int_fast8_t my_int_fast8_t;
19892 my_int_fast8_t if8 = INT_FAST8_MIN;
19893 if8 = INT_FAST8_MAX;
19894 typedef int_fast16_t my_int_fast16_t;
19895 my_int_fast16_t if16 = INT_FAST16_MIN;
19896 if16 = INT_FAST16_MAX;
19897 typedef int_fast32_t my_int_fast32_t;
19898 my_int_fast32_t if32 = INT_FAST32_MIN;
19899 if32 = INT_FAST32_MAX;
19900 typedef int_fast64_t my_int_fast64_t;
19901 my_int_fast64_t if64 = INT_FAST64_MIN;
19902 if64 = INT_FAST64_MAX;
19903 typedef int_least8_t my_int_least8_t;
19904 my_int_least8_t il8 = INT_LEAST8_MIN;
19905 il8 = INT_LEAST8_MAX;
19906 typedef int_least16_t my_int_least16_t;
19907 my_int_least16_t il16 = INT_LEAST16_MIN;
19908 il16 = INT_LEAST16_MAX;
19909 typedef int_least32_t my_int_least32_t;
19910 my_int_least32_t il32 = INT_LEAST32_MIN;
19911 il32 = INT_LEAST32_MAX;
19912 typedef int_least64_t my_int_least64_t;
19913 my_int_least64_t il64 = INT_LEAST64_MIN;
19914 il64 = INT_LEAST64_MAX;
19915 typedef intmax_t my_intmax_t;
19916 my_intmax_t im = INTMAX_MAX;
19917 im = INTMAX_MIN;
19918 typedef intptr_t my_intptr_t;
19919 my_intptr_t ip = INTPTR_MAX;
19920 ip = INTPTR_MIN;
19921 typedef uint8_t my_uint8_t;
19922 my_uint8_t ui8 = UINT8_MAX;
19923 ui8 = UINT8_MAX;
19924 typedef uint16_t my_uint16_t;
19925 my_uint16_t ui16 = UINT16_MAX;
19926 ui16 = UINT16_MAX;
19927 typedef uint32_t my_uint32_t;
19928 my_uint32_t ui32 = UINT32_MAX;
19929 ui32 = UINT32_MAX;
19930 typedef uint64_t my_uint64_t;
19931 my_uint64_t ui64 = UINT64_MAX;
19932 ui64 = UINT64_MAX;
19933 typedef uint_fast8_t my_uint_fast8_t;
19934 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19935 uif8 = UINT_FAST8_MAX;
19936 typedef uint_fast16_t my_uint_fast16_t;
19937 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19938 uif16 = UINT_FAST16_MAX;
19939 typedef uint_fast32_t my_uint_fast32_t;
19940 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19941 uif32 = UINT_FAST32_MAX;
19942 typedef uint_fast64_t my_uint_fast64_t;
19943 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19944 uif64 = UINT_FAST64_MAX;
19945 typedef uint_least8_t my_uint_least8_t;
19946 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19947 uil8 = UINT_LEAST8_MAX;
19948 typedef uint_least16_t my_uint_least16_t;
19949 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19950 uil16 = UINT_LEAST16_MAX;
19951 typedef uint_least32_t my_uint_least32_t;
19952 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19953 uil32 = UINT_LEAST32_MAX;
19954 typedef uint_least64_t my_uint_least64_t;
19955 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19956 uil64 = UINT_LEAST64_MAX;
19957 typedef uintmax_t my_uintmax_t;
19958 my_uintmax_t uim = UINTMAX_MAX;
19959 uim = UINTMAX_MAX;
19960 typedef uintptr_t my_uintptr_t;
19961 my_uintptr_t uip = UINTPTR_MAX;
19962 uip = UINTPTR_MAX;
19965 return 0;
19967 _ACEOF
19968 if ac_fn_cxx_try_compile "$LINENO"; then :
19969 glibcxx_cv_c99_stdint_tr1=yes
19970 else
19971 glibcxx_cv_c99_stdint_tr1=no
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19977 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19978 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19980 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19984 # Check for the existence of <math.h> functions.
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19986 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19987 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19988 $as_echo_n "(cached) " >&6
19989 else
19991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19992 /* end confdefs.h. */
19993 #include <math.h>
19995 main ()
19997 typedef double_t my_double_t;
19998 typedef float_t my_float_t;
19999 acosh(0.0);
20000 acoshf(0.0f);
20001 acoshl(0.0l);
20002 asinh(0.0);
20003 asinhf(0.0f);
20004 asinhl(0.0l);
20005 atanh(0.0);
20006 atanhf(0.0f);
20007 atanhl(0.0l);
20008 cbrt(0.0);
20009 cbrtf(0.0f);
20010 cbrtl(0.0l);
20011 copysign(0.0, 0.0);
20012 copysignf(0.0f, 0.0f);
20013 copysignl(0.0l, 0.0l);
20014 erf(0.0);
20015 erff(0.0f);
20016 erfl(0.0l);
20017 erfc(0.0);
20018 erfcf(0.0f);
20019 erfcl(0.0l);
20020 exp2(0.0);
20021 exp2f(0.0f);
20022 exp2l(0.0l);
20023 expm1(0.0);
20024 expm1f(0.0f);
20025 expm1l(0.0l);
20026 fdim(0.0, 0.0);
20027 fdimf(0.0f, 0.0f);
20028 fdiml(0.0l, 0.0l);
20029 fma(0.0, 0.0, 0.0);
20030 fmaf(0.0f, 0.0f, 0.0f);
20031 fmal(0.0l, 0.0l, 0.0l);
20032 fmax(0.0, 0.0);
20033 fmaxf(0.0f, 0.0f);
20034 fmaxl(0.0l, 0.0l);
20035 fmin(0.0, 0.0);
20036 fminf(0.0f, 0.0f);
20037 fminl(0.0l, 0.0l);
20038 hypot(0.0, 0.0);
20039 hypotf(0.0f, 0.0f);
20040 hypotl(0.0l, 0.0l);
20041 ilogb(0.0);
20042 ilogbf(0.0f);
20043 ilogbl(0.0l);
20044 lgamma(0.0);
20045 lgammaf(0.0f);
20046 lgammal(0.0l);
20047 #ifndef __APPLE__ /* see below */
20048 llrint(0.0);
20049 llrintf(0.0f);
20050 llrintl(0.0l);
20051 llround(0.0);
20052 llroundf(0.0f);
20053 llroundl(0.0l);
20054 #endif
20055 log1p(0.0);
20056 log1pf(0.0f);
20057 log1pl(0.0l);
20058 log2(0.0);
20059 log2f(0.0f);
20060 log2l(0.0l);
20061 logb(0.0);
20062 logbf(0.0f);
20063 logbl(0.0l);
20064 lrint(0.0);
20065 lrintf(0.0f);
20066 lrintl(0.0l);
20067 lround(0.0);
20068 lroundf(0.0f);
20069 lroundl(0.0l);
20070 nan(0);
20071 nanf(0);
20072 nanl(0);
20073 nearbyint(0.0);
20074 nearbyintf(0.0f);
20075 nearbyintl(0.0l);
20076 nextafter(0.0, 0.0);
20077 nextafterf(0.0f, 0.0f);
20078 nextafterl(0.0l, 0.0l);
20079 nexttoward(0.0, 0.0);
20080 nexttowardf(0.0f, 0.0f);
20081 nexttowardl(0.0l, 0.0l);
20082 remainder(0.0, 0.0);
20083 remainderf(0.0f, 0.0f);
20084 remainderl(0.0l, 0.0l);
20085 remquo(0.0, 0.0, 0);
20086 remquof(0.0f, 0.0f, 0);
20087 remquol(0.0l, 0.0l, 0);
20088 rint(0.0);
20089 rintf(0.0f);
20090 rintl(0.0l);
20091 round(0.0);
20092 roundf(0.0f);
20093 roundl(0.0l);
20094 scalbln(0.0, 0l);
20095 scalblnf(0.0f, 0l);
20096 scalblnl(0.0l, 0l);
20097 scalbn(0.0, 0);
20098 scalbnf(0.0f, 0);
20099 scalbnl(0.0l, 0);
20100 tgamma(0.0);
20101 tgammaf(0.0f);
20102 tgammal(0.0l);
20103 trunc(0.0);
20104 truncf(0.0f);
20105 truncl(0.0l);
20108 return 0;
20110 _ACEOF
20111 if ac_fn_cxx_try_compile "$LINENO"; then :
20112 glibcxx_cv_c99_math_tr1=yes
20113 else
20114 glibcxx_cv_c99_math_tr1=no
20116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20120 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20121 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20123 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20126 case "${target_os}" in
20127 darwin*)
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20129 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20130 if ${glibcxx_cv_c99_math_llround+:} false; then :
20131 $as_echo_n "(cached) " >&6
20132 else
20134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 #include <math.h>
20138 main ()
20140 llrint(0.0);
20141 llrintf(0.0f);
20142 llrintl(0.0l);
20143 llround(0.0);
20144 llroundf(0.0f);
20145 llroundl(0.0l);
20148 return 0;
20150 _ACEOF
20151 if ac_fn_cxx_try_compile "$LINENO"; then :
20152 glibcxx_cv_c99_math_llround=yes
20153 else
20154 glibcxx_cv_c99_math_llround=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20160 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20162 esac
20163 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20165 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20170 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20171 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20172 ac_c99_inttypes_tr1=no;
20173 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20175 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177 /* end confdefs.h. */
20178 #include <inttypes.h>
20180 main ()
20182 intmax_t i, numer, denom, base;
20183 const char* s;
20184 char** endptr;
20185 intmax_t ret = imaxabs(i);
20186 imaxdiv_t dret = imaxdiv(numer, denom);
20187 ret = strtoimax(s, endptr, base);
20188 uintmax_t uret = strtoumax(s, endptr, base);
20191 return 0;
20193 _ACEOF
20194 if ac_fn_cxx_try_compile "$LINENO"; then :
20195 ac_c99_inttypes_tr1=yes
20196 else
20197 ac_c99_inttypes_tr1=no
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20201 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20203 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20205 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20209 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20210 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20211 ac_c99_inttypes_wchar_t_tr1=no;
20212 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20214 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20217 #include <inttypes.h>
20219 main ()
20221 intmax_t base;
20222 const wchar_t* s;
20223 wchar_t** endptr;
20224 intmax_t ret = wcstoimax(s, endptr, base);
20225 uintmax_t uret = wcstoumax(s, endptr, base);
20228 return 0;
20230 _ACEOF
20231 if ac_fn_cxx_try_compile "$LINENO"; then :
20232 ac_c99_inttypes_wchar_t_tr1=yes
20233 else
20234 ac_c99_inttypes_wchar_t_tr1=no
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20238 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20240 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20242 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20246 # Check for the existence of the <stdbool.h> header.
20247 for ac_header in stdbool.h
20248 do :
20249 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20250 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20251 cat >>confdefs.h <<_ACEOF
20252 #define HAVE_STDBOOL_H 1
20253 _ACEOF
20257 done
20260 # Check for the existence of the <stdalign.h> header.
20261 for ac_header in stdalign.h
20262 do :
20263 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20264 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20265 cat >>confdefs.h <<_ACEOF
20266 #define HAVE_STDALIGN_H 1
20267 _ACEOF
20271 done
20274 CXXFLAGS="$ac_save_CXXFLAGS"
20275 ac_ext=c
20276 ac_cpp='$CPP $CPPFLAGS'
20277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20283 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20286 if test "$is_hosted" = yes; then
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20288 $as_echo_n "checking for the value of EOF... " >&6; }
20289 if ${glibcxx_cv_stdio_eof+:} false; then :
20290 $as_echo_n "(cached) " >&6
20291 else
20293 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20295 else
20296 as_fn_error $? "computing EOF failed" "$LINENO" 5
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20302 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20304 cat >>confdefs.h <<_ACEOF
20305 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20306 _ACEOF
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20310 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20311 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20312 $as_echo_n "(cached) " >&6
20313 else
20315 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20317 else
20318 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20324 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20326 cat >>confdefs.h <<_ACEOF
20327 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20328 _ACEOF
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20332 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20333 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20334 $as_echo_n "(cached) " >&6
20335 else
20337 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20339 else
20340 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20346 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20348 cat >>confdefs.h <<_ACEOF
20349 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20350 _ACEOF
20355 # For gettimeofday support.
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20359 $as_echo_n "checking for gettimeofday... " >&6; }
20362 ac_ext=cpp
20363 ac_cpp='$CXXCPP $CPPFLAGS'
20364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20368 ac_save_CXXFLAGS="$CXXFLAGS"
20369 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20371 ac_has_gettimeofday=no;
20372 for ac_header in sys/time.h
20373 do :
20374 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20375 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20376 cat >>confdefs.h <<_ACEOF
20377 #define HAVE_SYS_TIME_H 1
20378 _ACEOF
20379 ac_has_sys_time_h=yes
20380 else
20381 ac_has_sys_time_h=no
20384 done
20386 if test x"$ac_has_sys_time_h" = x"yes"; then
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20388 $as_echo_n "checking for gettimeofday... " >&6; }
20389 if test x$gcc_no_link = xyes; then
20390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20392 #include <sys/time.h>
20394 main ()
20396 timeval tv; gettimeofday(&tv, 0);
20398 return 0;
20400 _ACEOF
20401 if ac_fn_cxx_try_compile "$LINENO"; then :
20402 ac_has_gettimeofday=yes
20403 else
20404 ac_has_gettimeofday=no
20406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20407 else
20408 if test x$gcc_no_link = xyes; then
20409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20413 #include <sys/time.h>
20415 main ()
20417 timeval tv; gettimeofday(&tv, 0);
20419 return 0;
20421 _ACEOF
20422 if ac_fn_cxx_try_link "$LINENO"; then :
20423 ac_has_gettimeofday=yes
20424 else
20425 ac_has_gettimeofday=no
20427 rm -f core conftest.err conftest.$ac_objext \
20428 conftest$ac_exeext conftest.$ac_ext
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20432 $as_echo "$ac_has_gettimeofday" >&6; }
20435 if test x"$ac_has_gettimeofday" = x"yes"; then
20437 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20441 CXXFLAGS="$ac_save_CXXFLAGS"
20442 ac_ext=c
20443 ac_cpp='$CPP $CPPFLAGS'
20444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20450 # For clock_gettime, nanosleep and sched_yield support.
20453 # Check whether --enable-libstdcxx-time was given.
20454 if test "${enable_libstdcxx_time+set}" = set; then :
20455 enableval=$enable_libstdcxx_time;
20456 case "$enableval" in
20457 yes|no|rt) ;;
20458 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20459 esac
20461 else
20462 enable_libstdcxx_time=auto
20468 ac_ext=cpp
20469 ac_cpp='$CXXCPP $CPPFLAGS'
20470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20474 ac_save_CXXFLAGS="$CXXFLAGS"
20475 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20476 ac_save_LIBS="$LIBS"
20478 ac_has_clock_monotonic=no
20479 ac_has_clock_realtime=no
20480 ac_has_nanosleep=no
20481 ac_has_sched_yield=no
20483 if test x"$enable_libstdcxx_time" = x"auto"; then
20485 case "${target_os}" in
20486 cygwin*)
20487 ac_has_nanosleep=yes
20489 darwin*)
20490 ac_has_nanosleep=yes
20491 ac_has_sched_yield=yes
20493 # VxWorks has nanosleep as soon as the kernel is configured with
20494 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20495 vxworks*)
20496 ac_has_nanosleep=yes
20498 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20499 # Don't use link test for freestanding library, in case gcc_no_link=yes
20500 if test x"$is_hosted" = xyes; then
20501 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20503 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20504 if ${ac_cv_search_clock_gettime+:} false; then :
20505 $as_echo_n "(cached) " >&6
20506 else
20507 ac_func_search_save_LIBS=$LIBS
20508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20509 /* end confdefs.h. */
20511 /* Override any GCC internal prototype to avoid an error.
20512 Use char because int might match the return type of a GCC
20513 builtin and then its argument prototype would still apply. */
20514 #ifdef __cplusplus
20515 extern "C"
20516 #endif
20517 char clock_gettime ();
20519 main ()
20521 return clock_gettime ();
20523 return 0;
20525 _ACEOF
20526 for ac_lib in '' rt; do
20527 if test -z "$ac_lib"; then
20528 ac_res="none required"
20529 else
20530 ac_res=-l$ac_lib
20531 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20533 if test x$gcc_no_link = xyes; then
20534 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20536 if ac_fn_cxx_try_link "$LINENO"; then :
20537 ac_cv_search_clock_gettime=$ac_res
20539 rm -f core conftest.err conftest.$ac_objext \
20540 conftest$ac_exeext
20541 if ${ac_cv_search_clock_gettime+:} false; then :
20542 break
20544 done
20545 if ${ac_cv_search_clock_gettime+:} false; then :
20547 else
20548 ac_cv_search_clock_gettime=no
20550 rm conftest.$ac_ext
20551 LIBS=$ac_func_search_save_LIBS
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20554 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20555 ac_res=$ac_cv_search_clock_gettime
20556 if test "$ac_res" != no; then :
20557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20561 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20562 ac_has_clock_monotonic=yes
20563 ac_has_clock_realtime=yes
20566 ac_has_nanosleep=yes
20567 ac_has_sched_yield=yes
20569 freebsd*|netbsd*|dragonfly*|rtems*)
20570 ac_has_clock_monotonic=yes
20571 ac_has_clock_realtime=yes
20572 ac_has_nanosleep=yes
20573 ac_has_sched_yield=yes
20575 openbsd*)
20576 ac_has_clock_monotonic=yes
20577 ac_has_clock_realtime=yes
20578 ac_has_nanosleep=yes
20580 solaris*)
20581 ac_has_clock_monotonic=yes
20582 ac_has_clock_realtime=yes
20583 ac_has_nanosleep=yes
20584 ac_has_sched_yield=yes
20586 uclinux*)
20587 ac_has_nanosleep=yes
20588 ac_has_sched_yield=yes
20589 esac
20591 elif test x"$enable_libstdcxx_time" != x"no"; then
20593 if test x"$enable_libstdcxx_time" = x"rt"; then
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20595 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20596 if ${ac_cv_search_clock_gettime+:} false; then :
20597 $as_echo_n "(cached) " >&6
20598 else
20599 ac_func_search_save_LIBS=$LIBS
20600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20603 /* Override any GCC internal prototype to avoid an error.
20604 Use char because int might match the return type of a GCC
20605 builtin and then its argument prototype would still apply. */
20606 #ifdef __cplusplus
20607 extern "C"
20608 #endif
20609 char clock_gettime ();
20611 main ()
20613 return clock_gettime ();
20615 return 0;
20617 _ACEOF
20618 for ac_lib in '' rt; do
20619 if test -z "$ac_lib"; then
20620 ac_res="none required"
20621 else
20622 ac_res=-l$ac_lib
20623 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20625 if test x$gcc_no_link = xyes; then
20626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20628 if ac_fn_cxx_try_link "$LINENO"; then :
20629 ac_cv_search_clock_gettime=$ac_res
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext
20633 if ${ac_cv_search_clock_gettime+:} false; then :
20634 break
20636 done
20637 if ${ac_cv_search_clock_gettime+:} false; then :
20639 else
20640 ac_cv_search_clock_gettime=no
20642 rm conftest.$ac_ext
20643 LIBS=$ac_func_search_save_LIBS
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20646 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20647 ac_res=$ac_cv_search_clock_gettime
20648 if test "$ac_res" != no; then :
20649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20654 $as_echo_n "checking for library containing nanosleep... " >&6; }
20655 if ${ac_cv_search_nanosleep+:} false; then :
20656 $as_echo_n "(cached) " >&6
20657 else
20658 ac_func_search_save_LIBS=$LIBS
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20662 /* Override any GCC internal prototype to avoid an error.
20663 Use char because int might match the return type of a GCC
20664 builtin and then its argument prototype would still apply. */
20665 #ifdef __cplusplus
20666 extern "C"
20667 #endif
20668 char nanosleep ();
20670 main ()
20672 return nanosleep ();
20674 return 0;
20676 _ACEOF
20677 for ac_lib in '' rt; do
20678 if test -z "$ac_lib"; then
20679 ac_res="none required"
20680 else
20681 ac_res=-l$ac_lib
20682 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20684 if test x$gcc_no_link = xyes; then
20685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20687 if ac_fn_cxx_try_link "$LINENO"; then :
20688 ac_cv_search_nanosleep=$ac_res
20690 rm -f core conftest.err conftest.$ac_objext \
20691 conftest$ac_exeext
20692 if ${ac_cv_search_nanosleep+:} false; then :
20693 break
20695 done
20696 if ${ac_cv_search_nanosleep+:} false; then :
20698 else
20699 ac_cv_search_nanosleep=no
20701 rm conftest.$ac_ext
20702 LIBS=$ac_func_search_save_LIBS
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20705 $as_echo "$ac_cv_search_nanosleep" >&6; }
20706 ac_res=$ac_cv_search_nanosleep
20707 if test "$ac_res" != no; then :
20708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20712 else
20713 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20714 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20718 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20719 if test "x$ac_cv_func_nanosleep" = xyes; then :
20725 case "$ac_cv_search_clock_gettime" in
20726 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20728 esac
20729 case "$ac_cv_search_nanosleep" in
20730 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20732 esac
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20735 $as_echo_n "checking for library containing sched_yield... " >&6; }
20736 if ${ac_cv_search_sched_yield+:} false; then :
20737 $as_echo_n "(cached) " >&6
20738 else
20739 ac_func_search_save_LIBS=$LIBS
20740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20741 /* end confdefs.h. */
20743 /* Override any GCC internal prototype to avoid an error.
20744 Use char because int might match the return type of a GCC
20745 builtin and then its argument prototype would still apply. */
20746 #ifdef __cplusplus
20747 extern "C"
20748 #endif
20749 char sched_yield ();
20751 main ()
20753 return sched_yield ();
20755 return 0;
20757 _ACEOF
20758 for ac_lib in '' rt; do
20759 if test -z "$ac_lib"; then
20760 ac_res="none required"
20761 else
20762 ac_res=-l$ac_lib
20763 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20765 if test x$gcc_no_link = xyes; then
20766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20768 if ac_fn_cxx_try_link "$LINENO"; then :
20769 ac_cv_search_sched_yield=$ac_res
20771 rm -f core conftest.err conftest.$ac_objext \
20772 conftest$ac_exeext
20773 if ${ac_cv_search_sched_yield+:} false; then :
20774 break
20776 done
20777 if ${ac_cv_search_sched_yield+:} false; then :
20779 else
20780 ac_cv_search_sched_yield=no
20782 rm conftest.$ac_ext
20783 LIBS=$ac_func_search_save_LIBS
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20786 $as_echo "$ac_cv_search_sched_yield" >&6; }
20787 ac_res=$ac_cv_search_sched_yield
20788 if test "$ac_res" != no; then :
20789 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20794 case "$ac_cv_search_sched_yield" in
20795 -lrt*)
20796 if test x"$enable_libstdcxx_time" = x"rt"; then
20797 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20798 ac_has_sched_yield=yes
20802 ac_has_sched_yield=yes
20804 esac
20806 for ac_header in unistd.h
20807 do :
20808 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20809 if test "x$ac_cv_header_unistd_h" = xyes; then :
20810 cat >>confdefs.h <<_ACEOF
20811 #define HAVE_UNISTD_H 1
20812 _ACEOF
20813 ac_has_unistd_h=yes
20814 else
20815 ac_has_unistd_h=no
20818 done
20821 if test x"$ac_has_unistd_h" = x"yes"; then
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20823 $as_echo_n "checking for monotonic clock... " >&6; }
20824 if test x$gcc_no_link = xyes; then
20825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20829 #include <unistd.h>
20830 #include <time.h>
20833 main ()
20835 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20836 timespec tp;
20837 #endif
20838 clock_gettime(CLOCK_MONOTONIC, &tp);
20841 return 0;
20843 _ACEOF
20844 if ac_fn_cxx_try_link "$LINENO"; then :
20845 ac_has_clock_monotonic=yes
20846 else
20847 ac_has_clock_monotonic=no
20849 rm -f core conftest.err conftest.$ac_objext \
20850 conftest$ac_exeext conftest.$ac_ext
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20853 $as_echo "$ac_has_clock_monotonic" >&6; }
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20856 $as_echo_n "checking for realtime clock... " >&6; }
20857 if test x$gcc_no_link = xyes; then
20858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h. */
20862 #include <unistd.h>
20863 #include <time.h>
20866 main ()
20868 #if _POSIX_TIMERS > 0
20869 timespec tp;
20870 #endif
20871 clock_gettime(CLOCK_REALTIME, &tp);
20874 return 0;
20876 _ACEOF
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20878 ac_has_clock_realtime=yes
20879 else
20880 ac_has_clock_realtime=no
20882 rm -f core conftest.err conftest.$ac_objext \
20883 conftest$ac_exeext conftest.$ac_ext
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20886 $as_echo "$ac_has_clock_realtime" >&6; }
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20889 $as_echo_n "checking for nanosleep... " >&6; }
20890 if test x$gcc_no_link = xyes; then
20891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20894 /* end confdefs.h. */
20895 #include <unistd.h>
20896 #include <time.h>
20899 main ()
20901 #if _POSIX_TIMERS > 0
20902 timespec tp;
20903 #endif
20904 nanosleep(&tp, 0);
20907 return 0;
20909 _ACEOF
20910 if ac_fn_cxx_try_link "$LINENO"; then :
20911 ac_has_nanosleep=yes
20912 else
20913 ac_has_nanosleep=no
20915 rm -f core conftest.err conftest.$ac_objext \
20916 conftest$ac_exeext conftest.$ac_ext
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20919 $as_echo "$ac_has_nanosleep" >&6; }
20923 if test x"$ac_has_clock_monotonic" != x"yes"; then
20924 case ${target_os} in
20925 linux* | uclinux*)
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20927 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 #include <unistd.h>
20931 #include <time.h>
20932 #include <sys/syscall.h>
20935 main ()
20937 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20938 timespec tp;
20939 #endif
20940 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20941 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20944 return 0;
20946 _ACEOF
20947 if ac_fn_cxx_try_compile "$LINENO"; then :
20948 ac_has_clock_gettime_syscall=yes
20949 else
20950 ac_has_clock_gettime_syscall=no
20952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20954 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20955 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20957 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20959 ac_has_clock_monotonic=yes
20960 ac_has_clock_realtime=yes
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20962 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20965 #include <time.h>
20966 #include <sys/syscall.h>
20969 main ()
20971 #ifdef SYS_clock_gettime64
20972 #if SYS_clock_gettime64 != SYS_clock_gettime
20973 // We need to use SYS_clock_gettime and libc appears to
20974 // also know about the SYS_clock_gettime64 syscall.
20975 // Check that userspace doesn't use time64 version of timespec.
20976 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20977 "struct timespec must be compatible with SYS_clock_gettime");
20978 #endif
20979 #endif
20982 return 0;
20984 _ACEOF
20985 if ac_fn_cxx_try_compile "$LINENO"; then :
20986 ac_timespec_matches_syscall=yes
20987 else
20988 ac_timespec_matches_syscall=no
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20992 $as_echo "$ac_timespec_matches_syscall" >&6; }
20993 if test x"$ac_timespec_matches_syscall" = no; then
20994 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20996 fi;;
20997 esac
21000 if test x"$ac_has_clock_monotonic" = x"yes"; then
21002 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21006 if test x"$ac_has_clock_realtime" = x"yes"; then
21008 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21012 if test x"$ac_has_sched_yield" = x"yes"; then
21014 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21018 if test x"$ac_has_nanosleep" = x"yes"; then
21020 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21022 else
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21024 $as_echo_n "checking for sleep... " >&6; }
21025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21026 /* end confdefs.h. */
21027 #include <unistd.h>
21029 main ()
21031 sleep(1)
21033 return 0;
21035 _ACEOF
21036 if ac_fn_cxx_try_compile "$LINENO"; then :
21037 ac_has_sleep=yes
21038 else
21039 ac_has_sleep=no
21041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21042 if test x"$ac_has_sleep" = x"yes"; then
21044 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21048 $as_echo "$ac_has_sleep" >&6; }
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21050 $as_echo_n "checking for usleep... " >&6; }
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21053 #include <unistd.h>
21055 main ()
21057 sleep(1);
21058 usleep(100);
21060 return 0;
21062 _ACEOF
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064 ac_has_usleep=yes
21065 else
21066 ac_has_usleep=no
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 if test x"$ac_has_usleep" = x"yes"; then
21071 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21075 $as_echo "$ac_has_usleep" >&6; }
21078 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21079 ac_no_sleep=yes
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21081 $as_echo_n "checking for Sleep... " >&6; }
21082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21083 /* end confdefs.h. */
21084 #include <windows.h>
21086 main ()
21088 Sleep(1)
21090 return 0;
21092 _ACEOF
21093 if ac_fn_cxx_try_compile "$LINENO"; then :
21094 ac_has_win32_sleep=yes
21095 else
21096 ac_has_win32_sleep=no
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 if test x"$ac_has_win32_sleep" = x"yes"; then
21101 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21103 ac_no_sleep=no
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21106 $as_echo "$ac_has_win32_sleep" >&6; }
21109 if test x"$ac_no_sleep" = x"yes"; then
21111 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21117 CXXFLAGS="$ac_save_CXXFLAGS"
21118 LIBS="$ac_save_LIBS"
21119 ac_ext=c
21120 ac_cpp='$CPP $CPPFLAGS'
21121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127 # Check for tmpnam which is obsolescent in POSIX.1-2008
21129 ac_ext=cpp
21130 ac_cpp='$CXXCPP $CPPFLAGS'
21131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21135 ac_save_CXXFLAGS="$CXXFLAGS"
21136 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21138 $as_echo_n "checking for tmpnam... " >&6; }
21139 if ${glibcxx_cv_TMPNAM+:} false; then :
21140 $as_echo_n "(cached) " >&6
21141 else
21142 if test x$gcc_no_link = xyes; then
21143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h. */
21145 #include <stdio.h>
21147 main ()
21149 char *tmp = tmpnam(NULL);
21151 return 0;
21153 _ACEOF
21154 if ac_fn_cxx_try_compile "$LINENO"; then :
21155 glibcxx_cv_TMPNAM=yes
21156 else
21157 glibcxx_cv_TMPNAM=no
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160 else
21161 if test x$gcc_no_link = xyes; then
21162 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21165 /* end confdefs.h. */
21166 #include <stdio.h>
21168 main ()
21170 char *tmp = tmpnam(NULL);
21172 return 0;
21174 _ACEOF
21175 if ac_fn_cxx_try_link "$LINENO"; then :
21176 glibcxx_cv_TMPNAM=yes
21177 else
21178 glibcxx_cv_TMPNAM=no
21180 rm -f core conftest.err conftest.$ac_objext \
21181 conftest$ac_exeext conftest.$ac_ext
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21186 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21187 if test $glibcxx_cv_TMPNAM = yes; then
21189 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21192 CXXFLAGS="$ac_save_CXXFLAGS"
21193 ac_ext=c
21194 ac_cpp='$CPP $CPPFLAGS'
21195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21201 # For pthread_cond_clockwait
21205 ac_ext=cpp
21206 ac_cpp='$CXXCPP $CPPFLAGS'
21207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21211 ac_save_CXXFLAGS="$CXXFLAGS"
21212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21213 ac_save_LIBS="$LIBS"
21214 LIBS="$LIBS -lpthread"
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21217 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21218 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21219 $as_echo_n "(cached) " >&6
21220 else
21222 if test x$gcc_no_link = xyes; then
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #include <pthread.h>
21227 main ()
21229 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21231 return 0;
21233 _ACEOF
21234 if ac_fn_cxx_try_compile "$LINENO"; then :
21235 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21236 else
21237 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 else
21241 if test x$gcc_no_link = xyes; then
21242 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h. */
21246 #include <pthread.h>
21248 main ()
21250 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21252 return 0;
21254 _ACEOF
21255 if ac_fn_cxx_try_link "$LINENO"; then :
21256 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21257 else
21258 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21260 rm -f core conftest.err conftest.$ac_objext \
21261 conftest$ac_exeext conftest.$ac_ext
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21266 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21267 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21269 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21273 CXXFLAGS="$ac_save_CXXFLAGS"
21274 LIBS="$ac_save_LIBS"
21275 ac_ext=c
21276 ac_cpp='$CPP $CPPFLAGS'
21277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21283 # For pthread_mutex_clocklock
21287 ac_ext=cpp
21288 ac_cpp='$CXXCPP $CPPFLAGS'
21289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21293 ac_save_CXXFLAGS="$CXXFLAGS"
21294 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21295 ac_save_LIBS="$LIBS"
21296 LIBS="$LIBS -lpthread"
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21299 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21300 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21301 $as_echo_n "(cached) " >&6
21302 else
21304 if test x$gcc_no_link = xyes; then
21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307 #include <pthread.h>
21309 main ()
21311 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21313 return 0;
21315 _ACEOF
21316 if ac_fn_cxx_try_compile "$LINENO"; then :
21317 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21318 else
21319 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322 else
21323 if test x$gcc_no_link = xyes; then
21324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21328 #include <pthread.h>
21330 main ()
21332 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21334 return 0;
21336 _ACEOF
21337 if ac_fn_cxx_try_link "$LINENO"; then :
21338 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21339 else
21340 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21342 rm -f core conftest.err conftest.$ac_objext \
21343 conftest$ac_exeext conftest.$ac_ext
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21348 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21349 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21351 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21355 CXXFLAGS="$ac_save_CXXFLAGS"
21356 LIBS="$ac_save_LIBS"
21357 ac_ext=c
21358 ac_cpp='$CPP $CPPFLAGS'
21359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21365 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21369 ac_ext=cpp
21370 ac_cpp='$CXXCPP $CPPFLAGS'
21371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21375 ac_save_CXXFLAGS="$CXXFLAGS"
21376 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21377 ac_save_LIBS="$LIBS"
21378 LIBS="$LIBS -lpthread"
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21381 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21382 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21383 $as_echo_n "(cached) " >&6
21384 else
21386 if test x$gcc_no_link = xyes; then
21387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21388 /* end confdefs.h. */
21389 #include <pthread.h>
21391 main ()
21393 pthread_rwlock_t rwl; struct timespec ts;
21394 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21395 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21397 return 0;
21399 _ACEOF
21400 if ac_fn_cxx_try_compile "$LINENO"; then :
21401 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21402 else
21403 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21406 else
21407 if test x$gcc_no_link = xyes; then
21408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h. */
21412 #include <pthread.h>
21414 main ()
21416 pthread_rwlock_t rwl; struct timespec ts;
21417 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21418 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21420 return 0;
21422 _ACEOF
21423 if ac_fn_cxx_try_link "$LINENO"; then :
21424 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21425 else
21426 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21428 rm -f core conftest.err conftest.$ac_objext \
21429 conftest$ac_exeext conftest.$ac_ext
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21434 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21435 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21437 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21441 CXXFLAGS="$ac_save_CXXFLAGS"
21442 LIBS="$ac_save_LIBS"
21443 ac_ext=c
21444 ac_cpp='$CPP $CPPFLAGS'
21445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21452 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21453 if test "x$ac_cv_header_locale_h" = xyes; then :
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21456 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21457 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21458 $as_echo_n "(cached) " >&6
21459 else
21460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21461 /* end confdefs.h. */
21462 #include <locale.h>
21464 main ()
21466 return LC_MESSAGES
21468 return 0;
21470 _ACEOF
21471 if ac_fn_c_try_compile "$LINENO"; then :
21472 ac_cv_val_LC_MESSAGES=yes
21473 else
21474 ac_cv_val_LC_MESSAGES=no
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21479 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21480 if test $ac_cv_val_LC_MESSAGES = yes; then
21482 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21491 # For hardware_concurrency
21492 for ac_header in sys/sysinfo.h
21493 do :
21494 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21495 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21496 cat >>confdefs.h <<_ACEOF
21497 #define HAVE_SYS_SYSINFO_H 1
21498 _ACEOF
21502 done
21507 ac_ext=cpp
21508 ac_cpp='$CXXCPP $CPPFLAGS'
21509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21513 ac_save_CXXFLAGS="$CXXFLAGS"
21514 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21517 $as_echo_n "checking for get_nprocs... " >&6; }
21518 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21519 $as_echo_n "(cached) " >&6
21520 else
21522 if test x$gcc_no_link = xyes; then
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21525 #include <sys/sysinfo.h>
21527 main ()
21529 int n = get_nprocs();
21531 return 0;
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 glibcxx_cv_GET_NPROCS=yes
21536 else
21537 glibcxx_cv_GET_NPROCS=no
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 else
21541 if test x$gcc_no_link = xyes; then
21542 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21546 #include <sys/sysinfo.h>
21548 main ()
21550 int n = get_nprocs();
21552 return 0;
21554 _ACEOF
21555 if ac_fn_cxx_try_link "$LINENO"; then :
21556 glibcxx_cv_GET_NPROCS=yes
21557 else
21558 glibcxx_cv_GET_NPROCS=no
21560 rm -f core conftest.err conftest.$ac_objext \
21561 conftest$ac_exeext conftest.$ac_ext
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21566 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21567 if test $glibcxx_cv_GET_NPROCS = yes; then
21569 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21573 CXXFLAGS="$ac_save_CXXFLAGS"
21574 ac_ext=c
21575 ac_cpp='$CPP $CPPFLAGS'
21576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21581 for ac_header in unistd.h
21582 do :
21583 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21584 if test "x$ac_cv_header_unistd_h" = xyes; then :
21585 cat >>confdefs.h <<_ACEOF
21586 #define HAVE_UNISTD_H 1
21587 _ACEOF
21591 done
21596 ac_ext=cpp
21597 ac_cpp='$CXXCPP $CPPFLAGS'
21598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21602 ac_save_CXXFLAGS="$CXXFLAGS"
21603 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21606 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21607 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21608 $as_echo_n "(cached) " >&6
21609 else
21611 if test x$gcc_no_link = xyes; then
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h. */
21614 #include <unistd.h>
21616 main ()
21618 int n = sysconf(_SC_NPROCESSORS_ONLN);
21620 return 0;
21622 _ACEOF
21623 if ac_fn_cxx_try_compile "$LINENO"; then :
21624 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21625 else
21626 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21629 else
21630 if test x$gcc_no_link = xyes; then
21631 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21635 #include <unistd.h>
21637 main ()
21639 int n = sysconf(_SC_NPROCESSORS_ONLN);
21641 return 0;
21643 _ACEOF
21644 if ac_fn_cxx_try_link "$LINENO"; then :
21645 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21646 else
21647 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21649 rm -f core conftest.err conftest.$ac_objext \
21650 conftest$ac_exeext conftest.$ac_ext
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21655 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21656 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21658 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21662 CXXFLAGS="$ac_save_CXXFLAGS"
21663 ac_ext=c
21664 ac_cpp='$CPP $CPPFLAGS'
21665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21673 ac_ext=cpp
21674 ac_cpp='$CXXCPP $CPPFLAGS'
21675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21679 ac_save_CXXFLAGS="$CXXFLAGS"
21680 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21683 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21684 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21685 $as_echo_n "(cached) " >&6
21686 else
21688 if test x$gcc_no_link = xyes; then
21689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21690 /* end confdefs.h. */
21691 #include <unistd.h>
21693 main ()
21695 int n = sysconf(_SC_NPROC_ONLN);
21697 return 0;
21699 _ACEOF
21700 if ac_fn_cxx_try_compile "$LINENO"; then :
21701 glibcxx_cv_SC_NPROC_ONLN=yes
21702 else
21703 glibcxx_cv_SC_NPROC_ONLN=no
21705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21706 else
21707 if test x$gcc_no_link = xyes; then
21708 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712 #include <unistd.h>
21714 main ()
21716 int n = sysconf(_SC_NPROC_ONLN);
21718 return 0;
21720 _ACEOF
21721 if ac_fn_cxx_try_link "$LINENO"; then :
21722 glibcxx_cv_SC_NPROC_ONLN=yes
21723 else
21724 glibcxx_cv_SC_NPROC_ONLN=no
21726 rm -f core conftest.err conftest.$ac_objext \
21727 conftest$ac_exeext conftest.$ac_ext
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21732 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21733 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21735 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21739 CXXFLAGS="$ac_save_CXXFLAGS"
21740 ac_ext=c
21741 ac_cpp='$CPP $CPPFLAGS'
21742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21750 ac_ext=cpp
21751 ac_cpp='$CXXCPP $CPPFLAGS'
21752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21756 ac_save_CXXFLAGS="$CXXFLAGS"
21757 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21760 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21761 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21762 $as_echo_n "(cached) " >&6
21763 else
21765 if test x$gcc_no_link = xyes; then
21766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h. */
21768 #include <pthread.h>
21770 main ()
21772 int n = pthread_num_processors_np();
21774 return 0;
21776 _ACEOF
21777 if ac_fn_cxx_try_compile "$LINENO"; then :
21778 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21779 else
21780 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21783 else
21784 if test x$gcc_no_link = xyes; then
21785 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21788 /* end confdefs.h. */
21789 #include <pthread.h>
21791 main ()
21793 int n = pthread_num_processors_np();
21795 return 0;
21797 _ACEOF
21798 if ac_fn_cxx_try_link "$LINENO"; then :
21799 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21800 else
21801 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21803 rm -f core conftest.err conftest.$ac_objext \
21804 conftest$ac_exeext conftest.$ac_ext
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21809 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21810 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21812 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21816 CXXFLAGS="$ac_save_CXXFLAGS"
21817 ac_ext=c
21818 ac_cpp='$CPP $CPPFLAGS'
21819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21827 ac_ext=cpp
21828 ac_cpp='$CXXCPP $CPPFLAGS'
21829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21833 ac_save_CXXFLAGS="$CXXFLAGS"
21834 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21837 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21838 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21839 $as_echo_n "(cached) " >&6
21840 else
21842 if test x$gcc_no_link = xyes; then
21843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21844 /* end confdefs.h. */
21846 #include <stddef.h>
21847 #include <sys/sysctl.h>
21850 main ()
21853 int count;
21854 size_t size = sizeof(count);
21855 int mib[] = { CTL_HW, HW_NCPU };
21856 sysctl(mib, 2, &count, &size, NULL, 0);
21859 return 0;
21861 _ACEOF
21862 if ac_fn_cxx_try_compile "$LINENO"; then :
21863 glibcxx_cv_SYSCTL_HW_NCPU=yes
21864 else
21865 glibcxx_cv_SYSCTL_HW_NCPU=no
21867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21868 else
21869 if test x$gcc_no_link = xyes; then
21870 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21873 /* end confdefs.h. */
21875 #include <stddef.h>
21876 #include <sys/sysctl.h>
21879 main ()
21882 int count;
21883 size_t size = sizeof(count);
21884 int mib[] = { CTL_HW, HW_NCPU };
21885 sysctl(mib, 2, &count, &size, NULL, 0);
21888 return 0;
21890 _ACEOF
21891 if ac_fn_cxx_try_link "$LINENO"; then :
21892 glibcxx_cv_SYSCTL_HW_NCPU=yes
21893 else
21894 glibcxx_cv_SYSCTL_HW_NCPU=no
21896 rm -f core conftest.err conftest.$ac_objext \
21897 conftest$ac_exeext conftest.$ac_ext
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21902 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21903 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21905 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21909 CXXFLAGS="$ac_save_CXXFLAGS"
21910 ac_ext=c
21911 ac_cpp='$CPP $CPPFLAGS'
21912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21918 # Note that this test has to be run with the C language.
21919 # Otherwise, sdt.h will try to include some headers from
21920 # libstdc++ itself.
21922 ac_ext=c
21923 ac_cpp='$CPP $CPPFLAGS'
21924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21929 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21930 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21931 $as_echo_n "(cached) " >&6
21932 else
21934 # Because we have to run the test in C, we use grep rather
21935 # than the compiler to check for the bug. The bug is that
21936 # were strings without trailing whitespace, causing g++
21937 # to look for operator"". The pattern searches for the fixed
21938 # output.
21939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21940 /* end confdefs.h. */
21942 #include <sys/sdt.h>
21943 int f() { STAP_PROBE(hi, bob); }
21945 _ACEOF
21946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21947 $EGREP " \",\" " >/dev/null 2>&1; then :
21948 glibcxx_cv_sys_sdt_h=yes
21949 else
21950 glibcxx_cv_sys_sdt_h=no
21952 rm -f conftest*
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21957 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21964 if test $glibcxx_cv_sys_sdt_h = yes; then
21966 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21971 # Check for available headers.
21972 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21973 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21974 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21975 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21976 wchar.h wctype.h linux/types.h
21977 do :
21978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21980 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21981 cat >>confdefs.h <<_ACEOF
21982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21983 _ACEOF
21987 done
21990 for ac_header in linux/random.h
21991 do :
21992 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21993 # include <linux/types.h>
21994 #endif
21997 if test "x$ac_cv_header_linux_random_h" = xyes; then :
21998 cat >>confdefs.h <<_ACEOF
21999 #define HAVE_LINUX_RANDOM_H 1
22000 _ACEOF
22004 done
22007 for ac_header in xlocale.h
22008 do :
22009 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22010 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22011 cat >>confdefs.h <<_ACEOF
22012 #define HAVE_XLOCALE_H 1
22013 _ACEOF
22017 done
22020 # Only do link tests if native. Else, hardcode.
22021 if $GLIBCXX_IS_NATIVE; then
22023 # We can do more elaborate tests that assume a working linker.
22024 CANADIAN=no
22028 # Check whether --with-gnu-ld was given.
22029 if test "${with_gnu_ld+set}" = set; then :
22030 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22031 else
22032 with_gnu_ld=no
22035 ac_prog=ld
22036 if test "$GCC" = yes; then
22037 # Check if gcc -print-prog-name=ld gives a path.
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22039 $as_echo_n "checking for ld used by $CC... " >&6; }
22040 case $host in
22041 *-*-mingw*)
22042 # gcc leaves a trailing carriage return which upsets mingw
22043 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22045 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22046 esac
22047 case $ac_prog in
22048 # Accept absolute paths.
22049 [\\/]* | ?:[\\/]*)
22050 re_direlt='/[^/][^/]*/\.\./'
22051 # Canonicalize the pathname of ld
22052 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22053 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22054 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22055 done
22056 test -z "$LD" && LD="$ac_prog"
22059 # If it fails, then pretend we aren't using GCC.
22060 ac_prog=ld
22063 # If it is relative, then search for the first ld in PATH.
22064 with_gnu_ld=unknown
22066 esac
22067 elif test "$with_gnu_ld" = yes; then
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22069 $as_echo_n "checking for GNU ld... " >&6; }
22070 else
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22072 $as_echo_n "checking for non-GNU ld... " >&6; }
22074 if ${lt_cv_path_LD+:} false; then :
22075 $as_echo_n "(cached) " >&6
22076 else
22077 if test -z "$LD"; then
22078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22079 for ac_dir in $PATH; do
22080 IFS="$lt_save_ifs"
22081 test -z "$ac_dir" && ac_dir=.
22082 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22083 lt_cv_path_LD="$ac_dir/$ac_prog"
22084 # Check to see if the program is GNU ld. I'd rather use --version,
22085 # but apparently some variants of GNU ld only accept -v.
22086 # Break only if it was the GNU/non-GNU ld that we prefer.
22087 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22088 *GNU* | *'with BFD'*)
22089 test "$with_gnu_ld" != no && break
22092 test "$with_gnu_ld" != yes && break
22094 esac
22096 done
22097 IFS="$lt_save_ifs"
22098 else
22099 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22103 LD="$lt_cv_path_LD"
22104 if test -n "$LD"; then
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22106 $as_echo "$LD" >&6; }
22107 else
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22109 $as_echo "no" >&6; }
22111 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22113 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22114 if ${lt_cv_prog_gnu_ld+:} false; then :
22115 $as_echo_n "(cached) " >&6
22116 else
22117 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22118 case `$LD -v 2>&1 </dev/null` in
22119 *GNU* | *'with BFD'*)
22120 lt_cv_prog_gnu_ld=yes
22123 lt_cv_prog_gnu_ld=no
22125 esac
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22128 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22129 with_gnu_ld=$lt_cv_prog_gnu_ld
22137 # If we're not using GNU ld, then there's no point in even trying these
22138 # tests. Check for that first. We should have already tested for gld
22139 # by now (in libtool), but require it now just to be safe...
22140 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22141 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22145 # The name set by libtool depends on the version of libtool. Shame on us
22146 # for depending on an impl detail, but c'est la vie. Older versions used
22147 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22148 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22149 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22150 # set (hence we're using an older libtool), then set it.
22151 if test x${with_gnu_ld+set} != xset; then
22152 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22153 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22154 with_gnu_ld=no
22155 else
22156 with_gnu_ld=$ac_cv_prog_gnu_ld
22160 # Start by getting the version number. I think the libtool test already
22161 # does some of this, but throws away the result.
22162 glibcxx_ld_is_gold=no
22163 glibcxx_ld_is_mold=no
22164 if test x"$with_gnu_ld" = x"yes"; then
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22166 $as_echo_n "checking for ld version... " >&6; }
22168 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22169 glibcxx_ld_is_gold=yes
22170 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22171 glibcxx_ld_is_mold=yes
22173 ldver=`$LD --version 2>/dev/null |
22174 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22176 glibcxx_gnu_ld_version=`echo $ldver | \
22177 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22179 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22182 # Set --gc-sections.
22183 glibcxx_have_gc_sections=no
22184 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22185 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22186 glibcxx_have_gc_sections=yes
22188 else
22189 glibcxx_gcsections_min_ld=21602
22190 if test x"$with_gnu_ld" = x"yes" &&
22191 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22192 glibcxx_have_gc_sections=yes
22195 if test "$glibcxx_have_gc_sections" = "yes"; then
22196 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22197 # NB: This flag only works reliably after 2.16.1. Configure tests
22198 # for this are difficult, so hard wire a value that should work.
22200 ac_test_CFLAGS="${CFLAGS+set}"
22201 ac_save_CFLAGS="$CFLAGS"
22202 CFLAGS='-Wl,--gc-sections'
22204 # Check for -Wl,--gc-sections
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22206 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22207 if test x$gcc_no_link = xyes; then
22208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h. */
22212 int one(void) { return 1; }
22213 int two(void) { return 2; }
22216 main ()
22218 two();
22220 return 0;
22222 _ACEOF
22223 if ac_fn_c_try_link "$LINENO"; then :
22224 ac_gcsections=yes
22225 else
22226 ac_gcsections=no
22228 rm -f core conftest.err conftest.$ac_objext \
22229 conftest$ac_exeext conftest.$ac_ext
22230 if test "$ac_gcsections" = "yes"; then
22231 rm -f conftest.c
22232 touch conftest.c
22233 if $CC -c conftest.c; then
22234 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22235 grep "Warning: gc-sections option ignored" > /dev/null; then
22236 ac_gcsections=no
22239 rm -f conftest.c conftest.o conftest
22241 if test "$ac_gcsections" = "yes"; then
22242 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22245 $as_echo "$ac_gcsections" >&6; }
22247 if test "$ac_test_CFLAGS" = set; then
22248 CFLAGS="$ac_save_CFLAGS"
22249 else
22250 # this is the suspicious part
22251 CFLAGS=''
22255 # Set -z,relro.
22256 # Note this is only for shared objects.
22257 ac_ld_relro=no
22258 if test x"$with_gnu_ld" = x"yes"; then
22259 # cygwin and mingw uses PE, which has no ELF relro support,
22260 # multi target ld may confuse configure machinery
22261 case "$host" in
22262 *-*-cygwin*)
22264 *-*-mingw*)
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22268 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22269 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22270 if test -n "$cxx_z_relo"; then
22271 OPT_LDFLAGS="-Wl,-z,relro"
22272 ac_ld_relro=yes
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22275 $as_echo "$ac_ld_relro" >&6; }
22276 esac
22279 # Set linker optimization flags.
22280 if test x"$with_gnu_ld" = x"yes"; then
22281 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22289 ac_save_CXXFLAGS="$CXXFLAGS"
22290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22293 $as_echo_n "checking for sin in -lm... " >&6; }
22294 if ${ac_cv_lib_m_sin+:} false; then :
22295 $as_echo_n "(cached) " >&6
22296 else
22297 ac_check_lib_save_LIBS=$LIBS
22298 LIBS="-lm $LIBS"
22299 if test x$gcc_no_link = xyes; then
22300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h. */
22305 /* Override any GCC internal prototype to avoid an error.
22306 Use char because int might match the return type of a GCC
22307 builtin and then its argument prototype would still apply. */
22308 #ifdef __cplusplus
22309 extern "C"
22310 #endif
22311 char sin ();
22313 main ()
22315 return sin ();
22317 return 0;
22319 _ACEOF
22320 if ac_fn_c_try_link "$LINENO"; then :
22321 ac_cv_lib_m_sin=yes
22322 else
22323 ac_cv_lib_m_sin=no
22325 rm -f core conftest.err conftest.$ac_objext \
22326 conftest$ac_exeext conftest.$ac_ext
22327 LIBS=$ac_check_lib_save_LIBS
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22330 $as_echo "$ac_cv_lib_m_sin" >&6; }
22331 if test "x$ac_cv_lib_m_sin" = xyes; then :
22332 libm="-lm"
22335 ac_save_LIBS="$LIBS"
22336 LIBS="$LIBS $libm"
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22341 $as_echo_n "checking for isinf declaration... " >&6; }
22342 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22343 if ${glibcxx_cv_func_isinf_use+:} false; then :
22344 $as_echo_n "(cached) " >&6
22345 else
22348 ac_ext=cpp
22349 ac_cpp='$CXXCPP $CPPFLAGS'
22350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22355 /* end confdefs.h. */
22356 #include <math.h>
22357 #ifdef HAVE_IEEEFP_H
22358 #include <ieeefp.h>
22359 #endif
22362 main ()
22364 isinf(0);
22366 return 0;
22368 _ACEOF
22369 if ac_fn_cxx_try_compile "$LINENO"; then :
22370 glibcxx_cv_func_isinf_use=yes
22371 else
22372 glibcxx_cv_func_isinf_use=no
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22375 ac_ext=c
22376 ac_cpp='$CPP $CPPFLAGS'
22377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22386 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22388 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22389 for ac_func in isinf
22390 do :
22391 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22392 if test "x$ac_cv_func_isinf" = xyes; then :
22393 cat >>confdefs.h <<_ACEOF
22394 #define HAVE_ISINF 1
22395 _ACEOF
22398 done
22400 else
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22403 $as_echo_n "checking for _isinf declaration... " >&6; }
22404 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22405 if ${glibcxx_cv_func__isinf_use+:} false; then :
22406 $as_echo_n "(cached) " >&6
22407 else
22410 ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418 #include <math.h>
22419 #ifdef HAVE_IEEEFP_H
22420 #include <ieeefp.h>
22421 #endif
22424 main ()
22426 _isinf(0);
22428 return 0;
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_func__isinf_use=yes
22433 else
22434 glibcxx_cv_func__isinf_use=no
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22448 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22450 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22451 for ac_func in _isinf
22452 do :
22453 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22454 if test "x$ac_cv_func__isinf" = xyes; then :
22455 cat >>confdefs.h <<_ACEOF
22456 #define HAVE__ISINF 1
22457 _ACEOF
22460 done
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22470 $as_echo_n "checking for isnan declaration... " >&6; }
22471 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22472 if ${glibcxx_cv_func_isnan_use+:} false; then :
22473 $as_echo_n "(cached) " >&6
22474 else
22477 ac_ext=cpp
22478 ac_cpp='$CXXCPP $CPPFLAGS'
22479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22484 /* end confdefs.h. */
22485 #include <math.h>
22486 #ifdef HAVE_IEEEFP_H
22487 #include <ieeefp.h>
22488 #endif
22491 main ()
22493 isnan(0);
22495 return 0;
22497 _ACEOF
22498 if ac_fn_cxx_try_compile "$LINENO"; then :
22499 glibcxx_cv_func_isnan_use=yes
22500 else
22501 glibcxx_cv_func_isnan_use=no
22503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22504 ac_ext=c
22505 ac_cpp='$CPP $CPPFLAGS'
22506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22515 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22517 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22518 for ac_func in isnan
22519 do :
22520 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22521 if test "x$ac_cv_func_isnan" = xyes; then :
22522 cat >>confdefs.h <<_ACEOF
22523 #define HAVE_ISNAN 1
22524 _ACEOF
22527 done
22529 else
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22532 $as_echo_n "checking for _isnan declaration... " >&6; }
22533 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22534 if ${glibcxx_cv_func__isnan_use+:} false; then :
22535 $as_echo_n "(cached) " >&6
22536 else
22539 ac_ext=cpp
22540 ac_cpp='$CXXCPP $CPPFLAGS'
22541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22547 #include <math.h>
22548 #ifdef HAVE_IEEEFP_H
22549 #include <ieeefp.h>
22550 #endif
22553 main ()
22555 _isnan(0);
22557 return 0;
22559 _ACEOF
22560 if ac_fn_cxx_try_compile "$LINENO"; then :
22561 glibcxx_cv_func__isnan_use=yes
22562 else
22563 glibcxx_cv_func__isnan_use=no
22565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22566 ac_ext=c
22567 ac_cpp='$CPP $CPPFLAGS'
22568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22577 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22579 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22580 for ac_func in _isnan
22581 do :
22582 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22583 if test "x$ac_cv_func__isnan" = xyes; then :
22584 cat >>confdefs.h <<_ACEOF
22585 #define HAVE__ISNAN 1
22586 _ACEOF
22589 done
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22599 $as_echo_n "checking for finite declaration... " >&6; }
22600 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22601 if ${glibcxx_cv_func_finite_use+:} false; then :
22602 $as_echo_n "(cached) " >&6
22603 else
22606 ac_ext=cpp
22607 ac_cpp='$CXXCPP $CPPFLAGS'
22608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22613 /* end confdefs.h. */
22614 #include <math.h>
22615 #ifdef HAVE_IEEEFP_H
22616 #include <ieeefp.h>
22617 #endif
22620 main ()
22622 finite(0);
22624 return 0;
22626 _ACEOF
22627 if ac_fn_cxx_try_compile "$LINENO"; then :
22628 glibcxx_cv_func_finite_use=yes
22629 else
22630 glibcxx_cv_func_finite_use=no
22632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22633 ac_ext=c
22634 ac_cpp='$CPP $CPPFLAGS'
22635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22644 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22646 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22647 for ac_func in finite
22648 do :
22649 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22650 if test "x$ac_cv_func_finite" = xyes; then :
22651 cat >>confdefs.h <<_ACEOF
22652 #define HAVE_FINITE 1
22653 _ACEOF
22656 done
22658 else
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22661 $as_echo_n "checking for _finite declaration... " >&6; }
22662 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22663 if ${glibcxx_cv_func__finite_use+:} false; then :
22664 $as_echo_n "(cached) " >&6
22665 else
22668 ac_ext=cpp
22669 ac_cpp='$CXXCPP $CPPFLAGS'
22670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22675 /* end confdefs.h. */
22676 #include <math.h>
22677 #ifdef HAVE_IEEEFP_H
22678 #include <ieeefp.h>
22679 #endif
22682 main ()
22684 _finite(0);
22686 return 0;
22688 _ACEOF
22689 if ac_fn_cxx_try_compile "$LINENO"; then :
22690 glibcxx_cv_func__finite_use=yes
22691 else
22692 glibcxx_cv_func__finite_use=no
22694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695 ac_ext=c
22696 ac_cpp='$CPP $CPPFLAGS'
22697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22706 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22708 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22709 for ac_func in _finite
22710 do :
22711 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22712 if test "x$ac_cv_func__finite" = xyes; then :
22713 cat >>confdefs.h <<_ACEOF
22714 #define HAVE__FINITE 1
22715 _ACEOF
22718 done
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22728 $as_echo_n "checking for sincos declaration... " >&6; }
22729 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22730 if ${glibcxx_cv_func_sincos_use+:} false; then :
22731 $as_echo_n "(cached) " >&6
22732 else
22735 ac_ext=cpp
22736 ac_cpp='$CXXCPP $CPPFLAGS'
22737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h. */
22743 #include <math.h>
22745 main ()
22747 sincos(0, 0, 0);
22749 return 0;
22751 _ACEOF
22752 if ac_fn_cxx_try_compile "$LINENO"; then :
22753 glibcxx_cv_func_sincos_use=yes
22754 else
22755 glibcxx_cv_func_sincos_use=no
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758 ac_ext=c
22759 ac_cpp='$CPP $CPPFLAGS'
22760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22769 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22771 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22772 for ac_func in sincos
22773 do :
22774 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22775 if test "x$ac_cv_func_sincos" = xyes; then :
22776 cat >>confdefs.h <<_ACEOF
22777 #define HAVE_SINCOS 1
22778 _ACEOF
22781 done
22783 else
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22786 $as_echo_n "checking for _sincos declaration... " >&6; }
22787 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22788 if ${glibcxx_cv_func__sincos_use+:} false; then :
22789 $as_echo_n "(cached) " >&6
22790 else
22793 ac_ext=cpp
22794 ac_cpp='$CXXCPP $CPPFLAGS'
22795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22800 /* end confdefs.h. */
22801 #include <math.h>
22803 main ()
22805 _sincos(0, 0, 0);
22807 return 0;
22809 _ACEOF
22810 if ac_fn_cxx_try_compile "$LINENO"; then :
22811 glibcxx_cv_func__sincos_use=yes
22812 else
22813 glibcxx_cv_func__sincos_use=no
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22827 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22829 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22830 for ac_func in _sincos
22831 do :
22832 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22833 if test "x$ac_cv_func__sincos" = xyes; then :
22834 cat >>confdefs.h <<_ACEOF
22835 #define HAVE__SINCOS 1
22836 _ACEOF
22839 done
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22849 $as_echo_n "checking for fpclass declaration... " >&6; }
22850 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22851 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22852 $as_echo_n "(cached) " >&6
22853 else
22856 ac_ext=cpp
22857 ac_cpp='$CXXCPP $CPPFLAGS'
22858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22863 /* end confdefs.h. */
22864 #include <math.h>
22865 #ifdef HAVE_IEEEFP_H
22866 #include <ieeefp.h>
22867 #endif
22870 main ()
22872 fpclass(0);
22874 return 0;
22876 _ACEOF
22877 if ac_fn_cxx_try_compile "$LINENO"; then :
22878 glibcxx_cv_func_fpclass_use=yes
22879 else
22880 glibcxx_cv_func_fpclass_use=no
22882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883 ac_ext=c
22884 ac_cpp='$CPP $CPPFLAGS'
22885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22894 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22896 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22897 for ac_func in fpclass
22898 do :
22899 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22900 if test "x$ac_cv_func_fpclass" = xyes; then :
22901 cat >>confdefs.h <<_ACEOF
22902 #define HAVE_FPCLASS 1
22903 _ACEOF
22906 done
22908 else
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22911 $as_echo_n "checking for _fpclass declaration... " >&6; }
22912 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22913 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22914 $as_echo_n "(cached) " >&6
22915 else
22918 ac_ext=cpp
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h. */
22926 #include <math.h>
22927 #ifdef HAVE_IEEEFP_H
22928 #include <ieeefp.h>
22929 #endif
22932 main ()
22934 _fpclass(0);
22936 return 0;
22938 _ACEOF
22939 if ac_fn_cxx_try_compile "$LINENO"; then :
22940 glibcxx_cv_func__fpclass_use=yes
22941 else
22942 glibcxx_cv_func__fpclass_use=no
22944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22945 ac_ext=c
22946 ac_cpp='$CPP $CPPFLAGS'
22947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22956 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22958 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22959 for ac_func in _fpclass
22960 do :
22961 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22962 if test "x$ac_cv_func__fpclass" = xyes; then :
22963 cat >>confdefs.h <<_ACEOF
22964 #define HAVE__FPCLASS 1
22965 _ACEOF
22968 done
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22978 $as_echo_n "checking for qfpclass declaration... " >&6; }
22979 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22980 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22981 $as_echo_n "(cached) " >&6
22982 else
22985 ac_ext=cpp
22986 ac_cpp='$CXXCPP $CPPFLAGS'
22987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22992 /* end confdefs.h. */
22993 #include <math.h>
22994 #ifdef HAVE_IEEEFP_H
22995 #include <ieeefp.h>
22996 #endif
22999 main ()
23001 qfpclass(0);
23003 return 0;
23005 _ACEOF
23006 if ac_fn_cxx_try_compile "$LINENO"; then :
23007 glibcxx_cv_func_qfpclass_use=yes
23008 else
23009 glibcxx_cv_func_qfpclass_use=no
23011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 ac_ext=c
23013 ac_cpp='$CPP $CPPFLAGS'
23014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23023 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23025 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23026 for ac_func in qfpclass
23027 do :
23028 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23029 if test "x$ac_cv_func_qfpclass" = xyes; then :
23030 cat >>confdefs.h <<_ACEOF
23031 #define HAVE_QFPCLASS 1
23032 _ACEOF
23035 done
23037 else
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23040 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23041 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23042 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23043 $as_echo_n "(cached) " >&6
23044 else
23047 ac_ext=cpp
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23054 /* end confdefs.h. */
23055 #include <math.h>
23056 #ifdef HAVE_IEEEFP_H
23057 #include <ieeefp.h>
23058 #endif
23061 main ()
23063 _qfpclass(0);
23065 return 0;
23067 _ACEOF
23068 if ac_fn_cxx_try_compile "$LINENO"; then :
23069 glibcxx_cv_func__qfpclass_use=yes
23070 else
23071 glibcxx_cv_func__qfpclass_use=no
23073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 ac_ext=c
23075 ac_cpp='$CPP $CPPFLAGS'
23076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23085 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23087 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23088 for ac_func in _qfpclass
23089 do :
23090 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23091 if test "x$ac_cv_func__qfpclass" = xyes; then :
23092 cat >>confdefs.h <<_ACEOF
23093 #define HAVE__QFPCLASS 1
23094 _ACEOF
23097 done
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23107 $as_echo_n "checking for hypot declaration... " >&6; }
23108 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23109 if ${glibcxx_cv_func_hypot_use+:} false; then :
23110 $as_echo_n "(cached) " >&6
23111 else
23114 ac_ext=cpp
23115 ac_cpp='$CXXCPP $CPPFLAGS'
23116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23121 /* end confdefs.h. */
23122 #include <math.h>
23124 main ()
23126 hypot(0, 0);
23128 return 0;
23130 _ACEOF
23131 if ac_fn_cxx_try_compile "$LINENO"; then :
23132 glibcxx_cv_func_hypot_use=yes
23133 else
23134 glibcxx_cv_func_hypot_use=no
23136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23137 ac_ext=c
23138 ac_cpp='$CPP $CPPFLAGS'
23139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23148 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23150 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23151 for ac_func in hypot
23152 do :
23153 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23154 if test "x$ac_cv_func_hypot" = xyes; then :
23155 cat >>confdefs.h <<_ACEOF
23156 #define HAVE_HYPOT 1
23157 _ACEOF
23160 done
23162 else
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23165 $as_echo_n "checking for _hypot declaration... " >&6; }
23166 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23167 if ${glibcxx_cv_func__hypot_use+:} false; then :
23168 $as_echo_n "(cached) " >&6
23169 else
23172 ac_ext=cpp
23173 ac_cpp='$CXXCPP $CPPFLAGS'
23174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23179 /* end confdefs.h. */
23180 #include <math.h>
23182 main ()
23184 _hypot(0, 0);
23186 return 0;
23188 _ACEOF
23189 if ac_fn_cxx_try_compile "$LINENO"; then :
23190 glibcxx_cv_func__hypot_use=yes
23191 else
23192 glibcxx_cv_func__hypot_use=no
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195 ac_ext=c
23196 ac_cpp='$CPP $CPPFLAGS'
23197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23206 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23208 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23209 for ac_func in _hypot
23210 do :
23211 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23212 if test "x$ac_cv_func__hypot" = xyes; then :
23213 cat >>confdefs.h <<_ACEOF
23214 #define HAVE__HYPOT 1
23215 _ACEOF
23218 done
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23228 $as_echo_n "checking for float trig functions... " >&6; }
23229 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23230 $as_echo_n "(cached) " >&6
23231 else
23234 ac_ext=cpp
23235 ac_cpp='$CXXCPP $CPPFLAGS'
23236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23242 #include <math.h>
23244 main ()
23246 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23248 return 0;
23250 _ACEOF
23251 if ac_fn_cxx_try_compile "$LINENO"; then :
23252 glibcxx_cv_func_float_trig_use=yes
23253 else
23254 glibcxx_cv_func_float_trig_use=no
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23257 ac_ext=c
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23266 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23267 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23268 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23269 do :
23270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23272 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23273 cat >>confdefs.h <<_ACEOF
23274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23275 _ACEOF
23278 done
23280 else
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23282 $as_echo_n "checking for _float trig functions... " >&6; }
23283 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23284 $as_echo_n "(cached) " >&6
23285 else
23288 ac_ext=cpp
23289 ac_cpp='$CXXCPP $CPPFLAGS'
23290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23295 /* end confdefs.h. */
23296 #include <math.h>
23298 main ()
23300 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23302 return 0;
23304 _ACEOF
23305 if ac_fn_cxx_try_compile "$LINENO"; then :
23306 glibcxx_cv_func__float_trig_use=yes
23307 else
23308 glibcxx_cv_func__float_trig_use=no
23310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23311 ac_ext=c
23312 ac_cpp='$CPP $CPPFLAGS'
23313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23320 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23321 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23322 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23323 do :
23324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23326 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23327 cat >>confdefs.h <<_ACEOF
23328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23329 _ACEOF
23332 done
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23342 $as_echo_n "checking for float round functions... " >&6; }
23343 if ${glibcxx_cv_func_float_round_use+:} false; then :
23344 $as_echo_n "(cached) " >&6
23345 else
23348 ac_ext=cpp
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23356 #include <math.h>
23358 main ()
23360 ceilf (0); floorf (0);
23362 return 0;
23364 _ACEOF
23365 if ac_fn_cxx_try_compile "$LINENO"; then :
23366 glibcxx_cv_func_float_round_use=yes
23367 else
23368 glibcxx_cv_func_float_round_use=no
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 ac_ext=c
23372 ac_cpp='$CPP $CPPFLAGS'
23373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23380 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23381 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23382 for ac_func in ceilf floorf
23383 do :
23384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23387 cat >>confdefs.h <<_ACEOF
23388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23389 _ACEOF
23392 done
23394 else
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23396 $as_echo_n "checking for _float round functions... " >&6; }
23397 if ${glibcxx_cv_func__float_round_use+:} false; then :
23398 $as_echo_n "(cached) " >&6
23399 else
23402 ac_ext=cpp
23403 ac_cpp='$CXXCPP $CPPFLAGS'
23404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23409 /* end confdefs.h. */
23410 #include <math.h>
23412 main ()
23414 _ceilf (0); _floorf (0);
23416 return 0;
23418 _ACEOF
23419 if ac_fn_cxx_try_compile "$LINENO"; then :
23420 glibcxx_cv_func__float_round_use=yes
23421 else
23422 glibcxx_cv_func__float_round_use=no
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 ac_ext=c
23426 ac_cpp='$CPP $CPPFLAGS'
23427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23434 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23435 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23436 for ac_func in _ceilf _floorf
23437 do :
23438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23440 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23443 _ACEOF
23446 done
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23457 $as_echo_n "checking for expf declaration... " >&6; }
23458 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23459 if ${glibcxx_cv_func_expf_use+:} false; then :
23460 $as_echo_n "(cached) " >&6
23461 else
23464 ac_ext=cpp
23465 ac_cpp='$CXXCPP $CPPFLAGS'
23466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23471 /* end confdefs.h. */
23472 #include <math.h>
23473 #ifdef HAVE_IEEEFP_H
23474 #include <ieeefp.h>
23475 #endif
23478 main ()
23480 expf(0);
23482 return 0;
23484 _ACEOF
23485 if ac_fn_cxx_try_compile "$LINENO"; then :
23486 glibcxx_cv_func_expf_use=yes
23487 else
23488 glibcxx_cv_func_expf_use=no
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 ac_ext=c
23492 ac_cpp='$CPP $CPPFLAGS'
23493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23502 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23504 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23505 for ac_func in expf
23506 do :
23507 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23508 if test "x$ac_cv_func_expf" = xyes; then :
23509 cat >>confdefs.h <<_ACEOF
23510 #define HAVE_EXPF 1
23511 _ACEOF
23514 done
23516 else
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23519 $as_echo_n "checking for _expf declaration... " >&6; }
23520 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23521 if ${glibcxx_cv_func__expf_use+:} false; then :
23522 $as_echo_n "(cached) " >&6
23523 else
23526 ac_ext=cpp
23527 ac_cpp='$CXXCPP $CPPFLAGS'
23528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23533 /* end confdefs.h. */
23534 #include <math.h>
23535 #ifdef HAVE_IEEEFP_H
23536 #include <ieeefp.h>
23537 #endif
23540 main ()
23542 _expf(0);
23544 return 0;
23546 _ACEOF
23547 if ac_fn_cxx_try_compile "$LINENO"; then :
23548 glibcxx_cv_func__expf_use=yes
23549 else
23550 glibcxx_cv_func__expf_use=no
23552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23553 ac_ext=c
23554 ac_cpp='$CPP $CPPFLAGS'
23555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23564 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23566 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23567 for ac_func in _expf
23568 do :
23569 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23570 if test "x$ac_cv_func__expf" = xyes; then :
23571 cat >>confdefs.h <<_ACEOF
23572 #define HAVE__EXPF 1
23573 _ACEOF
23576 done
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23586 $as_echo_n "checking for isnanf declaration... " >&6; }
23587 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23588 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23589 $as_echo_n "(cached) " >&6
23590 else
23593 ac_ext=cpp
23594 ac_cpp='$CXXCPP $CPPFLAGS'
23595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h. */
23601 #include <math.h>
23602 #ifdef HAVE_IEEEFP_H
23603 #include <ieeefp.h>
23604 #endif
23607 main ()
23609 isnanf(0);
23611 return 0;
23613 _ACEOF
23614 if ac_fn_cxx_try_compile "$LINENO"; then :
23615 glibcxx_cv_func_isnanf_use=yes
23616 else
23617 glibcxx_cv_func_isnanf_use=no
23619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23620 ac_ext=c
23621 ac_cpp='$CPP $CPPFLAGS'
23622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23631 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23633 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23634 for ac_func in isnanf
23635 do :
23636 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23637 if test "x$ac_cv_func_isnanf" = xyes; then :
23638 cat >>confdefs.h <<_ACEOF
23639 #define HAVE_ISNANF 1
23640 _ACEOF
23643 done
23645 else
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23648 $as_echo_n "checking for _isnanf declaration... " >&6; }
23649 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23650 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23651 $as_echo_n "(cached) " >&6
23652 else
23655 ac_ext=cpp
23656 ac_cpp='$CXXCPP $CPPFLAGS'
23657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23662 /* end confdefs.h. */
23663 #include <math.h>
23664 #ifdef HAVE_IEEEFP_H
23665 #include <ieeefp.h>
23666 #endif
23669 main ()
23671 _isnanf(0);
23673 return 0;
23675 _ACEOF
23676 if ac_fn_cxx_try_compile "$LINENO"; then :
23677 glibcxx_cv_func__isnanf_use=yes
23678 else
23679 glibcxx_cv_func__isnanf_use=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23693 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23695 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23696 for ac_func in _isnanf
23697 do :
23698 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23699 if test "x$ac_cv_func__isnanf" = xyes; then :
23700 cat >>confdefs.h <<_ACEOF
23701 #define HAVE__ISNANF 1
23702 _ACEOF
23705 done
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23715 $as_echo_n "checking for isinff declaration... " >&6; }
23716 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23717 if ${glibcxx_cv_func_isinff_use+:} false; then :
23718 $as_echo_n "(cached) " >&6
23719 else
23722 ac_ext=cpp
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23729 /* end confdefs.h. */
23730 #include <math.h>
23731 #ifdef HAVE_IEEEFP_H
23732 #include <ieeefp.h>
23733 #endif
23736 main ()
23738 isinff(0);
23740 return 0;
23742 _ACEOF
23743 if ac_fn_cxx_try_compile "$LINENO"; then :
23744 glibcxx_cv_func_isinff_use=yes
23745 else
23746 glibcxx_cv_func_isinff_use=no
23748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23749 ac_ext=c
23750 ac_cpp='$CPP $CPPFLAGS'
23751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23760 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23762 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23763 for ac_func in isinff
23764 do :
23765 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23766 if test "x$ac_cv_func_isinff" = xyes; then :
23767 cat >>confdefs.h <<_ACEOF
23768 #define HAVE_ISINFF 1
23769 _ACEOF
23772 done
23774 else
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23777 $as_echo_n "checking for _isinff declaration... " >&6; }
23778 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23779 if ${glibcxx_cv_func__isinff_use+:} false; then :
23780 $as_echo_n "(cached) " >&6
23781 else
23784 ac_ext=cpp
23785 ac_cpp='$CXXCPP $CPPFLAGS'
23786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23791 /* end confdefs.h. */
23792 #include <math.h>
23793 #ifdef HAVE_IEEEFP_H
23794 #include <ieeefp.h>
23795 #endif
23798 main ()
23800 _isinff(0);
23802 return 0;
23804 _ACEOF
23805 if ac_fn_cxx_try_compile "$LINENO"; then :
23806 glibcxx_cv_func__isinff_use=yes
23807 else
23808 glibcxx_cv_func__isinff_use=no
23810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23811 ac_ext=c
23812 ac_cpp='$CPP $CPPFLAGS'
23813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23822 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23824 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23825 for ac_func in _isinff
23826 do :
23827 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23828 if test "x$ac_cv_func__isinff" = xyes; then :
23829 cat >>confdefs.h <<_ACEOF
23830 #define HAVE__ISINFF 1
23831 _ACEOF
23834 done
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23844 $as_echo_n "checking for atan2f declaration... " >&6; }
23845 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23846 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23847 $as_echo_n "(cached) " >&6
23848 else
23851 ac_ext=cpp
23852 ac_cpp='$CXXCPP $CPPFLAGS'
23853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858 /* end confdefs.h. */
23859 #include <math.h>
23861 main ()
23863 atan2f(0, 0);
23865 return 0;
23867 _ACEOF
23868 if ac_fn_cxx_try_compile "$LINENO"; then :
23869 glibcxx_cv_func_atan2f_use=yes
23870 else
23871 glibcxx_cv_func_atan2f_use=no
23873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23874 ac_ext=c
23875 ac_cpp='$CPP $CPPFLAGS'
23876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23885 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23887 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23888 for ac_func in atan2f
23889 do :
23890 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23891 if test "x$ac_cv_func_atan2f" = xyes; then :
23892 cat >>confdefs.h <<_ACEOF
23893 #define HAVE_ATAN2F 1
23894 _ACEOF
23897 done
23899 else
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23902 $as_echo_n "checking for _atan2f declaration... " >&6; }
23903 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23904 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23919 main ()
23921 _atan2f(0, 0);
23923 return 0;
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927 glibcxx_cv_func__atan2f_use=yes
23928 else
23929 glibcxx_cv_func__atan2f_use=no
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23943 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23945 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23946 for ac_func in _atan2f
23947 do :
23948 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23949 if test "x$ac_cv_func__atan2f" = xyes; then :
23950 cat >>confdefs.h <<_ACEOF
23951 #define HAVE__ATAN2F 1
23952 _ACEOF
23955 done
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23965 $as_echo_n "checking for fabsf declaration... " >&6; }
23966 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23967 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23968 $as_echo_n "(cached) " >&6
23969 else
23972 ac_ext=cpp
23973 ac_cpp='$CXXCPP $CPPFLAGS'
23974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23979 /* end confdefs.h. */
23980 #include <math.h>
23981 #ifdef HAVE_IEEEFP_H
23982 #include <ieeefp.h>
23983 #endif
23986 main ()
23988 fabsf(0);
23990 return 0;
23992 _ACEOF
23993 if ac_fn_cxx_try_compile "$LINENO"; then :
23994 glibcxx_cv_func_fabsf_use=yes
23995 else
23996 glibcxx_cv_func_fabsf_use=no
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23999 ac_ext=c
24000 ac_cpp='$CPP $CPPFLAGS'
24001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24010 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24012 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24013 for ac_func in fabsf
24014 do :
24015 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24016 if test "x$ac_cv_func_fabsf" = xyes; then :
24017 cat >>confdefs.h <<_ACEOF
24018 #define HAVE_FABSF 1
24019 _ACEOF
24022 done
24024 else
24026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24027 $as_echo_n "checking for _fabsf declaration... " >&6; }
24028 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24029 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24030 $as_echo_n "(cached) " >&6
24031 else
24034 ac_ext=cpp
24035 ac_cpp='$CXXCPP $CPPFLAGS'
24036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24042 #include <math.h>
24043 #ifdef HAVE_IEEEFP_H
24044 #include <ieeefp.h>
24045 #endif
24048 main ()
24050 _fabsf(0);
24052 return 0;
24054 _ACEOF
24055 if ac_fn_cxx_try_compile "$LINENO"; then :
24056 glibcxx_cv_func__fabsf_use=yes
24057 else
24058 glibcxx_cv_func__fabsf_use=no
24060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 ac_ext=c
24062 ac_cpp='$CPP $CPPFLAGS'
24063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24072 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24074 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24075 for ac_func in _fabsf
24076 do :
24077 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24078 if test "x$ac_cv_func__fabsf" = xyes; then :
24079 cat >>confdefs.h <<_ACEOF
24080 #define HAVE__FABSF 1
24081 _ACEOF
24084 done
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24094 $as_echo_n "checking for fmodf declaration... " >&6; }
24095 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24096 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24097 $as_echo_n "(cached) " >&6
24098 else
24101 ac_ext=cpp
24102 ac_cpp='$CXXCPP $CPPFLAGS'
24103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24108 /* end confdefs.h. */
24109 #include <math.h>
24111 main ()
24113 fmodf(0, 0);
24115 return 0;
24117 _ACEOF
24118 if ac_fn_cxx_try_compile "$LINENO"; then :
24119 glibcxx_cv_func_fmodf_use=yes
24120 else
24121 glibcxx_cv_func_fmodf_use=no
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24124 ac_ext=c
24125 ac_cpp='$CPP $CPPFLAGS'
24126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24135 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24137 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24138 for ac_func in fmodf
24139 do :
24140 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24141 if test "x$ac_cv_func_fmodf" = xyes; then :
24142 cat >>confdefs.h <<_ACEOF
24143 #define HAVE_FMODF 1
24144 _ACEOF
24147 done
24149 else
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24152 $as_echo_n "checking for _fmodf declaration... " >&6; }
24153 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24154 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24155 $as_echo_n "(cached) " >&6
24156 else
24159 ac_ext=cpp
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24166 /* end confdefs.h. */
24167 #include <math.h>
24169 main ()
24171 _fmodf(0, 0);
24173 return 0;
24175 _ACEOF
24176 if ac_fn_cxx_try_compile "$LINENO"; then :
24177 glibcxx_cv_func__fmodf_use=yes
24178 else
24179 glibcxx_cv_func__fmodf_use=no
24181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24182 ac_ext=c
24183 ac_cpp='$CPP $CPPFLAGS'
24184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24193 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24195 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24196 for ac_func in _fmodf
24197 do :
24198 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24199 if test "x$ac_cv_func__fmodf" = xyes; then :
24200 cat >>confdefs.h <<_ACEOF
24201 #define HAVE__FMODF 1
24202 _ACEOF
24205 done
24214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24215 $as_echo_n "checking for frexpf declaration... " >&6; }
24216 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24217 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24218 $as_echo_n "(cached) " >&6
24219 else
24222 ac_ext=cpp
24223 ac_cpp='$CXXCPP $CPPFLAGS'
24224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24229 /* end confdefs.h. */
24230 #include <math.h>
24232 main ()
24234 frexpf(0, 0);
24236 return 0;
24238 _ACEOF
24239 if ac_fn_cxx_try_compile "$LINENO"; then :
24240 glibcxx_cv_func_frexpf_use=yes
24241 else
24242 glibcxx_cv_func_frexpf_use=no
24244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24245 ac_ext=c
24246 ac_cpp='$CPP $CPPFLAGS'
24247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24256 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24258 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24259 for ac_func in frexpf
24260 do :
24261 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24262 if test "x$ac_cv_func_frexpf" = xyes; then :
24263 cat >>confdefs.h <<_ACEOF
24264 #define HAVE_FREXPF 1
24265 _ACEOF
24268 done
24270 else
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24273 $as_echo_n "checking for _frexpf declaration... " >&6; }
24274 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24275 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24276 $as_echo_n "(cached) " >&6
24277 else
24280 ac_ext=cpp
24281 ac_cpp='$CXXCPP $CPPFLAGS'
24282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24287 /* end confdefs.h. */
24288 #include <math.h>
24290 main ()
24292 _frexpf(0, 0);
24294 return 0;
24296 _ACEOF
24297 if ac_fn_cxx_try_compile "$LINENO"; then :
24298 glibcxx_cv_func__frexpf_use=yes
24299 else
24300 glibcxx_cv_func__frexpf_use=no
24302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303 ac_ext=c
24304 ac_cpp='$CPP $CPPFLAGS'
24305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24314 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24316 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24317 for ac_func in _frexpf
24318 do :
24319 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24320 if test "x$ac_cv_func__frexpf" = xyes; then :
24321 cat >>confdefs.h <<_ACEOF
24322 #define HAVE__FREXPF 1
24323 _ACEOF
24326 done
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24336 $as_echo_n "checking for hypotf declaration... " >&6; }
24337 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24338 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24339 $as_echo_n "(cached) " >&6
24340 else
24343 ac_ext=cpp
24344 ac_cpp='$CXXCPP $CPPFLAGS'
24345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24350 /* end confdefs.h. */
24351 #include <math.h>
24353 main ()
24355 hypotf(0, 0);
24357 return 0;
24359 _ACEOF
24360 if ac_fn_cxx_try_compile "$LINENO"; then :
24361 glibcxx_cv_func_hypotf_use=yes
24362 else
24363 glibcxx_cv_func_hypotf_use=no
24365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24366 ac_ext=c
24367 ac_cpp='$CPP $CPPFLAGS'
24368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24377 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24379 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24380 for ac_func in hypotf
24381 do :
24382 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24383 if test "x$ac_cv_func_hypotf" = xyes; then :
24384 cat >>confdefs.h <<_ACEOF
24385 #define HAVE_HYPOTF 1
24386 _ACEOF
24389 done
24391 else
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24394 $as_echo_n "checking for _hypotf declaration... " >&6; }
24395 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24396 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24397 $as_echo_n "(cached) " >&6
24398 else
24401 ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24409 #include <math.h>
24411 main ()
24413 _hypotf(0, 0);
24415 return 0;
24417 _ACEOF
24418 if ac_fn_cxx_try_compile "$LINENO"; then :
24419 glibcxx_cv_func__hypotf_use=yes
24420 else
24421 glibcxx_cv_func__hypotf_use=no
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24435 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24437 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24438 for ac_func in _hypotf
24439 do :
24440 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24441 if test "x$ac_cv_func__hypotf" = xyes; then :
24442 cat >>confdefs.h <<_ACEOF
24443 #define HAVE__HYPOTF 1
24444 _ACEOF
24447 done
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24457 $as_echo_n "checking for ldexpf declaration... " >&6; }
24458 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24459 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24460 $as_echo_n "(cached) " >&6
24461 else
24464 ac_ext=cpp
24465 ac_cpp='$CXXCPP $CPPFLAGS'
24466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24471 /* end confdefs.h. */
24472 #include <math.h>
24474 main ()
24476 ldexpf(0, 0);
24478 return 0;
24480 _ACEOF
24481 if ac_fn_cxx_try_compile "$LINENO"; then :
24482 glibcxx_cv_func_ldexpf_use=yes
24483 else
24484 glibcxx_cv_func_ldexpf_use=no
24486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24487 ac_ext=c
24488 ac_cpp='$CPP $CPPFLAGS'
24489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24498 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24500 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24501 for ac_func in ldexpf
24502 do :
24503 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24504 if test "x$ac_cv_func_ldexpf" = xyes; then :
24505 cat >>confdefs.h <<_ACEOF
24506 #define HAVE_LDEXPF 1
24507 _ACEOF
24510 done
24512 else
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24515 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24516 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24517 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24532 main ()
24534 _ldexpf(0, 0);
24536 return 0;
24538 _ACEOF
24539 if ac_fn_cxx_try_compile "$LINENO"; then :
24540 glibcxx_cv_func__ldexpf_use=yes
24541 else
24542 glibcxx_cv_func__ldexpf_use=no
24544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24545 ac_ext=c
24546 ac_cpp='$CPP $CPPFLAGS'
24547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24556 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24558 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24559 for ac_func in _ldexpf
24560 do :
24561 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24562 if test "x$ac_cv_func__ldexpf" = xyes; then :
24563 cat >>confdefs.h <<_ACEOF
24564 #define HAVE__LDEXPF 1
24565 _ACEOF
24568 done
24577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24578 $as_echo_n "checking for logf declaration... " >&6; }
24579 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24580 if ${glibcxx_cv_func_logf_use+:} false; then :
24581 $as_echo_n "(cached) " >&6
24582 else
24585 ac_ext=cpp
24586 ac_cpp='$CXXCPP $CPPFLAGS'
24587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24592 /* end confdefs.h. */
24593 #include <math.h>
24594 #ifdef HAVE_IEEEFP_H
24595 #include <ieeefp.h>
24596 #endif
24599 main ()
24601 logf(0);
24603 return 0;
24605 _ACEOF
24606 if ac_fn_cxx_try_compile "$LINENO"; then :
24607 glibcxx_cv_func_logf_use=yes
24608 else
24609 glibcxx_cv_func_logf_use=no
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24612 ac_ext=c
24613 ac_cpp='$CPP $CPPFLAGS'
24614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24623 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24625 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24626 for ac_func in logf
24627 do :
24628 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24629 if test "x$ac_cv_func_logf" = xyes; then :
24630 cat >>confdefs.h <<_ACEOF
24631 #define HAVE_LOGF 1
24632 _ACEOF
24635 done
24637 else
24639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24640 $as_echo_n "checking for _logf declaration... " >&6; }
24641 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24642 if ${glibcxx_cv_func__logf_use+:} false; then :
24643 $as_echo_n "(cached) " >&6
24644 else
24647 ac_ext=cpp
24648 ac_cpp='$CXXCPP $CPPFLAGS'
24649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24654 /* end confdefs.h. */
24655 #include <math.h>
24656 #ifdef HAVE_IEEEFP_H
24657 #include <ieeefp.h>
24658 #endif
24661 main ()
24663 _logf(0);
24665 return 0;
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669 glibcxx_cv_func__logf_use=yes
24670 else
24671 glibcxx_cv_func__logf_use=no
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24685 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24687 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24688 for ac_func in _logf
24689 do :
24690 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24691 if test "x$ac_cv_func__logf" = xyes; then :
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE__LOGF 1
24694 _ACEOF
24697 done
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24707 $as_echo_n "checking for log10f declaration... " >&6; }
24708 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24709 if ${glibcxx_cv_func_log10f_use+:} false; then :
24710 $as_echo_n "(cached) " >&6
24711 else
24714 ac_ext=cpp
24715 ac_cpp='$CXXCPP $CPPFLAGS'
24716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24721 /* end confdefs.h. */
24722 #include <math.h>
24723 #ifdef HAVE_IEEEFP_H
24724 #include <ieeefp.h>
24725 #endif
24728 main ()
24730 log10f(0);
24732 return 0;
24734 _ACEOF
24735 if ac_fn_cxx_try_compile "$LINENO"; then :
24736 glibcxx_cv_func_log10f_use=yes
24737 else
24738 glibcxx_cv_func_log10f_use=no
24740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24741 ac_ext=c
24742 ac_cpp='$CPP $CPPFLAGS'
24743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24752 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24754 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24755 for ac_func in log10f
24756 do :
24757 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24758 if test "x$ac_cv_func_log10f" = xyes; then :
24759 cat >>confdefs.h <<_ACEOF
24760 #define HAVE_LOG10F 1
24761 _ACEOF
24764 done
24766 else
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24769 $as_echo_n "checking for _log10f declaration... " >&6; }
24770 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24771 if ${glibcxx_cv_func__log10f_use+:} false; then :
24772 $as_echo_n "(cached) " >&6
24773 else
24776 ac_ext=cpp
24777 ac_cpp='$CXXCPP $CPPFLAGS'
24778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24783 /* end confdefs.h. */
24784 #include <math.h>
24785 #ifdef HAVE_IEEEFP_H
24786 #include <ieeefp.h>
24787 #endif
24790 main ()
24792 _log10f(0);
24794 return 0;
24796 _ACEOF
24797 if ac_fn_cxx_try_compile "$LINENO"; then :
24798 glibcxx_cv_func__log10f_use=yes
24799 else
24800 glibcxx_cv_func__log10f_use=no
24802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 ac_ext=c
24804 ac_cpp='$CPP $CPPFLAGS'
24805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24814 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24816 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24817 for ac_func in _log10f
24818 do :
24819 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24820 if test "x$ac_cv_func__log10f" = xyes; then :
24821 cat >>confdefs.h <<_ACEOF
24822 #define HAVE__LOG10F 1
24823 _ACEOF
24826 done
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24836 $as_echo_n "checking for modff declaration... " >&6; }
24837 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24838 if ${glibcxx_cv_func_modff_use+:} false; then :
24839 $as_echo_n "(cached) " >&6
24840 else
24843 ac_ext=cpp
24844 ac_cpp='$CXXCPP $CPPFLAGS'
24845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24850 /* end confdefs.h. */
24851 #include <math.h>
24853 main ()
24855 modff(0, 0);
24857 return 0;
24859 _ACEOF
24860 if ac_fn_cxx_try_compile "$LINENO"; then :
24861 glibcxx_cv_func_modff_use=yes
24862 else
24863 glibcxx_cv_func_modff_use=no
24865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24866 ac_ext=c
24867 ac_cpp='$CPP $CPPFLAGS'
24868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24877 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24879 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24880 for ac_func in modff
24881 do :
24882 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24883 if test "x$ac_cv_func_modff" = xyes; then :
24884 cat >>confdefs.h <<_ACEOF
24885 #define HAVE_MODFF 1
24886 _ACEOF
24889 done
24891 else
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24894 $as_echo_n "checking for _modff declaration... " >&6; }
24895 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24896 if ${glibcxx_cv_func__modff_use+:} false; then :
24897 $as_echo_n "(cached) " >&6
24898 else
24901 ac_ext=cpp
24902 ac_cpp='$CXXCPP $CPPFLAGS'
24903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24908 /* end confdefs.h. */
24909 #include <math.h>
24911 main ()
24913 _modff(0, 0);
24915 return 0;
24917 _ACEOF
24918 if ac_fn_cxx_try_compile "$LINENO"; then :
24919 glibcxx_cv_func__modff_use=yes
24920 else
24921 glibcxx_cv_func__modff_use=no
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924 ac_ext=c
24925 ac_cpp='$CPP $CPPFLAGS'
24926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24935 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24937 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24938 for ac_func in _modff
24939 do :
24940 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24941 if test "x$ac_cv_func__modff" = xyes; then :
24942 cat >>confdefs.h <<_ACEOF
24943 #define HAVE__MODFF 1
24944 _ACEOF
24947 done
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24957 $as_echo_n "checking for modf declaration... " >&6; }
24958 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24959 if ${glibcxx_cv_func_modf_use+:} false; then :
24960 $as_echo_n "(cached) " >&6
24961 else
24964 ac_ext=cpp
24965 ac_cpp='$CXXCPP $CPPFLAGS'
24966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24971 /* end confdefs.h. */
24972 #include <math.h>
24974 main ()
24976 modf(0, 0);
24978 return 0;
24980 _ACEOF
24981 if ac_fn_cxx_try_compile "$LINENO"; then :
24982 glibcxx_cv_func_modf_use=yes
24983 else
24984 glibcxx_cv_func_modf_use=no
24986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24987 ac_ext=c
24988 ac_cpp='$CPP $CPPFLAGS'
24989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24998 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25000 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25001 for ac_func in modf
25002 do :
25003 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25004 if test "x$ac_cv_func_modf" = xyes; then :
25005 cat >>confdefs.h <<_ACEOF
25006 #define HAVE_MODF 1
25007 _ACEOF
25010 done
25012 else
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25015 $as_echo_n "checking for _modf declaration... " >&6; }
25016 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25017 if ${glibcxx_cv_func__modf_use+:} false; then :
25018 $as_echo_n "(cached) " >&6
25019 else
25022 ac_ext=cpp
25023 ac_cpp='$CXXCPP $CPPFLAGS'
25024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25029 /* end confdefs.h. */
25030 #include <math.h>
25032 main ()
25034 _modf(0, 0);
25036 return 0;
25038 _ACEOF
25039 if ac_fn_cxx_try_compile "$LINENO"; then :
25040 glibcxx_cv_func__modf_use=yes
25041 else
25042 glibcxx_cv_func__modf_use=no
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 ac_ext=c
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25056 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25058 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25059 for ac_func in _modf
25060 do :
25061 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25062 if test "x$ac_cv_func__modf" = xyes; then :
25063 cat >>confdefs.h <<_ACEOF
25064 #define HAVE__MODF 1
25065 _ACEOF
25068 done
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25078 $as_echo_n "checking for powf declaration... " >&6; }
25079 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25080 if ${glibcxx_cv_func_powf_use+:} false; then :
25081 $as_echo_n "(cached) " >&6
25082 else
25085 ac_ext=cpp
25086 ac_cpp='$CXXCPP $CPPFLAGS'
25087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25093 #include <math.h>
25095 main ()
25097 powf(0, 0);
25099 return 0;
25101 _ACEOF
25102 if ac_fn_cxx_try_compile "$LINENO"; then :
25103 glibcxx_cv_func_powf_use=yes
25104 else
25105 glibcxx_cv_func_powf_use=no
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108 ac_ext=c
25109 ac_cpp='$CPP $CPPFLAGS'
25110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25119 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25121 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25122 for ac_func in powf
25123 do :
25124 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25125 if test "x$ac_cv_func_powf" = xyes; then :
25126 cat >>confdefs.h <<_ACEOF
25127 #define HAVE_POWF 1
25128 _ACEOF
25131 done
25133 else
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25136 $as_echo_n "checking for _powf declaration... " >&6; }
25137 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25138 if ${glibcxx_cv_func__powf_use+:} false; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25143 ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h. */
25151 #include <math.h>
25153 main ()
25155 _powf(0, 0);
25157 return 0;
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 glibcxx_cv_func__powf_use=yes
25162 else
25163 glibcxx_cv_func__powf_use=no
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25177 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25179 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25180 for ac_func in _powf
25181 do :
25182 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25183 if test "x$ac_cv_func__powf" = xyes; then :
25184 cat >>confdefs.h <<_ACEOF
25185 #define HAVE__POWF 1
25186 _ACEOF
25189 done
25198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25199 $as_echo_n "checking for sqrtf declaration... " >&6; }
25200 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25201 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25202 $as_echo_n "(cached) " >&6
25203 else
25206 ac_ext=cpp
25207 ac_cpp='$CXXCPP $CPPFLAGS'
25208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25213 /* end confdefs.h. */
25214 #include <math.h>
25215 #ifdef HAVE_IEEEFP_H
25216 #include <ieeefp.h>
25217 #endif
25220 main ()
25222 sqrtf(0);
25224 return 0;
25226 _ACEOF
25227 if ac_fn_cxx_try_compile "$LINENO"; then :
25228 glibcxx_cv_func_sqrtf_use=yes
25229 else
25230 glibcxx_cv_func_sqrtf_use=no
25232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233 ac_ext=c
25234 ac_cpp='$CPP $CPPFLAGS'
25235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25244 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25246 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25247 for ac_func in sqrtf
25248 do :
25249 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25250 if test "x$ac_cv_func_sqrtf" = xyes; then :
25251 cat >>confdefs.h <<_ACEOF
25252 #define HAVE_SQRTF 1
25253 _ACEOF
25256 done
25258 else
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25261 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25262 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25263 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25264 $as_echo_n "(cached) " >&6
25265 else
25268 ac_ext=cpp
25269 ac_cpp='$CXXCPP $CPPFLAGS'
25270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25275 /* end confdefs.h. */
25276 #include <math.h>
25277 #ifdef HAVE_IEEEFP_H
25278 #include <ieeefp.h>
25279 #endif
25282 main ()
25284 _sqrtf(0);
25286 return 0;
25288 _ACEOF
25289 if ac_fn_cxx_try_compile "$LINENO"; then :
25290 glibcxx_cv_func__sqrtf_use=yes
25291 else
25292 glibcxx_cv_func__sqrtf_use=no
25294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25295 ac_ext=c
25296 ac_cpp='$CPP $CPPFLAGS'
25297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25306 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25308 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25309 for ac_func in _sqrtf
25310 do :
25311 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25312 if test "x$ac_cv_func__sqrtf" = xyes; then :
25313 cat >>confdefs.h <<_ACEOF
25314 #define HAVE__SQRTF 1
25315 _ACEOF
25318 done
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25328 $as_echo_n "checking for sincosf declaration... " >&6; }
25329 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25330 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25331 $as_echo_n "(cached) " >&6
25332 else
25335 ac_ext=cpp
25336 ac_cpp='$CXXCPP $CPPFLAGS'
25337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25342 /* end confdefs.h. */
25343 #include <math.h>
25345 main ()
25347 sincosf(0, 0, 0);
25349 return 0;
25351 _ACEOF
25352 if ac_fn_cxx_try_compile "$LINENO"; then :
25353 glibcxx_cv_func_sincosf_use=yes
25354 else
25355 glibcxx_cv_func_sincosf_use=no
25357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25358 ac_ext=c
25359 ac_cpp='$CPP $CPPFLAGS'
25360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25369 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25371 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25372 for ac_func in sincosf
25373 do :
25374 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25375 if test "x$ac_cv_func_sincosf" = xyes; then :
25376 cat >>confdefs.h <<_ACEOF
25377 #define HAVE_SINCOSF 1
25378 _ACEOF
25381 done
25383 else
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25386 $as_echo_n "checking for _sincosf declaration... " >&6; }
25387 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25388 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25389 $as_echo_n "(cached) " >&6
25390 else
25393 ac_ext=cpp
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h. */
25401 #include <math.h>
25403 main ()
25405 _sincosf(0, 0, 0);
25407 return 0;
25409 _ACEOF
25410 if ac_fn_cxx_try_compile "$LINENO"; then :
25411 glibcxx_cv_func__sincosf_use=yes
25412 else
25413 glibcxx_cv_func__sincosf_use=no
25415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25416 ac_ext=c
25417 ac_cpp='$CPP $CPPFLAGS'
25418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25427 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25429 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25430 for ac_func in _sincosf
25431 do :
25432 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25433 if test "x$ac_cv_func__sincosf" = xyes; then :
25434 cat >>confdefs.h <<_ACEOF
25435 #define HAVE__SINCOSF 1
25436 _ACEOF
25439 done
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25449 $as_echo_n "checking for finitef declaration... " >&6; }
25450 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25451 if ${glibcxx_cv_func_finitef_use+:} false; then :
25452 $as_echo_n "(cached) " >&6
25453 else
25456 ac_ext=cpp
25457 ac_cpp='$CXXCPP $CPPFLAGS'
25458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25463 /* end confdefs.h. */
25464 #include <math.h>
25465 #ifdef HAVE_IEEEFP_H
25466 #include <ieeefp.h>
25467 #endif
25470 main ()
25472 finitef(0);
25474 return 0;
25476 _ACEOF
25477 if ac_fn_cxx_try_compile "$LINENO"; then :
25478 glibcxx_cv_func_finitef_use=yes
25479 else
25480 glibcxx_cv_func_finitef_use=no
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483 ac_ext=c
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25494 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25496 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25497 for ac_func in finitef
25498 do :
25499 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25500 if test "x$ac_cv_func_finitef" = xyes; then :
25501 cat >>confdefs.h <<_ACEOF
25502 #define HAVE_FINITEF 1
25503 _ACEOF
25506 done
25508 else
25510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25511 $as_echo_n "checking for _finitef declaration... " >&6; }
25512 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25513 if ${glibcxx_cv_func__finitef_use+:} false; then :
25514 $as_echo_n "(cached) " >&6
25515 else
25518 ac_ext=cpp
25519 ac_cpp='$CXXCPP $CPPFLAGS'
25520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25525 /* end confdefs.h. */
25526 #include <math.h>
25527 #ifdef HAVE_IEEEFP_H
25528 #include <ieeefp.h>
25529 #endif
25532 main ()
25534 _finitef(0);
25536 return 0;
25538 _ACEOF
25539 if ac_fn_cxx_try_compile "$LINENO"; then :
25540 glibcxx_cv_func__finitef_use=yes
25541 else
25542 glibcxx_cv_func__finitef_use=no
25544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25545 ac_ext=c
25546 ac_cpp='$CPP $CPPFLAGS'
25547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25556 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25558 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25559 for ac_func in _finitef
25560 do :
25561 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25562 if test "x$ac_cv_func__finitef" = xyes; then :
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE__FINITEF 1
25565 _ACEOF
25568 done
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25578 $as_echo_n "checking for long double trig functions... " >&6; }
25579 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25580 $as_echo_n "(cached) " >&6
25581 else
25584 ac_ext=cpp
25585 ac_cpp='$CXXCPP $CPPFLAGS'
25586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25591 /* end confdefs.h. */
25592 #include <math.h>
25594 main ()
25596 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25598 return 0;
25600 _ACEOF
25601 if ac_fn_cxx_try_compile "$LINENO"; then :
25602 glibcxx_cv_func_long_double_trig_use=yes
25603 else
25604 glibcxx_cv_func_long_double_trig_use=no
25606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607 ac_ext=c
25608 ac_cpp='$CPP $CPPFLAGS'
25609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25616 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25617 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25618 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25619 do :
25620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25623 cat >>confdefs.h <<_ACEOF
25624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25625 _ACEOF
25628 done
25630 else
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25632 $as_echo_n "checking for _long double trig functions... " >&6; }
25633 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25634 $as_echo_n "(cached) " >&6
25635 else
25638 ac_ext=cpp
25639 ac_cpp='$CXXCPP $CPPFLAGS'
25640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25645 /* end confdefs.h. */
25646 #include <math.h>
25648 main ()
25650 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25652 return 0;
25654 _ACEOF
25655 if ac_fn_cxx_try_compile "$LINENO"; then :
25656 glibcxx_cv_func__long_double_trig_use=yes
25657 else
25658 glibcxx_cv_func__long_double_trig_use=no
25660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25661 ac_ext=c
25662 ac_cpp='$CPP $CPPFLAGS'
25663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25670 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25671 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25672 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25673 do :
25674 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25676 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25677 cat >>confdefs.h <<_ACEOF
25678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25679 _ACEOF
25682 done
25691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25692 $as_echo_n "checking for long double round functions... " >&6; }
25693 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25694 $as_echo_n "(cached) " >&6
25695 else
25698 ac_ext=cpp
25699 ac_cpp='$CXXCPP $CPPFLAGS'
25700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25705 /* end confdefs.h. */
25706 #include <math.h>
25708 main ()
25710 ceill (0); floorl (0);
25712 return 0;
25714 _ACEOF
25715 if ac_fn_cxx_try_compile "$LINENO"; then :
25716 glibcxx_cv_func_long_double_round_use=yes
25717 else
25718 glibcxx_cv_func_long_double_round_use=no
25720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25721 ac_ext=c
25722 ac_cpp='$CPP $CPPFLAGS'
25723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25730 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25731 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25732 for ac_func in ceill floorl
25733 do :
25734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25736 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25737 cat >>confdefs.h <<_ACEOF
25738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25739 _ACEOF
25742 done
25744 else
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25746 $as_echo_n "checking for _long double round functions... " >&6; }
25747 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25748 $as_echo_n "(cached) " >&6
25749 else
25752 ac_ext=cpp
25753 ac_cpp='$CXXCPP $CPPFLAGS'
25754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25759 /* end confdefs.h. */
25760 #include <math.h>
25762 main ()
25764 _ceill (0); _floorl (0);
25766 return 0;
25768 _ACEOF
25769 if ac_fn_cxx_try_compile "$LINENO"; then :
25770 glibcxx_cv_func__long_double_round_use=yes
25771 else
25772 glibcxx_cv_func__long_double_round_use=no
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 ac_ext=c
25776 ac_cpp='$CPP $CPPFLAGS'
25777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25784 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25785 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25786 for ac_func in _ceill _floorl
25787 do :
25788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25791 cat >>confdefs.h <<_ACEOF
25792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25793 _ACEOF
25796 done
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25807 $as_echo_n "checking for isnanl declaration... " >&6; }
25808 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25809 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25810 $as_echo_n "(cached) " >&6
25811 else
25814 ac_ext=cpp
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25822 #include <math.h>
25823 #ifdef HAVE_IEEEFP_H
25824 #include <ieeefp.h>
25825 #endif
25828 main ()
25830 isnanl(0);
25832 return 0;
25834 _ACEOF
25835 if ac_fn_cxx_try_compile "$LINENO"; then :
25836 glibcxx_cv_func_isnanl_use=yes
25837 else
25838 glibcxx_cv_func_isnanl_use=no
25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25841 ac_ext=c
25842 ac_cpp='$CPP $CPPFLAGS'
25843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25852 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25855 for ac_func in isnanl
25856 do :
25857 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25858 if test "x$ac_cv_func_isnanl" = xyes; then :
25859 cat >>confdefs.h <<_ACEOF
25860 #define HAVE_ISNANL 1
25861 _ACEOF
25864 done
25866 else
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25869 $as_echo_n "checking for _isnanl declaration... " >&6; }
25870 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25871 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25872 $as_echo_n "(cached) " >&6
25873 else
25876 ac_ext=cpp
25877 ac_cpp='$CXXCPP $CPPFLAGS'
25878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25884 #include <math.h>
25885 #ifdef HAVE_IEEEFP_H
25886 #include <ieeefp.h>
25887 #endif
25890 main ()
25892 _isnanl(0);
25894 return 0;
25896 _ACEOF
25897 if ac_fn_cxx_try_compile "$LINENO"; then :
25898 glibcxx_cv_func__isnanl_use=yes
25899 else
25900 glibcxx_cv_func__isnanl_use=no
25902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25903 ac_ext=c
25904 ac_cpp='$CPP $CPPFLAGS'
25905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25914 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25916 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25917 for ac_func in _isnanl
25918 do :
25919 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25920 if test "x$ac_cv_func__isnanl" = xyes; then :
25921 cat >>confdefs.h <<_ACEOF
25922 #define HAVE__ISNANL 1
25923 _ACEOF
25926 done
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25936 $as_echo_n "checking for isinfl declaration... " >&6; }
25937 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25938 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25939 $as_echo_n "(cached) " >&6
25940 else
25943 ac_ext=cpp
25944 ac_cpp='$CXXCPP $CPPFLAGS'
25945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25950 /* end confdefs.h. */
25951 #include <math.h>
25952 #ifdef HAVE_IEEEFP_H
25953 #include <ieeefp.h>
25954 #endif
25957 main ()
25959 isinfl(0);
25961 return 0;
25963 _ACEOF
25964 if ac_fn_cxx_try_compile "$LINENO"; then :
25965 glibcxx_cv_func_isinfl_use=yes
25966 else
25967 glibcxx_cv_func_isinfl_use=no
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970 ac_ext=c
25971 ac_cpp='$CPP $CPPFLAGS'
25972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25981 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25983 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25984 for ac_func in isinfl
25985 do :
25986 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25987 if test "x$ac_cv_func_isinfl" = xyes; then :
25988 cat >>confdefs.h <<_ACEOF
25989 #define HAVE_ISINFL 1
25990 _ACEOF
25993 done
25995 else
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25998 $as_echo_n "checking for _isinfl declaration... " >&6; }
25999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26000 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26001 $as_echo_n "(cached) " >&6
26002 else
26005 ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <math.h>
26014 #ifdef HAVE_IEEEFP_H
26015 #include <ieeefp.h>
26016 #endif
26019 main ()
26021 _isinfl(0);
26023 return 0;
26025 _ACEOF
26026 if ac_fn_cxx_try_compile "$LINENO"; then :
26027 glibcxx_cv_func__isinfl_use=yes
26028 else
26029 glibcxx_cv_func__isinfl_use=no
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032 ac_ext=c
26033 ac_cpp='$CPP $CPPFLAGS'
26034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26043 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26045 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26046 for ac_func in _isinfl
26047 do :
26048 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26049 if test "x$ac_cv_func__isinfl" = xyes; then :
26050 cat >>confdefs.h <<_ACEOF
26051 #define HAVE__ISINFL 1
26052 _ACEOF
26055 done
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26065 $as_echo_n "checking for atan2l declaration... " >&6; }
26066 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26067 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26068 $as_echo_n "(cached) " >&6
26069 else
26072 ac_ext=cpp
26073 ac_cpp='$CXXCPP $CPPFLAGS'
26074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26079 /* end confdefs.h. */
26080 #include <math.h>
26082 main ()
26084 atan2l(0, 0);
26086 return 0;
26088 _ACEOF
26089 if ac_fn_cxx_try_compile "$LINENO"; then :
26090 glibcxx_cv_func_atan2l_use=yes
26091 else
26092 glibcxx_cv_func_atan2l_use=no
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 ac_ext=c
26096 ac_cpp='$CPP $CPPFLAGS'
26097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26106 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26109 for ac_func in atan2l
26110 do :
26111 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26112 if test "x$ac_cv_func_atan2l" = xyes; then :
26113 cat >>confdefs.h <<_ACEOF
26114 #define HAVE_ATAN2L 1
26115 _ACEOF
26118 done
26120 else
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26123 $as_echo_n "checking for _atan2l declaration... " >&6; }
26124 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26125 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26126 $as_echo_n "(cached) " >&6
26127 else
26130 ac_ext=cpp
26131 ac_cpp='$CXXCPP $CPPFLAGS'
26132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26137 /* end confdefs.h. */
26138 #include <math.h>
26140 main ()
26142 _atan2l(0, 0);
26144 return 0;
26146 _ACEOF
26147 if ac_fn_cxx_try_compile "$LINENO"; then :
26148 glibcxx_cv_func__atan2l_use=yes
26149 else
26150 glibcxx_cv_func__atan2l_use=no
26152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26153 ac_ext=c
26154 ac_cpp='$CPP $CPPFLAGS'
26155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26164 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26166 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26167 for ac_func in _atan2l
26168 do :
26169 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26170 if test "x$ac_cv_func__atan2l" = xyes; then :
26171 cat >>confdefs.h <<_ACEOF
26172 #define HAVE__ATAN2L 1
26173 _ACEOF
26176 done
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26186 $as_echo_n "checking for expl declaration... " >&6; }
26187 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26188 if ${glibcxx_cv_func_expl_use+:} false; then :
26189 $as_echo_n "(cached) " >&6
26190 else
26193 ac_ext=cpp
26194 ac_cpp='$CXXCPP $CPPFLAGS'
26195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26200 /* end confdefs.h. */
26201 #include <math.h>
26202 #ifdef HAVE_IEEEFP_H
26203 #include <ieeefp.h>
26204 #endif
26207 main ()
26209 expl(0);
26211 return 0;
26213 _ACEOF
26214 if ac_fn_cxx_try_compile "$LINENO"; then :
26215 glibcxx_cv_func_expl_use=yes
26216 else
26217 glibcxx_cv_func_expl_use=no
26219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26220 ac_ext=c
26221 ac_cpp='$CPP $CPPFLAGS'
26222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26231 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26233 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26234 for ac_func in expl
26235 do :
26236 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26237 if test "x$ac_cv_func_expl" = xyes; then :
26238 cat >>confdefs.h <<_ACEOF
26239 #define HAVE_EXPL 1
26240 _ACEOF
26243 done
26245 else
26247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26248 $as_echo_n "checking for _expl declaration... " >&6; }
26249 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26250 if ${glibcxx_cv_func__expl_use+:} false; then :
26251 $as_echo_n "(cached) " >&6
26252 else
26255 ac_ext=cpp
26256 ac_cpp='$CXXCPP $CPPFLAGS'
26257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26262 /* end confdefs.h. */
26263 #include <math.h>
26264 #ifdef HAVE_IEEEFP_H
26265 #include <ieeefp.h>
26266 #endif
26269 main ()
26271 _expl(0);
26273 return 0;
26275 _ACEOF
26276 if ac_fn_cxx_try_compile "$LINENO"; then :
26277 glibcxx_cv_func__expl_use=yes
26278 else
26279 glibcxx_cv_func__expl_use=no
26281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26282 ac_ext=c
26283 ac_cpp='$CPP $CPPFLAGS'
26284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26293 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26295 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26296 for ac_func in _expl
26297 do :
26298 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26299 if test "x$ac_cv_func__expl" = xyes; then :
26300 cat >>confdefs.h <<_ACEOF
26301 #define HAVE__EXPL 1
26302 _ACEOF
26305 done
26314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26315 $as_echo_n "checking for fabsl declaration... " >&6; }
26316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26317 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26318 $as_echo_n "(cached) " >&6
26319 else
26322 ac_ext=cpp
26323 ac_cpp='$CXXCPP $CPPFLAGS'
26324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26329 /* end confdefs.h. */
26330 #include <math.h>
26331 #ifdef HAVE_IEEEFP_H
26332 #include <ieeefp.h>
26333 #endif
26336 main ()
26338 fabsl(0);
26340 return 0;
26342 _ACEOF
26343 if ac_fn_cxx_try_compile "$LINENO"; then :
26344 glibcxx_cv_func_fabsl_use=yes
26345 else
26346 glibcxx_cv_func_fabsl_use=no
26348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26349 ac_ext=c
26350 ac_cpp='$CPP $CPPFLAGS'
26351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26360 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26362 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26363 for ac_func in fabsl
26364 do :
26365 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26366 if test "x$ac_cv_func_fabsl" = xyes; then :
26367 cat >>confdefs.h <<_ACEOF
26368 #define HAVE_FABSL 1
26369 _ACEOF
26372 done
26374 else
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26377 $as_echo_n "checking for _fabsl declaration... " >&6; }
26378 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26379 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26380 $as_echo_n "(cached) " >&6
26381 else
26384 ac_ext=cpp
26385 ac_cpp='$CXXCPP $CPPFLAGS'
26386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26392 #include <math.h>
26393 #ifdef HAVE_IEEEFP_H
26394 #include <ieeefp.h>
26395 #endif
26398 main ()
26400 _fabsl(0);
26402 return 0;
26404 _ACEOF
26405 if ac_fn_cxx_try_compile "$LINENO"; then :
26406 glibcxx_cv_func__fabsl_use=yes
26407 else
26408 glibcxx_cv_func__fabsl_use=no
26410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26411 ac_ext=c
26412 ac_cpp='$CPP $CPPFLAGS'
26413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26422 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26425 for ac_func in _fabsl
26426 do :
26427 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26428 if test "x$ac_cv_func__fabsl" = xyes; then :
26429 cat >>confdefs.h <<_ACEOF
26430 #define HAVE__FABSL 1
26431 _ACEOF
26434 done
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26444 $as_echo_n "checking for fmodl declaration... " >&6; }
26445 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26446 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26447 $as_echo_n "(cached) " >&6
26448 else
26451 ac_ext=cpp
26452 ac_cpp='$CXXCPP $CPPFLAGS'
26453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26458 /* end confdefs.h. */
26459 #include <math.h>
26461 main ()
26463 fmodl(0, 0);
26465 return 0;
26467 _ACEOF
26468 if ac_fn_cxx_try_compile "$LINENO"; then :
26469 glibcxx_cv_func_fmodl_use=yes
26470 else
26471 glibcxx_cv_func_fmodl_use=no
26473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26474 ac_ext=c
26475 ac_cpp='$CPP $CPPFLAGS'
26476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26485 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26488 for ac_func in fmodl
26489 do :
26490 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26491 if test "x$ac_cv_func_fmodl" = xyes; then :
26492 cat >>confdefs.h <<_ACEOF
26493 #define HAVE_FMODL 1
26494 _ACEOF
26497 done
26499 else
26501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26502 $as_echo_n "checking for _fmodl declaration... " >&6; }
26503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26504 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26505 $as_echo_n "(cached) " >&6
26506 else
26509 ac_ext=cpp
26510 ac_cpp='$CXXCPP $CPPFLAGS'
26511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26516 /* end confdefs.h. */
26517 #include <math.h>
26519 main ()
26521 _fmodl(0, 0);
26523 return 0;
26525 _ACEOF
26526 if ac_fn_cxx_try_compile "$LINENO"; then :
26527 glibcxx_cv_func__fmodl_use=yes
26528 else
26529 glibcxx_cv_func__fmodl_use=no
26531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26532 ac_ext=c
26533 ac_cpp='$CPP $CPPFLAGS'
26534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26543 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26545 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26546 for ac_func in _fmodl
26547 do :
26548 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26549 if test "x$ac_cv_func__fmodl" = xyes; then :
26550 cat >>confdefs.h <<_ACEOF
26551 #define HAVE__FMODL 1
26552 _ACEOF
26555 done
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26565 $as_echo_n "checking for frexpl declaration... " >&6; }
26566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26567 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26568 $as_echo_n "(cached) " >&6
26569 else
26572 ac_ext=cpp
26573 ac_cpp='$CXXCPP $CPPFLAGS'
26574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26579 /* end confdefs.h. */
26580 #include <math.h>
26582 main ()
26584 frexpl(0, 0);
26586 return 0;
26588 _ACEOF
26589 if ac_fn_cxx_try_compile "$LINENO"; then :
26590 glibcxx_cv_func_frexpl_use=yes
26591 else
26592 glibcxx_cv_func_frexpl_use=no
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 ac_ext=c
26596 ac_cpp='$CPP $CPPFLAGS'
26597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26608 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26609 for ac_func in frexpl
26610 do :
26611 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26612 if test "x$ac_cv_func_frexpl" = xyes; then :
26613 cat >>confdefs.h <<_ACEOF
26614 #define HAVE_FREXPL 1
26615 _ACEOF
26618 done
26620 else
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26623 $as_echo_n "checking for _frexpl declaration... " >&6; }
26624 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26625 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26626 $as_echo_n "(cached) " >&6
26627 else
26630 ac_ext=cpp
26631 ac_cpp='$CXXCPP $CPPFLAGS'
26632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26637 /* end confdefs.h. */
26638 #include <math.h>
26640 main ()
26642 _frexpl(0, 0);
26644 return 0;
26646 _ACEOF
26647 if ac_fn_cxx_try_compile "$LINENO"; then :
26648 glibcxx_cv_func__frexpl_use=yes
26649 else
26650 glibcxx_cv_func__frexpl_use=no
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653 ac_ext=c
26654 ac_cpp='$CPP $CPPFLAGS'
26655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26664 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26666 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26667 for ac_func in _frexpl
26668 do :
26669 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26670 if test "x$ac_cv_func__frexpl" = xyes; then :
26671 cat >>confdefs.h <<_ACEOF
26672 #define HAVE__FREXPL 1
26673 _ACEOF
26676 done
26685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26686 $as_echo_n "checking for hypotl declaration... " >&6; }
26687 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26688 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26689 $as_echo_n "(cached) " >&6
26690 else
26693 ac_ext=cpp
26694 ac_cpp='$CXXCPP $CPPFLAGS'
26695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26700 /* end confdefs.h. */
26701 #include <math.h>
26703 main ()
26705 hypotl(0, 0);
26707 return 0;
26709 _ACEOF
26710 if ac_fn_cxx_try_compile "$LINENO"; then :
26711 glibcxx_cv_func_hypotl_use=yes
26712 else
26713 glibcxx_cv_func_hypotl_use=no
26715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26716 ac_ext=c
26717 ac_cpp='$CPP $CPPFLAGS'
26718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26727 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26729 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26730 for ac_func in hypotl
26731 do :
26732 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26733 if test "x$ac_cv_func_hypotl" = xyes; then :
26734 cat >>confdefs.h <<_ACEOF
26735 #define HAVE_HYPOTL 1
26736 _ACEOF
26739 done
26741 else
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26744 $as_echo_n "checking for _hypotl declaration... " >&6; }
26745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26746 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26747 $as_echo_n "(cached) " >&6
26748 else
26751 ac_ext=cpp
26752 ac_cpp='$CXXCPP $CPPFLAGS'
26753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h. */
26759 #include <math.h>
26761 main ()
26763 _hypotl(0, 0);
26765 return 0;
26767 _ACEOF
26768 if ac_fn_cxx_try_compile "$LINENO"; then :
26769 glibcxx_cv_func__hypotl_use=yes
26770 else
26771 glibcxx_cv_func__hypotl_use=no
26773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26774 ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26785 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26787 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26788 for ac_func in _hypotl
26789 do :
26790 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26791 if test "x$ac_cv_func__hypotl" = xyes; then :
26792 cat >>confdefs.h <<_ACEOF
26793 #define HAVE__HYPOTL 1
26794 _ACEOF
26797 done
26806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26807 $as_echo_n "checking for ldexpl declaration... " >&6; }
26808 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26809 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26810 $as_echo_n "(cached) " >&6
26811 else
26814 ac_ext=cpp
26815 ac_cpp='$CXXCPP $CPPFLAGS'
26816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26821 /* end confdefs.h. */
26822 #include <math.h>
26824 main ()
26826 ldexpl(0, 0);
26828 return 0;
26830 _ACEOF
26831 if ac_fn_cxx_try_compile "$LINENO"; then :
26832 glibcxx_cv_func_ldexpl_use=yes
26833 else
26834 glibcxx_cv_func_ldexpl_use=no
26836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26837 ac_ext=c
26838 ac_cpp='$CPP $CPPFLAGS'
26839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26848 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26851 for ac_func in ldexpl
26852 do :
26853 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26854 if test "x$ac_cv_func_ldexpl" = xyes; then :
26855 cat >>confdefs.h <<_ACEOF
26856 #define HAVE_LDEXPL 1
26857 _ACEOF
26860 done
26862 else
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26865 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26866 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26867 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26868 $as_echo_n "(cached) " >&6
26869 else
26872 ac_ext=cpp
26873 ac_cpp='$CXXCPP $CPPFLAGS'
26874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h. */
26880 #include <math.h>
26882 main ()
26884 _ldexpl(0, 0);
26886 return 0;
26888 _ACEOF
26889 if ac_fn_cxx_try_compile "$LINENO"; then :
26890 glibcxx_cv_func__ldexpl_use=yes
26891 else
26892 glibcxx_cv_func__ldexpl_use=no
26894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26895 ac_ext=c
26896 ac_cpp='$CPP $CPPFLAGS'
26897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26906 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26908 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26909 for ac_func in _ldexpl
26910 do :
26911 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26912 if test "x$ac_cv_func__ldexpl" = xyes; then :
26913 cat >>confdefs.h <<_ACEOF
26914 #define HAVE__LDEXPL 1
26915 _ACEOF
26918 done
26927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26928 $as_echo_n "checking for logl declaration... " >&6; }
26929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26930 if ${glibcxx_cv_func_logl_use+:} false; then :
26931 $as_echo_n "(cached) " >&6
26932 else
26935 ac_ext=cpp
26936 ac_cpp='$CXXCPP $CPPFLAGS'
26937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26942 /* end confdefs.h. */
26943 #include <math.h>
26944 #ifdef HAVE_IEEEFP_H
26945 #include <ieeefp.h>
26946 #endif
26949 main ()
26951 logl(0);
26953 return 0;
26955 _ACEOF
26956 if ac_fn_cxx_try_compile "$LINENO"; then :
26957 glibcxx_cv_func_logl_use=yes
26958 else
26959 glibcxx_cv_func_logl_use=no
26961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26962 ac_ext=c
26963 ac_cpp='$CPP $CPPFLAGS'
26964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26973 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26975 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26976 for ac_func in logl
26977 do :
26978 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26979 if test "x$ac_cv_func_logl" = xyes; then :
26980 cat >>confdefs.h <<_ACEOF
26981 #define HAVE_LOGL 1
26982 _ACEOF
26985 done
26987 else
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26990 $as_echo_n "checking for _logl declaration... " >&6; }
26991 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26992 if ${glibcxx_cv_func__logl_use+:} false; then :
26993 $as_echo_n "(cached) " >&6
26994 else
26997 ac_ext=cpp
26998 ac_cpp='$CXXCPP $CPPFLAGS'
26999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27004 /* end confdefs.h. */
27005 #include <math.h>
27006 #ifdef HAVE_IEEEFP_H
27007 #include <ieeefp.h>
27008 #endif
27011 main ()
27013 _logl(0);
27015 return 0;
27017 _ACEOF
27018 if ac_fn_cxx_try_compile "$LINENO"; then :
27019 glibcxx_cv_func__logl_use=yes
27020 else
27021 glibcxx_cv_func__logl_use=no
27023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27024 ac_ext=c
27025 ac_cpp='$CPP $CPPFLAGS'
27026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27035 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27037 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27038 for ac_func in _logl
27039 do :
27040 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27041 if test "x$ac_cv_func__logl" = xyes; then :
27042 cat >>confdefs.h <<_ACEOF
27043 #define HAVE__LOGL 1
27044 _ACEOF
27047 done
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27057 $as_echo_n "checking for log10l declaration... " >&6; }
27058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27059 if ${glibcxx_cv_func_log10l_use+:} false; then :
27060 $as_echo_n "(cached) " >&6
27061 else
27064 ac_ext=cpp
27065 ac_cpp='$CXXCPP $CPPFLAGS'
27066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27071 /* end confdefs.h. */
27072 #include <math.h>
27073 #ifdef HAVE_IEEEFP_H
27074 #include <ieeefp.h>
27075 #endif
27078 main ()
27080 log10l(0);
27082 return 0;
27084 _ACEOF
27085 if ac_fn_cxx_try_compile "$LINENO"; then :
27086 glibcxx_cv_func_log10l_use=yes
27087 else
27088 glibcxx_cv_func_log10l_use=no
27090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27091 ac_ext=c
27092 ac_cpp='$CPP $CPPFLAGS'
27093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27102 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27104 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27105 for ac_func in log10l
27106 do :
27107 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27108 if test "x$ac_cv_func_log10l" = xyes; then :
27109 cat >>confdefs.h <<_ACEOF
27110 #define HAVE_LOG10L 1
27111 _ACEOF
27114 done
27116 else
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27119 $as_echo_n "checking for _log10l declaration... " >&6; }
27120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27121 if ${glibcxx_cv_func__log10l_use+:} false; then :
27122 $as_echo_n "(cached) " >&6
27123 else
27126 ac_ext=cpp
27127 ac_cpp='$CXXCPP $CPPFLAGS'
27128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h. */
27134 #include <math.h>
27135 #ifdef HAVE_IEEEFP_H
27136 #include <ieeefp.h>
27137 #endif
27140 main ()
27142 _log10l(0);
27144 return 0;
27146 _ACEOF
27147 if ac_fn_cxx_try_compile "$LINENO"; then :
27148 glibcxx_cv_func__log10l_use=yes
27149 else
27150 glibcxx_cv_func__log10l_use=no
27152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27153 ac_ext=c
27154 ac_cpp='$CPP $CPPFLAGS'
27155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27164 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27166 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27167 for ac_func in _log10l
27168 do :
27169 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27170 if test "x$ac_cv_func__log10l" = xyes; then :
27171 cat >>confdefs.h <<_ACEOF
27172 #define HAVE__LOG10L 1
27173 _ACEOF
27176 done
27185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27186 $as_echo_n "checking for modfl declaration... " >&6; }
27187 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27188 if ${glibcxx_cv_func_modfl_use+:} false; then :
27189 $as_echo_n "(cached) " >&6
27190 else
27193 ac_ext=cpp
27194 ac_cpp='$CXXCPP $CPPFLAGS'
27195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27200 /* end confdefs.h. */
27201 #include <math.h>
27203 main ()
27205 modfl(0, 0);
27207 return 0;
27209 _ACEOF
27210 if ac_fn_cxx_try_compile "$LINENO"; then :
27211 glibcxx_cv_func_modfl_use=yes
27212 else
27213 glibcxx_cv_func_modfl_use=no
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 ac_ext=c
27217 ac_cpp='$CPP $CPPFLAGS'
27218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27227 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27229 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27230 for ac_func in modfl
27231 do :
27232 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27233 if test "x$ac_cv_func_modfl" = xyes; then :
27234 cat >>confdefs.h <<_ACEOF
27235 #define HAVE_MODFL 1
27236 _ACEOF
27239 done
27241 else
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27244 $as_echo_n "checking for _modfl declaration... " >&6; }
27245 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27246 if ${glibcxx_cv_func__modfl_use+:} false; then :
27247 $as_echo_n "(cached) " >&6
27248 else
27251 ac_ext=cpp
27252 ac_cpp='$CXXCPP $CPPFLAGS'
27253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27258 /* end confdefs.h. */
27259 #include <math.h>
27261 main ()
27263 _modfl(0, 0);
27265 return 0;
27267 _ACEOF
27268 if ac_fn_cxx_try_compile "$LINENO"; then :
27269 glibcxx_cv_func__modfl_use=yes
27270 else
27271 glibcxx_cv_func__modfl_use=no
27273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27285 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27288 for ac_func in _modfl
27289 do :
27290 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27291 if test "x$ac_cv_func__modfl" = xyes; then :
27292 cat >>confdefs.h <<_ACEOF
27293 #define HAVE__MODFL 1
27294 _ACEOF
27297 done
27306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27307 $as_echo_n "checking for powl declaration... " >&6; }
27308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27309 if ${glibcxx_cv_func_powl_use+:} false; then :
27310 $as_echo_n "(cached) " >&6
27311 else
27314 ac_ext=cpp
27315 ac_cpp='$CXXCPP $CPPFLAGS'
27316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27321 /* end confdefs.h. */
27322 #include <math.h>
27324 main ()
27326 powl(0, 0);
27328 return 0;
27330 _ACEOF
27331 if ac_fn_cxx_try_compile "$LINENO"; then :
27332 glibcxx_cv_func_powl_use=yes
27333 else
27334 glibcxx_cv_func_powl_use=no
27336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 ac_ext=c
27338 ac_cpp='$CPP $CPPFLAGS'
27339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27348 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27350 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27351 for ac_func in powl
27352 do :
27353 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27354 if test "x$ac_cv_func_powl" = xyes; then :
27355 cat >>confdefs.h <<_ACEOF
27356 #define HAVE_POWL 1
27357 _ACEOF
27360 done
27362 else
27364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27365 $as_echo_n "checking for _powl declaration... " >&6; }
27366 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27367 if ${glibcxx_cv_func__powl_use+:} false; then :
27368 $as_echo_n "(cached) " >&6
27369 else
27372 ac_ext=cpp
27373 ac_cpp='$CXXCPP $CPPFLAGS'
27374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27379 /* end confdefs.h. */
27380 #include <math.h>
27382 main ()
27384 _powl(0, 0);
27386 return 0;
27388 _ACEOF
27389 if ac_fn_cxx_try_compile "$LINENO"; then :
27390 glibcxx_cv_func__powl_use=yes
27391 else
27392 glibcxx_cv_func__powl_use=no
27394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27395 ac_ext=c
27396 ac_cpp='$CPP $CPPFLAGS'
27397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27406 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27408 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27409 for ac_func in _powl
27410 do :
27411 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27412 if test "x$ac_cv_func__powl" = xyes; then :
27413 cat >>confdefs.h <<_ACEOF
27414 #define HAVE__POWL 1
27415 _ACEOF
27418 done
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27428 $as_echo_n "checking for sqrtl declaration... " >&6; }
27429 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27430 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27431 $as_echo_n "(cached) " >&6
27432 else
27435 ac_ext=cpp
27436 ac_cpp='$CXXCPP $CPPFLAGS'
27437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27442 /* end confdefs.h. */
27443 #include <math.h>
27444 #ifdef HAVE_IEEEFP_H
27445 #include <ieeefp.h>
27446 #endif
27449 main ()
27451 sqrtl(0);
27453 return 0;
27455 _ACEOF
27456 if ac_fn_cxx_try_compile "$LINENO"; then :
27457 glibcxx_cv_func_sqrtl_use=yes
27458 else
27459 glibcxx_cv_func_sqrtl_use=no
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 ac_ext=c
27463 ac_cpp='$CPP $CPPFLAGS'
27464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27473 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27475 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27476 for ac_func in sqrtl
27477 do :
27478 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27479 if test "x$ac_cv_func_sqrtl" = xyes; then :
27480 cat >>confdefs.h <<_ACEOF
27481 #define HAVE_SQRTL 1
27482 _ACEOF
27485 done
27487 else
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27490 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27491 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27492 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27497 ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h. */
27505 #include <math.h>
27506 #ifdef HAVE_IEEEFP_H
27507 #include <ieeefp.h>
27508 #endif
27511 main ()
27513 _sqrtl(0);
27515 return 0;
27517 _ACEOF
27518 if ac_fn_cxx_try_compile "$LINENO"; then :
27519 glibcxx_cv_func__sqrtl_use=yes
27520 else
27521 glibcxx_cv_func__sqrtl_use=no
27523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27524 ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27535 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27538 for ac_func in _sqrtl
27539 do :
27540 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27541 if test "x$ac_cv_func__sqrtl" = xyes; then :
27542 cat >>confdefs.h <<_ACEOF
27543 #define HAVE__SQRTL 1
27544 _ACEOF
27547 done
27556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27557 $as_echo_n "checking for sincosl declaration... " >&6; }
27558 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27559 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27560 $as_echo_n "(cached) " >&6
27561 else
27564 ac_ext=cpp
27565 ac_cpp='$CXXCPP $CPPFLAGS'
27566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27571 /* end confdefs.h. */
27572 #include <math.h>
27574 main ()
27576 sincosl(0, 0, 0);
27578 return 0;
27580 _ACEOF
27581 if ac_fn_cxx_try_compile "$LINENO"; then :
27582 glibcxx_cv_func_sincosl_use=yes
27583 else
27584 glibcxx_cv_func_sincosl_use=no
27586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27587 ac_ext=c
27588 ac_cpp='$CPP $CPPFLAGS'
27589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27598 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27600 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27601 for ac_func in sincosl
27602 do :
27603 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27604 if test "x$ac_cv_func_sincosl" = xyes; then :
27605 cat >>confdefs.h <<_ACEOF
27606 #define HAVE_SINCOSL 1
27607 _ACEOF
27610 done
27612 else
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27615 $as_echo_n "checking for _sincosl declaration... " >&6; }
27616 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27617 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27618 $as_echo_n "(cached) " >&6
27619 else
27622 ac_ext=cpp
27623 ac_cpp='$CXXCPP $CPPFLAGS'
27624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27629 /* end confdefs.h. */
27630 #include <math.h>
27632 main ()
27634 _sincosl(0, 0, 0);
27636 return 0;
27638 _ACEOF
27639 if ac_fn_cxx_try_compile "$LINENO"; then :
27640 glibcxx_cv_func__sincosl_use=yes
27641 else
27642 glibcxx_cv_func__sincosl_use=no
27644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27645 ac_ext=c
27646 ac_cpp='$CPP $CPPFLAGS'
27647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27656 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27658 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27659 for ac_func in _sincosl
27660 do :
27661 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27662 if test "x$ac_cv_func__sincosl" = xyes; then :
27663 cat >>confdefs.h <<_ACEOF
27664 #define HAVE__SINCOSL 1
27665 _ACEOF
27668 done
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27678 $as_echo_n "checking for finitel declaration... " >&6; }
27679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27680 if ${glibcxx_cv_func_finitel_use+:} false; then :
27681 $as_echo_n "(cached) " >&6
27682 else
27685 ac_ext=cpp
27686 ac_cpp='$CXXCPP $CPPFLAGS'
27687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27692 /* end confdefs.h. */
27693 #include <math.h>
27694 #ifdef HAVE_IEEEFP_H
27695 #include <ieeefp.h>
27696 #endif
27699 main ()
27701 finitel(0);
27703 return 0;
27705 _ACEOF
27706 if ac_fn_cxx_try_compile "$LINENO"; then :
27707 glibcxx_cv_func_finitel_use=yes
27708 else
27709 glibcxx_cv_func_finitel_use=no
27711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27712 ac_ext=c
27713 ac_cpp='$CPP $CPPFLAGS'
27714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27723 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27725 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27726 for ac_func in finitel
27727 do :
27728 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27729 if test "x$ac_cv_func_finitel" = xyes; then :
27730 cat >>confdefs.h <<_ACEOF
27731 #define HAVE_FINITEL 1
27732 _ACEOF
27735 done
27737 else
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27740 $as_echo_n "checking for _finitel declaration... " >&6; }
27741 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27742 if ${glibcxx_cv_func__finitel_use+:} false; then :
27743 $as_echo_n "(cached) " >&6
27744 else
27747 ac_ext=cpp
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27755 #include <math.h>
27756 #ifdef HAVE_IEEEFP_H
27757 #include <ieeefp.h>
27758 #endif
27761 main ()
27763 _finitel(0);
27765 return 0;
27767 _ACEOF
27768 if ac_fn_cxx_try_compile "$LINENO"; then :
27769 glibcxx_cv_func__finitel_use=yes
27770 else
27771 glibcxx_cv_func__finitel_use=no
27773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27774 ac_ext=c
27775 ac_cpp='$CPP $CPPFLAGS'
27776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27785 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27787 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27788 for ac_func in _finitel
27789 do :
27790 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27791 if test "x$ac_cv_func__finitel" = xyes; then :
27792 cat >>confdefs.h <<_ACEOF
27793 #define HAVE__FINITEL 1
27794 _ACEOF
27797 done
27805 LIBS="$ac_save_LIBS"
27806 CXXFLAGS="$ac_save_CXXFLAGS"
27809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27810 ac_save_CXXFLAGS="$CXXFLAGS"
27811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27815 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27816 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27817 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27818 $as_echo_n "(cached) " >&6
27819 else
27822 ac_ext=cpp
27823 ac_cpp='$CXXCPP $CPPFLAGS'
27824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27829 /* end confdefs.h. */
27830 #include <stdlib.h>
27832 main ()
27834 at_quick_exit(0);
27836 return 0;
27838 _ACEOF
27839 if ac_fn_cxx_try_compile "$LINENO"; then :
27840 glibcxx_cv_func_at_quick_exit_use=yes
27841 else
27842 glibcxx_cv_func_at_quick_exit_use=no
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27845 ac_ext=c
27846 ac_cpp='$CPP $CPPFLAGS'
27847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27856 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27857 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27858 for ac_func in at_quick_exit
27859 do :
27860 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27861 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27862 cat >>confdefs.h <<_ACEOF
27863 #define HAVE_AT_QUICK_EXIT 1
27864 _ACEOF
27867 done
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27873 $as_echo_n "checking for quick_exit declaration... " >&6; }
27874 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27875 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27876 $as_echo_n "(cached) " >&6
27877 else
27880 ac_ext=cpp
27881 ac_cpp='$CXXCPP $CPPFLAGS'
27882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27887 /* end confdefs.h. */
27888 #include <stdlib.h>
27890 main ()
27892 quick_exit(0);
27894 return 0;
27896 _ACEOF
27897 if ac_fn_cxx_try_compile "$LINENO"; then :
27898 glibcxx_cv_func_quick_exit_use=yes
27899 else
27900 glibcxx_cv_func_quick_exit_use=no
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903 ac_ext=c
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27914 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27915 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27916 for ac_func in quick_exit
27917 do :
27918 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27919 if test "x$ac_cv_func_quick_exit" = xyes; then :
27920 cat >>confdefs.h <<_ACEOF
27921 #define HAVE_QUICK_EXIT 1
27922 _ACEOF
27925 done
27930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27931 $as_echo_n "checking for strtold declaration... " >&6; }
27932 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27933 if ${glibcxx_cv_func_strtold_use+:} false; then :
27934 $as_echo_n "(cached) " >&6
27935 else
27938 ac_ext=cpp
27939 ac_cpp='$CXXCPP $CPPFLAGS'
27940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27945 /* end confdefs.h. */
27946 #include <stdlib.h>
27948 main ()
27950 strtold(0, 0);
27952 return 0;
27954 _ACEOF
27955 if ac_fn_cxx_try_compile "$LINENO"; then :
27956 glibcxx_cv_func_strtold_use=yes
27957 else
27958 glibcxx_cv_func_strtold_use=no
27960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27961 ac_ext=c
27962 ac_cpp='$CPP $CPPFLAGS'
27963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27972 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27973 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27974 for ac_func in strtold
27975 do :
27976 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27977 if test "x$ac_cv_func_strtold" = xyes; then :
27978 cat >>confdefs.h <<_ACEOF
27979 #define HAVE_STRTOLD 1
27980 _ACEOF
27983 done
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27991 $as_echo_n "checking for strtof declaration... " >&6; }
27992 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27993 if ${glibcxx_cv_func_strtof_use+:} false; then :
27994 $as_echo_n "(cached) " >&6
27995 else
27998 ac_ext=cpp
27999 ac_cpp='$CXXCPP $CPPFLAGS'
28000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28005 /* end confdefs.h. */
28006 #include <stdlib.h>
28008 main ()
28010 strtof(0, 0);
28012 return 0;
28014 _ACEOF
28015 if ac_fn_cxx_try_compile "$LINENO"; then :
28016 glibcxx_cv_func_strtof_use=yes
28017 else
28018 glibcxx_cv_func_strtof_use=no
28020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28021 ac_ext=c
28022 ac_cpp='$CPP $CPPFLAGS'
28023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28032 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28033 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28034 for ac_func in strtof
28035 do :
28036 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28037 if test "x$ac_cv_func_strtof" = xyes; then :
28038 cat >>confdefs.h <<_ACEOF
28039 #define HAVE_STRTOF 1
28040 _ACEOF
28043 done
28050 CXXFLAGS="$ac_save_CXXFLAGS"
28053 # For /dev/random and /dev/urandom for std::random_device.
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28057 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28058 if ${glibcxx_cv_dev_random+:} false; then :
28059 $as_echo_n "(cached) " >&6
28060 else
28062 if test -r /dev/random && test -r /dev/urandom; then
28063 ## For MSys environment the test above is detected as false-positive
28064 ## on mingw-targets. So disable it explicitly for them.
28065 case ${target_os} in
28066 *mingw*) glibcxx_cv_dev_random=no ;;
28067 *) glibcxx_cv_dev_random=yes ;;
28068 esac
28069 else
28070 glibcxx_cv_dev_random=no;
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28075 $as_echo "$glibcxx_cv_dev_random" >&6; }
28077 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28079 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28082 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28088 # For TLS support.
28091 # Check whether --enable-tls was given.
28092 if test "${enable_tls+set}" = set; then :
28093 enableval=$enable_tls;
28094 case "$enableval" in
28095 yes|no) ;;
28096 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28097 esac
28099 else
28100 enable_tls=yes
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28105 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28106 if ${gcc_cv_have_tls+:} false; then :
28107 $as_echo_n "(cached) " >&6
28108 else
28110 if test "$cross_compiling" = yes; then :
28111 if test x$gcc_no_link = xyes; then
28112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28115 /* end confdefs.h. */
28116 __thread int a; int b; int main() { return a = b; }
28117 _ACEOF
28118 if ac_fn_c_try_link "$LINENO"; then :
28119 chktls_save_LDFLAGS="$LDFLAGS"
28120 case $host in
28121 *-*-linux* | -*-uclinuxfdpic*)
28122 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28124 esac
28125 chktls_save_CFLAGS="$CFLAGS"
28126 CFLAGS="-fPIC $CFLAGS"
28127 if test x$gcc_no_link = xyes; then
28128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28131 /* end confdefs.h. */
28132 int f() { return 0; }
28133 _ACEOF
28134 if ac_fn_c_try_link "$LINENO"; then :
28135 if test x$gcc_no_link = xyes; then
28136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h. */
28140 __thread int a; int b; int f() { return a = b; }
28141 _ACEOF
28142 if ac_fn_c_try_link "$LINENO"; then :
28143 gcc_cv_have_tls=yes
28144 else
28145 gcc_cv_have_tls=no
28147 rm -f core conftest.err conftest.$ac_objext \
28148 conftest$ac_exeext conftest.$ac_ext
28149 else
28150 gcc_cv_have_tls=yes
28152 rm -f core conftest.err conftest.$ac_objext \
28153 conftest$ac_exeext conftest.$ac_ext
28154 CFLAGS="$chktls_save_CFLAGS"
28155 LDFLAGS="$chktls_save_LDFLAGS"
28156 else
28157 gcc_cv_have_tls=no
28159 rm -f core conftest.err conftest.$ac_objext \
28160 conftest$ac_exeext conftest.$ac_ext
28163 else
28164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28165 /* end confdefs.h. */
28166 __thread int a; int b; int main() { return a = b; }
28167 _ACEOF
28168 if ac_fn_c_try_run "$LINENO"; then :
28169 chktls_save_LDFLAGS="$LDFLAGS"
28170 LDFLAGS="-static $LDFLAGS"
28171 if test x$gcc_no_link = xyes; then
28172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28175 /* end confdefs.h. */
28176 int main() { return 0; }
28177 _ACEOF
28178 if ac_fn_c_try_link "$LINENO"; then :
28179 if test "$cross_compiling" = yes; then :
28180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28182 as_fn_error $? "cannot run test program while cross compiling
28183 See \`config.log' for more details" "$LINENO" 5; }
28184 else
28185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28186 /* end confdefs.h. */
28187 __thread int a; int b; int main() { return a = b; }
28188 _ACEOF
28189 if ac_fn_c_try_run "$LINENO"; then :
28190 gcc_cv_have_tls=yes
28191 else
28192 gcc_cv_have_tls=no
28194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28195 conftest.$ac_objext conftest.beam conftest.$ac_ext
28198 else
28199 gcc_cv_have_tls=yes
28201 rm -f core conftest.err conftest.$ac_objext \
28202 conftest$ac_exeext conftest.$ac_ext
28203 LDFLAGS="$chktls_save_LDFLAGS"
28204 if test $gcc_cv_have_tls = yes; then
28205 chktls_save_CFLAGS="$CFLAGS"
28206 thread_CFLAGS=failed
28207 for flag in '' '-pthread' '-lpthread'; do
28208 CFLAGS="$flag $chktls_save_CFLAGS"
28209 if test x$gcc_no_link = xyes; then
28210 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28213 /* end confdefs.h. */
28214 #include <pthread.h>
28215 void *g(void *d) { return NULL; }
28217 main ()
28219 pthread_t t; pthread_create(&t,NULL,g,NULL);
28221 return 0;
28223 _ACEOF
28224 if ac_fn_c_try_link "$LINENO"; then :
28225 thread_CFLAGS="$flag"
28227 rm -f core conftest.err conftest.$ac_objext \
28228 conftest$ac_exeext conftest.$ac_ext
28229 if test "X$thread_CFLAGS" != Xfailed; then
28230 break
28232 done
28233 CFLAGS="$chktls_save_CFLAGS"
28234 if test "X$thread_CFLAGS" != Xfailed; then
28235 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28236 if test "$cross_compiling" = yes; then :
28237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28239 as_fn_error $? "cannot run test program while cross compiling
28240 See \`config.log' for more details" "$LINENO" 5; }
28241 else
28242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28243 /* end confdefs.h. */
28244 #include <pthread.h>
28245 __thread int a;
28246 static int *volatile a_in_other_thread;
28247 static void *
28248 thread_func (void *arg)
28250 a_in_other_thread = &a;
28251 return (void *)0;
28254 main ()
28256 pthread_t thread;
28257 void *thread_retval;
28258 int *volatile a_in_main_thread;
28259 a_in_main_thread = &a;
28260 if (pthread_create (&thread, (pthread_attr_t *)0,
28261 thread_func, (void *)0))
28262 return 0;
28263 if (pthread_join (thread, &thread_retval))
28264 return 0;
28265 return (a_in_other_thread == a_in_main_thread);
28267 return 0;
28269 _ACEOF
28270 if ac_fn_c_try_run "$LINENO"; then :
28271 gcc_cv_have_tls=yes
28272 else
28273 gcc_cv_have_tls=no
28275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28276 conftest.$ac_objext conftest.beam conftest.$ac_ext
28279 CFLAGS="$chktls_save_CFLAGS"
28282 else
28283 gcc_cv_have_tls=no
28285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28286 conftest.$ac_objext conftest.beam conftest.$ac_ext
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28291 $as_echo "$gcc_cv_have_tls" >&6; }
28292 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28294 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28298 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28299 do :
28300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28303 cat >>confdefs.h <<_ACEOF
28304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28305 _ACEOF
28308 done
28310 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28311 do :
28312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28314 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28315 cat >>confdefs.h <<_ACEOF
28316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28317 _ACEOF
28320 done
28322 for ac_func in _wfopen
28323 do :
28324 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28325 if test "x$ac_cv_func__wfopen" = xyes; then :
28326 cat >>confdefs.h <<_ACEOF
28327 #define HAVE__WFOPEN 1
28328 _ACEOF
28331 done
28333 for ac_func in secure_getenv
28334 do :
28335 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28336 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28337 cat >>confdefs.h <<_ACEOF
28338 #define HAVE_SECURE_GETENV 1
28339 _ACEOF
28342 done
28345 # C11 functions for C++17 library
28346 for ac_func in timespec_get
28347 do :
28348 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28349 if test "x$ac_cv_func_timespec_get" = xyes; then :
28350 cat >>confdefs.h <<_ACEOF
28351 #define HAVE_TIMESPEC_GET 1
28352 _ACEOF
28355 done
28358 # For Networking TS.
28359 for ac_func in sockatmark
28360 do :
28361 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28362 if test "x$ac_cv_func_sockatmark" = xyes; then :
28363 cat >>confdefs.h <<_ACEOF
28364 #define HAVE_SOCKATMARK 1
28365 _ACEOF
28368 done
28371 # Non-standard functions used by C++17 std::from_chars
28372 for ac_func in uselocale
28373 do :
28374 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28375 if test "x$ac_cv_func_uselocale" = xyes; then :
28376 cat >>confdefs.h <<_ACEOF
28377 #define HAVE_USELOCALE 1
28378 _ACEOF
28381 done
28384 # For iconv support.
28386 if test "X$prefix" = "XNONE"; then
28387 acl_final_prefix="$ac_default_prefix"
28388 else
28389 acl_final_prefix="$prefix"
28391 if test "X$exec_prefix" = "XNONE"; then
28392 acl_final_exec_prefix='${prefix}'
28393 else
28394 acl_final_exec_prefix="$exec_prefix"
28396 acl_save_prefix="$prefix"
28397 prefix="$acl_final_prefix"
28398 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28399 prefix="$acl_save_prefix"
28402 # Check whether --with-gnu-ld was given.
28403 if test "${with_gnu_ld+set}" = set; then :
28404 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28405 else
28406 with_gnu_ld=no
28409 # Prepare PATH_SEPARATOR.
28410 # The user is always right.
28411 if test "${PATH_SEPARATOR+set}" != set; then
28412 echo "#! /bin/sh" >conf$$.sh
28413 echo "exit 0" >>conf$$.sh
28414 chmod +x conf$$.sh
28415 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28416 PATH_SEPARATOR=';'
28417 else
28418 PATH_SEPARATOR=:
28420 rm -f conf$$.sh
28422 ac_prog=ld
28423 if test "$GCC" = yes; then
28424 # Check if gcc -print-prog-name=ld gives a path.
28425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28426 $as_echo_n "checking for ld used by GCC... " >&6; }
28427 case $host in
28428 *-*-mingw*)
28429 # gcc leaves a trailing carriage return which upsets mingw
28430 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28432 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28433 esac
28434 case $ac_prog in
28435 # Accept absolute paths.
28436 [\\/]* | [A-Za-z]:[\\/]*)
28437 re_direlt='/[^/][^/]*/\.\./'
28438 # Canonicalize the path of ld
28439 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28440 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28441 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28442 done
28443 test -z "$LD" && LD="$ac_prog"
28446 # If it fails, then pretend we aren't using GCC.
28447 ac_prog=ld
28450 # If it is relative, then search for the first ld in PATH.
28451 with_gnu_ld=unknown
28453 esac
28454 elif test "$with_gnu_ld" = yes; then
28455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28456 $as_echo_n "checking for GNU ld... " >&6; }
28457 else
28458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28459 $as_echo_n "checking for non-GNU ld... " >&6; }
28461 if ${acl_cv_path_LD+:} false; then :
28462 $as_echo_n "(cached) " >&6
28463 else
28464 if test -z "$LD"; then
28465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28466 for ac_dir in $PATH; do
28467 test -z "$ac_dir" && ac_dir=.
28468 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28469 acl_cv_path_LD="$ac_dir/$ac_prog"
28470 # Check to see if the program is GNU ld. I'd rather use --version,
28471 # but apparently some GNU ld's only accept -v.
28472 # Break only if it was the GNU/non-GNU ld that we prefer.
28473 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28474 test "$with_gnu_ld" != no && break
28475 else
28476 test "$with_gnu_ld" != yes && break
28479 done
28480 IFS="$ac_save_ifs"
28481 else
28482 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28486 LD="$acl_cv_path_LD"
28487 if test -n "$LD"; then
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28489 $as_echo "$LD" >&6; }
28490 else
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28492 $as_echo "no" >&6; }
28494 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28496 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28497 if ${acl_cv_prog_gnu_ld+:} false; then :
28498 $as_echo_n "(cached) " >&6
28499 else
28500 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28501 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28502 acl_cv_prog_gnu_ld=yes
28503 else
28504 acl_cv_prog_gnu_ld=no
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28508 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28509 with_gnu_ld=$acl_cv_prog_gnu_ld
28513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28514 $as_echo_n "checking for shared library run path origin... " >&6; }
28515 if ${acl_cv_rpath+:} false; then :
28516 $as_echo_n "(cached) " >&6
28517 else
28519 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28520 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28521 . ./conftest.sh
28522 rm -f ./conftest.sh
28523 acl_cv_rpath=done
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28527 $as_echo "$acl_cv_rpath" >&6; }
28528 wl="$acl_cv_wl"
28529 libext="$acl_cv_libext"
28530 shlibext="$acl_cv_shlibext"
28531 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28532 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28533 hardcode_direct="$acl_cv_hardcode_direct"
28534 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28535 # Check whether --enable-rpath was given.
28536 if test "${enable_rpath+set}" = set; then :
28537 enableval=$enable_rpath; :
28538 else
28539 enable_rpath=yes
28549 use_additional=yes
28551 acl_save_prefix="$prefix"
28552 prefix="$acl_final_prefix"
28553 acl_save_exec_prefix="$exec_prefix"
28554 exec_prefix="$acl_final_exec_prefix"
28556 eval additional_includedir=\"$includedir\"
28557 eval additional_libdir=\"$libdir\"
28559 exec_prefix="$acl_save_exec_prefix"
28560 prefix="$acl_save_prefix"
28563 # Check whether --with-libiconv-prefix was given.
28564 if test "${with_libiconv_prefix+set}" = set; then :
28565 withval=$with_libiconv_prefix;
28566 if test "X$withval" = "Xno"; then
28567 use_additional=no
28568 else
28569 if test "X$withval" = "X"; then
28571 acl_save_prefix="$prefix"
28572 prefix="$acl_final_prefix"
28573 acl_save_exec_prefix="$exec_prefix"
28574 exec_prefix="$acl_final_exec_prefix"
28576 eval additional_includedir=\"$includedir\"
28577 eval additional_libdir=\"$libdir\"
28579 exec_prefix="$acl_save_exec_prefix"
28580 prefix="$acl_save_prefix"
28582 else
28583 additional_includedir="$withval/include"
28584 additional_libdir="$withval/lib"
28591 # Check whether --with-libiconv-type was given.
28592 if test "${with_libiconv_type+set}" = set; then :
28593 withval=$with_libiconv_type; with_libiconv_type=$withval
28594 else
28595 with_libiconv_type=auto
28598 lib_type=`eval echo \$with_libiconv_type`
28600 LIBICONV=
28601 LTLIBICONV=
28602 INCICONV=
28603 rpathdirs=
28604 ltrpathdirs=
28605 names_already_handled=
28606 names_next_round='iconv '
28607 while test -n "$names_next_round"; do
28608 names_this_round="$names_next_round"
28609 names_next_round=
28610 for name in $names_this_round; do
28611 already_handled=
28612 for n in $names_already_handled; do
28613 if test "$n" = "$name"; then
28614 already_handled=yes
28615 break
28617 done
28618 if test -z "$already_handled"; then
28619 names_already_handled="$names_already_handled $name"
28620 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28621 eval value=\"\$HAVE_LIB$uppername\"
28622 if test -n "$value"; then
28623 if test "$value" = yes; then
28624 eval value=\"\$LIB$uppername\"
28625 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28626 eval value=\"\$LTLIB$uppername\"
28627 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28628 else
28631 else
28632 found_dir=
28633 found_la=
28634 found_so=
28635 found_a=
28636 if test $use_additional = yes; then
28637 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28638 found_dir="$additional_libdir"
28639 found_so="$additional_libdir/lib$name.$shlibext"
28640 if test -f "$additional_libdir/lib$name.la"; then
28641 found_la="$additional_libdir/lib$name.la"
28643 elif test x$lib_type != xshared; then
28644 if test -f "$additional_libdir/lib$name.$libext"; then
28645 found_dir="$additional_libdir"
28646 found_a="$additional_libdir/lib$name.$libext"
28647 if test -f "$additional_libdir/lib$name.la"; then
28648 found_la="$additional_libdir/lib$name.la"
28653 if test "X$found_dir" = "X"; then
28654 for x in $LDFLAGS $LTLIBICONV; do
28656 acl_save_prefix="$prefix"
28657 prefix="$acl_final_prefix"
28658 acl_save_exec_prefix="$exec_prefix"
28659 exec_prefix="$acl_final_exec_prefix"
28660 eval x=\"$x\"
28661 exec_prefix="$acl_save_exec_prefix"
28662 prefix="$acl_save_prefix"
28664 case "$x" in
28665 -L*)
28666 dir=`echo "X$x" | sed -e 's/^X-L//'`
28667 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28668 found_dir="$dir"
28669 found_so="$dir/lib$name.$shlibext"
28670 if test -f "$dir/lib$name.la"; then
28671 found_la="$dir/lib$name.la"
28673 elif test x$lib_type != xshared; then
28674 if test -f "$dir/lib$name.$libext"; then
28675 found_dir="$dir"
28676 found_a="$dir/lib$name.$libext"
28677 if test -f "$dir/lib$name.la"; then
28678 found_la="$dir/lib$name.la"
28683 esac
28684 if test "X$found_dir" != "X"; then
28685 break
28687 done
28689 if test "X$found_dir" != "X"; then
28690 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28691 if test "X$found_so" != "X"; then
28692 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28693 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28694 else
28695 haveit=
28696 for x in $ltrpathdirs; do
28697 if test "X$x" = "X$found_dir"; then
28698 haveit=yes
28699 break
28701 done
28702 if test -z "$haveit"; then
28703 ltrpathdirs="$ltrpathdirs $found_dir"
28705 if test "$hardcode_direct" = yes; then
28706 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28707 else
28708 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28709 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28710 haveit=
28711 for x in $rpathdirs; do
28712 if test "X$x" = "X$found_dir"; then
28713 haveit=yes
28714 break
28716 done
28717 if test -z "$haveit"; then
28718 rpathdirs="$rpathdirs $found_dir"
28720 else
28721 haveit=
28722 for x in $LDFLAGS $LIBICONV; do
28724 acl_save_prefix="$prefix"
28725 prefix="$acl_final_prefix"
28726 acl_save_exec_prefix="$exec_prefix"
28727 exec_prefix="$acl_final_exec_prefix"
28728 eval x=\"$x\"
28729 exec_prefix="$acl_save_exec_prefix"
28730 prefix="$acl_save_prefix"
28732 if test "X$x" = "X-L$found_dir"; then
28733 haveit=yes
28734 break
28736 done
28737 if test -z "$haveit"; then
28738 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28740 if test "$hardcode_minus_L" != no; then
28741 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28742 else
28743 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28748 else
28749 if test "X$found_a" != "X"; then
28750 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28751 else
28752 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28755 additional_includedir=
28756 case "$found_dir" in
28757 */lib | */lib/)
28758 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28759 additional_includedir="$basedir/include"
28761 esac
28762 if test "X$additional_includedir" != "X"; then
28763 if test "X$additional_includedir" != "X/usr/include"; then
28764 haveit=
28765 if test "X$additional_includedir" = "X/usr/local/include"; then
28766 if test -n "$GCC"; then
28767 case $host_os in
28768 linux*) haveit=yes;;
28769 esac
28772 if test -z "$haveit"; then
28773 for x in $CPPFLAGS $INCICONV; do
28775 acl_save_prefix="$prefix"
28776 prefix="$acl_final_prefix"
28777 acl_save_exec_prefix="$exec_prefix"
28778 exec_prefix="$acl_final_exec_prefix"
28779 eval x=\"$x\"
28780 exec_prefix="$acl_save_exec_prefix"
28781 prefix="$acl_save_prefix"
28783 if test "X$x" = "X-I$additional_includedir"; then
28784 haveit=yes
28785 break
28787 done
28788 if test -z "$haveit"; then
28789 if test -d "$additional_includedir"; then
28790 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28796 if test -n "$found_la"; then
28797 save_libdir="$libdir"
28798 case "$found_la" in
28799 */* | *\\*) . "$found_la" ;;
28800 *) . "./$found_la" ;;
28801 esac
28802 libdir="$save_libdir"
28803 for dep in $dependency_libs; do
28804 case "$dep" in
28805 -L*)
28806 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28807 if test "X$additional_libdir" != "X/usr/lib"; then
28808 haveit=
28809 if test "X$additional_libdir" = "X/usr/local/lib"; then
28810 if test -n "$GCC"; then
28811 case $host_os in
28812 linux*) haveit=yes;;
28813 esac
28816 if test -z "$haveit"; then
28817 haveit=
28818 for x in $LDFLAGS $LIBICONV; do
28820 acl_save_prefix="$prefix"
28821 prefix="$acl_final_prefix"
28822 acl_save_exec_prefix="$exec_prefix"
28823 exec_prefix="$acl_final_exec_prefix"
28824 eval x=\"$x\"
28825 exec_prefix="$acl_save_exec_prefix"
28826 prefix="$acl_save_prefix"
28828 if test "X$x" = "X-L$additional_libdir"; then
28829 haveit=yes
28830 break
28832 done
28833 if test -z "$haveit"; then
28834 if test -d "$additional_libdir"; then
28835 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28838 haveit=
28839 for x in $LDFLAGS $LTLIBICONV; do
28841 acl_save_prefix="$prefix"
28842 prefix="$acl_final_prefix"
28843 acl_save_exec_prefix="$exec_prefix"
28844 exec_prefix="$acl_final_exec_prefix"
28845 eval x=\"$x\"
28846 exec_prefix="$acl_save_exec_prefix"
28847 prefix="$acl_save_prefix"
28849 if test "X$x" = "X-L$additional_libdir"; then
28850 haveit=yes
28851 break
28853 done
28854 if test -z "$haveit"; then
28855 if test -d "$additional_libdir"; then
28856 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28862 -R*)
28863 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28864 if test "$enable_rpath" != no; then
28865 haveit=
28866 for x in $rpathdirs; do
28867 if test "X$x" = "X$dir"; then
28868 haveit=yes
28869 break
28871 done
28872 if test -z "$haveit"; then
28873 rpathdirs="$rpathdirs $dir"
28875 haveit=
28876 for x in $ltrpathdirs; do
28877 if test "X$x" = "X$dir"; then
28878 haveit=yes
28879 break
28881 done
28882 if test -z "$haveit"; then
28883 ltrpathdirs="$ltrpathdirs $dir"
28887 -l*)
28888 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28890 *.la)
28891 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28894 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28895 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28897 esac
28898 done
28900 else
28901 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28902 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28903 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28904 else
28905 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28906 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28911 done
28912 done
28913 if test "X$rpathdirs" != "X"; then
28914 if test -n "$hardcode_libdir_separator"; then
28915 alldirs=
28916 for found_dir in $rpathdirs; do
28917 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28918 done
28919 acl_save_libdir="$libdir"
28920 libdir="$alldirs"
28921 eval flag=\"$hardcode_libdir_flag_spec\"
28922 libdir="$acl_save_libdir"
28923 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28924 else
28925 for found_dir in $rpathdirs; do
28926 acl_save_libdir="$libdir"
28927 libdir="$found_dir"
28928 eval flag=\"$hardcode_libdir_flag_spec\"
28929 libdir="$acl_save_libdir"
28930 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28931 done
28934 if test "X$ltrpathdirs" != "X"; then
28935 for found_dir in $ltrpathdirs; do
28936 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28937 done
28946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28947 $as_echo_n "checking for iconv... " >&6; }
28948 if ${am_cv_func_iconv+:} false; then :
28949 $as_echo_n "(cached) " >&6
28950 else
28952 am_cv_func_iconv="no, consider installing GNU libiconv"
28953 am_cv_lib_iconv=no
28954 am_save_CPPFLAGS="$CPPFLAGS"
28955 CPPFLAGS="$CPPFLAGS $INCICONV"
28956 if test x$gcc_no_link = xyes; then
28957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28960 /* end confdefs.h. */
28961 #include <stdlib.h>
28962 #include <iconv.h>
28964 main ()
28966 iconv_t cd = iconv_open("","");
28967 iconv(cd,NULL,NULL,NULL,NULL);
28968 iconv_close(cd);
28970 return 0;
28972 _ACEOF
28973 if ac_fn_c_try_link "$LINENO"; then :
28974 am_cv_func_iconv=yes
28976 rm -f core conftest.err conftest.$ac_objext \
28977 conftest$ac_exeext conftest.$ac_ext
28978 CPPFLAGS="$am_save_CPPFLAGS"
28980 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28981 for _libs in .libs _libs; do
28982 am_save_CPPFLAGS="$CPPFLAGS"
28983 am_save_LIBS="$LIBS"
28984 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28985 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28986 if test x$gcc_no_link = xyes; then
28987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28990 /* end confdefs.h. */
28991 #include <stdlib.h>
28992 #include <iconv.h>
28994 main ()
28996 iconv_t cd = iconv_open("","");
28997 iconv(cd,NULL,NULL,NULL,NULL);
28998 iconv_close(cd);
29000 return 0;
29002 _ACEOF
29003 if ac_fn_c_try_link "$LINENO"; then :
29004 INCICONV="-I../libiconv/include"
29005 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29006 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29007 am_cv_lib_iconv=yes
29008 am_cv_func_iconv=yes
29010 rm -f core conftest.err conftest.$ac_objext \
29011 conftest$ac_exeext conftest.$ac_ext
29012 CPPFLAGS="$am_save_CPPFLAGS"
29013 LIBS="$am_save_LIBS"
29014 if test "$am_cv_func_iconv" = "yes"; then
29015 break
29017 done
29020 if test "$am_cv_func_iconv" != yes; then
29021 am_save_CPPFLAGS="$CPPFLAGS"
29022 am_save_LIBS="$LIBS"
29023 CPPFLAGS="$CPPFLAGS $INCICONV"
29024 LIBS="$LIBS $LIBICONV"
29025 if test x$gcc_no_link = xyes; then
29026 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h. */
29030 #include <stdlib.h>
29031 #include <iconv.h>
29033 main ()
29035 iconv_t cd = iconv_open("","");
29036 iconv(cd,NULL,NULL,NULL,NULL);
29037 iconv_close(cd);
29039 return 0;
29041 _ACEOF
29042 if ac_fn_c_try_link "$LINENO"; then :
29043 am_cv_lib_iconv=yes
29044 am_cv_func_iconv=yes
29046 rm -f core conftest.err conftest.$ac_objext \
29047 conftest$ac_exeext conftest.$ac_ext
29048 CPPFLAGS="$am_save_CPPFLAGS"
29049 LIBS="$am_save_LIBS"
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29054 $as_echo "$am_cv_func_iconv" >&6; }
29055 if test "$am_cv_func_iconv" = yes; then
29057 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29060 if test "$am_cv_lib_iconv" = yes; then
29062 for element in $INCICONV; do
29063 haveit=
29064 for x in $CPPFLAGS; do
29066 acl_save_prefix="$prefix"
29067 prefix="$acl_final_prefix"
29068 acl_save_exec_prefix="$exec_prefix"
29069 exec_prefix="$acl_final_exec_prefix"
29070 eval x=\"$x\"
29071 exec_prefix="$acl_save_exec_prefix"
29072 prefix="$acl_save_prefix"
29074 if test "X$x" = "X$element"; then
29075 haveit=yes
29076 break
29078 done
29079 if test -z "$haveit"; then
29080 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29082 done
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29085 $as_echo_n "checking how to link with libiconv... " >&6; }
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29087 $as_echo "$LIBICONV" >&6; }
29088 else
29089 LIBICONV=
29090 LTLIBICONV=
29095 if test "$am_cv_func_iconv" = yes; then
29096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29097 $as_echo_n "checking for iconv declaration... " >&6; }
29098 if ${am_cv_proto_iconv+:} false; then :
29099 $as_echo_n "(cached) " >&6
29100 else
29102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29103 /* end confdefs.h. */
29105 #include <stdlib.h>
29106 #include <iconv.h>
29107 extern
29108 #ifdef __cplusplus
29110 #endif
29111 #if defined(__STDC__) || defined(__cplusplus)
29112 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29113 #else
29114 size_t iconv();
29115 #endif
29118 main ()
29122 return 0;
29124 _ACEOF
29125 if ac_fn_c_try_compile "$LINENO"; then :
29126 am_cv_proto_iconv_arg1=""
29127 else
29128 am_cv_proto_iconv_arg1="const"
29130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29131 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);"
29134 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29136 }$am_cv_proto_iconv" >&5
29137 $as_echo "${ac_t:-
29138 }$am_cv_proto_iconv" >&6; }
29140 cat >>confdefs.h <<_ACEOF
29141 #define ICONV_CONST $am_cv_proto_iconv_arg1
29142 _ACEOF
29147 else
29149 # This lets us hard-code the functionality we know we'll have in the cross
29150 # target environment. "Let" is a sugar-coated word placed on an especially
29151 # dull and tedious hack, actually.
29153 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29154 # that involve linking, can't be used:
29155 # "cannot open sim-crt0.o"
29156 # "cannot open crt0.o"
29157 # etc. All this is because there currently exists no unified, consistent
29158 # way for top level CC information to be passed down to target directories:
29159 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29160 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29161 # crosses can be removed.
29163 # If Canadian cross, then don't pick up tools from the build directory.
29164 # Used only in GLIBCXX_EXPORT_INCLUDES.
29165 if test -n "$with_cross_host" &&
29166 test x"$build_alias" != x"$with_cross_host" &&
29167 test x"$build" != x"$target";
29168 then
29169 CANADIAN=yes
29170 else
29171 CANADIAN=no
29174 # Construct crosses by hand, eliminating bits that need ld...
29175 # GLIBCXX_CHECK_MATH_SUPPORT
29177 # First, test for "known" system libraries. We may be using newlib even
29178 # on a hosted environment.
29179 if test "x${with_newlib}" = "xyes"; then
29180 os_include_dir="os/newlib"
29181 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29184 # GLIBCXX_CHECK_STDLIB_SUPPORT
29185 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29188 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29190 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29192 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29194 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29196 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29198 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29200 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29202 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29204 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29206 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29208 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29210 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29212 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29214 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29216 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29218 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29220 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29222 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29224 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29226 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29228 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29230 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29233 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29235 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29237 elif test "x$with_headers" != "xno"; then
29239 # Base decisions on target environment.
29240 case "${host}" in
29241 arm*-*-symbianelf*)
29242 # This is a freestanding configuration; there is nothing to do here.
29245 avr*-*-*)
29246 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29248 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29250 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29252 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29254 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29256 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29258 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29260 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29262 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29264 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29266 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29268 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29270 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29272 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29274 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29276 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29278 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29280 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29282 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29284 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29286 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29288 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29290 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29294 mips*-sde-elf*)
29295 # These definitions are for the SDE C library rather than newlib.
29296 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29299 # All these tests are for C++; save the language and the compiler flags.
29300 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29301 # found in GLIBCXX_CONFIGURE.
29303 ac_ext=cpp
29304 ac_cpp='$CXXCPP $CPPFLAGS'
29305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29309 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29310 ac_save_CXXFLAGS="$CXXFLAGS"
29312 # Check for -ffunction-sections -fdata-sections
29313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29314 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29315 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29317 /* end confdefs.h. */
29318 int foo; void bar() { };
29320 main ()
29324 return 0;
29326 _ACEOF
29327 if ac_fn_cxx_try_compile "$LINENO"; then :
29328 ac_fdsections=yes
29329 else
29330 ac_fdsections=no
29332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29333 if test "$ac_test_CXXFLAGS" = set; then
29334 CXXFLAGS="$ac_save_CXXFLAGS"
29335 else
29336 # this is the suspicious part
29337 CXXFLAGS=''
29339 if test x"$ac_fdsections" = x"yes"; then
29340 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29343 $as_echo "$ac_fdsections" >&6; }
29345 ac_ext=c
29346 ac_cpp='$CPP $CPPFLAGS'
29347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29354 # If we're not using GNU ld, then there's no point in even trying these
29355 # tests. Check for that first. We should have already tested for gld
29356 # by now (in libtool), but require it now just to be safe...
29357 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29358 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29362 # The name set by libtool depends on the version of libtool. Shame on us
29363 # for depending on an impl detail, but c'est la vie. Older versions used
29364 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29365 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29366 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29367 # set (hence we're using an older libtool), then set it.
29368 if test x${with_gnu_ld+set} != xset; then
29369 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29370 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29371 with_gnu_ld=no
29372 else
29373 with_gnu_ld=$ac_cv_prog_gnu_ld
29377 # Start by getting the version number. I think the libtool test already
29378 # does some of this, but throws away the result.
29379 glibcxx_ld_is_gold=no
29380 glibcxx_ld_is_mold=no
29381 if test x"$with_gnu_ld" = x"yes"; then
29382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29383 $as_echo_n "checking for ld version... " >&6; }
29385 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29386 glibcxx_ld_is_gold=yes
29387 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29388 glibcxx_ld_is_mold=yes
29390 ldver=`$LD --version 2>/dev/null |
29391 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29393 glibcxx_gnu_ld_version=`echo $ldver | \
29394 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29396 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29399 # Set --gc-sections.
29400 glibcxx_have_gc_sections=no
29401 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29402 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29403 glibcxx_have_gc_sections=yes
29405 else
29406 glibcxx_gcsections_min_ld=21602
29407 if test x"$with_gnu_ld" = x"yes" &&
29408 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29409 glibcxx_have_gc_sections=yes
29412 if test "$glibcxx_have_gc_sections" = "yes"; then
29413 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29414 # NB: This flag only works reliably after 2.16.1. Configure tests
29415 # for this are difficult, so hard wire a value that should work.
29417 ac_test_CFLAGS="${CFLAGS+set}"
29418 ac_save_CFLAGS="$CFLAGS"
29419 CFLAGS='-Wl,--gc-sections'
29421 # Check for -Wl,--gc-sections
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29423 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29424 if test x$gcc_no_link = xyes; then
29425 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29428 /* end confdefs.h. */
29429 int one(void) { return 1; }
29430 int two(void) { return 2; }
29433 main ()
29435 two();
29437 return 0;
29439 _ACEOF
29440 if ac_fn_c_try_link "$LINENO"; then :
29441 ac_gcsections=yes
29442 else
29443 ac_gcsections=no
29445 rm -f core conftest.err conftest.$ac_objext \
29446 conftest$ac_exeext conftest.$ac_ext
29447 if test "$ac_gcsections" = "yes"; then
29448 rm -f conftest.c
29449 touch conftest.c
29450 if $CC -c conftest.c; then
29451 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29452 grep "Warning: gc-sections option ignored" > /dev/null; then
29453 ac_gcsections=no
29456 rm -f conftest.c conftest.o conftest
29458 if test "$ac_gcsections" = "yes"; then
29459 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29462 $as_echo "$ac_gcsections" >&6; }
29464 if test "$ac_test_CFLAGS" = set; then
29465 CFLAGS="$ac_save_CFLAGS"
29466 else
29467 # this is the suspicious part
29468 CFLAGS=''
29472 # Set -z,relro.
29473 # Note this is only for shared objects.
29474 ac_ld_relro=no
29475 if test x"$with_gnu_ld" = x"yes"; then
29476 # cygwin and mingw uses PE, which has no ELF relro support,
29477 # multi target ld may confuse configure machinery
29478 case "$host" in
29479 *-*-cygwin*)
29481 *-*-mingw*)
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29485 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29486 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29487 if test -n "$cxx_z_relo"; then
29488 OPT_LDFLAGS="-Wl,-z,relro"
29489 ac_ld_relro=yes
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29492 $as_echo "$ac_ld_relro" >&6; }
29493 esac
29496 # Set linker optimization flags.
29497 if test x"$with_gnu_ld" = x"yes"; then
29498 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29505 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29506 ac_save_CXXFLAGS="$CXXFLAGS"
29507 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29510 $as_echo_n "checking for sin in -lm... " >&6; }
29511 if ${ac_cv_lib_m_sin+:} false; then :
29512 $as_echo_n "(cached) " >&6
29513 else
29514 ac_check_lib_save_LIBS=$LIBS
29515 LIBS="-lm $LIBS"
29516 if test x$gcc_no_link = xyes; then
29517 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29520 /* end confdefs.h. */
29522 /* Override any GCC internal prototype to avoid an error.
29523 Use char because int might match the return type of a GCC
29524 builtin and then its argument prototype would still apply. */
29525 #ifdef __cplusplus
29526 extern "C"
29527 #endif
29528 char sin ();
29530 main ()
29532 return sin ();
29534 return 0;
29536 _ACEOF
29537 if ac_fn_c_try_link "$LINENO"; then :
29538 ac_cv_lib_m_sin=yes
29539 else
29540 ac_cv_lib_m_sin=no
29542 rm -f core conftest.err conftest.$ac_objext \
29543 conftest$ac_exeext conftest.$ac_ext
29544 LIBS=$ac_check_lib_save_LIBS
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29547 $as_echo "$ac_cv_lib_m_sin" >&6; }
29548 if test "x$ac_cv_lib_m_sin" = xyes; then :
29549 libm="-lm"
29552 ac_save_LIBS="$LIBS"
29553 LIBS="$LIBS $libm"
29557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29558 $as_echo_n "checking for isinf declaration... " >&6; }
29559 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29560 if ${glibcxx_cv_func_isinf_use+:} false; then :
29561 $as_echo_n "(cached) " >&6
29562 else
29565 ac_ext=cpp
29566 ac_cpp='$CXXCPP $CPPFLAGS'
29567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29572 /* end confdefs.h. */
29573 #include <math.h>
29574 #ifdef HAVE_IEEEFP_H
29575 #include <ieeefp.h>
29576 #endif
29579 main ()
29581 isinf(0);
29583 return 0;
29585 _ACEOF
29586 if ac_fn_cxx_try_compile "$LINENO"; then :
29587 glibcxx_cv_func_isinf_use=yes
29588 else
29589 glibcxx_cv_func_isinf_use=no
29591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29592 ac_ext=c
29593 ac_cpp='$CPP $CPPFLAGS'
29594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29603 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29605 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29606 for ac_func in isinf
29607 do :
29608 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29609 if test "x$ac_cv_func_isinf" = xyes; then :
29610 cat >>confdefs.h <<_ACEOF
29611 #define HAVE_ISINF 1
29612 _ACEOF
29615 done
29617 else
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29620 $as_echo_n "checking for _isinf declaration... " >&6; }
29621 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29622 if ${glibcxx_cv_func__isinf_use+:} false; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29627 ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h. */
29635 #include <math.h>
29636 #ifdef HAVE_IEEEFP_H
29637 #include <ieeefp.h>
29638 #endif
29641 main ()
29643 _isinf(0);
29645 return 0;
29647 _ACEOF
29648 if ac_fn_cxx_try_compile "$LINENO"; then :
29649 glibcxx_cv_func__isinf_use=yes
29650 else
29651 glibcxx_cv_func__isinf_use=no
29653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29654 ac_ext=c
29655 ac_cpp='$CPP $CPPFLAGS'
29656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29665 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29667 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29668 for ac_func in _isinf
29669 do :
29670 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29671 if test "x$ac_cv_func__isinf" = xyes; then :
29672 cat >>confdefs.h <<_ACEOF
29673 #define HAVE__ISINF 1
29674 _ACEOF
29677 done
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29687 $as_echo_n "checking for isnan declaration... " >&6; }
29688 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29689 if ${glibcxx_cv_func_isnan_use+:} false; then :
29690 $as_echo_n "(cached) " >&6
29691 else
29694 ac_ext=cpp
29695 ac_cpp='$CXXCPP $CPPFLAGS'
29696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29701 /* end confdefs.h. */
29702 #include <math.h>
29703 #ifdef HAVE_IEEEFP_H
29704 #include <ieeefp.h>
29705 #endif
29708 main ()
29710 isnan(0);
29712 return 0;
29714 _ACEOF
29715 if ac_fn_cxx_try_compile "$LINENO"; then :
29716 glibcxx_cv_func_isnan_use=yes
29717 else
29718 glibcxx_cv_func_isnan_use=no
29720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29721 ac_ext=c
29722 ac_cpp='$CPP $CPPFLAGS'
29723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29732 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29734 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29735 for ac_func in isnan
29736 do :
29737 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29738 if test "x$ac_cv_func_isnan" = xyes; then :
29739 cat >>confdefs.h <<_ACEOF
29740 #define HAVE_ISNAN 1
29741 _ACEOF
29744 done
29746 else
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29749 $as_echo_n "checking for _isnan declaration... " >&6; }
29750 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29751 if ${glibcxx_cv_func__isnan_use+:} false; then :
29752 $as_echo_n "(cached) " >&6
29753 else
29756 ac_ext=cpp
29757 ac_cpp='$CXXCPP $CPPFLAGS'
29758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29763 /* end confdefs.h. */
29764 #include <math.h>
29765 #ifdef HAVE_IEEEFP_H
29766 #include <ieeefp.h>
29767 #endif
29770 main ()
29772 _isnan(0);
29774 return 0;
29776 _ACEOF
29777 if ac_fn_cxx_try_compile "$LINENO"; then :
29778 glibcxx_cv_func__isnan_use=yes
29779 else
29780 glibcxx_cv_func__isnan_use=no
29782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29783 ac_ext=c
29784 ac_cpp='$CPP $CPPFLAGS'
29785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29794 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29796 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29797 for ac_func in _isnan
29798 do :
29799 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29800 if test "x$ac_cv_func__isnan" = xyes; then :
29801 cat >>confdefs.h <<_ACEOF
29802 #define HAVE__ISNAN 1
29803 _ACEOF
29806 done
29815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29816 $as_echo_n "checking for finite declaration... " >&6; }
29817 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29818 if ${glibcxx_cv_func_finite_use+:} false; then :
29819 $as_echo_n "(cached) " >&6
29820 else
29823 ac_ext=cpp
29824 ac_cpp='$CXXCPP $CPPFLAGS'
29825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29830 /* end confdefs.h. */
29831 #include <math.h>
29832 #ifdef HAVE_IEEEFP_H
29833 #include <ieeefp.h>
29834 #endif
29837 main ()
29839 finite(0);
29841 return 0;
29843 _ACEOF
29844 if ac_fn_cxx_try_compile "$LINENO"; then :
29845 glibcxx_cv_func_finite_use=yes
29846 else
29847 glibcxx_cv_func_finite_use=no
29849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29850 ac_ext=c
29851 ac_cpp='$CPP $CPPFLAGS'
29852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29861 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29863 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29864 for ac_func in finite
29865 do :
29866 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29867 if test "x$ac_cv_func_finite" = xyes; then :
29868 cat >>confdefs.h <<_ACEOF
29869 #define HAVE_FINITE 1
29870 _ACEOF
29873 done
29875 else
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29878 $as_echo_n "checking for _finite declaration... " >&6; }
29879 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29880 if ${glibcxx_cv_func__finite_use+:} false; then :
29881 $as_echo_n "(cached) " >&6
29882 else
29885 ac_ext=cpp
29886 ac_cpp='$CXXCPP $CPPFLAGS'
29887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29892 /* end confdefs.h. */
29893 #include <math.h>
29894 #ifdef HAVE_IEEEFP_H
29895 #include <ieeefp.h>
29896 #endif
29899 main ()
29901 _finite(0);
29903 return 0;
29905 _ACEOF
29906 if ac_fn_cxx_try_compile "$LINENO"; then :
29907 glibcxx_cv_func__finite_use=yes
29908 else
29909 glibcxx_cv_func__finite_use=no
29911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29912 ac_ext=c
29913 ac_cpp='$CPP $CPPFLAGS'
29914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29923 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29925 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29926 for ac_func in _finite
29927 do :
29928 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29929 if test "x$ac_cv_func__finite" = xyes; then :
29930 cat >>confdefs.h <<_ACEOF
29931 #define HAVE__FINITE 1
29932 _ACEOF
29935 done
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29945 $as_echo_n "checking for sincos declaration... " >&6; }
29946 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29947 if ${glibcxx_cv_func_sincos_use+:} false; then :
29948 $as_echo_n "(cached) " >&6
29949 else
29952 ac_ext=cpp
29953 ac_cpp='$CXXCPP $CPPFLAGS'
29954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29959 /* end confdefs.h. */
29960 #include <math.h>
29962 main ()
29964 sincos(0, 0, 0);
29966 return 0;
29968 _ACEOF
29969 if ac_fn_cxx_try_compile "$LINENO"; then :
29970 glibcxx_cv_func_sincos_use=yes
29971 else
29972 glibcxx_cv_func_sincos_use=no
29974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29975 ac_ext=c
29976 ac_cpp='$CPP $CPPFLAGS'
29977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29986 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29988 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29989 for ac_func in sincos
29990 do :
29991 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29992 if test "x$ac_cv_func_sincos" = xyes; then :
29993 cat >>confdefs.h <<_ACEOF
29994 #define HAVE_SINCOS 1
29995 _ACEOF
29998 done
30000 else
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30003 $as_echo_n "checking for _sincos declaration... " >&6; }
30004 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30005 if ${glibcxx_cv_func__sincos_use+:} false; then :
30006 $as_echo_n "(cached) " >&6
30007 else
30010 ac_ext=cpp
30011 ac_cpp='$CXXCPP $CPPFLAGS'
30012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30017 /* end confdefs.h. */
30018 #include <math.h>
30020 main ()
30022 _sincos(0, 0, 0);
30024 return 0;
30026 _ACEOF
30027 if ac_fn_cxx_try_compile "$LINENO"; then :
30028 glibcxx_cv_func__sincos_use=yes
30029 else
30030 glibcxx_cv_func__sincos_use=no
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30033 ac_ext=c
30034 ac_cpp='$CPP $CPPFLAGS'
30035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30044 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30046 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30047 for ac_func in _sincos
30048 do :
30049 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30050 if test "x$ac_cv_func__sincos" = xyes; then :
30051 cat >>confdefs.h <<_ACEOF
30052 #define HAVE__SINCOS 1
30053 _ACEOF
30056 done
30065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30066 $as_echo_n "checking for fpclass declaration... " >&6; }
30067 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30068 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30069 $as_echo_n "(cached) " >&6
30070 else
30073 ac_ext=cpp
30074 ac_cpp='$CXXCPP $CPPFLAGS'
30075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30080 /* end confdefs.h. */
30081 #include <math.h>
30082 #ifdef HAVE_IEEEFP_H
30083 #include <ieeefp.h>
30084 #endif
30087 main ()
30089 fpclass(0);
30091 return 0;
30093 _ACEOF
30094 if ac_fn_cxx_try_compile "$LINENO"; then :
30095 glibcxx_cv_func_fpclass_use=yes
30096 else
30097 glibcxx_cv_func_fpclass_use=no
30099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30100 ac_ext=c
30101 ac_cpp='$CPP $CPPFLAGS'
30102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30111 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30113 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30114 for ac_func in fpclass
30115 do :
30116 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30117 if test "x$ac_cv_func_fpclass" = xyes; then :
30118 cat >>confdefs.h <<_ACEOF
30119 #define HAVE_FPCLASS 1
30120 _ACEOF
30123 done
30125 else
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30128 $as_echo_n "checking for _fpclass declaration... " >&6; }
30129 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30130 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30131 $as_echo_n "(cached) " >&6
30132 else
30135 ac_ext=cpp
30136 ac_cpp='$CXXCPP $CPPFLAGS'
30137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30142 /* end confdefs.h. */
30143 #include <math.h>
30144 #ifdef HAVE_IEEEFP_H
30145 #include <ieeefp.h>
30146 #endif
30149 main ()
30151 _fpclass(0);
30153 return 0;
30155 _ACEOF
30156 if ac_fn_cxx_try_compile "$LINENO"; then :
30157 glibcxx_cv_func__fpclass_use=yes
30158 else
30159 glibcxx_cv_func__fpclass_use=no
30161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30162 ac_ext=c
30163 ac_cpp='$CPP $CPPFLAGS'
30164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30173 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30175 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30176 for ac_func in _fpclass
30177 do :
30178 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30179 if test "x$ac_cv_func__fpclass" = xyes; then :
30180 cat >>confdefs.h <<_ACEOF
30181 #define HAVE__FPCLASS 1
30182 _ACEOF
30185 done
30194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30195 $as_echo_n "checking for qfpclass declaration... " >&6; }
30196 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30197 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30198 $as_echo_n "(cached) " >&6
30199 else
30202 ac_ext=cpp
30203 ac_cpp='$CXXCPP $CPPFLAGS'
30204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30209 /* end confdefs.h. */
30210 #include <math.h>
30211 #ifdef HAVE_IEEEFP_H
30212 #include <ieeefp.h>
30213 #endif
30216 main ()
30218 qfpclass(0);
30220 return 0;
30222 _ACEOF
30223 if ac_fn_cxx_try_compile "$LINENO"; then :
30224 glibcxx_cv_func_qfpclass_use=yes
30225 else
30226 glibcxx_cv_func_qfpclass_use=no
30228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30229 ac_ext=c
30230 ac_cpp='$CPP $CPPFLAGS'
30231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30240 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30242 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30243 for ac_func in qfpclass
30244 do :
30245 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30246 if test "x$ac_cv_func_qfpclass" = xyes; then :
30247 cat >>confdefs.h <<_ACEOF
30248 #define HAVE_QFPCLASS 1
30249 _ACEOF
30252 done
30254 else
30256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30257 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30258 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30259 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30260 $as_echo_n "(cached) " >&6
30261 else
30264 ac_ext=cpp
30265 ac_cpp='$CXXCPP $CPPFLAGS'
30266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30271 /* end confdefs.h. */
30272 #include <math.h>
30273 #ifdef HAVE_IEEEFP_H
30274 #include <ieeefp.h>
30275 #endif
30278 main ()
30280 _qfpclass(0);
30282 return 0;
30284 _ACEOF
30285 if ac_fn_cxx_try_compile "$LINENO"; then :
30286 glibcxx_cv_func__qfpclass_use=yes
30287 else
30288 glibcxx_cv_func__qfpclass_use=no
30290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30291 ac_ext=c
30292 ac_cpp='$CPP $CPPFLAGS'
30293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30302 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30304 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30305 for ac_func in _qfpclass
30306 do :
30307 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30308 if test "x$ac_cv_func__qfpclass" = xyes; then :
30309 cat >>confdefs.h <<_ACEOF
30310 #define HAVE__QFPCLASS 1
30311 _ACEOF
30314 done
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30324 $as_echo_n "checking for hypot declaration... " >&6; }
30325 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30326 if ${glibcxx_cv_func_hypot_use+:} false; then :
30327 $as_echo_n "(cached) " >&6
30328 else
30331 ac_ext=cpp
30332 ac_cpp='$CXXCPP $CPPFLAGS'
30333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30338 /* end confdefs.h. */
30339 #include <math.h>
30341 main ()
30343 hypot(0, 0);
30345 return 0;
30347 _ACEOF
30348 if ac_fn_cxx_try_compile "$LINENO"; then :
30349 glibcxx_cv_func_hypot_use=yes
30350 else
30351 glibcxx_cv_func_hypot_use=no
30353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30354 ac_ext=c
30355 ac_cpp='$CPP $CPPFLAGS'
30356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30365 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30367 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30368 for ac_func in hypot
30369 do :
30370 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30371 if test "x$ac_cv_func_hypot" = xyes; then :
30372 cat >>confdefs.h <<_ACEOF
30373 #define HAVE_HYPOT 1
30374 _ACEOF
30377 done
30379 else
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30382 $as_echo_n "checking for _hypot declaration... " >&6; }
30383 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30384 if ${glibcxx_cv_func__hypot_use+:} false; then :
30385 $as_echo_n "(cached) " >&6
30386 else
30389 ac_ext=cpp
30390 ac_cpp='$CXXCPP $CPPFLAGS'
30391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30396 /* end confdefs.h. */
30397 #include <math.h>
30399 main ()
30401 _hypot(0, 0);
30403 return 0;
30405 _ACEOF
30406 if ac_fn_cxx_try_compile "$LINENO"; then :
30407 glibcxx_cv_func__hypot_use=yes
30408 else
30409 glibcxx_cv_func__hypot_use=no
30411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30412 ac_ext=c
30413 ac_cpp='$CPP $CPPFLAGS'
30414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30423 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30425 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30426 for ac_func in _hypot
30427 do :
30428 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30429 if test "x$ac_cv_func__hypot" = xyes; then :
30430 cat >>confdefs.h <<_ACEOF
30431 #define HAVE__HYPOT 1
30432 _ACEOF
30435 done
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30445 $as_echo_n "checking for float trig functions... " >&6; }
30446 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30447 $as_echo_n "(cached) " >&6
30448 else
30451 ac_ext=cpp
30452 ac_cpp='$CXXCPP $CPPFLAGS'
30453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30458 /* end confdefs.h. */
30459 #include <math.h>
30461 main ()
30463 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30465 return 0;
30467 _ACEOF
30468 if ac_fn_cxx_try_compile "$LINENO"; then :
30469 glibcxx_cv_func_float_trig_use=yes
30470 else
30471 glibcxx_cv_func_float_trig_use=no
30473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30474 ac_ext=c
30475 ac_cpp='$CPP $CPPFLAGS'
30476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30483 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30484 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30485 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30486 do :
30487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30490 cat >>confdefs.h <<_ACEOF
30491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30492 _ACEOF
30495 done
30497 else
30498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30499 $as_echo_n "checking for _float trig functions... " >&6; }
30500 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30501 $as_echo_n "(cached) " >&6
30502 else
30505 ac_ext=cpp
30506 ac_cpp='$CXXCPP $CPPFLAGS'
30507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30512 /* end confdefs.h. */
30513 #include <math.h>
30515 main ()
30517 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30519 return 0;
30521 _ACEOF
30522 if ac_fn_cxx_try_compile "$LINENO"; then :
30523 glibcxx_cv_func__float_trig_use=yes
30524 else
30525 glibcxx_cv_func__float_trig_use=no
30527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30528 ac_ext=c
30529 ac_cpp='$CPP $CPPFLAGS'
30530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30537 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30538 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30539 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30540 do :
30541 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30542 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30544 cat >>confdefs.h <<_ACEOF
30545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30546 _ACEOF
30549 done
30558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30559 $as_echo_n "checking for float round functions... " >&6; }
30560 if ${glibcxx_cv_func_float_round_use+:} false; then :
30561 $as_echo_n "(cached) " >&6
30562 else
30565 ac_ext=cpp
30566 ac_cpp='$CXXCPP $CPPFLAGS'
30567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30572 /* end confdefs.h. */
30573 #include <math.h>
30575 main ()
30577 ceilf (0); floorf (0);
30579 return 0;
30581 _ACEOF
30582 if ac_fn_cxx_try_compile "$LINENO"; then :
30583 glibcxx_cv_func_float_round_use=yes
30584 else
30585 glibcxx_cv_func_float_round_use=no
30587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30588 ac_ext=c
30589 ac_cpp='$CPP $CPPFLAGS'
30590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30597 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30598 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30599 for ac_func in ceilf floorf
30600 do :
30601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30604 cat >>confdefs.h <<_ACEOF
30605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30606 _ACEOF
30609 done
30611 else
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30613 $as_echo_n "checking for _float round functions... " >&6; }
30614 if ${glibcxx_cv_func__float_round_use+:} false; then :
30615 $as_echo_n "(cached) " >&6
30616 else
30619 ac_ext=cpp
30620 ac_cpp='$CXXCPP $CPPFLAGS'
30621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30626 /* end confdefs.h. */
30627 #include <math.h>
30629 main ()
30631 _ceilf (0); _floorf (0);
30633 return 0;
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637 glibcxx_cv_func__float_round_use=yes
30638 else
30639 glibcxx_cv_func__float_round_use=no
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30642 ac_ext=c
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30651 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30652 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30653 for ac_func in _ceilf _floorf
30654 do :
30655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30658 cat >>confdefs.h <<_ACEOF
30659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30660 _ACEOF
30663 done
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30674 $as_echo_n "checking for expf declaration... " >&6; }
30675 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30676 if ${glibcxx_cv_func_expf_use+:} false; then :
30677 $as_echo_n "(cached) " >&6
30678 else
30681 ac_ext=cpp
30682 ac_cpp='$CXXCPP $CPPFLAGS'
30683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30688 /* end confdefs.h. */
30689 #include <math.h>
30690 #ifdef HAVE_IEEEFP_H
30691 #include <ieeefp.h>
30692 #endif
30695 main ()
30697 expf(0);
30699 return 0;
30701 _ACEOF
30702 if ac_fn_cxx_try_compile "$LINENO"; then :
30703 glibcxx_cv_func_expf_use=yes
30704 else
30705 glibcxx_cv_func_expf_use=no
30707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30708 ac_ext=c
30709 ac_cpp='$CPP $CPPFLAGS'
30710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30719 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30721 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30722 for ac_func in expf
30723 do :
30724 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30725 if test "x$ac_cv_func_expf" = xyes; then :
30726 cat >>confdefs.h <<_ACEOF
30727 #define HAVE_EXPF 1
30728 _ACEOF
30731 done
30733 else
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30736 $as_echo_n "checking for _expf declaration... " >&6; }
30737 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30738 if ${glibcxx_cv_func__expf_use+:} false; then :
30739 $as_echo_n "(cached) " >&6
30740 else
30743 ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h. */
30751 #include <math.h>
30752 #ifdef HAVE_IEEEFP_H
30753 #include <ieeefp.h>
30754 #endif
30757 main ()
30759 _expf(0);
30761 return 0;
30763 _ACEOF
30764 if ac_fn_cxx_try_compile "$LINENO"; then :
30765 glibcxx_cv_func__expf_use=yes
30766 else
30767 glibcxx_cv_func__expf_use=no
30769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30770 ac_ext=c
30771 ac_cpp='$CPP $CPPFLAGS'
30772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30781 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30783 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30784 for ac_func in _expf
30785 do :
30786 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30787 if test "x$ac_cv_func__expf" = xyes; then :
30788 cat >>confdefs.h <<_ACEOF
30789 #define HAVE__EXPF 1
30790 _ACEOF
30793 done
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30803 $as_echo_n "checking for isnanf declaration... " >&6; }
30804 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30805 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30806 $as_echo_n "(cached) " >&6
30807 else
30810 ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h. */
30818 #include <math.h>
30819 #ifdef HAVE_IEEEFP_H
30820 #include <ieeefp.h>
30821 #endif
30824 main ()
30826 isnanf(0);
30828 return 0;
30830 _ACEOF
30831 if ac_fn_cxx_try_compile "$LINENO"; then :
30832 glibcxx_cv_func_isnanf_use=yes
30833 else
30834 glibcxx_cv_func_isnanf_use=no
30836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30837 ac_ext=c
30838 ac_cpp='$CPP $CPPFLAGS'
30839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30848 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30850 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30851 for ac_func in isnanf
30852 do :
30853 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30854 if test "x$ac_cv_func_isnanf" = xyes; then :
30855 cat >>confdefs.h <<_ACEOF
30856 #define HAVE_ISNANF 1
30857 _ACEOF
30860 done
30862 else
30864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30865 $as_echo_n "checking for _isnanf declaration... " >&6; }
30866 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30867 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30868 $as_echo_n "(cached) " >&6
30869 else
30872 ac_ext=cpp
30873 ac_cpp='$CXXCPP $CPPFLAGS'
30874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30879 /* end confdefs.h. */
30880 #include <math.h>
30881 #ifdef HAVE_IEEEFP_H
30882 #include <ieeefp.h>
30883 #endif
30886 main ()
30888 _isnanf(0);
30890 return 0;
30892 _ACEOF
30893 if ac_fn_cxx_try_compile "$LINENO"; then :
30894 glibcxx_cv_func__isnanf_use=yes
30895 else
30896 glibcxx_cv_func__isnanf_use=no
30898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30899 ac_ext=c
30900 ac_cpp='$CPP $CPPFLAGS'
30901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30910 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30912 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30913 for ac_func in _isnanf
30914 do :
30915 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30916 if test "x$ac_cv_func__isnanf" = xyes; then :
30917 cat >>confdefs.h <<_ACEOF
30918 #define HAVE__ISNANF 1
30919 _ACEOF
30922 done
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30932 $as_echo_n "checking for isinff declaration... " >&6; }
30933 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30934 if ${glibcxx_cv_func_isinff_use+:} false; then :
30935 $as_echo_n "(cached) " >&6
30936 else
30939 ac_ext=cpp
30940 ac_cpp='$CXXCPP $CPPFLAGS'
30941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30946 /* end confdefs.h. */
30947 #include <math.h>
30948 #ifdef HAVE_IEEEFP_H
30949 #include <ieeefp.h>
30950 #endif
30953 main ()
30955 isinff(0);
30957 return 0;
30959 _ACEOF
30960 if ac_fn_cxx_try_compile "$LINENO"; then :
30961 glibcxx_cv_func_isinff_use=yes
30962 else
30963 glibcxx_cv_func_isinff_use=no
30965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30966 ac_ext=c
30967 ac_cpp='$CPP $CPPFLAGS'
30968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30977 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30979 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30980 for ac_func in isinff
30981 do :
30982 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30983 if test "x$ac_cv_func_isinff" = xyes; then :
30984 cat >>confdefs.h <<_ACEOF
30985 #define HAVE_ISINFF 1
30986 _ACEOF
30989 done
30991 else
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30994 $as_echo_n "checking for _isinff declaration... " >&6; }
30995 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30996 if ${glibcxx_cv_func__isinff_use+:} false; then :
30997 $as_echo_n "(cached) " >&6
30998 else
31001 ac_ext=cpp
31002 ac_cpp='$CXXCPP $CPPFLAGS'
31003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31008 /* end confdefs.h. */
31009 #include <math.h>
31010 #ifdef HAVE_IEEEFP_H
31011 #include <ieeefp.h>
31012 #endif
31015 main ()
31017 _isinff(0);
31019 return 0;
31021 _ACEOF
31022 if ac_fn_cxx_try_compile "$LINENO"; then :
31023 glibcxx_cv_func__isinff_use=yes
31024 else
31025 glibcxx_cv_func__isinff_use=no
31027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31028 ac_ext=c
31029 ac_cpp='$CPP $CPPFLAGS'
31030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31039 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31041 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31042 for ac_func in _isinff
31043 do :
31044 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31045 if test "x$ac_cv_func__isinff" = xyes; then :
31046 cat >>confdefs.h <<_ACEOF
31047 #define HAVE__ISINFF 1
31048 _ACEOF
31051 done
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31061 $as_echo_n "checking for atan2f declaration... " >&6; }
31062 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31063 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31064 $as_echo_n "(cached) " >&6
31065 else
31068 ac_ext=cpp
31069 ac_cpp='$CXXCPP $CPPFLAGS'
31070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31075 /* end confdefs.h. */
31076 #include <math.h>
31078 main ()
31080 atan2f(0, 0);
31082 return 0;
31084 _ACEOF
31085 if ac_fn_cxx_try_compile "$LINENO"; then :
31086 glibcxx_cv_func_atan2f_use=yes
31087 else
31088 glibcxx_cv_func_atan2f_use=no
31090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31091 ac_ext=c
31092 ac_cpp='$CPP $CPPFLAGS'
31093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31102 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31104 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31105 for ac_func in atan2f
31106 do :
31107 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31108 if test "x$ac_cv_func_atan2f" = xyes; then :
31109 cat >>confdefs.h <<_ACEOF
31110 #define HAVE_ATAN2F 1
31111 _ACEOF
31114 done
31116 else
31118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31119 $as_echo_n "checking for _atan2f declaration... " >&6; }
31120 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31121 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31122 $as_echo_n "(cached) " >&6
31123 else
31126 ac_ext=cpp
31127 ac_cpp='$CXXCPP $CPPFLAGS'
31128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31133 /* end confdefs.h. */
31134 #include <math.h>
31136 main ()
31138 _atan2f(0, 0);
31140 return 0;
31142 _ACEOF
31143 if ac_fn_cxx_try_compile "$LINENO"; then :
31144 glibcxx_cv_func__atan2f_use=yes
31145 else
31146 glibcxx_cv_func__atan2f_use=no
31148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31149 ac_ext=c
31150 ac_cpp='$CPP $CPPFLAGS'
31151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31160 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31162 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31163 for ac_func in _atan2f
31164 do :
31165 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31166 if test "x$ac_cv_func__atan2f" = xyes; then :
31167 cat >>confdefs.h <<_ACEOF
31168 #define HAVE__ATAN2F 1
31169 _ACEOF
31172 done
31181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31182 $as_echo_n "checking for fabsf declaration... " >&6; }
31183 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31184 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31185 $as_echo_n "(cached) " >&6
31186 else
31189 ac_ext=cpp
31190 ac_cpp='$CXXCPP $CPPFLAGS'
31191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31196 /* end confdefs.h. */
31197 #include <math.h>
31198 #ifdef HAVE_IEEEFP_H
31199 #include <ieeefp.h>
31200 #endif
31203 main ()
31205 fabsf(0);
31207 return 0;
31209 _ACEOF
31210 if ac_fn_cxx_try_compile "$LINENO"; then :
31211 glibcxx_cv_func_fabsf_use=yes
31212 else
31213 glibcxx_cv_func_fabsf_use=no
31215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31216 ac_ext=c
31217 ac_cpp='$CPP $CPPFLAGS'
31218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31227 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31229 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31230 for ac_func in fabsf
31231 do :
31232 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31233 if test "x$ac_cv_func_fabsf" = xyes; then :
31234 cat >>confdefs.h <<_ACEOF
31235 #define HAVE_FABSF 1
31236 _ACEOF
31239 done
31241 else
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31244 $as_echo_n "checking for _fabsf declaration... " >&6; }
31245 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31246 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31247 $as_echo_n "(cached) " >&6
31248 else
31251 ac_ext=cpp
31252 ac_cpp='$CXXCPP $CPPFLAGS'
31253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31258 /* end confdefs.h. */
31259 #include <math.h>
31260 #ifdef HAVE_IEEEFP_H
31261 #include <ieeefp.h>
31262 #endif
31265 main ()
31267 _fabsf(0);
31269 return 0;
31271 _ACEOF
31272 if ac_fn_cxx_try_compile "$LINENO"; then :
31273 glibcxx_cv_func__fabsf_use=yes
31274 else
31275 glibcxx_cv_func__fabsf_use=no
31277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31278 ac_ext=c
31279 ac_cpp='$CPP $CPPFLAGS'
31280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31289 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31291 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31292 for ac_func in _fabsf
31293 do :
31294 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31295 if test "x$ac_cv_func__fabsf" = xyes; then :
31296 cat >>confdefs.h <<_ACEOF
31297 #define HAVE__FABSF 1
31298 _ACEOF
31301 done
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31311 $as_echo_n "checking for fmodf declaration... " >&6; }
31312 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31313 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31314 $as_echo_n "(cached) " >&6
31315 else
31318 ac_ext=cpp
31319 ac_cpp='$CXXCPP $CPPFLAGS'
31320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31325 /* end confdefs.h. */
31326 #include <math.h>
31328 main ()
31330 fmodf(0, 0);
31332 return 0;
31334 _ACEOF
31335 if ac_fn_cxx_try_compile "$LINENO"; then :
31336 glibcxx_cv_func_fmodf_use=yes
31337 else
31338 glibcxx_cv_func_fmodf_use=no
31340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31341 ac_ext=c
31342 ac_cpp='$CPP $CPPFLAGS'
31343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31352 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31354 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31355 for ac_func in fmodf
31356 do :
31357 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31358 if test "x$ac_cv_func_fmodf" = xyes; then :
31359 cat >>confdefs.h <<_ACEOF
31360 #define HAVE_FMODF 1
31361 _ACEOF
31364 done
31366 else
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31369 $as_echo_n "checking for _fmodf declaration... " >&6; }
31370 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31371 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31372 $as_echo_n "(cached) " >&6
31373 else
31376 ac_ext=cpp
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383 /* end confdefs.h. */
31384 #include <math.h>
31386 main ()
31388 _fmodf(0, 0);
31390 return 0;
31392 _ACEOF
31393 if ac_fn_cxx_try_compile "$LINENO"; then :
31394 glibcxx_cv_func__fmodf_use=yes
31395 else
31396 glibcxx_cv_func__fmodf_use=no
31398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31399 ac_ext=c
31400 ac_cpp='$CPP $CPPFLAGS'
31401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31410 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31412 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31413 for ac_func in _fmodf
31414 do :
31415 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31416 if test "x$ac_cv_func__fmodf" = xyes; then :
31417 cat >>confdefs.h <<_ACEOF
31418 #define HAVE__FMODF 1
31419 _ACEOF
31422 done
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31432 $as_echo_n "checking for frexpf declaration... " >&6; }
31433 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31434 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31435 $as_echo_n "(cached) " >&6
31436 else
31439 ac_ext=cpp
31440 ac_cpp='$CXXCPP $CPPFLAGS'
31441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31446 /* end confdefs.h. */
31447 #include <math.h>
31449 main ()
31451 frexpf(0, 0);
31453 return 0;
31455 _ACEOF
31456 if ac_fn_cxx_try_compile "$LINENO"; then :
31457 glibcxx_cv_func_frexpf_use=yes
31458 else
31459 glibcxx_cv_func_frexpf_use=no
31461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31462 ac_ext=c
31463 ac_cpp='$CPP $CPPFLAGS'
31464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31473 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31475 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31476 for ac_func in frexpf
31477 do :
31478 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31479 if test "x$ac_cv_func_frexpf" = xyes; then :
31480 cat >>confdefs.h <<_ACEOF
31481 #define HAVE_FREXPF 1
31482 _ACEOF
31485 done
31487 else
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31490 $as_echo_n "checking for _frexpf declaration... " >&6; }
31491 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31492 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31493 $as_echo_n "(cached) " >&6
31494 else
31497 ac_ext=cpp
31498 ac_cpp='$CXXCPP $CPPFLAGS'
31499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h. */
31505 #include <math.h>
31507 main ()
31509 _frexpf(0, 0);
31511 return 0;
31513 _ACEOF
31514 if ac_fn_cxx_try_compile "$LINENO"; then :
31515 glibcxx_cv_func__frexpf_use=yes
31516 else
31517 glibcxx_cv_func__frexpf_use=no
31519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31520 ac_ext=c
31521 ac_cpp='$CPP $CPPFLAGS'
31522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31531 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31533 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31534 for ac_func in _frexpf
31535 do :
31536 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31537 if test "x$ac_cv_func__frexpf" = xyes; then :
31538 cat >>confdefs.h <<_ACEOF
31539 #define HAVE__FREXPF 1
31540 _ACEOF
31543 done
31552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31553 $as_echo_n "checking for hypotf declaration... " >&6; }
31554 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31555 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31556 $as_echo_n "(cached) " >&6
31557 else
31560 ac_ext=cpp
31561 ac_cpp='$CXXCPP $CPPFLAGS'
31562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31567 /* end confdefs.h. */
31568 #include <math.h>
31570 main ()
31572 hypotf(0, 0);
31574 return 0;
31576 _ACEOF
31577 if ac_fn_cxx_try_compile "$LINENO"; then :
31578 glibcxx_cv_func_hypotf_use=yes
31579 else
31580 glibcxx_cv_func_hypotf_use=no
31582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31583 ac_ext=c
31584 ac_cpp='$CPP $CPPFLAGS'
31585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31594 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31596 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31597 for ac_func in hypotf
31598 do :
31599 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31600 if test "x$ac_cv_func_hypotf" = xyes; then :
31601 cat >>confdefs.h <<_ACEOF
31602 #define HAVE_HYPOTF 1
31603 _ACEOF
31606 done
31608 else
31610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31611 $as_echo_n "checking for _hypotf declaration... " >&6; }
31612 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31613 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31614 $as_echo_n "(cached) " >&6
31615 else
31618 ac_ext=cpp
31619 ac_cpp='$CXXCPP $CPPFLAGS'
31620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31625 /* end confdefs.h. */
31626 #include <math.h>
31628 main ()
31630 _hypotf(0, 0);
31632 return 0;
31634 _ACEOF
31635 if ac_fn_cxx_try_compile "$LINENO"; then :
31636 glibcxx_cv_func__hypotf_use=yes
31637 else
31638 glibcxx_cv_func__hypotf_use=no
31640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31641 ac_ext=c
31642 ac_cpp='$CPP $CPPFLAGS'
31643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31652 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31654 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31655 for ac_func in _hypotf
31656 do :
31657 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31658 if test "x$ac_cv_func__hypotf" = xyes; then :
31659 cat >>confdefs.h <<_ACEOF
31660 #define HAVE__HYPOTF 1
31661 _ACEOF
31664 done
31673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31674 $as_echo_n "checking for ldexpf declaration... " >&6; }
31675 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31676 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31677 $as_echo_n "(cached) " >&6
31678 else
31681 ac_ext=cpp
31682 ac_cpp='$CXXCPP $CPPFLAGS'
31683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31688 /* end confdefs.h. */
31689 #include <math.h>
31691 main ()
31693 ldexpf(0, 0);
31695 return 0;
31697 _ACEOF
31698 if ac_fn_cxx_try_compile "$LINENO"; then :
31699 glibcxx_cv_func_ldexpf_use=yes
31700 else
31701 glibcxx_cv_func_ldexpf_use=no
31703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31704 ac_ext=c
31705 ac_cpp='$CPP $CPPFLAGS'
31706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31715 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31717 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31718 for ac_func in ldexpf
31719 do :
31720 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31721 if test "x$ac_cv_func_ldexpf" = xyes; then :
31722 cat >>confdefs.h <<_ACEOF
31723 #define HAVE_LDEXPF 1
31724 _ACEOF
31727 done
31729 else
31731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31732 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31733 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31734 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31735 $as_echo_n "(cached) " >&6
31736 else
31739 ac_ext=cpp
31740 ac_cpp='$CXXCPP $CPPFLAGS'
31741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31746 /* end confdefs.h. */
31747 #include <math.h>
31749 main ()
31751 _ldexpf(0, 0);
31753 return 0;
31755 _ACEOF
31756 if ac_fn_cxx_try_compile "$LINENO"; then :
31757 glibcxx_cv_func__ldexpf_use=yes
31758 else
31759 glibcxx_cv_func__ldexpf_use=no
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762 ac_ext=c
31763 ac_cpp='$CPP $CPPFLAGS'
31764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31773 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31775 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31776 for ac_func in _ldexpf
31777 do :
31778 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31779 if test "x$ac_cv_func__ldexpf" = xyes; then :
31780 cat >>confdefs.h <<_ACEOF
31781 #define HAVE__LDEXPF 1
31782 _ACEOF
31785 done
31794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31795 $as_echo_n "checking for logf declaration... " >&6; }
31796 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31797 if ${glibcxx_cv_func_logf_use+:} false; then :
31798 $as_echo_n "(cached) " >&6
31799 else
31802 ac_ext=cpp
31803 ac_cpp='$CXXCPP $CPPFLAGS'
31804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31809 /* end confdefs.h. */
31810 #include <math.h>
31811 #ifdef HAVE_IEEEFP_H
31812 #include <ieeefp.h>
31813 #endif
31816 main ()
31818 logf(0);
31820 return 0;
31822 _ACEOF
31823 if ac_fn_cxx_try_compile "$LINENO"; then :
31824 glibcxx_cv_func_logf_use=yes
31825 else
31826 glibcxx_cv_func_logf_use=no
31828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31829 ac_ext=c
31830 ac_cpp='$CPP $CPPFLAGS'
31831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31840 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31842 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31843 for ac_func in logf
31844 do :
31845 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31846 if test "x$ac_cv_func_logf" = xyes; then :
31847 cat >>confdefs.h <<_ACEOF
31848 #define HAVE_LOGF 1
31849 _ACEOF
31852 done
31854 else
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31857 $as_echo_n "checking for _logf declaration... " >&6; }
31858 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31859 if ${glibcxx_cv_func__logf_use+:} false; then :
31860 $as_echo_n "(cached) " >&6
31861 else
31864 ac_ext=cpp
31865 ac_cpp='$CXXCPP $CPPFLAGS'
31866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31871 /* end confdefs.h. */
31872 #include <math.h>
31873 #ifdef HAVE_IEEEFP_H
31874 #include <ieeefp.h>
31875 #endif
31878 main ()
31880 _logf(0);
31882 return 0;
31884 _ACEOF
31885 if ac_fn_cxx_try_compile "$LINENO"; then :
31886 glibcxx_cv_func__logf_use=yes
31887 else
31888 glibcxx_cv_func__logf_use=no
31890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31891 ac_ext=c
31892 ac_cpp='$CPP $CPPFLAGS'
31893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31902 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31904 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31905 for ac_func in _logf
31906 do :
31907 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31908 if test "x$ac_cv_func__logf" = xyes; then :
31909 cat >>confdefs.h <<_ACEOF
31910 #define HAVE__LOGF 1
31911 _ACEOF
31914 done
31923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31924 $as_echo_n "checking for log10f declaration... " >&6; }
31925 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31926 if ${glibcxx_cv_func_log10f_use+:} false; then :
31927 $as_echo_n "(cached) " >&6
31928 else
31931 ac_ext=cpp
31932 ac_cpp='$CXXCPP $CPPFLAGS'
31933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31938 /* end confdefs.h. */
31939 #include <math.h>
31940 #ifdef HAVE_IEEEFP_H
31941 #include <ieeefp.h>
31942 #endif
31945 main ()
31947 log10f(0);
31949 return 0;
31951 _ACEOF
31952 if ac_fn_cxx_try_compile "$LINENO"; then :
31953 glibcxx_cv_func_log10f_use=yes
31954 else
31955 glibcxx_cv_func_log10f_use=no
31957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31958 ac_ext=c
31959 ac_cpp='$CPP $CPPFLAGS'
31960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31969 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31971 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31972 for ac_func in log10f
31973 do :
31974 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31975 if test "x$ac_cv_func_log10f" = xyes; then :
31976 cat >>confdefs.h <<_ACEOF
31977 #define HAVE_LOG10F 1
31978 _ACEOF
31981 done
31983 else
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31986 $as_echo_n "checking for _log10f declaration... " >&6; }
31987 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31988 if ${glibcxx_cv_func__log10f_use+:} false; then :
31989 $as_echo_n "(cached) " >&6
31990 else
31993 ac_ext=cpp
31994 ac_cpp='$CXXCPP $CPPFLAGS'
31995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32000 /* end confdefs.h. */
32001 #include <math.h>
32002 #ifdef HAVE_IEEEFP_H
32003 #include <ieeefp.h>
32004 #endif
32007 main ()
32009 _log10f(0);
32011 return 0;
32013 _ACEOF
32014 if ac_fn_cxx_try_compile "$LINENO"; then :
32015 glibcxx_cv_func__log10f_use=yes
32016 else
32017 glibcxx_cv_func__log10f_use=no
32019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32020 ac_ext=c
32021 ac_cpp='$CPP $CPPFLAGS'
32022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32031 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32033 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32034 for ac_func in _log10f
32035 do :
32036 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32037 if test "x$ac_cv_func__log10f" = xyes; then :
32038 cat >>confdefs.h <<_ACEOF
32039 #define HAVE__LOG10F 1
32040 _ACEOF
32043 done
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32053 $as_echo_n "checking for modff declaration... " >&6; }
32054 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32055 if ${glibcxx_cv_func_modff_use+:} false; then :
32056 $as_echo_n "(cached) " >&6
32057 else
32060 ac_ext=cpp
32061 ac_cpp='$CXXCPP $CPPFLAGS'
32062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32067 /* end confdefs.h. */
32068 #include <math.h>
32070 main ()
32072 modff(0, 0);
32074 return 0;
32076 _ACEOF
32077 if ac_fn_cxx_try_compile "$LINENO"; then :
32078 glibcxx_cv_func_modff_use=yes
32079 else
32080 glibcxx_cv_func_modff_use=no
32082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32083 ac_ext=c
32084 ac_cpp='$CPP $CPPFLAGS'
32085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32094 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32096 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32097 for ac_func in modff
32098 do :
32099 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32100 if test "x$ac_cv_func_modff" = xyes; then :
32101 cat >>confdefs.h <<_ACEOF
32102 #define HAVE_MODFF 1
32103 _ACEOF
32106 done
32108 else
32110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32111 $as_echo_n "checking for _modff declaration... " >&6; }
32112 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32113 if ${glibcxx_cv_func__modff_use+:} false; then :
32114 $as_echo_n "(cached) " >&6
32115 else
32118 ac_ext=cpp
32119 ac_cpp='$CXXCPP $CPPFLAGS'
32120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32125 /* end confdefs.h. */
32126 #include <math.h>
32128 main ()
32130 _modff(0, 0);
32132 return 0;
32134 _ACEOF
32135 if ac_fn_cxx_try_compile "$LINENO"; then :
32136 glibcxx_cv_func__modff_use=yes
32137 else
32138 glibcxx_cv_func__modff_use=no
32140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32141 ac_ext=c
32142 ac_cpp='$CPP $CPPFLAGS'
32143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32152 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32154 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32155 for ac_func in _modff
32156 do :
32157 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32158 if test "x$ac_cv_func__modff" = xyes; then :
32159 cat >>confdefs.h <<_ACEOF
32160 #define HAVE__MODFF 1
32161 _ACEOF
32164 done
32173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32174 $as_echo_n "checking for modf declaration... " >&6; }
32175 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32176 if ${glibcxx_cv_func_modf_use+:} false; then :
32177 $as_echo_n "(cached) " >&6
32178 else
32181 ac_ext=cpp
32182 ac_cpp='$CXXCPP $CPPFLAGS'
32183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32188 /* end confdefs.h. */
32189 #include <math.h>
32191 main ()
32193 modf(0, 0);
32195 return 0;
32197 _ACEOF
32198 if ac_fn_cxx_try_compile "$LINENO"; then :
32199 glibcxx_cv_func_modf_use=yes
32200 else
32201 glibcxx_cv_func_modf_use=no
32203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32204 ac_ext=c
32205 ac_cpp='$CPP $CPPFLAGS'
32206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32215 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32217 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32218 for ac_func in modf
32219 do :
32220 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32221 if test "x$ac_cv_func_modf" = xyes; then :
32222 cat >>confdefs.h <<_ACEOF
32223 #define HAVE_MODF 1
32224 _ACEOF
32227 done
32229 else
32231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32232 $as_echo_n "checking for _modf declaration... " >&6; }
32233 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32234 if ${glibcxx_cv_func__modf_use+:} false; then :
32235 $as_echo_n "(cached) " >&6
32236 else
32239 ac_ext=cpp
32240 ac_cpp='$CXXCPP $CPPFLAGS'
32241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32246 /* end confdefs.h. */
32247 #include <math.h>
32249 main ()
32251 _modf(0, 0);
32253 return 0;
32255 _ACEOF
32256 if ac_fn_cxx_try_compile "$LINENO"; then :
32257 glibcxx_cv_func__modf_use=yes
32258 else
32259 glibcxx_cv_func__modf_use=no
32261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32262 ac_ext=c
32263 ac_cpp='$CPP $CPPFLAGS'
32264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32273 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32275 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32276 for ac_func in _modf
32277 do :
32278 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32279 if test "x$ac_cv_func__modf" = xyes; then :
32280 cat >>confdefs.h <<_ACEOF
32281 #define HAVE__MODF 1
32282 _ACEOF
32285 done
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32295 $as_echo_n "checking for powf declaration... " >&6; }
32296 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32297 if ${glibcxx_cv_func_powf_use+:} false; then :
32298 $as_echo_n "(cached) " >&6
32299 else
32302 ac_ext=cpp
32303 ac_cpp='$CXXCPP $CPPFLAGS'
32304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32309 /* end confdefs.h. */
32310 #include <math.h>
32312 main ()
32314 powf(0, 0);
32316 return 0;
32318 _ACEOF
32319 if ac_fn_cxx_try_compile "$LINENO"; then :
32320 glibcxx_cv_func_powf_use=yes
32321 else
32322 glibcxx_cv_func_powf_use=no
32324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32325 ac_ext=c
32326 ac_cpp='$CPP $CPPFLAGS'
32327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32336 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32338 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32339 for ac_func in powf
32340 do :
32341 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32342 if test "x$ac_cv_func_powf" = xyes; then :
32343 cat >>confdefs.h <<_ACEOF
32344 #define HAVE_POWF 1
32345 _ACEOF
32348 done
32350 else
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32353 $as_echo_n "checking for _powf declaration... " >&6; }
32354 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32355 if ${glibcxx_cv_func__powf_use+:} false; then :
32356 $as_echo_n "(cached) " >&6
32357 else
32360 ac_ext=cpp
32361 ac_cpp='$CXXCPP $CPPFLAGS'
32362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32367 /* end confdefs.h. */
32368 #include <math.h>
32370 main ()
32372 _powf(0, 0);
32374 return 0;
32376 _ACEOF
32377 if ac_fn_cxx_try_compile "$LINENO"; then :
32378 glibcxx_cv_func__powf_use=yes
32379 else
32380 glibcxx_cv_func__powf_use=no
32382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32383 ac_ext=c
32384 ac_cpp='$CPP $CPPFLAGS'
32385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32394 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32396 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32397 for ac_func in _powf
32398 do :
32399 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32400 if test "x$ac_cv_func__powf" = xyes; then :
32401 cat >>confdefs.h <<_ACEOF
32402 #define HAVE__POWF 1
32403 _ACEOF
32406 done
32415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32416 $as_echo_n "checking for sqrtf declaration... " >&6; }
32417 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32418 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32419 $as_echo_n "(cached) " >&6
32420 else
32423 ac_ext=cpp
32424 ac_cpp='$CXXCPP $CPPFLAGS'
32425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32430 /* end confdefs.h. */
32431 #include <math.h>
32432 #ifdef HAVE_IEEEFP_H
32433 #include <ieeefp.h>
32434 #endif
32437 main ()
32439 sqrtf(0);
32441 return 0;
32443 _ACEOF
32444 if ac_fn_cxx_try_compile "$LINENO"; then :
32445 glibcxx_cv_func_sqrtf_use=yes
32446 else
32447 glibcxx_cv_func_sqrtf_use=no
32449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32450 ac_ext=c
32451 ac_cpp='$CPP $CPPFLAGS'
32452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32461 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32463 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32464 for ac_func in sqrtf
32465 do :
32466 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32467 if test "x$ac_cv_func_sqrtf" = xyes; then :
32468 cat >>confdefs.h <<_ACEOF
32469 #define HAVE_SQRTF 1
32470 _ACEOF
32473 done
32475 else
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32478 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32479 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32480 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32481 $as_echo_n "(cached) " >&6
32482 else
32485 ac_ext=cpp
32486 ac_cpp='$CXXCPP $CPPFLAGS'
32487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32492 /* end confdefs.h. */
32493 #include <math.h>
32494 #ifdef HAVE_IEEEFP_H
32495 #include <ieeefp.h>
32496 #endif
32499 main ()
32501 _sqrtf(0);
32503 return 0;
32505 _ACEOF
32506 if ac_fn_cxx_try_compile "$LINENO"; then :
32507 glibcxx_cv_func__sqrtf_use=yes
32508 else
32509 glibcxx_cv_func__sqrtf_use=no
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32512 ac_ext=c
32513 ac_cpp='$CPP $CPPFLAGS'
32514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32523 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32525 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32526 for ac_func in _sqrtf
32527 do :
32528 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32529 if test "x$ac_cv_func__sqrtf" = xyes; then :
32530 cat >>confdefs.h <<_ACEOF
32531 #define HAVE__SQRTF 1
32532 _ACEOF
32535 done
32544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32545 $as_echo_n "checking for sincosf declaration... " >&6; }
32546 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32547 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32548 $as_echo_n "(cached) " >&6
32549 else
32552 ac_ext=cpp
32553 ac_cpp='$CXXCPP $CPPFLAGS'
32554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32559 /* end confdefs.h. */
32560 #include <math.h>
32562 main ()
32564 sincosf(0, 0, 0);
32566 return 0;
32568 _ACEOF
32569 if ac_fn_cxx_try_compile "$LINENO"; then :
32570 glibcxx_cv_func_sincosf_use=yes
32571 else
32572 glibcxx_cv_func_sincosf_use=no
32574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32575 ac_ext=c
32576 ac_cpp='$CPP $CPPFLAGS'
32577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32586 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32588 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32589 for ac_func in sincosf
32590 do :
32591 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32592 if test "x$ac_cv_func_sincosf" = xyes; then :
32593 cat >>confdefs.h <<_ACEOF
32594 #define HAVE_SINCOSF 1
32595 _ACEOF
32598 done
32600 else
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32603 $as_echo_n "checking for _sincosf declaration... " >&6; }
32604 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32605 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32606 $as_echo_n "(cached) " >&6
32607 else
32610 ac_ext=cpp
32611 ac_cpp='$CXXCPP $CPPFLAGS'
32612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32617 /* end confdefs.h. */
32618 #include <math.h>
32620 main ()
32622 _sincosf(0, 0, 0);
32624 return 0;
32626 _ACEOF
32627 if ac_fn_cxx_try_compile "$LINENO"; then :
32628 glibcxx_cv_func__sincosf_use=yes
32629 else
32630 glibcxx_cv_func__sincosf_use=no
32632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32633 ac_ext=c
32634 ac_cpp='$CPP $CPPFLAGS'
32635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32644 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32646 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32647 for ac_func in _sincosf
32648 do :
32649 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32650 if test "x$ac_cv_func__sincosf" = xyes; then :
32651 cat >>confdefs.h <<_ACEOF
32652 #define HAVE__SINCOSF 1
32653 _ACEOF
32656 done
32665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32666 $as_echo_n "checking for finitef declaration... " >&6; }
32667 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32668 if ${glibcxx_cv_func_finitef_use+:} false; then :
32669 $as_echo_n "(cached) " >&6
32670 else
32673 ac_ext=cpp
32674 ac_cpp='$CXXCPP $CPPFLAGS'
32675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32680 /* end confdefs.h. */
32681 #include <math.h>
32682 #ifdef HAVE_IEEEFP_H
32683 #include <ieeefp.h>
32684 #endif
32687 main ()
32689 finitef(0);
32691 return 0;
32693 _ACEOF
32694 if ac_fn_cxx_try_compile "$LINENO"; then :
32695 glibcxx_cv_func_finitef_use=yes
32696 else
32697 glibcxx_cv_func_finitef_use=no
32699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32700 ac_ext=c
32701 ac_cpp='$CPP $CPPFLAGS'
32702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32711 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32713 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32714 for ac_func in finitef
32715 do :
32716 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32717 if test "x$ac_cv_func_finitef" = xyes; then :
32718 cat >>confdefs.h <<_ACEOF
32719 #define HAVE_FINITEF 1
32720 _ACEOF
32723 done
32725 else
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32728 $as_echo_n "checking for _finitef declaration... " >&6; }
32729 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32730 if ${glibcxx_cv_func__finitef_use+:} false; then :
32731 $as_echo_n "(cached) " >&6
32732 else
32735 ac_ext=cpp
32736 ac_cpp='$CXXCPP $CPPFLAGS'
32737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32742 /* end confdefs.h. */
32743 #include <math.h>
32744 #ifdef HAVE_IEEEFP_H
32745 #include <ieeefp.h>
32746 #endif
32749 main ()
32751 _finitef(0);
32753 return 0;
32755 _ACEOF
32756 if ac_fn_cxx_try_compile "$LINENO"; then :
32757 glibcxx_cv_func__finitef_use=yes
32758 else
32759 glibcxx_cv_func__finitef_use=no
32761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32762 ac_ext=c
32763 ac_cpp='$CPP $CPPFLAGS'
32764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32773 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32775 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32776 for ac_func in _finitef
32777 do :
32778 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32779 if test "x$ac_cv_func__finitef" = xyes; then :
32780 cat >>confdefs.h <<_ACEOF
32781 #define HAVE__FINITEF 1
32782 _ACEOF
32785 done
32794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32795 $as_echo_n "checking for long double trig functions... " >&6; }
32796 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32797 $as_echo_n "(cached) " >&6
32798 else
32801 ac_ext=cpp
32802 ac_cpp='$CXXCPP $CPPFLAGS'
32803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32808 /* end confdefs.h. */
32809 #include <math.h>
32811 main ()
32813 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32815 return 0;
32817 _ACEOF
32818 if ac_fn_cxx_try_compile "$LINENO"; then :
32819 glibcxx_cv_func_long_double_trig_use=yes
32820 else
32821 glibcxx_cv_func_long_double_trig_use=no
32823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32824 ac_ext=c
32825 ac_cpp='$CPP $CPPFLAGS'
32826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32833 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32834 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32835 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32836 do :
32837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32839 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32840 cat >>confdefs.h <<_ACEOF
32841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32842 _ACEOF
32845 done
32847 else
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32849 $as_echo_n "checking for _long double trig functions... " >&6; }
32850 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32851 $as_echo_n "(cached) " >&6
32852 else
32855 ac_ext=cpp
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32862 /* end confdefs.h. */
32863 #include <math.h>
32865 main ()
32867 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32869 return 0;
32871 _ACEOF
32872 if ac_fn_cxx_try_compile "$LINENO"; then :
32873 glibcxx_cv_func__long_double_trig_use=yes
32874 else
32875 glibcxx_cv_func__long_double_trig_use=no
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_ext=c
32879 ac_cpp='$CPP $CPPFLAGS'
32880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32887 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32888 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32889 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32890 do :
32891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32893 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32894 cat >>confdefs.h <<_ACEOF
32895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32896 _ACEOF
32899 done
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32909 $as_echo_n "checking for long double round functions... " >&6; }
32910 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32911 $as_echo_n "(cached) " >&6
32912 else
32915 ac_ext=cpp
32916 ac_cpp='$CXXCPP $CPPFLAGS'
32917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32922 /* end confdefs.h. */
32923 #include <math.h>
32925 main ()
32927 ceill (0); floorl (0);
32929 return 0;
32931 _ACEOF
32932 if ac_fn_cxx_try_compile "$LINENO"; then :
32933 glibcxx_cv_func_long_double_round_use=yes
32934 else
32935 glibcxx_cv_func_long_double_round_use=no
32937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32938 ac_ext=c
32939 ac_cpp='$CPP $CPPFLAGS'
32940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32947 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32948 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32949 for ac_func in ceill floorl
32950 do :
32951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32953 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32954 cat >>confdefs.h <<_ACEOF
32955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32956 _ACEOF
32959 done
32961 else
32962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32963 $as_echo_n "checking for _long double round functions... " >&6; }
32964 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32965 $as_echo_n "(cached) " >&6
32966 else
32969 ac_ext=cpp
32970 ac_cpp='$CXXCPP $CPPFLAGS'
32971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32976 /* end confdefs.h. */
32977 #include <math.h>
32979 main ()
32981 _ceill (0); _floorl (0);
32983 return 0;
32985 _ACEOF
32986 if ac_fn_cxx_try_compile "$LINENO"; then :
32987 glibcxx_cv_func__long_double_round_use=yes
32988 else
32989 glibcxx_cv_func__long_double_round_use=no
32991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32992 ac_ext=c
32993 ac_cpp='$CPP $CPPFLAGS'
32994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33001 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33002 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33003 for ac_func in _ceill _floorl
33004 do :
33005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33007 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33008 cat >>confdefs.h <<_ACEOF
33009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33010 _ACEOF
33013 done
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33024 $as_echo_n "checking for isnanl declaration... " >&6; }
33025 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33026 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <math.h>
33040 #ifdef HAVE_IEEEFP_H
33041 #include <ieeefp.h>
33042 #endif
33045 main ()
33047 isnanl(0);
33049 return 0;
33051 _ACEOF
33052 if ac_fn_cxx_try_compile "$LINENO"; then :
33053 glibcxx_cv_func_isnanl_use=yes
33054 else
33055 glibcxx_cv_func_isnanl_use=no
33057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33058 ac_ext=c
33059 ac_cpp='$CPP $CPPFLAGS'
33060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33069 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33071 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33072 for ac_func in isnanl
33073 do :
33074 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33075 if test "x$ac_cv_func_isnanl" = xyes; then :
33076 cat >>confdefs.h <<_ACEOF
33077 #define HAVE_ISNANL 1
33078 _ACEOF
33081 done
33083 else
33085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33086 $as_echo_n "checking for _isnanl declaration... " >&6; }
33087 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33088 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33089 $as_echo_n "(cached) " >&6
33090 else
33093 ac_ext=cpp
33094 ac_cpp='$CXXCPP $CPPFLAGS'
33095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33100 /* end confdefs.h. */
33101 #include <math.h>
33102 #ifdef HAVE_IEEEFP_H
33103 #include <ieeefp.h>
33104 #endif
33107 main ()
33109 _isnanl(0);
33111 return 0;
33113 _ACEOF
33114 if ac_fn_cxx_try_compile "$LINENO"; then :
33115 glibcxx_cv_func__isnanl_use=yes
33116 else
33117 glibcxx_cv_func__isnanl_use=no
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33120 ac_ext=c
33121 ac_cpp='$CPP $CPPFLAGS'
33122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33131 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33133 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33134 for ac_func in _isnanl
33135 do :
33136 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33137 if test "x$ac_cv_func__isnanl" = xyes; then :
33138 cat >>confdefs.h <<_ACEOF
33139 #define HAVE__ISNANL 1
33140 _ACEOF
33143 done
33152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33153 $as_echo_n "checking for isinfl declaration... " >&6; }
33154 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33155 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33156 $as_echo_n "(cached) " >&6
33157 else
33160 ac_ext=cpp
33161 ac_cpp='$CXXCPP $CPPFLAGS'
33162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33167 /* end confdefs.h. */
33168 #include <math.h>
33169 #ifdef HAVE_IEEEFP_H
33170 #include <ieeefp.h>
33171 #endif
33174 main ()
33176 isinfl(0);
33178 return 0;
33180 _ACEOF
33181 if ac_fn_cxx_try_compile "$LINENO"; then :
33182 glibcxx_cv_func_isinfl_use=yes
33183 else
33184 glibcxx_cv_func_isinfl_use=no
33186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33187 ac_ext=c
33188 ac_cpp='$CPP $CPPFLAGS'
33189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33198 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33200 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33201 for ac_func in isinfl
33202 do :
33203 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33204 if test "x$ac_cv_func_isinfl" = xyes; then :
33205 cat >>confdefs.h <<_ACEOF
33206 #define HAVE_ISINFL 1
33207 _ACEOF
33210 done
33212 else
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33215 $as_echo_n "checking for _isinfl declaration... " >&6; }
33216 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33217 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33218 $as_echo_n "(cached) " >&6
33219 else
33222 ac_ext=cpp
33223 ac_cpp='$CXXCPP $CPPFLAGS'
33224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33229 /* end confdefs.h. */
33230 #include <math.h>
33231 #ifdef HAVE_IEEEFP_H
33232 #include <ieeefp.h>
33233 #endif
33236 main ()
33238 _isinfl(0);
33240 return 0;
33242 _ACEOF
33243 if ac_fn_cxx_try_compile "$LINENO"; then :
33244 glibcxx_cv_func__isinfl_use=yes
33245 else
33246 glibcxx_cv_func__isinfl_use=no
33248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33249 ac_ext=c
33250 ac_cpp='$CPP $CPPFLAGS'
33251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33260 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33262 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33263 for ac_func in _isinfl
33264 do :
33265 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33266 if test "x$ac_cv_func__isinfl" = xyes; then :
33267 cat >>confdefs.h <<_ACEOF
33268 #define HAVE__ISINFL 1
33269 _ACEOF
33272 done
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33282 $as_echo_n "checking for atan2l declaration... " >&6; }
33283 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33284 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33289 ac_ext=cpp
33290 ac_cpp='$CXXCPP $CPPFLAGS'
33291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297 #include <math.h>
33299 main ()
33301 atan2l(0, 0);
33303 return 0;
33305 _ACEOF
33306 if ac_fn_cxx_try_compile "$LINENO"; then :
33307 glibcxx_cv_func_atan2l_use=yes
33308 else
33309 glibcxx_cv_func_atan2l_use=no
33311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33312 ac_ext=c
33313 ac_cpp='$CPP $CPPFLAGS'
33314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33323 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33325 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33326 for ac_func in atan2l
33327 do :
33328 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33329 if test "x$ac_cv_func_atan2l" = xyes; then :
33330 cat >>confdefs.h <<_ACEOF
33331 #define HAVE_ATAN2L 1
33332 _ACEOF
33335 done
33337 else
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33340 $as_echo_n "checking for _atan2l declaration... " >&6; }
33341 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33342 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33343 $as_echo_n "(cached) " >&6
33344 else
33347 ac_ext=cpp
33348 ac_cpp='$CXXCPP $CPPFLAGS'
33349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33354 /* end confdefs.h. */
33355 #include <math.h>
33357 main ()
33359 _atan2l(0, 0);
33361 return 0;
33363 _ACEOF
33364 if ac_fn_cxx_try_compile "$LINENO"; then :
33365 glibcxx_cv_func__atan2l_use=yes
33366 else
33367 glibcxx_cv_func__atan2l_use=no
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370 ac_ext=c
33371 ac_cpp='$CPP $CPPFLAGS'
33372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33381 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33383 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33384 for ac_func in _atan2l
33385 do :
33386 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33387 if test "x$ac_cv_func__atan2l" = xyes; then :
33388 cat >>confdefs.h <<_ACEOF
33389 #define HAVE__ATAN2L 1
33390 _ACEOF
33393 done
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33403 $as_echo_n "checking for expl declaration... " >&6; }
33404 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33405 if ${glibcxx_cv_func_expl_use+:} false; then :
33406 $as_echo_n "(cached) " >&6
33407 else
33410 ac_ext=cpp
33411 ac_cpp='$CXXCPP $CPPFLAGS'
33412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33417 /* end confdefs.h. */
33418 #include <math.h>
33419 #ifdef HAVE_IEEEFP_H
33420 #include <ieeefp.h>
33421 #endif
33424 main ()
33426 expl(0);
33428 return 0;
33430 _ACEOF
33431 if ac_fn_cxx_try_compile "$LINENO"; then :
33432 glibcxx_cv_func_expl_use=yes
33433 else
33434 glibcxx_cv_func_expl_use=no
33436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33437 ac_ext=c
33438 ac_cpp='$CPP $CPPFLAGS'
33439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33448 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33450 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33451 for ac_func in expl
33452 do :
33453 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33454 if test "x$ac_cv_func_expl" = xyes; then :
33455 cat >>confdefs.h <<_ACEOF
33456 #define HAVE_EXPL 1
33457 _ACEOF
33460 done
33462 else
33464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33465 $as_echo_n "checking for _expl declaration... " >&6; }
33466 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33467 if ${glibcxx_cv_func__expl_use+:} false; then :
33468 $as_echo_n "(cached) " >&6
33469 else
33472 ac_ext=cpp
33473 ac_cpp='$CXXCPP $CPPFLAGS'
33474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33479 /* end confdefs.h. */
33480 #include <math.h>
33481 #ifdef HAVE_IEEEFP_H
33482 #include <ieeefp.h>
33483 #endif
33486 main ()
33488 _expl(0);
33490 return 0;
33492 _ACEOF
33493 if ac_fn_cxx_try_compile "$LINENO"; then :
33494 glibcxx_cv_func__expl_use=yes
33495 else
33496 glibcxx_cv_func__expl_use=no
33498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33499 ac_ext=c
33500 ac_cpp='$CPP $CPPFLAGS'
33501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33510 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33512 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33513 for ac_func in _expl
33514 do :
33515 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33516 if test "x$ac_cv_func__expl" = xyes; then :
33517 cat >>confdefs.h <<_ACEOF
33518 #define HAVE__EXPL 1
33519 _ACEOF
33522 done
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33532 $as_echo_n "checking for fabsl declaration... " >&6; }
33533 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33534 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <math.h>
33548 #ifdef HAVE_IEEEFP_H
33549 #include <ieeefp.h>
33550 #endif
33553 main ()
33555 fabsl(0);
33557 return 0;
33559 _ACEOF
33560 if ac_fn_cxx_try_compile "$LINENO"; then :
33561 glibcxx_cv_func_fabsl_use=yes
33562 else
33563 glibcxx_cv_func_fabsl_use=no
33565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_ext=c
33567 ac_cpp='$CPP $CPPFLAGS'
33568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33577 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33579 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33580 for ac_func in fabsl
33581 do :
33582 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33583 if test "x$ac_cv_func_fabsl" = xyes; then :
33584 cat >>confdefs.h <<_ACEOF
33585 #define HAVE_FABSL 1
33586 _ACEOF
33589 done
33591 else
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33594 $as_echo_n "checking for _fabsl declaration... " >&6; }
33595 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33596 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33597 $as_echo_n "(cached) " >&6
33598 else
33601 ac_ext=cpp
33602 ac_cpp='$CXXCPP $CPPFLAGS'
33603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33608 /* end confdefs.h. */
33609 #include <math.h>
33610 #ifdef HAVE_IEEEFP_H
33611 #include <ieeefp.h>
33612 #endif
33615 main ()
33617 _fabsl(0);
33619 return 0;
33621 _ACEOF
33622 if ac_fn_cxx_try_compile "$LINENO"; then :
33623 glibcxx_cv_func__fabsl_use=yes
33624 else
33625 glibcxx_cv_func__fabsl_use=no
33627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33639 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33641 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33642 for ac_func in _fabsl
33643 do :
33644 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33645 if test "x$ac_cv_func__fabsl" = xyes; then :
33646 cat >>confdefs.h <<_ACEOF
33647 #define HAVE__FABSL 1
33648 _ACEOF
33651 done
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33661 $as_echo_n "checking for fmodl declaration... " >&6; }
33662 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33663 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33664 $as_echo_n "(cached) " >&6
33665 else
33668 ac_ext=cpp
33669 ac_cpp='$CXXCPP $CPPFLAGS'
33670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33675 /* end confdefs.h. */
33676 #include <math.h>
33678 main ()
33680 fmodl(0, 0);
33682 return 0;
33684 _ACEOF
33685 if ac_fn_cxx_try_compile "$LINENO"; then :
33686 glibcxx_cv_func_fmodl_use=yes
33687 else
33688 glibcxx_cv_func_fmodl_use=no
33690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33691 ac_ext=c
33692 ac_cpp='$CPP $CPPFLAGS'
33693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33702 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33704 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33705 for ac_func in fmodl
33706 do :
33707 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33708 if test "x$ac_cv_func_fmodl" = xyes; then :
33709 cat >>confdefs.h <<_ACEOF
33710 #define HAVE_FMODL 1
33711 _ACEOF
33714 done
33716 else
33718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33719 $as_echo_n "checking for _fmodl declaration... " >&6; }
33720 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33721 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33722 $as_echo_n "(cached) " >&6
33723 else
33726 ac_ext=cpp
33727 ac_cpp='$CXXCPP $CPPFLAGS'
33728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33733 /* end confdefs.h. */
33734 #include <math.h>
33736 main ()
33738 _fmodl(0, 0);
33740 return 0;
33742 _ACEOF
33743 if ac_fn_cxx_try_compile "$LINENO"; then :
33744 glibcxx_cv_func__fmodl_use=yes
33745 else
33746 glibcxx_cv_func__fmodl_use=no
33748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33749 ac_ext=c
33750 ac_cpp='$CPP $CPPFLAGS'
33751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33760 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33762 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33763 for ac_func in _fmodl
33764 do :
33765 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33766 if test "x$ac_cv_func__fmodl" = xyes; then :
33767 cat >>confdefs.h <<_ACEOF
33768 #define HAVE__FMODL 1
33769 _ACEOF
33772 done
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33782 $as_echo_n "checking for frexpl declaration... " >&6; }
33783 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33784 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33785 $as_echo_n "(cached) " >&6
33786 else
33789 ac_ext=cpp
33790 ac_cpp='$CXXCPP $CPPFLAGS'
33791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h. */
33797 #include <math.h>
33799 main ()
33801 frexpl(0, 0);
33803 return 0;
33805 _ACEOF
33806 if ac_fn_cxx_try_compile "$LINENO"; then :
33807 glibcxx_cv_func_frexpl_use=yes
33808 else
33809 glibcxx_cv_func_frexpl_use=no
33811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33812 ac_ext=c
33813 ac_cpp='$CPP $CPPFLAGS'
33814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33823 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33825 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33826 for ac_func in frexpl
33827 do :
33828 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33829 if test "x$ac_cv_func_frexpl" = xyes; then :
33830 cat >>confdefs.h <<_ACEOF
33831 #define HAVE_FREXPL 1
33832 _ACEOF
33835 done
33837 else
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33840 $as_echo_n "checking for _frexpl declaration... " >&6; }
33841 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33842 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33843 $as_echo_n "(cached) " >&6
33844 else
33847 ac_ext=cpp
33848 ac_cpp='$CXXCPP $CPPFLAGS'
33849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33854 /* end confdefs.h. */
33855 #include <math.h>
33857 main ()
33859 _frexpl(0, 0);
33861 return 0;
33863 _ACEOF
33864 if ac_fn_cxx_try_compile "$LINENO"; then :
33865 glibcxx_cv_func__frexpl_use=yes
33866 else
33867 glibcxx_cv_func__frexpl_use=no
33869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33870 ac_ext=c
33871 ac_cpp='$CPP $CPPFLAGS'
33872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33881 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33883 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33884 for ac_func in _frexpl
33885 do :
33886 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33887 if test "x$ac_cv_func__frexpl" = xyes; then :
33888 cat >>confdefs.h <<_ACEOF
33889 #define HAVE__FREXPL 1
33890 _ACEOF
33893 done
33902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33903 $as_echo_n "checking for hypotl declaration... " >&6; }
33904 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33905 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33906 $as_echo_n "(cached) " >&6
33907 else
33910 ac_ext=cpp
33911 ac_cpp='$CXXCPP $CPPFLAGS'
33912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33917 /* end confdefs.h. */
33918 #include <math.h>
33920 main ()
33922 hypotl(0, 0);
33924 return 0;
33926 _ACEOF
33927 if ac_fn_cxx_try_compile "$LINENO"; then :
33928 glibcxx_cv_func_hypotl_use=yes
33929 else
33930 glibcxx_cv_func_hypotl_use=no
33932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33933 ac_ext=c
33934 ac_cpp='$CPP $CPPFLAGS'
33935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33944 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33946 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33947 for ac_func in hypotl
33948 do :
33949 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33950 if test "x$ac_cv_func_hypotl" = xyes; then :
33951 cat >>confdefs.h <<_ACEOF
33952 #define HAVE_HYPOTL 1
33953 _ACEOF
33956 done
33958 else
33960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33961 $as_echo_n "checking for _hypotl declaration... " >&6; }
33962 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33963 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33964 $as_echo_n "(cached) " >&6
33965 else
33968 ac_ext=cpp
33969 ac_cpp='$CXXCPP $CPPFLAGS'
33970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33975 /* end confdefs.h. */
33976 #include <math.h>
33978 main ()
33980 _hypotl(0, 0);
33982 return 0;
33984 _ACEOF
33985 if ac_fn_cxx_try_compile "$LINENO"; then :
33986 glibcxx_cv_func__hypotl_use=yes
33987 else
33988 glibcxx_cv_func__hypotl_use=no
33990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33991 ac_ext=c
33992 ac_cpp='$CPP $CPPFLAGS'
33993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34002 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34004 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34005 for ac_func in _hypotl
34006 do :
34007 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34008 if test "x$ac_cv_func__hypotl" = xyes; then :
34009 cat >>confdefs.h <<_ACEOF
34010 #define HAVE__HYPOTL 1
34011 _ACEOF
34014 done
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34024 $as_echo_n "checking for ldexpl declaration... " >&6; }
34025 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34026 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34027 $as_echo_n "(cached) " >&6
34028 else
34031 ac_ext=cpp
34032 ac_cpp='$CXXCPP $CPPFLAGS'
34033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34038 /* end confdefs.h. */
34039 #include <math.h>
34041 main ()
34043 ldexpl(0, 0);
34045 return 0;
34047 _ACEOF
34048 if ac_fn_cxx_try_compile "$LINENO"; then :
34049 glibcxx_cv_func_ldexpl_use=yes
34050 else
34051 glibcxx_cv_func_ldexpl_use=no
34053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34054 ac_ext=c
34055 ac_cpp='$CPP $CPPFLAGS'
34056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34065 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34067 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34068 for ac_func in ldexpl
34069 do :
34070 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34071 if test "x$ac_cv_func_ldexpl" = xyes; then :
34072 cat >>confdefs.h <<_ACEOF
34073 #define HAVE_LDEXPL 1
34074 _ACEOF
34077 done
34079 else
34081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34082 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34083 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34084 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34085 $as_echo_n "(cached) " >&6
34086 else
34089 ac_ext=cpp
34090 ac_cpp='$CXXCPP $CPPFLAGS'
34091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34096 /* end confdefs.h. */
34097 #include <math.h>
34099 main ()
34101 _ldexpl(0, 0);
34103 return 0;
34105 _ACEOF
34106 if ac_fn_cxx_try_compile "$LINENO"; then :
34107 glibcxx_cv_func__ldexpl_use=yes
34108 else
34109 glibcxx_cv_func__ldexpl_use=no
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112 ac_ext=c
34113 ac_cpp='$CPP $CPPFLAGS'
34114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34123 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34125 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34126 for ac_func in _ldexpl
34127 do :
34128 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34129 if test "x$ac_cv_func__ldexpl" = xyes; then :
34130 cat >>confdefs.h <<_ACEOF
34131 #define HAVE__LDEXPL 1
34132 _ACEOF
34135 done
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34145 $as_echo_n "checking for logl declaration... " >&6; }
34146 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34147 if ${glibcxx_cv_func_logl_use+:} false; then :
34148 $as_echo_n "(cached) " >&6
34149 else
34152 ac_ext=cpp
34153 ac_cpp='$CXXCPP $CPPFLAGS'
34154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34159 /* end confdefs.h. */
34160 #include <math.h>
34161 #ifdef HAVE_IEEEFP_H
34162 #include <ieeefp.h>
34163 #endif
34166 main ()
34168 logl(0);
34170 return 0;
34172 _ACEOF
34173 if ac_fn_cxx_try_compile "$LINENO"; then :
34174 glibcxx_cv_func_logl_use=yes
34175 else
34176 glibcxx_cv_func_logl_use=no
34178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34179 ac_ext=c
34180 ac_cpp='$CPP $CPPFLAGS'
34181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34190 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34192 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34193 for ac_func in logl
34194 do :
34195 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34196 if test "x$ac_cv_func_logl" = xyes; then :
34197 cat >>confdefs.h <<_ACEOF
34198 #define HAVE_LOGL 1
34199 _ACEOF
34202 done
34204 else
34206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34207 $as_echo_n "checking for _logl declaration... " >&6; }
34208 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34209 if ${glibcxx_cv_func__logl_use+:} false; then :
34210 $as_echo_n "(cached) " >&6
34211 else
34214 ac_ext=cpp
34215 ac_cpp='$CXXCPP $CPPFLAGS'
34216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34221 /* end confdefs.h. */
34222 #include <math.h>
34223 #ifdef HAVE_IEEEFP_H
34224 #include <ieeefp.h>
34225 #endif
34228 main ()
34230 _logl(0);
34232 return 0;
34234 _ACEOF
34235 if ac_fn_cxx_try_compile "$LINENO"; then :
34236 glibcxx_cv_func__logl_use=yes
34237 else
34238 glibcxx_cv_func__logl_use=no
34240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34241 ac_ext=c
34242 ac_cpp='$CPP $CPPFLAGS'
34243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34252 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34254 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34255 for ac_func in _logl
34256 do :
34257 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34258 if test "x$ac_cv_func__logl" = xyes; then :
34259 cat >>confdefs.h <<_ACEOF
34260 #define HAVE__LOGL 1
34261 _ACEOF
34264 done
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34274 $as_echo_n "checking for log10l declaration... " >&6; }
34275 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34276 if ${glibcxx_cv_func_log10l_use+:} false; then :
34277 $as_echo_n "(cached) " >&6
34278 else
34281 ac_ext=cpp
34282 ac_cpp='$CXXCPP $CPPFLAGS'
34283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34288 /* end confdefs.h. */
34289 #include <math.h>
34290 #ifdef HAVE_IEEEFP_H
34291 #include <ieeefp.h>
34292 #endif
34295 main ()
34297 log10l(0);
34299 return 0;
34301 _ACEOF
34302 if ac_fn_cxx_try_compile "$LINENO"; then :
34303 glibcxx_cv_func_log10l_use=yes
34304 else
34305 glibcxx_cv_func_log10l_use=no
34307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34308 ac_ext=c
34309 ac_cpp='$CPP $CPPFLAGS'
34310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34319 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34321 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34322 for ac_func in log10l
34323 do :
34324 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34325 if test "x$ac_cv_func_log10l" = xyes; then :
34326 cat >>confdefs.h <<_ACEOF
34327 #define HAVE_LOG10L 1
34328 _ACEOF
34331 done
34333 else
34335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34336 $as_echo_n "checking for _log10l declaration... " >&6; }
34337 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34338 if ${glibcxx_cv_func__log10l_use+:} false; then :
34339 $as_echo_n "(cached) " >&6
34340 else
34343 ac_ext=cpp
34344 ac_cpp='$CXXCPP $CPPFLAGS'
34345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34350 /* end confdefs.h. */
34351 #include <math.h>
34352 #ifdef HAVE_IEEEFP_H
34353 #include <ieeefp.h>
34354 #endif
34357 main ()
34359 _log10l(0);
34361 return 0;
34363 _ACEOF
34364 if ac_fn_cxx_try_compile "$LINENO"; then :
34365 glibcxx_cv_func__log10l_use=yes
34366 else
34367 glibcxx_cv_func__log10l_use=no
34369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34370 ac_ext=c
34371 ac_cpp='$CPP $CPPFLAGS'
34372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34381 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34383 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34384 for ac_func in _log10l
34385 do :
34386 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34387 if test "x$ac_cv_func__log10l" = xyes; then :
34388 cat >>confdefs.h <<_ACEOF
34389 #define HAVE__LOG10L 1
34390 _ACEOF
34393 done
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34403 $as_echo_n "checking for modfl declaration... " >&6; }
34404 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34405 if ${glibcxx_cv_func_modfl_use+:} false; then :
34406 $as_echo_n "(cached) " >&6
34407 else
34410 ac_ext=cpp
34411 ac_cpp='$CXXCPP $CPPFLAGS'
34412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34417 /* end confdefs.h. */
34418 #include <math.h>
34420 main ()
34422 modfl(0, 0);
34424 return 0;
34426 _ACEOF
34427 if ac_fn_cxx_try_compile "$LINENO"; then :
34428 glibcxx_cv_func_modfl_use=yes
34429 else
34430 glibcxx_cv_func_modfl_use=no
34432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34433 ac_ext=c
34434 ac_cpp='$CPP $CPPFLAGS'
34435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34444 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34446 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34447 for ac_func in modfl
34448 do :
34449 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34450 if test "x$ac_cv_func_modfl" = xyes; then :
34451 cat >>confdefs.h <<_ACEOF
34452 #define HAVE_MODFL 1
34453 _ACEOF
34456 done
34458 else
34460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34461 $as_echo_n "checking for _modfl declaration... " >&6; }
34462 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34463 if ${glibcxx_cv_func__modfl_use+:} false; then :
34464 $as_echo_n "(cached) " >&6
34465 else
34468 ac_ext=cpp
34469 ac_cpp='$CXXCPP $CPPFLAGS'
34470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34475 /* end confdefs.h. */
34476 #include <math.h>
34478 main ()
34480 _modfl(0, 0);
34482 return 0;
34484 _ACEOF
34485 if ac_fn_cxx_try_compile "$LINENO"; then :
34486 glibcxx_cv_func__modfl_use=yes
34487 else
34488 glibcxx_cv_func__modfl_use=no
34490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34491 ac_ext=c
34492 ac_cpp='$CPP $CPPFLAGS'
34493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34502 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34504 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34505 for ac_func in _modfl
34506 do :
34507 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34508 if test "x$ac_cv_func__modfl" = xyes; then :
34509 cat >>confdefs.h <<_ACEOF
34510 #define HAVE__MODFL 1
34511 _ACEOF
34514 done
34523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34524 $as_echo_n "checking for powl declaration... " >&6; }
34525 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34526 if ${glibcxx_cv_func_powl_use+:} false; then :
34527 $as_echo_n "(cached) " >&6
34528 else
34531 ac_ext=cpp
34532 ac_cpp='$CXXCPP $CPPFLAGS'
34533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34538 /* end confdefs.h. */
34539 #include <math.h>
34541 main ()
34543 powl(0, 0);
34545 return 0;
34547 _ACEOF
34548 if ac_fn_cxx_try_compile "$LINENO"; then :
34549 glibcxx_cv_func_powl_use=yes
34550 else
34551 glibcxx_cv_func_powl_use=no
34553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34554 ac_ext=c
34555 ac_cpp='$CPP $CPPFLAGS'
34556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34565 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34567 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34568 for ac_func in powl
34569 do :
34570 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34571 if test "x$ac_cv_func_powl" = xyes; then :
34572 cat >>confdefs.h <<_ACEOF
34573 #define HAVE_POWL 1
34574 _ACEOF
34577 done
34579 else
34581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34582 $as_echo_n "checking for _powl declaration... " >&6; }
34583 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34584 if ${glibcxx_cv_func__powl_use+:} false; then :
34585 $as_echo_n "(cached) " >&6
34586 else
34589 ac_ext=cpp
34590 ac_cpp='$CXXCPP $CPPFLAGS'
34591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34596 /* end confdefs.h. */
34597 #include <math.h>
34599 main ()
34601 _powl(0, 0);
34603 return 0;
34605 _ACEOF
34606 if ac_fn_cxx_try_compile "$LINENO"; then :
34607 glibcxx_cv_func__powl_use=yes
34608 else
34609 glibcxx_cv_func__powl_use=no
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34612 ac_ext=c
34613 ac_cpp='$CPP $CPPFLAGS'
34614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34623 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34625 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34626 for ac_func in _powl
34627 do :
34628 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34629 if test "x$ac_cv_func__powl" = xyes; then :
34630 cat >>confdefs.h <<_ACEOF
34631 #define HAVE__POWL 1
34632 _ACEOF
34635 done
34644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34645 $as_echo_n "checking for sqrtl declaration... " >&6; }
34646 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34647 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34648 $as_echo_n "(cached) " >&6
34649 else
34652 ac_ext=cpp
34653 ac_cpp='$CXXCPP $CPPFLAGS'
34654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34659 /* end confdefs.h. */
34660 #include <math.h>
34661 #ifdef HAVE_IEEEFP_H
34662 #include <ieeefp.h>
34663 #endif
34666 main ()
34668 sqrtl(0);
34670 return 0;
34672 _ACEOF
34673 if ac_fn_cxx_try_compile "$LINENO"; then :
34674 glibcxx_cv_func_sqrtl_use=yes
34675 else
34676 glibcxx_cv_func_sqrtl_use=no
34678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34679 ac_ext=c
34680 ac_cpp='$CPP $CPPFLAGS'
34681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34690 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34692 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34693 for ac_func in sqrtl
34694 do :
34695 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34696 if test "x$ac_cv_func_sqrtl" = xyes; then :
34697 cat >>confdefs.h <<_ACEOF
34698 #define HAVE_SQRTL 1
34699 _ACEOF
34702 done
34704 else
34706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34707 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34708 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34709 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34710 $as_echo_n "(cached) " >&6
34711 else
34714 ac_ext=cpp
34715 ac_cpp='$CXXCPP $CPPFLAGS'
34716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34721 /* end confdefs.h. */
34722 #include <math.h>
34723 #ifdef HAVE_IEEEFP_H
34724 #include <ieeefp.h>
34725 #endif
34728 main ()
34730 _sqrtl(0);
34732 return 0;
34734 _ACEOF
34735 if ac_fn_cxx_try_compile "$LINENO"; then :
34736 glibcxx_cv_func__sqrtl_use=yes
34737 else
34738 glibcxx_cv_func__sqrtl_use=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 ac_ext=c
34742 ac_cpp='$CPP $CPPFLAGS'
34743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34752 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34754 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34755 for ac_func in _sqrtl
34756 do :
34757 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34758 if test "x$ac_cv_func__sqrtl" = xyes; then :
34759 cat >>confdefs.h <<_ACEOF
34760 #define HAVE__SQRTL 1
34761 _ACEOF
34764 done
34773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34774 $as_echo_n "checking for sincosl declaration... " >&6; }
34775 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34776 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34777 $as_echo_n "(cached) " >&6
34778 else
34781 ac_ext=cpp
34782 ac_cpp='$CXXCPP $CPPFLAGS'
34783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34788 /* end confdefs.h. */
34789 #include <math.h>
34791 main ()
34793 sincosl(0, 0, 0);
34795 return 0;
34797 _ACEOF
34798 if ac_fn_cxx_try_compile "$LINENO"; then :
34799 glibcxx_cv_func_sincosl_use=yes
34800 else
34801 glibcxx_cv_func_sincosl_use=no
34803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34804 ac_ext=c
34805 ac_cpp='$CPP $CPPFLAGS'
34806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34815 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34817 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34818 for ac_func in sincosl
34819 do :
34820 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34821 if test "x$ac_cv_func_sincosl" = xyes; then :
34822 cat >>confdefs.h <<_ACEOF
34823 #define HAVE_SINCOSL 1
34824 _ACEOF
34827 done
34829 else
34831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34832 $as_echo_n "checking for _sincosl declaration... " >&6; }
34833 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34834 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34835 $as_echo_n "(cached) " >&6
34836 else
34839 ac_ext=cpp
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34846 /* end confdefs.h. */
34847 #include <math.h>
34849 main ()
34851 _sincosl(0, 0, 0);
34853 return 0;
34855 _ACEOF
34856 if ac_fn_cxx_try_compile "$LINENO"; then :
34857 glibcxx_cv_func__sincosl_use=yes
34858 else
34859 glibcxx_cv_func__sincosl_use=no
34861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34862 ac_ext=c
34863 ac_cpp='$CPP $CPPFLAGS'
34864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34873 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34875 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34876 for ac_func in _sincosl
34877 do :
34878 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34879 if test "x$ac_cv_func__sincosl" = xyes; then :
34880 cat >>confdefs.h <<_ACEOF
34881 #define HAVE__SINCOSL 1
34882 _ACEOF
34885 done
34894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34895 $as_echo_n "checking for finitel declaration... " >&6; }
34896 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34897 if ${glibcxx_cv_func_finitel_use+:} false; then :
34898 $as_echo_n "(cached) " >&6
34899 else
34902 ac_ext=cpp
34903 ac_cpp='$CXXCPP $CPPFLAGS'
34904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34909 /* end confdefs.h. */
34910 #include <math.h>
34911 #ifdef HAVE_IEEEFP_H
34912 #include <ieeefp.h>
34913 #endif
34916 main ()
34918 finitel(0);
34920 return 0;
34922 _ACEOF
34923 if ac_fn_cxx_try_compile "$LINENO"; then :
34924 glibcxx_cv_func_finitel_use=yes
34925 else
34926 glibcxx_cv_func_finitel_use=no
34928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34929 ac_ext=c
34930 ac_cpp='$CPP $CPPFLAGS'
34931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34940 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34942 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34943 for ac_func in finitel
34944 do :
34945 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34946 if test "x$ac_cv_func_finitel" = xyes; then :
34947 cat >>confdefs.h <<_ACEOF
34948 #define HAVE_FINITEL 1
34949 _ACEOF
34952 done
34954 else
34956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34957 $as_echo_n "checking for _finitel declaration... " >&6; }
34958 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34959 if ${glibcxx_cv_func__finitel_use+:} false; then :
34960 $as_echo_n "(cached) " >&6
34961 else
34964 ac_ext=cpp
34965 ac_cpp='$CXXCPP $CPPFLAGS'
34966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34971 /* end confdefs.h. */
34972 #include <math.h>
34973 #ifdef HAVE_IEEEFP_H
34974 #include <ieeefp.h>
34975 #endif
34978 main ()
34980 _finitel(0);
34982 return 0;
34984 _ACEOF
34985 if ac_fn_cxx_try_compile "$LINENO"; then :
34986 glibcxx_cv_func__finitel_use=yes
34987 else
34988 glibcxx_cv_func__finitel_use=no
34990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34991 ac_ext=c
34992 ac_cpp='$CPP $CPPFLAGS'
34993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35002 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35004 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35005 for ac_func in _finitel
35006 do :
35007 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35008 if test "x$ac_cv_func__finitel" = xyes; then :
35009 cat >>confdefs.h <<_ACEOF
35010 #define HAVE__FINITEL 1
35011 _ACEOF
35014 done
35022 LIBS="$ac_save_LIBS"
35023 CXXFLAGS="$ac_save_CXXFLAGS"
35026 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35027 ac_save_CXXFLAGS="$CXXFLAGS"
35028 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35032 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35033 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35034 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35035 $as_echo_n "(cached) " >&6
35036 else
35039 ac_ext=cpp
35040 ac_cpp='$CXXCPP $CPPFLAGS'
35041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35046 /* end confdefs.h. */
35047 #include <stdlib.h>
35049 main ()
35051 at_quick_exit(0);
35053 return 0;
35055 _ACEOF
35056 if ac_fn_cxx_try_compile "$LINENO"; then :
35057 glibcxx_cv_func_at_quick_exit_use=yes
35058 else
35059 glibcxx_cv_func_at_quick_exit_use=no
35061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35062 ac_ext=c
35063 ac_cpp='$CPP $CPPFLAGS'
35064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35073 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35074 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35075 for ac_func in at_quick_exit
35076 do :
35077 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35078 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35079 cat >>confdefs.h <<_ACEOF
35080 #define HAVE_AT_QUICK_EXIT 1
35081 _ACEOF
35084 done
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35090 $as_echo_n "checking for quick_exit declaration... " >&6; }
35091 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35092 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35093 $as_echo_n "(cached) " >&6
35094 else
35097 ac_ext=cpp
35098 ac_cpp='$CXXCPP $CPPFLAGS'
35099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35104 /* end confdefs.h. */
35105 #include <stdlib.h>
35107 main ()
35109 quick_exit(0);
35111 return 0;
35113 _ACEOF
35114 if ac_fn_cxx_try_compile "$LINENO"; then :
35115 glibcxx_cv_func_quick_exit_use=yes
35116 else
35117 glibcxx_cv_func_quick_exit_use=no
35119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35120 ac_ext=c
35121 ac_cpp='$CPP $CPPFLAGS'
35122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35131 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35132 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35133 for ac_func in quick_exit
35134 do :
35135 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35136 if test "x$ac_cv_func_quick_exit" = xyes; then :
35137 cat >>confdefs.h <<_ACEOF
35138 #define HAVE_QUICK_EXIT 1
35139 _ACEOF
35142 done
35147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35148 $as_echo_n "checking for strtold declaration... " >&6; }
35149 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35150 if ${glibcxx_cv_func_strtold_use+:} false; then :
35151 $as_echo_n "(cached) " >&6
35152 else
35155 ac_ext=cpp
35156 ac_cpp='$CXXCPP $CPPFLAGS'
35157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35162 /* end confdefs.h. */
35163 #include <stdlib.h>
35165 main ()
35167 strtold(0, 0);
35169 return 0;
35171 _ACEOF
35172 if ac_fn_cxx_try_compile "$LINENO"; then :
35173 glibcxx_cv_func_strtold_use=yes
35174 else
35175 glibcxx_cv_func_strtold_use=no
35177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35178 ac_ext=c
35179 ac_cpp='$CPP $CPPFLAGS'
35180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35189 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35190 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35191 for ac_func in strtold
35192 do :
35193 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35194 if test "x$ac_cv_func_strtold" = xyes; then :
35195 cat >>confdefs.h <<_ACEOF
35196 #define HAVE_STRTOLD 1
35197 _ACEOF
35200 done
35207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35208 $as_echo_n "checking for strtof declaration... " >&6; }
35209 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35210 if ${glibcxx_cv_func_strtof_use+:} false; then :
35211 $as_echo_n "(cached) " >&6
35212 else
35215 ac_ext=cpp
35216 ac_cpp='$CXXCPP $CPPFLAGS'
35217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35222 /* end confdefs.h. */
35223 #include <stdlib.h>
35225 main ()
35227 strtof(0, 0);
35229 return 0;
35231 _ACEOF
35232 if ac_fn_cxx_try_compile "$LINENO"; then :
35233 glibcxx_cv_func_strtof_use=yes
35234 else
35235 glibcxx_cv_func_strtof_use=no
35237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35238 ac_ext=c
35239 ac_cpp='$CPP $CPPFLAGS'
35240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35249 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35250 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35251 for ac_func in strtof
35252 do :
35253 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35254 if test "x$ac_cv_func_strtof" = xyes; then :
35255 cat >>confdefs.h <<_ACEOF
35256 #define HAVE_STRTOF 1
35257 _ACEOF
35260 done
35267 CXXFLAGS="$ac_save_CXXFLAGS"
35270 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35272 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35274 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35276 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35279 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35281 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35283 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35287 *-aix*)
35289 # If we're not using GNU ld, then there's no point in even trying these
35290 # tests. Check for that first. We should have already tested for gld
35291 # by now (in libtool), but require it now just to be safe...
35292 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35293 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35297 # The name set by libtool depends on the version of libtool. Shame on us
35298 # for depending on an impl detail, but c'est la vie. Older versions used
35299 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35300 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35301 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35302 # set (hence we're using an older libtool), then set it.
35303 if test x${with_gnu_ld+set} != xset; then
35304 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35305 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35306 with_gnu_ld=no
35307 else
35308 with_gnu_ld=$ac_cv_prog_gnu_ld
35312 # Start by getting the version number. I think the libtool test already
35313 # does some of this, but throws away the result.
35314 glibcxx_ld_is_gold=no
35315 glibcxx_ld_is_mold=no
35316 if test x"$with_gnu_ld" = x"yes"; then
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35318 $as_echo_n "checking for ld version... " >&6; }
35320 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35321 glibcxx_ld_is_gold=yes
35322 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35323 glibcxx_ld_is_mold=yes
35325 ldver=`$LD --version 2>/dev/null |
35326 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35328 glibcxx_gnu_ld_version=`echo $ldver | \
35329 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35331 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35334 # Set --gc-sections.
35335 glibcxx_have_gc_sections=no
35336 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35337 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35338 glibcxx_have_gc_sections=yes
35340 else
35341 glibcxx_gcsections_min_ld=21602
35342 if test x"$with_gnu_ld" = x"yes" &&
35343 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35344 glibcxx_have_gc_sections=yes
35347 if test "$glibcxx_have_gc_sections" = "yes"; then
35348 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35349 # NB: This flag only works reliably after 2.16.1. Configure tests
35350 # for this are difficult, so hard wire a value that should work.
35352 ac_test_CFLAGS="${CFLAGS+set}"
35353 ac_save_CFLAGS="$CFLAGS"
35354 CFLAGS='-Wl,--gc-sections'
35356 # Check for -Wl,--gc-sections
35357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35358 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35359 if test x$gcc_no_link = xyes; then
35360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35363 /* end confdefs.h. */
35364 int one(void) { return 1; }
35365 int two(void) { return 2; }
35368 main ()
35370 two();
35372 return 0;
35374 _ACEOF
35375 if ac_fn_c_try_link "$LINENO"; then :
35376 ac_gcsections=yes
35377 else
35378 ac_gcsections=no
35380 rm -f core conftest.err conftest.$ac_objext \
35381 conftest$ac_exeext conftest.$ac_ext
35382 if test "$ac_gcsections" = "yes"; then
35383 rm -f conftest.c
35384 touch conftest.c
35385 if $CC -c conftest.c; then
35386 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35387 grep "Warning: gc-sections option ignored" > /dev/null; then
35388 ac_gcsections=no
35391 rm -f conftest.c conftest.o conftest
35393 if test "$ac_gcsections" = "yes"; then
35394 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35397 $as_echo "$ac_gcsections" >&6; }
35399 if test "$ac_test_CFLAGS" = set; then
35400 CFLAGS="$ac_save_CFLAGS"
35401 else
35402 # this is the suspicious part
35403 CFLAGS=''
35407 # Set -z,relro.
35408 # Note this is only for shared objects.
35409 ac_ld_relro=no
35410 if test x"$with_gnu_ld" = x"yes"; then
35411 # cygwin and mingw uses PE, which has no ELF relro support,
35412 # multi target ld may confuse configure machinery
35413 case "$host" in
35414 *-*-cygwin*)
35416 *-*-mingw*)
35419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35422 if test -n "$cxx_z_relo"; then
35423 OPT_LDFLAGS="-Wl,-z,relro"
35424 ac_ld_relro=yes
35426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35427 $as_echo "$ac_ld_relro" >&6; }
35428 esac
35431 # Set linker optimization flags.
35432 if test x"$with_gnu_ld" = x"yes"; then
35433 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35440 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35441 ac_save_CXXFLAGS="$CXXFLAGS"
35442 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35445 $as_echo_n "checking for sin in -lm... " >&6; }
35446 if ${ac_cv_lib_m_sin+:} false; then :
35447 $as_echo_n "(cached) " >&6
35448 else
35449 ac_check_lib_save_LIBS=$LIBS
35450 LIBS="-lm $LIBS"
35451 if test x$gcc_no_link = xyes; then
35452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35455 /* end confdefs.h. */
35457 /* Override any GCC internal prototype to avoid an error.
35458 Use char because int might match the return type of a GCC
35459 builtin and then its argument prototype would still apply. */
35460 #ifdef __cplusplus
35461 extern "C"
35462 #endif
35463 char sin ();
35465 main ()
35467 return sin ();
35469 return 0;
35471 _ACEOF
35472 if ac_fn_c_try_link "$LINENO"; then :
35473 ac_cv_lib_m_sin=yes
35474 else
35475 ac_cv_lib_m_sin=no
35477 rm -f core conftest.err conftest.$ac_objext \
35478 conftest$ac_exeext conftest.$ac_ext
35479 LIBS=$ac_check_lib_save_LIBS
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35482 $as_echo "$ac_cv_lib_m_sin" >&6; }
35483 if test "x$ac_cv_lib_m_sin" = xyes; then :
35484 libm="-lm"
35487 ac_save_LIBS="$LIBS"
35488 LIBS="$LIBS $libm"
35492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35493 $as_echo_n "checking for isinf declaration... " >&6; }
35494 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35495 if ${glibcxx_cv_func_isinf_use+:} false; then :
35496 $as_echo_n "(cached) " >&6
35497 else
35500 ac_ext=cpp
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h. */
35508 #include <math.h>
35509 #ifdef HAVE_IEEEFP_H
35510 #include <ieeefp.h>
35511 #endif
35514 main ()
35516 isinf(0);
35518 return 0;
35520 _ACEOF
35521 if ac_fn_cxx_try_compile "$LINENO"; then :
35522 glibcxx_cv_func_isinf_use=yes
35523 else
35524 glibcxx_cv_func_isinf_use=no
35526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35527 ac_ext=c
35528 ac_cpp='$CPP $CPPFLAGS'
35529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35538 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35540 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35541 for ac_func in isinf
35542 do :
35543 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35544 if test "x$ac_cv_func_isinf" = xyes; then :
35545 cat >>confdefs.h <<_ACEOF
35546 #define HAVE_ISINF 1
35547 _ACEOF
35550 done
35552 else
35554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35555 $as_echo_n "checking for _isinf declaration... " >&6; }
35556 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35557 if ${glibcxx_cv_func__isinf_use+:} false; then :
35558 $as_echo_n "(cached) " >&6
35559 else
35562 ac_ext=cpp
35563 ac_cpp='$CXXCPP $CPPFLAGS'
35564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35569 /* end confdefs.h. */
35570 #include <math.h>
35571 #ifdef HAVE_IEEEFP_H
35572 #include <ieeefp.h>
35573 #endif
35576 main ()
35578 _isinf(0);
35580 return 0;
35582 _ACEOF
35583 if ac_fn_cxx_try_compile "$LINENO"; then :
35584 glibcxx_cv_func__isinf_use=yes
35585 else
35586 glibcxx_cv_func__isinf_use=no
35588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35589 ac_ext=c
35590 ac_cpp='$CPP $CPPFLAGS'
35591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35600 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35602 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35603 for ac_func in _isinf
35604 do :
35605 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35606 if test "x$ac_cv_func__isinf" = xyes; then :
35607 cat >>confdefs.h <<_ACEOF
35608 #define HAVE__ISINF 1
35609 _ACEOF
35612 done
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35622 $as_echo_n "checking for isnan declaration... " >&6; }
35623 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35624 if ${glibcxx_cv_func_isnan_use+:} false; then :
35625 $as_echo_n "(cached) " >&6
35626 else
35629 ac_ext=cpp
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h. */
35637 #include <math.h>
35638 #ifdef HAVE_IEEEFP_H
35639 #include <ieeefp.h>
35640 #endif
35643 main ()
35645 isnan(0);
35647 return 0;
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func_isnan_use=yes
35652 else
35653 glibcxx_cv_func_isnan_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35667 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35669 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35670 for ac_func in isnan
35671 do :
35672 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35673 if test "x$ac_cv_func_isnan" = xyes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE_ISNAN 1
35676 _ACEOF
35679 done
35681 else
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35684 $as_echo_n "checking for _isnan declaration... " >&6; }
35685 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35686 if ${glibcxx_cv_func__isnan_use+:} false; then :
35687 $as_echo_n "(cached) " >&6
35688 else
35691 ac_ext=cpp
35692 ac_cpp='$CXXCPP $CPPFLAGS'
35693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 /* end confdefs.h. */
35699 #include <math.h>
35700 #ifdef HAVE_IEEEFP_H
35701 #include <ieeefp.h>
35702 #endif
35705 main ()
35707 _isnan(0);
35709 return 0;
35711 _ACEOF
35712 if ac_fn_cxx_try_compile "$LINENO"; then :
35713 glibcxx_cv_func__isnan_use=yes
35714 else
35715 glibcxx_cv_func__isnan_use=no
35717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35718 ac_ext=c
35719 ac_cpp='$CPP $CPPFLAGS'
35720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35729 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35731 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35732 for ac_func in _isnan
35733 do :
35734 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35735 if test "x$ac_cv_func__isnan" = xyes; then :
35736 cat >>confdefs.h <<_ACEOF
35737 #define HAVE__ISNAN 1
35738 _ACEOF
35741 done
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35751 $as_echo_n "checking for finite declaration... " >&6; }
35752 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35753 if ${glibcxx_cv_func_finite_use+:} false; then :
35754 $as_echo_n "(cached) " >&6
35755 else
35758 ac_ext=cpp
35759 ac_cpp='$CXXCPP $CPPFLAGS'
35760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35765 /* end confdefs.h. */
35766 #include <math.h>
35767 #ifdef HAVE_IEEEFP_H
35768 #include <ieeefp.h>
35769 #endif
35772 main ()
35774 finite(0);
35776 return 0;
35778 _ACEOF
35779 if ac_fn_cxx_try_compile "$LINENO"; then :
35780 glibcxx_cv_func_finite_use=yes
35781 else
35782 glibcxx_cv_func_finite_use=no
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35785 ac_ext=c
35786 ac_cpp='$CPP $CPPFLAGS'
35787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35796 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35798 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35799 for ac_func in finite
35800 do :
35801 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35802 if test "x$ac_cv_func_finite" = xyes; then :
35803 cat >>confdefs.h <<_ACEOF
35804 #define HAVE_FINITE 1
35805 _ACEOF
35808 done
35810 else
35812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35813 $as_echo_n "checking for _finite declaration... " >&6; }
35814 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35815 if ${glibcxx_cv_func__finite_use+:} false; then :
35816 $as_echo_n "(cached) " >&6
35817 else
35820 ac_ext=cpp
35821 ac_cpp='$CXXCPP $CPPFLAGS'
35822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35827 /* end confdefs.h. */
35828 #include <math.h>
35829 #ifdef HAVE_IEEEFP_H
35830 #include <ieeefp.h>
35831 #endif
35834 main ()
35836 _finite(0);
35838 return 0;
35840 _ACEOF
35841 if ac_fn_cxx_try_compile "$LINENO"; then :
35842 glibcxx_cv_func__finite_use=yes
35843 else
35844 glibcxx_cv_func__finite_use=no
35846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35847 ac_ext=c
35848 ac_cpp='$CPP $CPPFLAGS'
35849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35858 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35860 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35861 for ac_func in _finite
35862 do :
35863 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35864 if test "x$ac_cv_func__finite" = xyes; then :
35865 cat >>confdefs.h <<_ACEOF
35866 #define HAVE__FINITE 1
35867 _ACEOF
35870 done
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35880 $as_echo_n "checking for sincos declaration... " >&6; }
35881 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35882 if ${glibcxx_cv_func_sincos_use+:} false; then :
35883 $as_echo_n "(cached) " >&6
35884 else
35887 ac_ext=cpp
35888 ac_cpp='$CXXCPP $CPPFLAGS'
35889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 /* end confdefs.h. */
35895 #include <math.h>
35897 main ()
35899 sincos(0, 0, 0);
35901 return 0;
35903 _ACEOF
35904 if ac_fn_cxx_try_compile "$LINENO"; then :
35905 glibcxx_cv_func_sincos_use=yes
35906 else
35907 glibcxx_cv_func_sincos_use=no
35909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35910 ac_ext=c
35911 ac_cpp='$CPP $CPPFLAGS'
35912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35921 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35923 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35924 for ac_func in sincos
35925 do :
35926 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35927 if test "x$ac_cv_func_sincos" = xyes; then :
35928 cat >>confdefs.h <<_ACEOF
35929 #define HAVE_SINCOS 1
35930 _ACEOF
35933 done
35935 else
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35938 $as_echo_n "checking for _sincos declaration... " >&6; }
35939 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35940 if ${glibcxx_cv_func__sincos_use+:} false; then :
35941 $as_echo_n "(cached) " >&6
35942 else
35945 ac_ext=cpp
35946 ac_cpp='$CXXCPP $CPPFLAGS'
35947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35952 /* end confdefs.h. */
35953 #include <math.h>
35955 main ()
35957 _sincos(0, 0, 0);
35959 return 0;
35961 _ACEOF
35962 if ac_fn_cxx_try_compile "$LINENO"; then :
35963 glibcxx_cv_func__sincos_use=yes
35964 else
35965 glibcxx_cv_func__sincos_use=no
35967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35968 ac_ext=c
35969 ac_cpp='$CPP $CPPFLAGS'
35970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35979 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35981 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35982 for ac_func in _sincos
35983 do :
35984 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35985 if test "x$ac_cv_func__sincos" = xyes; then :
35986 cat >>confdefs.h <<_ACEOF
35987 #define HAVE__SINCOS 1
35988 _ACEOF
35991 done
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36001 $as_echo_n "checking for fpclass declaration... " >&6; }
36002 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36003 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36004 $as_echo_n "(cached) " >&6
36005 else
36008 ac_ext=cpp
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36015 /* end confdefs.h. */
36016 #include <math.h>
36017 #ifdef HAVE_IEEEFP_H
36018 #include <ieeefp.h>
36019 #endif
36022 main ()
36024 fpclass(0);
36026 return 0;
36028 _ACEOF
36029 if ac_fn_cxx_try_compile "$LINENO"; then :
36030 glibcxx_cv_func_fpclass_use=yes
36031 else
36032 glibcxx_cv_func_fpclass_use=no
36034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36035 ac_ext=c
36036 ac_cpp='$CPP $CPPFLAGS'
36037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36046 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36048 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36049 for ac_func in fpclass
36050 do :
36051 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36052 if test "x$ac_cv_func_fpclass" = xyes; then :
36053 cat >>confdefs.h <<_ACEOF
36054 #define HAVE_FPCLASS 1
36055 _ACEOF
36058 done
36060 else
36062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36063 $as_echo_n "checking for _fpclass declaration... " >&6; }
36064 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36065 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36066 $as_echo_n "(cached) " >&6
36067 else
36070 ac_ext=cpp
36071 ac_cpp='$CXXCPP $CPPFLAGS'
36072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36077 /* end confdefs.h. */
36078 #include <math.h>
36079 #ifdef HAVE_IEEEFP_H
36080 #include <ieeefp.h>
36081 #endif
36084 main ()
36086 _fpclass(0);
36088 return 0;
36090 _ACEOF
36091 if ac_fn_cxx_try_compile "$LINENO"; then :
36092 glibcxx_cv_func__fpclass_use=yes
36093 else
36094 glibcxx_cv_func__fpclass_use=no
36096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36097 ac_ext=c
36098 ac_cpp='$CPP $CPPFLAGS'
36099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36108 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36110 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36111 for ac_func in _fpclass
36112 do :
36113 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36114 if test "x$ac_cv_func__fpclass" = xyes; then :
36115 cat >>confdefs.h <<_ACEOF
36116 #define HAVE__FPCLASS 1
36117 _ACEOF
36120 done
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36130 $as_echo_n "checking for qfpclass declaration... " >&6; }
36131 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36132 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36133 $as_echo_n "(cached) " >&6
36134 else
36137 ac_ext=cpp
36138 ac_cpp='$CXXCPP $CPPFLAGS'
36139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36144 /* end confdefs.h. */
36145 #include <math.h>
36146 #ifdef HAVE_IEEEFP_H
36147 #include <ieeefp.h>
36148 #endif
36151 main ()
36153 qfpclass(0);
36155 return 0;
36157 _ACEOF
36158 if ac_fn_cxx_try_compile "$LINENO"; then :
36159 glibcxx_cv_func_qfpclass_use=yes
36160 else
36161 glibcxx_cv_func_qfpclass_use=no
36163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164 ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36175 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36177 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36178 for ac_func in qfpclass
36179 do :
36180 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36181 if test "x$ac_cv_func_qfpclass" = xyes; then :
36182 cat >>confdefs.h <<_ACEOF
36183 #define HAVE_QFPCLASS 1
36184 _ACEOF
36187 done
36189 else
36191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36192 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36193 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36194 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36195 $as_echo_n "(cached) " >&6
36196 else
36199 ac_ext=cpp
36200 ac_cpp='$CXXCPP $CPPFLAGS'
36201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36206 /* end confdefs.h. */
36207 #include <math.h>
36208 #ifdef HAVE_IEEEFP_H
36209 #include <ieeefp.h>
36210 #endif
36213 main ()
36215 _qfpclass(0);
36217 return 0;
36219 _ACEOF
36220 if ac_fn_cxx_try_compile "$LINENO"; then :
36221 glibcxx_cv_func__qfpclass_use=yes
36222 else
36223 glibcxx_cv_func__qfpclass_use=no
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36226 ac_ext=c
36227 ac_cpp='$CPP $CPPFLAGS'
36228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36237 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36239 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36240 for ac_func in _qfpclass
36241 do :
36242 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36243 if test "x$ac_cv_func__qfpclass" = xyes; then :
36244 cat >>confdefs.h <<_ACEOF
36245 #define HAVE__QFPCLASS 1
36246 _ACEOF
36249 done
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36259 $as_echo_n "checking for hypot declaration... " >&6; }
36260 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36261 if ${glibcxx_cv_func_hypot_use+:} false; then :
36262 $as_echo_n "(cached) " >&6
36263 else
36266 ac_ext=cpp
36267 ac_cpp='$CXXCPP $CPPFLAGS'
36268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36273 /* end confdefs.h. */
36274 #include <math.h>
36276 main ()
36278 hypot(0, 0);
36280 return 0;
36282 _ACEOF
36283 if ac_fn_cxx_try_compile "$LINENO"; then :
36284 glibcxx_cv_func_hypot_use=yes
36285 else
36286 glibcxx_cv_func_hypot_use=no
36288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36289 ac_ext=c
36290 ac_cpp='$CPP $CPPFLAGS'
36291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36300 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36302 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36303 for ac_func in hypot
36304 do :
36305 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36306 if test "x$ac_cv_func_hypot" = xyes; then :
36307 cat >>confdefs.h <<_ACEOF
36308 #define HAVE_HYPOT 1
36309 _ACEOF
36312 done
36314 else
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36317 $as_echo_n "checking for _hypot declaration... " >&6; }
36318 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36319 if ${glibcxx_cv_func__hypot_use+:} false; then :
36320 $as_echo_n "(cached) " >&6
36321 else
36324 ac_ext=cpp
36325 ac_cpp='$CXXCPP $CPPFLAGS'
36326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36331 /* end confdefs.h. */
36332 #include <math.h>
36334 main ()
36336 _hypot(0, 0);
36338 return 0;
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342 glibcxx_cv_func__hypot_use=yes
36343 else
36344 glibcxx_cv_func__hypot_use=no
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347 ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36358 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36360 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36361 for ac_func in _hypot
36362 do :
36363 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36364 if test "x$ac_cv_func__hypot" = xyes; then :
36365 cat >>confdefs.h <<_ACEOF
36366 #define HAVE__HYPOT 1
36367 _ACEOF
36370 done
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36380 $as_echo_n "checking for float trig functions... " >&6; }
36381 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36382 $as_echo_n "(cached) " >&6
36383 else
36386 ac_ext=cpp
36387 ac_cpp='$CXXCPP $CPPFLAGS'
36388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36393 /* end confdefs.h. */
36394 #include <math.h>
36396 main ()
36398 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36400 return 0;
36402 _ACEOF
36403 if ac_fn_cxx_try_compile "$LINENO"; then :
36404 glibcxx_cv_func_float_trig_use=yes
36405 else
36406 glibcxx_cv_func_float_trig_use=no
36408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36409 ac_ext=c
36410 ac_cpp='$CPP $CPPFLAGS'
36411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36418 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36419 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36420 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36421 do :
36422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36424 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36425 cat >>confdefs.h <<_ACEOF
36426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36427 _ACEOF
36430 done
36432 else
36433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36434 $as_echo_n "checking for _float trig functions... " >&6; }
36435 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36436 $as_echo_n "(cached) " >&6
36437 else
36440 ac_ext=cpp
36441 ac_cpp='$CXXCPP $CPPFLAGS'
36442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36447 /* end confdefs.h. */
36448 #include <math.h>
36450 main ()
36452 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36454 return 0;
36456 _ACEOF
36457 if ac_fn_cxx_try_compile "$LINENO"; then :
36458 glibcxx_cv_func__float_trig_use=yes
36459 else
36460 glibcxx_cv_func__float_trig_use=no
36462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463 ac_ext=c
36464 ac_cpp='$CPP $CPPFLAGS'
36465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36472 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36473 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36474 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36475 do :
36476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36479 cat >>confdefs.h <<_ACEOF
36480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36481 _ACEOF
36484 done
36493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36494 $as_echo_n "checking for float round functions... " >&6; }
36495 if ${glibcxx_cv_func_float_round_use+:} false; then :
36496 $as_echo_n "(cached) " >&6
36497 else
36500 ac_ext=cpp
36501 ac_cpp='$CXXCPP $CPPFLAGS'
36502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36507 /* end confdefs.h. */
36508 #include <math.h>
36510 main ()
36512 ceilf (0); floorf (0);
36514 return 0;
36516 _ACEOF
36517 if ac_fn_cxx_try_compile "$LINENO"; then :
36518 glibcxx_cv_func_float_round_use=yes
36519 else
36520 glibcxx_cv_func_float_round_use=no
36522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523 ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36532 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36533 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36534 for ac_func in ceilf floorf
36535 do :
36536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36538 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36539 cat >>confdefs.h <<_ACEOF
36540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36541 _ACEOF
36544 done
36546 else
36547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36548 $as_echo_n "checking for _float round functions... " >&6; }
36549 if ${glibcxx_cv_func__float_round_use+:} false; then :
36550 $as_echo_n "(cached) " >&6
36551 else
36554 ac_ext=cpp
36555 ac_cpp='$CXXCPP $CPPFLAGS'
36556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36561 /* end confdefs.h. */
36562 #include <math.h>
36564 main ()
36566 _ceilf (0); _floorf (0);
36568 return 0;
36570 _ACEOF
36571 if ac_fn_cxx_try_compile "$LINENO"; then :
36572 glibcxx_cv_func__float_round_use=yes
36573 else
36574 glibcxx_cv_func__float_round_use=no
36576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36577 ac_ext=c
36578 ac_cpp='$CPP $CPPFLAGS'
36579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36586 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36587 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36588 for ac_func in _ceilf _floorf
36589 do :
36590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36593 cat >>confdefs.h <<_ACEOF
36594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36595 _ACEOF
36598 done
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36609 $as_echo_n "checking for expf declaration... " >&6; }
36610 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36611 if ${glibcxx_cv_func_expf_use+:} false; then :
36612 $as_echo_n "(cached) " >&6
36613 else
36616 ac_ext=cpp
36617 ac_cpp='$CXXCPP $CPPFLAGS'
36618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36623 /* end confdefs.h. */
36624 #include <math.h>
36625 #ifdef HAVE_IEEEFP_H
36626 #include <ieeefp.h>
36627 #endif
36630 main ()
36632 expf(0);
36634 return 0;
36636 _ACEOF
36637 if ac_fn_cxx_try_compile "$LINENO"; then :
36638 glibcxx_cv_func_expf_use=yes
36639 else
36640 glibcxx_cv_func_expf_use=no
36642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36643 ac_ext=c
36644 ac_cpp='$CPP $CPPFLAGS'
36645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36654 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36656 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36657 for ac_func in expf
36658 do :
36659 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36660 if test "x$ac_cv_func_expf" = xyes; then :
36661 cat >>confdefs.h <<_ACEOF
36662 #define HAVE_EXPF 1
36663 _ACEOF
36666 done
36668 else
36670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36671 $as_echo_n "checking for _expf declaration... " >&6; }
36672 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36673 if ${glibcxx_cv_func__expf_use+:} false; then :
36674 $as_echo_n "(cached) " >&6
36675 else
36678 ac_ext=cpp
36679 ac_cpp='$CXXCPP $CPPFLAGS'
36680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36685 /* end confdefs.h. */
36686 #include <math.h>
36687 #ifdef HAVE_IEEEFP_H
36688 #include <ieeefp.h>
36689 #endif
36692 main ()
36694 _expf(0);
36696 return 0;
36698 _ACEOF
36699 if ac_fn_cxx_try_compile "$LINENO"; then :
36700 glibcxx_cv_func__expf_use=yes
36701 else
36702 glibcxx_cv_func__expf_use=no
36704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36705 ac_ext=c
36706 ac_cpp='$CPP $CPPFLAGS'
36707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36716 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36718 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36719 for ac_func in _expf
36720 do :
36721 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36722 if test "x$ac_cv_func__expf" = xyes; then :
36723 cat >>confdefs.h <<_ACEOF
36724 #define HAVE__EXPF 1
36725 _ACEOF
36728 done
36737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36738 $as_echo_n "checking for isnanf declaration... " >&6; }
36739 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36740 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36741 $as_echo_n "(cached) " >&6
36742 else
36745 ac_ext=cpp
36746 ac_cpp='$CXXCPP $CPPFLAGS'
36747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36752 /* end confdefs.h. */
36753 #include <math.h>
36754 #ifdef HAVE_IEEEFP_H
36755 #include <ieeefp.h>
36756 #endif
36759 main ()
36761 isnanf(0);
36763 return 0;
36765 _ACEOF
36766 if ac_fn_cxx_try_compile "$LINENO"; then :
36767 glibcxx_cv_func_isnanf_use=yes
36768 else
36769 glibcxx_cv_func_isnanf_use=no
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36772 ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36783 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36785 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36786 for ac_func in isnanf
36787 do :
36788 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36789 if test "x$ac_cv_func_isnanf" = xyes; then :
36790 cat >>confdefs.h <<_ACEOF
36791 #define HAVE_ISNANF 1
36792 _ACEOF
36795 done
36797 else
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36800 $as_echo_n "checking for _isnanf declaration... " >&6; }
36801 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36802 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36803 $as_echo_n "(cached) " >&6
36804 else
36807 ac_ext=cpp
36808 ac_cpp='$CXXCPP $CPPFLAGS'
36809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36814 /* end confdefs.h. */
36815 #include <math.h>
36816 #ifdef HAVE_IEEEFP_H
36817 #include <ieeefp.h>
36818 #endif
36821 main ()
36823 _isnanf(0);
36825 return 0;
36827 _ACEOF
36828 if ac_fn_cxx_try_compile "$LINENO"; then :
36829 glibcxx_cv_func__isnanf_use=yes
36830 else
36831 glibcxx_cv_func__isnanf_use=no
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834 ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36845 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36847 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36848 for ac_func in _isnanf
36849 do :
36850 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36851 if test "x$ac_cv_func__isnanf" = xyes; then :
36852 cat >>confdefs.h <<_ACEOF
36853 #define HAVE__ISNANF 1
36854 _ACEOF
36857 done
36866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36867 $as_echo_n "checking for isinff declaration... " >&6; }
36868 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36869 if ${glibcxx_cv_func_isinff_use+:} false; then :
36870 $as_echo_n "(cached) " >&6
36871 else
36874 ac_ext=cpp
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36881 /* end confdefs.h. */
36882 #include <math.h>
36883 #ifdef HAVE_IEEEFP_H
36884 #include <ieeefp.h>
36885 #endif
36888 main ()
36890 isinff(0);
36892 return 0;
36894 _ACEOF
36895 if ac_fn_cxx_try_compile "$LINENO"; then :
36896 glibcxx_cv_func_isinff_use=yes
36897 else
36898 glibcxx_cv_func_isinff_use=no
36900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36901 ac_ext=c
36902 ac_cpp='$CPP $CPPFLAGS'
36903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36912 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36914 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36915 for ac_func in isinff
36916 do :
36917 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36918 if test "x$ac_cv_func_isinff" = xyes; then :
36919 cat >>confdefs.h <<_ACEOF
36920 #define HAVE_ISINFF 1
36921 _ACEOF
36924 done
36926 else
36928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36929 $as_echo_n "checking for _isinff declaration... " >&6; }
36930 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36931 if ${glibcxx_cv_func__isinff_use+:} false; then :
36932 $as_echo_n "(cached) " >&6
36933 else
36936 ac_ext=cpp
36937 ac_cpp='$CXXCPP $CPPFLAGS'
36938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36943 /* end confdefs.h. */
36944 #include <math.h>
36945 #ifdef HAVE_IEEEFP_H
36946 #include <ieeefp.h>
36947 #endif
36950 main ()
36952 _isinff(0);
36954 return 0;
36956 _ACEOF
36957 if ac_fn_cxx_try_compile "$LINENO"; then :
36958 glibcxx_cv_func__isinff_use=yes
36959 else
36960 glibcxx_cv_func__isinff_use=no
36962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36963 ac_ext=c
36964 ac_cpp='$CPP $CPPFLAGS'
36965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36974 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36976 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36977 for ac_func in _isinff
36978 do :
36979 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36980 if test "x$ac_cv_func__isinff" = xyes; then :
36981 cat >>confdefs.h <<_ACEOF
36982 #define HAVE__ISINFF 1
36983 _ACEOF
36986 done
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36996 $as_echo_n "checking for atan2f declaration... " >&6; }
36997 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36998 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36999 $as_echo_n "(cached) " >&6
37000 else
37003 ac_ext=cpp
37004 ac_cpp='$CXXCPP $CPPFLAGS'
37005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37010 /* end confdefs.h. */
37011 #include <math.h>
37013 main ()
37015 atan2f(0, 0);
37017 return 0;
37019 _ACEOF
37020 if ac_fn_cxx_try_compile "$LINENO"; then :
37021 glibcxx_cv_func_atan2f_use=yes
37022 else
37023 glibcxx_cv_func_atan2f_use=no
37025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37026 ac_ext=c
37027 ac_cpp='$CPP $CPPFLAGS'
37028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37037 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37039 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37040 for ac_func in atan2f
37041 do :
37042 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37043 if test "x$ac_cv_func_atan2f" = xyes; then :
37044 cat >>confdefs.h <<_ACEOF
37045 #define HAVE_ATAN2F 1
37046 _ACEOF
37049 done
37051 else
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37054 $as_echo_n "checking for _atan2f declaration... " >&6; }
37055 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37056 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37057 $as_echo_n "(cached) " >&6
37058 else
37061 ac_ext=cpp
37062 ac_cpp='$CXXCPP $CPPFLAGS'
37063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37068 /* end confdefs.h. */
37069 #include <math.h>
37071 main ()
37073 _atan2f(0, 0);
37075 return 0;
37077 _ACEOF
37078 if ac_fn_cxx_try_compile "$LINENO"; then :
37079 glibcxx_cv_func__atan2f_use=yes
37080 else
37081 glibcxx_cv_func__atan2f_use=no
37083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37084 ac_ext=c
37085 ac_cpp='$CPP $CPPFLAGS'
37086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37095 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37097 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37098 for ac_func in _atan2f
37099 do :
37100 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37101 if test "x$ac_cv_func__atan2f" = xyes; then :
37102 cat >>confdefs.h <<_ACEOF
37103 #define HAVE__ATAN2F 1
37104 _ACEOF
37107 done
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37117 $as_echo_n "checking for fabsf declaration... " >&6; }
37118 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37119 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37120 $as_echo_n "(cached) " >&6
37121 else
37124 ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37131 /* end confdefs.h. */
37132 #include <math.h>
37133 #ifdef HAVE_IEEEFP_H
37134 #include <ieeefp.h>
37135 #endif
37138 main ()
37140 fabsf(0);
37142 return 0;
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 glibcxx_cv_func_fabsf_use=yes
37147 else
37148 glibcxx_cv_func_fabsf_use=no
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37162 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37164 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37165 for ac_func in fabsf
37166 do :
37167 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37168 if test "x$ac_cv_func_fabsf" = xyes; then :
37169 cat >>confdefs.h <<_ACEOF
37170 #define HAVE_FABSF 1
37171 _ACEOF
37174 done
37176 else
37178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37179 $as_echo_n "checking for _fabsf declaration... " >&6; }
37180 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37181 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37182 $as_echo_n "(cached) " >&6
37183 else
37186 ac_ext=cpp
37187 ac_cpp='$CXXCPP $CPPFLAGS'
37188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37193 /* end confdefs.h. */
37194 #include <math.h>
37195 #ifdef HAVE_IEEEFP_H
37196 #include <ieeefp.h>
37197 #endif
37200 main ()
37202 _fabsf(0);
37204 return 0;
37206 _ACEOF
37207 if ac_fn_cxx_try_compile "$LINENO"; then :
37208 glibcxx_cv_func__fabsf_use=yes
37209 else
37210 glibcxx_cv_func__fabsf_use=no
37212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37213 ac_ext=c
37214 ac_cpp='$CPP $CPPFLAGS'
37215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37224 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37226 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37227 for ac_func in _fabsf
37228 do :
37229 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37230 if test "x$ac_cv_func__fabsf" = xyes; then :
37231 cat >>confdefs.h <<_ACEOF
37232 #define HAVE__FABSF 1
37233 _ACEOF
37236 done
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37246 $as_echo_n "checking for fmodf declaration... " >&6; }
37247 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37248 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37249 $as_echo_n "(cached) " >&6
37250 else
37253 ac_ext=cpp
37254 ac_cpp='$CXXCPP $CPPFLAGS'
37255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37260 /* end confdefs.h. */
37261 #include <math.h>
37263 main ()
37265 fmodf(0, 0);
37267 return 0;
37269 _ACEOF
37270 if ac_fn_cxx_try_compile "$LINENO"; then :
37271 glibcxx_cv_func_fmodf_use=yes
37272 else
37273 glibcxx_cv_func_fmodf_use=no
37275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37276 ac_ext=c
37277 ac_cpp='$CPP $CPPFLAGS'
37278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37287 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37289 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37290 for ac_func in fmodf
37291 do :
37292 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37293 if test "x$ac_cv_func_fmodf" = xyes; then :
37294 cat >>confdefs.h <<_ACEOF
37295 #define HAVE_FMODF 1
37296 _ACEOF
37299 done
37301 else
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37304 $as_echo_n "checking for _fmodf declaration... " >&6; }
37305 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37306 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37307 $as_echo_n "(cached) " >&6
37308 else
37311 ac_ext=cpp
37312 ac_cpp='$CXXCPP $CPPFLAGS'
37313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37318 /* end confdefs.h. */
37319 #include <math.h>
37321 main ()
37323 _fmodf(0, 0);
37325 return 0;
37327 _ACEOF
37328 if ac_fn_cxx_try_compile "$LINENO"; then :
37329 glibcxx_cv_func__fmodf_use=yes
37330 else
37331 glibcxx_cv_func__fmodf_use=no
37333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334 ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37345 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37347 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37348 for ac_func in _fmodf
37349 do :
37350 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37351 if test "x$ac_cv_func__fmodf" = xyes; then :
37352 cat >>confdefs.h <<_ACEOF
37353 #define HAVE__FMODF 1
37354 _ACEOF
37357 done
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37367 $as_echo_n "checking for frexpf declaration... " >&6; }
37368 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37369 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37370 $as_echo_n "(cached) " >&6
37371 else
37374 ac_ext=cpp
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37381 /* end confdefs.h. */
37382 #include <math.h>
37384 main ()
37386 frexpf(0, 0);
37388 return 0;
37390 _ACEOF
37391 if ac_fn_cxx_try_compile "$LINENO"; then :
37392 glibcxx_cv_func_frexpf_use=yes
37393 else
37394 glibcxx_cv_func_frexpf_use=no
37396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37397 ac_ext=c
37398 ac_cpp='$CPP $CPPFLAGS'
37399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37408 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37410 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37411 for ac_func in frexpf
37412 do :
37413 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37414 if test "x$ac_cv_func_frexpf" = xyes; then :
37415 cat >>confdefs.h <<_ACEOF
37416 #define HAVE_FREXPF 1
37417 _ACEOF
37420 done
37422 else
37424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37425 $as_echo_n "checking for _frexpf declaration... " >&6; }
37426 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37427 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37428 $as_echo_n "(cached) " >&6
37429 else
37432 ac_ext=cpp
37433 ac_cpp='$CXXCPP $CPPFLAGS'
37434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439 /* end confdefs.h. */
37440 #include <math.h>
37442 main ()
37444 _frexpf(0, 0);
37446 return 0;
37448 _ACEOF
37449 if ac_fn_cxx_try_compile "$LINENO"; then :
37450 glibcxx_cv_func__frexpf_use=yes
37451 else
37452 glibcxx_cv_func__frexpf_use=no
37454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37455 ac_ext=c
37456 ac_cpp='$CPP $CPPFLAGS'
37457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37466 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37468 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37469 for ac_func in _frexpf
37470 do :
37471 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37472 if test "x$ac_cv_func__frexpf" = xyes; then :
37473 cat >>confdefs.h <<_ACEOF
37474 #define HAVE__FREXPF 1
37475 _ACEOF
37478 done
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37488 $as_echo_n "checking for hypotf declaration... " >&6; }
37489 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37490 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37491 $as_echo_n "(cached) " >&6
37492 else
37495 ac_ext=cpp
37496 ac_cpp='$CXXCPP $CPPFLAGS'
37497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37502 /* end confdefs.h. */
37503 #include <math.h>
37505 main ()
37507 hypotf(0, 0);
37509 return 0;
37511 _ACEOF
37512 if ac_fn_cxx_try_compile "$LINENO"; then :
37513 glibcxx_cv_func_hypotf_use=yes
37514 else
37515 glibcxx_cv_func_hypotf_use=no
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37518 ac_ext=c
37519 ac_cpp='$CPP $CPPFLAGS'
37520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37529 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37531 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37532 for ac_func in hypotf
37533 do :
37534 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37535 if test "x$ac_cv_func_hypotf" = xyes; then :
37536 cat >>confdefs.h <<_ACEOF
37537 #define HAVE_HYPOTF 1
37538 _ACEOF
37541 done
37543 else
37545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37546 $as_echo_n "checking for _hypotf declaration... " >&6; }
37547 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37548 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37549 $as_echo_n "(cached) " >&6
37550 else
37553 ac_ext=cpp
37554 ac_cpp='$CXXCPP $CPPFLAGS'
37555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37560 /* end confdefs.h. */
37561 #include <math.h>
37563 main ()
37565 _hypotf(0, 0);
37567 return 0;
37569 _ACEOF
37570 if ac_fn_cxx_try_compile "$LINENO"; then :
37571 glibcxx_cv_func__hypotf_use=yes
37572 else
37573 glibcxx_cv_func__hypotf_use=no
37575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37576 ac_ext=c
37577 ac_cpp='$CPP $CPPFLAGS'
37578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37587 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37589 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37590 for ac_func in _hypotf
37591 do :
37592 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37593 if test "x$ac_cv_func__hypotf" = xyes; then :
37594 cat >>confdefs.h <<_ACEOF
37595 #define HAVE__HYPOTF 1
37596 _ACEOF
37599 done
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37609 $as_echo_n "checking for ldexpf declaration... " >&6; }
37610 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37611 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37612 $as_echo_n "(cached) " >&6
37613 else
37616 ac_ext=cpp
37617 ac_cpp='$CXXCPP $CPPFLAGS'
37618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37623 /* end confdefs.h. */
37624 #include <math.h>
37626 main ()
37628 ldexpf(0, 0);
37630 return 0;
37632 _ACEOF
37633 if ac_fn_cxx_try_compile "$LINENO"; then :
37634 glibcxx_cv_func_ldexpf_use=yes
37635 else
37636 glibcxx_cv_func_ldexpf_use=no
37638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37639 ac_ext=c
37640 ac_cpp='$CPP $CPPFLAGS'
37641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37650 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37652 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37653 for ac_func in ldexpf
37654 do :
37655 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37656 if test "x$ac_cv_func_ldexpf" = xyes; then :
37657 cat >>confdefs.h <<_ACEOF
37658 #define HAVE_LDEXPF 1
37659 _ACEOF
37662 done
37664 else
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37667 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37668 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37669 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37670 $as_echo_n "(cached) " >&6
37671 else
37674 ac_ext=cpp
37675 ac_cpp='$CXXCPP $CPPFLAGS'
37676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37681 /* end confdefs.h. */
37682 #include <math.h>
37684 main ()
37686 _ldexpf(0, 0);
37688 return 0;
37690 _ACEOF
37691 if ac_fn_cxx_try_compile "$LINENO"; then :
37692 glibcxx_cv_func__ldexpf_use=yes
37693 else
37694 glibcxx_cv_func__ldexpf_use=no
37696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37697 ac_ext=c
37698 ac_cpp='$CPP $CPPFLAGS'
37699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37708 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37710 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37711 for ac_func in _ldexpf
37712 do :
37713 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37714 if test "x$ac_cv_func__ldexpf" = xyes; then :
37715 cat >>confdefs.h <<_ACEOF
37716 #define HAVE__LDEXPF 1
37717 _ACEOF
37720 done
37729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37730 $as_echo_n "checking for logf declaration... " >&6; }
37731 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37732 if ${glibcxx_cv_func_logf_use+:} false; then :
37733 $as_echo_n "(cached) " >&6
37734 else
37737 ac_ext=cpp
37738 ac_cpp='$CXXCPP $CPPFLAGS'
37739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37744 /* end confdefs.h. */
37745 #include <math.h>
37746 #ifdef HAVE_IEEEFP_H
37747 #include <ieeefp.h>
37748 #endif
37751 main ()
37753 logf(0);
37755 return 0;
37757 _ACEOF
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func_logf_use=yes
37760 else
37761 glibcxx_cv_func_logf_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37764 ac_ext=c
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37775 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37777 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37778 for ac_func in logf
37779 do :
37780 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37781 if test "x$ac_cv_func_logf" = xyes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE_LOGF 1
37784 _ACEOF
37787 done
37789 else
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37792 $as_echo_n "checking for _logf declaration... " >&6; }
37793 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37794 if ${glibcxx_cv_func__logf_use+:} false; then :
37795 $as_echo_n "(cached) " >&6
37796 else
37799 ac_ext=cpp
37800 ac_cpp='$CXXCPP $CPPFLAGS'
37801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37806 /* end confdefs.h. */
37807 #include <math.h>
37808 #ifdef HAVE_IEEEFP_H
37809 #include <ieeefp.h>
37810 #endif
37813 main ()
37815 _logf(0);
37817 return 0;
37819 _ACEOF
37820 if ac_fn_cxx_try_compile "$LINENO"; then :
37821 glibcxx_cv_func__logf_use=yes
37822 else
37823 glibcxx_cv_func__logf_use=no
37825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37826 ac_ext=c
37827 ac_cpp='$CPP $CPPFLAGS'
37828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37837 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37839 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37840 for ac_func in _logf
37841 do :
37842 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37843 if test "x$ac_cv_func__logf" = xyes; then :
37844 cat >>confdefs.h <<_ACEOF
37845 #define HAVE__LOGF 1
37846 _ACEOF
37849 done
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37859 $as_echo_n "checking for log10f declaration... " >&6; }
37860 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37861 if ${glibcxx_cv_func_log10f_use+:} false; then :
37862 $as_echo_n "(cached) " >&6
37863 else
37866 ac_ext=cpp
37867 ac_cpp='$CXXCPP $CPPFLAGS'
37868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37873 /* end confdefs.h. */
37874 #include <math.h>
37875 #ifdef HAVE_IEEEFP_H
37876 #include <ieeefp.h>
37877 #endif
37880 main ()
37882 log10f(0);
37884 return 0;
37886 _ACEOF
37887 if ac_fn_cxx_try_compile "$LINENO"; then :
37888 glibcxx_cv_func_log10f_use=yes
37889 else
37890 glibcxx_cv_func_log10f_use=no
37892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37893 ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37904 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37906 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37907 for ac_func in log10f
37908 do :
37909 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37910 if test "x$ac_cv_func_log10f" = xyes; then :
37911 cat >>confdefs.h <<_ACEOF
37912 #define HAVE_LOG10F 1
37913 _ACEOF
37916 done
37918 else
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37921 $as_echo_n "checking for _log10f declaration... " >&6; }
37922 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37923 if ${glibcxx_cv_func__log10f_use+:} false; then :
37924 $as_echo_n "(cached) " >&6
37925 else
37928 ac_ext=cpp
37929 ac_cpp='$CXXCPP $CPPFLAGS'
37930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37935 /* end confdefs.h. */
37936 #include <math.h>
37937 #ifdef HAVE_IEEEFP_H
37938 #include <ieeefp.h>
37939 #endif
37942 main ()
37944 _log10f(0);
37946 return 0;
37948 _ACEOF
37949 if ac_fn_cxx_try_compile "$LINENO"; then :
37950 glibcxx_cv_func__log10f_use=yes
37951 else
37952 glibcxx_cv_func__log10f_use=no
37954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37955 ac_ext=c
37956 ac_cpp='$CPP $CPPFLAGS'
37957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37966 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37968 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37969 for ac_func in _log10f
37970 do :
37971 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37972 if test "x$ac_cv_func__log10f" = xyes; then :
37973 cat >>confdefs.h <<_ACEOF
37974 #define HAVE__LOG10F 1
37975 _ACEOF
37978 done
37987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37988 $as_echo_n "checking for modff declaration... " >&6; }
37989 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37990 if ${glibcxx_cv_func_modff_use+:} false; then :
37991 $as_echo_n "(cached) " >&6
37992 else
37995 ac_ext=cpp
37996 ac_cpp='$CXXCPP $CPPFLAGS'
37997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38002 /* end confdefs.h. */
38003 #include <math.h>
38005 main ()
38007 modff(0, 0);
38009 return 0;
38011 _ACEOF
38012 if ac_fn_cxx_try_compile "$LINENO"; then :
38013 glibcxx_cv_func_modff_use=yes
38014 else
38015 glibcxx_cv_func_modff_use=no
38017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38018 ac_ext=c
38019 ac_cpp='$CPP $CPPFLAGS'
38020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38029 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38031 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38032 for ac_func in modff
38033 do :
38034 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38035 if test "x$ac_cv_func_modff" = xyes; then :
38036 cat >>confdefs.h <<_ACEOF
38037 #define HAVE_MODFF 1
38038 _ACEOF
38041 done
38043 else
38045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38046 $as_echo_n "checking for _modff declaration... " >&6; }
38047 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38048 if ${glibcxx_cv_func__modff_use+:} false; then :
38049 $as_echo_n "(cached) " >&6
38050 else
38053 ac_ext=cpp
38054 ac_cpp='$CXXCPP $CPPFLAGS'
38055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38060 /* end confdefs.h. */
38061 #include <math.h>
38063 main ()
38065 _modff(0, 0);
38067 return 0;
38069 _ACEOF
38070 if ac_fn_cxx_try_compile "$LINENO"; then :
38071 glibcxx_cv_func__modff_use=yes
38072 else
38073 glibcxx_cv_func__modff_use=no
38075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38076 ac_ext=c
38077 ac_cpp='$CPP $CPPFLAGS'
38078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38087 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38089 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38090 for ac_func in _modff
38091 do :
38092 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38093 if test "x$ac_cv_func__modff" = xyes; then :
38094 cat >>confdefs.h <<_ACEOF
38095 #define HAVE__MODFF 1
38096 _ACEOF
38099 done
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38109 $as_echo_n "checking for modf declaration... " >&6; }
38110 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38111 if ${glibcxx_cv_func_modf_use+:} false; then :
38112 $as_echo_n "(cached) " >&6
38113 else
38116 ac_ext=cpp
38117 ac_cpp='$CXXCPP $CPPFLAGS'
38118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38123 /* end confdefs.h. */
38124 #include <math.h>
38126 main ()
38128 modf(0, 0);
38130 return 0;
38132 _ACEOF
38133 if ac_fn_cxx_try_compile "$LINENO"; then :
38134 glibcxx_cv_func_modf_use=yes
38135 else
38136 glibcxx_cv_func_modf_use=no
38138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38139 ac_ext=c
38140 ac_cpp='$CPP $CPPFLAGS'
38141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38150 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38152 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38153 for ac_func in modf
38154 do :
38155 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38156 if test "x$ac_cv_func_modf" = xyes; then :
38157 cat >>confdefs.h <<_ACEOF
38158 #define HAVE_MODF 1
38159 _ACEOF
38162 done
38164 else
38166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38167 $as_echo_n "checking for _modf declaration... " >&6; }
38168 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38169 if ${glibcxx_cv_func__modf_use+:} false; then :
38170 $as_echo_n "(cached) " >&6
38171 else
38174 ac_ext=cpp
38175 ac_cpp='$CXXCPP $CPPFLAGS'
38176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38181 /* end confdefs.h. */
38182 #include <math.h>
38184 main ()
38186 _modf(0, 0);
38188 return 0;
38190 _ACEOF
38191 if ac_fn_cxx_try_compile "$LINENO"; then :
38192 glibcxx_cv_func__modf_use=yes
38193 else
38194 glibcxx_cv_func__modf_use=no
38196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38197 ac_ext=c
38198 ac_cpp='$CPP $CPPFLAGS'
38199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38208 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38210 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38211 for ac_func in _modf
38212 do :
38213 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38214 if test "x$ac_cv_func__modf" = xyes; then :
38215 cat >>confdefs.h <<_ACEOF
38216 #define HAVE__MODF 1
38217 _ACEOF
38220 done
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38230 $as_echo_n "checking for powf declaration... " >&6; }
38231 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38232 if ${glibcxx_cv_func_powf_use+:} false; then :
38233 $as_echo_n "(cached) " >&6
38234 else
38237 ac_ext=cpp
38238 ac_cpp='$CXXCPP $CPPFLAGS'
38239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h. */
38245 #include <math.h>
38247 main ()
38249 powf(0, 0);
38251 return 0;
38253 _ACEOF
38254 if ac_fn_cxx_try_compile "$LINENO"; then :
38255 glibcxx_cv_func_powf_use=yes
38256 else
38257 glibcxx_cv_func_powf_use=no
38259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38260 ac_ext=c
38261 ac_cpp='$CPP $CPPFLAGS'
38262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38271 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38273 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38274 for ac_func in powf
38275 do :
38276 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38277 if test "x$ac_cv_func_powf" = xyes; then :
38278 cat >>confdefs.h <<_ACEOF
38279 #define HAVE_POWF 1
38280 _ACEOF
38283 done
38285 else
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38288 $as_echo_n "checking for _powf declaration... " >&6; }
38289 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38290 if ${glibcxx_cv_func__powf_use+:} false; then :
38291 $as_echo_n "(cached) " >&6
38292 else
38295 ac_ext=cpp
38296 ac_cpp='$CXXCPP $CPPFLAGS'
38297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38302 /* end confdefs.h. */
38303 #include <math.h>
38305 main ()
38307 _powf(0, 0);
38309 return 0;
38311 _ACEOF
38312 if ac_fn_cxx_try_compile "$LINENO"; then :
38313 glibcxx_cv_func__powf_use=yes
38314 else
38315 glibcxx_cv_func__powf_use=no
38317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38318 ac_ext=c
38319 ac_cpp='$CPP $CPPFLAGS'
38320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38329 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38331 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38332 for ac_func in _powf
38333 do :
38334 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38335 if test "x$ac_cv_func__powf" = xyes; then :
38336 cat >>confdefs.h <<_ACEOF
38337 #define HAVE__POWF 1
38338 _ACEOF
38341 done
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38351 $as_echo_n "checking for sqrtf declaration... " >&6; }
38352 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38353 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38354 $as_echo_n "(cached) " >&6
38355 else
38358 ac_ext=cpp
38359 ac_cpp='$CXXCPP $CPPFLAGS'
38360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38365 /* end confdefs.h. */
38366 #include <math.h>
38367 #ifdef HAVE_IEEEFP_H
38368 #include <ieeefp.h>
38369 #endif
38372 main ()
38374 sqrtf(0);
38376 return 0;
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func_sqrtf_use=yes
38381 else
38382 glibcxx_cv_func_sqrtf_use=no
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38396 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38398 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38399 for ac_func in sqrtf
38400 do :
38401 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38402 if test "x$ac_cv_func_sqrtf" = xyes; then :
38403 cat >>confdefs.h <<_ACEOF
38404 #define HAVE_SQRTF 1
38405 _ACEOF
38408 done
38410 else
38412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38413 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38414 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38415 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38416 $as_echo_n "(cached) " >&6
38417 else
38420 ac_ext=cpp
38421 ac_cpp='$CXXCPP $CPPFLAGS'
38422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38427 /* end confdefs.h. */
38428 #include <math.h>
38429 #ifdef HAVE_IEEEFP_H
38430 #include <ieeefp.h>
38431 #endif
38434 main ()
38436 _sqrtf(0);
38438 return 0;
38440 _ACEOF
38441 if ac_fn_cxx_try_compile "$LINENO"; then :
38442 glibcxx_cv_func__sqrtf_use=yes
38443 else
38444 glibcxx_cv_func__sqrtf_use=no
38446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38447 ac_ext=c
38448 ac_cpp='$CPP $CPPFLAGS'
38449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38458 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38460 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38461 for ac_func in _sqrtf
38462 do :
38463 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38464 if test "x$ac_cv_func__sqrtf" = xyes; then :
38465 cat >>confdefs.h <<_ACEOF
38466 #define HAVE__SQRTF 1
38467 _ACEOF
38470 done
38479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38480 $as_echo_n "checking for sincosf declaration... " >&6; }
38481 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38482 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38483 $as_echo_n "(cached) " >&6
38484 else
38487 ac_ext=cpp
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38494 /* end confdefs.h. */
38495 #include <math.h>
38497 main ()
38499 sincosf(0, 0, 0);
38501 return 0;
38503 _ACEOF
38504 if ac_fn_cxx_try_compile "$LINENO"; then :
38505 glibcxx_cv_func_sincosf_use=yes
38506 else
38507 glibcxx_cv_func_sincosf_use=no
38509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38510 ac_ext=c
38511 ac_cpp='$CPP $CPPFLAGS'
38512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38521 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38523 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38524 for ac_func in sincosf
38525 do :
38526 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38527 if test "x$ac_cv_func_sincosf" = xyes; then :
38528 cat >>confdefs.h <<_ACEOF
38529 #define HAVE_SINCOSF 1
38530 _ACEOF
38533 done
38535 else
38537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38538 $as_echo_n "checking for _sincosf declaration... " >&6; }
38539 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38540 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38541 $as_echo_n "(cached) " >&6
38542 else
38545 ac_ext=cpp
38546 ac_cpp='$CXXCPP $CPPFLAGS'
38547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38552 /* end confdefs.h. */
38553 #include <math.h>
38555 main ()
38557 _sincosf(0, 0, 0);
38559 return 0;
38561 _ACEOF
38562 if ac_fn_cxx_try_compile "$LINENO"; then :
38563 glibcxx_cv_func__sincosf_use=yes
38564 else
38565 glibcxx_cv_func__sincosf_use=no
38567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38568 ac_ext=c
38569 ac_cpp='$CPP $CPPFLAGS'
38570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38579 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38581 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38582 for ac_func in _sincosf
38583 do :
38584 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38585 if test "x$ac_cv_func__sincosf" = xyes; then :
38586 cat >>confdefs.h <<_ACEOF
38587 #define HAVE__SINCOSF 1
38588 _ACEOF
38591 done
38600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38601 $as_echo_n "checking for finitef declaration... " >&6; }
38602 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38603 if ${glibcxx_cv_func_finitef_use+:} false; then :
38604 $as_echo_n "(cached) " >&6
38605 else
38608 ac_ext=cpp
38609 ac_cpp='$CXXCPP $CPPFLAGS'
38610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38615 /* end confdefs.h. */
38616 #include <math.h>
38617 #ifdef HAVE_IEEEFP_H
38618 #include <ieeefp.h>
38619 #endif
38622 main ()
38624 finitef(0);
38626 return 0;
38628 _ACEOF
38629 if ac_fn_cxx_try_compile "$LINENO"; then :
38630 glibcxx_cv_func_finitef_use=yes
38631 else
38632 glibcxx_cv_func_finitef_use=no
38634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_ext=c
38636 ac_cpp='$CPP $CPPFLAGS'
38637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38646 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38648 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38649 for ac_func in finitef
38650 do :
38651 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38652 if test "x$ac_cv_func_finitef" = xyes; then :
38653 cat >>confdefs.h <<_ACEOF
38654 #define HAVE_FINITEF 1
38655 _ACEOF
38658 done
38660 else
38662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38663 $as_echo_n "checking for _finitef declaration... " >&6; }
38664 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38665 if ${glibcxx_cv_func__finitef_use+:} false; then :
38666 $as_echo_n "(cached) " >&6
38667 else
38670 ac_ext=cpp
38671 ac_cpp='$CXXCPP $CPPFLAGS'
38672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38677 /* end confdefs.h. */
38678 #include <math.h>
38679 #ifdef HAVE_IEEEFP_H
38680 #include <ieeefp.h>
38681 #endif
38684 main ()
38686 _finitef(0);
38688 return 0;
38690 _ACEOF
38691 if ac_fn_cxx_try_compile "$LINENO"; then :
38692 glibcxx_cv_func__finitef_use=yes
38693 else
38694 glibcxx_cv_func__finitef_use=no
38696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38697 ac_ext=c
38698 ac_cpp='$CPP $CPPFLAGS'
38699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38708 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38710 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38711 for ac_func in _finitef
38712 do :
38713 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38714 if test "x$ac_cv_func__finitef" = xyes; then :
38715 cat >>confdefs.h <<_ACEOF
38716 #define HAVE__FINITEF 1
38717 _ACEOF
38720 done
38729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38730 $as_echo_n "checking for long double trig functions... " >&6; }
38731 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38732 $as_echo_n "(cached) " >&6
38733 else
38736 ac_ext=cpp
38737 ac_cpp='$CXXCPP $CPPFLAGS'
38738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38743 /* end confdefs.h. */
38744 #include <math.h>
38746 main ()
38748 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38750 return 0;
38752 _ACEOF
38753 if ac_fn_cxx_try_compile "$LINENO"; then :
38754 glibcxx_cv_func_long_double_trig_use=yes
38755 else
38756 glibcxx_cv_func_long_double_trig_use=no
38758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38759 ac_ext=c
38760 ac_cpp='$CPP $CPPFLAGS'
38761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38768 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38769 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38770 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38771 do :
38772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38774 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38775 cat >>confdefs.h <<_ACEOF
38776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38777 _ACEOF
38780 done
38782 else
38783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38784 $as_echo_n "checking for _long double trig functions... " >&6; }
38785 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38786 $as_echo_n "(cached) " >&6
38787 else
38790 ac_ext=cpp
38791 ac_cpp='$CXXCPP $CPPFLAGS'
38792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38797 /* end confdefs.h. */
38798 #include <math.h>
38800 main ()
38802 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38804 return 0;
38806 _ACEOF
38807 if ac_fn_cxx_try_compile "$LINENO"; then :
38808 glibcxx_cv_func__long_double_trig_use=yes
38809 else
38810 glibcxx_cv_func__long_double_trig_use=no
38812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38813 ac_ext=c
38814 ac_cpp='$CPP $CPPFLAGS'
38815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38822 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38823 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38824 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38825 do :
38826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38828 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38829 cat >>confdefs.h <<_ACEOF
38830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38831 _ACEOF
38834 done
38843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38844 $as_echo_n "checking for long double round functions... " >&6; }
38845 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38846 $as_echo_n "(cached) " >&6
38847 else
38850 ac_ext=cpp
38851 ac_cpp='$CXXCPP $CPPFLAGS'
38852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38857 /* end confdefs.h. */
38858 #include <math.h>
38860 main ()
38862 ceill (0); floorl (0);
38864 return 0;
38866 _ACEOF
38867 if ac_fn_cxx_try_compile "$LINENO"; then :
38868 glibcxx_cv_func_long_double_round_use=yes
38869 else
38870 glibcxx_cv_func_long_double_round_use=no
38872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38873 ac_ext=c
38874 ac_cpp='$CPP $CPPFLAGS'
38875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38882 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38883 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38884 for ac_func in ceill floorl
38885 do :
38886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38889 cat >>confdefs.h <<_ACEOF
38890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38891 _ACEOF
38894 done
38896 else
38897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38898 $as_echo_n "checking for _long double round functions... " >&6; }
38899 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38900 $as_echo_n "(cached) " >&6
38901 else
38904 ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38911 /* end confdefs.h. */
38912 #include <math.h>
38914 main ()
38916 _ceill (0); _floorl (0);
38918 return 0;
38920 _ACEOF
38921 if ac_fn_cxx_try_compile "$LINENO"; then :
38922 glibcxx_cv_func__long_double_round_use=yes
38923 else
38924 glibcxx_cv_func__long_double_round_use=no
38926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38927 ac_ext=c
38928 ac_cpp='$CPP $CPPFLAGS'
38929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38936 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38937 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38938 for ac_func in _ceill _floorl
38939 do :
38940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38943 cat >>confdefs.h <<_ACEOF
38944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38945 _ACEOF
38948 done
38958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38959 $as_echo_n "checking for isnanl declaration... " >&6; }
38960 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38961 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38962 $as_echo_n "(cached) " >&6
38963 else
38966 ac_ext=cpp
38967 ac_cpp='$CXXCPP $CPPFLAGS'
38968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38973 /* end confdefs.h. */
38974 #include <math.h>
38975 #ifdef HAVE_IEEEFP_H
38976 #include <ieeefp.h>
38977 #endif
38980 main ()
38982 isnanl(0);
38984 return 0;
38986 _ACEOF
38987 if ac_fn_cxx_try_compile "$LINENO"; then :
38988 glibcxx_cv_func_isnanl_use=yes
38989 else
38990 glibcxx_cv_func_isnanl_use=no
38992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38993 ac_ext=c
38994 ac_cpp='$CPP $CPPFLAGS'
38995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39004 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39006 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39007 for ac_func in isnanl
39008 do :
39009 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39010 if test "x$ac_cv_func_isnanl" = xyes; then :
39011 cat >>confdefs.h <<_ACEOF
39012 #define HAVE_ISNANL 1
39013 _ACEOF
39016 done
39018 else
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39021 $as_echo_n "checking for _isnanl declaration... " >&6; }
39022 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39023 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39024 $as_echo_n "(cached) " >&6
39025 else
39028 ac_ext=cpp
39029 ac_cpp='$CXXCPP $CPPFLAGS'
39030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39035 /* end confdefs.h. */
39036 #include <math.h>
39037 #ifdef HAVE_IEEEFP_H
39038 #include <ieeefp.h>
39039 #endif
39042 main ()
39044 _isnanl(0);
39046 return 0;
39048 _ACEOF
39049 if ac_fn_cxx_try_compile "$LINENO"; then :
39050 glibcxx_cv_func__isnanl_use=yes
39051 else
39052 glibcxx_cv_func__isnanl_use=no
39054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39055 ac_ext=c
39056 ac_cpp='$CPP $CPPFLAGS'
39057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39066 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39068 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39069 for ac_func in _isnanl
39070 do :
39071 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39072 if test "x$ac_cv_func__isnanl" = xyes; then :
39073 cat >>confdefs.h <<_ACEOF
39074 #define HAVE__ISNANL 1
39075 _ACEOF
39078 done
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39088 $as_echo_n "checking for isinfl declaration... " >&6; }
39089 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39090 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39091 $as_echo_n "(cached) " >&6
39092 else
39095 ac_ext=cpp
39096 ac_cpp='$CXXCPP $CPPFLAGS'
39097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 /* end confdefs.h. */
39103 #include <math.h>
39104 #ifdef HAVE_IEEEFP_H
39105 #include <ieeefp.h>
39106 #endif
39109 main ()
39111 isinfl(0);
39113 return 0;
39115 _ACEOF
39116 if ac_fn_cxx_try_compile "$LINENO"; then :
39117 glibcxx_cv_func_isinfl_use=yes
39118 else
39119 glibcxx_cv_func_isinfl_use=no
39121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39122 ac_ext=c
39123 ac_cpp='$CPP $CPPFLAGS'
39124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39133 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39135 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39136 for ac_func in isinfl
39137 do :
39138 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39139 if test "x$ac_cv_func_isinfl" = xyes; then :
39140 cat >>confdefs.h <<_ACEOF
39141 #define HAVE_ISINFL 1
39142 _ACEOF
39145 done
39147 else
39149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39150 $as_echo_n "checking for _isinfl declaration... " >&6; }
39151 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39152 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39153 $as_echo_n "(cached) " >&6
39154 else
39157 ac_ext=cpp
39158 ac_cpp='$CXXCPP $CPPFLAGS'
39159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39164 /* end confdefs.h. */
39165 #include <math.h>
39166 #ifdef HAVE_IEEEFP_H
39167 #include <ieeefp.h>
39168 #endif
39171 main ()
39173 _isinfl(0);
39175 return 0;
39177 _ACEOF
39178 if ac_fn_cxx_try_compile "$LINENO"; then :
39179 glibcxx_cv_func__isinfl_use=yes
39180 else
39181 glibcxx_cv_func__isinfl_use=no
39183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39184 ac_ext=c
39185 ac_cpp='$CPP $CPPFLAGS'
39186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39195 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39197 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39198 for ac_func in _isinfl
39199 do :
39200 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39201 if test "x$ac_cv_func__isinfl" = xyes; then :
39202 cat >>confdefs.h <<_ACEOF
39203 #define HAVE__ISINFL 1
39204 _ACEOF
39207 done
39216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39217 $as_echo_n "checking for atan2l declaration... " >&6; }
39218 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39219 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39220 $as_echo_n "(cached) " >&6
39221 else
39224 ac_ext=cpp
39225 ac_cpp='$CXXCPP $CPPFLAGS'
39226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39231 /* end confdefs.h. */
39232 #include <math.h>
39234 main ()
39236 atan2l(0, 0);
39238 return 0;
39240 _ACEOF
39241 if ac_fn_cxx_try_compile "$LINENO"; then :
39242 glibcxx_cv_func_atan2l_use=yes
39243 else
39244 glibcxx_cv_func_atan2l_use=no
39246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39247 ac_ext=c
39248 ac_cpp='$CPP $CPPFLAGS'
39249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39258 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39260 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39261 for ac_func in atan2l
39262 do :
39263 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39264 if test "x$ac_cv_func_atan2l" = xyes; then :
39265 cat >>confdefs.h <<_ACEOF
39266 #define HAVE_ATAN2L 1
39267 _ACEOF
39270 done
39272 else
39274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39275 $as_echo_n "checking for _atan2l declaration... " >&6; }
39276 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39277 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39278 $as_echo_n "(cached) " >&6
39279 else
39282 ac_ext=cpp
39283 ac_cpp='$CXXCPP $CPPFLAGS'
39284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39289 /* end confdefs.h. */
39290 #include <math.h>
39292 main ()
39294 _atan2l(0, 0);
39296 return 0;
39298 _ACEOF
39299 if ac_fn_cxx_try_compile "$LINENO"; then :
39300 glibcxx_cv_func__atan2l_use=yes
39301 else
39302 glibcxx_cv_func__atan2l_use=no
39304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39305 ac_ext=c
39306 ac_cpp='$CPP $CPPFLAGS'
39307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39316 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39318 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39319 for ac_func in _atan2l
39320 do :
39321 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39322 if test "x$ac_cv_func__atan2l" = xyes; then :
39323 cat >>confdefs.h <<_ACEOF
39324 #define HAVE__ATAN2L 1
39325 _ACEOF
39328 done
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39338 $as_echo_n "checking for expl declaration... " >&6; }
39339 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39340 if ${glibcxx_cv_func_expl_use+:} false; then :
39341 $as_echo_n "(cached) " >&6
39342 else
39345 ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h. */
39353 #include <math.h>
39354 #ifdef HAVE_IEEEFP_H
39355 #include <ieeefp.h>
39356 #endif
39359 main ()
39361 expl(0);
39363 return 0;
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func_expl_use=yes
39368 else
39369 glibcxx_cv_func_expl_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39383 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39385 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39386 for ac_func in expl
39387 do :
39388 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39389 if test "x$ac_cv_func_expl" = xyes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE_EXPL 1
39392 _ACEOF
39395 done
39397 else
39399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39400 $as_echo_n "checking for _expl declaration... " >&6; }
39401 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39402 if ${glibcxx_cv_func__expl_use+:} false; then :
39403 $as_echo_n "(cached) " >&6
39404 else
39407 ac_ext=cpp
39408 ac_cpp='$CXXCPP $CPPFLAGS'
39409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39414 /* end confdefs.h. */
39415 #include <math.h>
39416 #ifdef HAVE_IEEEFP_H
39417 #include <ieeefp.h>
39418 #endif
39421 main ()
39423 _expl(0);
39425 return 0;
39427 _ACEOF
39428 if ac_fn_cxx_try_compile "$LINENO"; then :
39429 glibcxx_cv_func__expl_use=yes
39430 else
39431 glibcxx_cv_func__expl_use=no
39433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39434 ac_ext=c
39435 ac_cpp='$CPP $CPPFLAGS'
39436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39445 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39447 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39448 for ac_func in _expl
39449 do :
39450 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39451 if test "x$ac_cv_func__expl" = xyes; then :
39452 cat >>confdefs.h <<_ACEOF
39453 #define HAVE__EXPL 1
39454 _ACEOF
39457 done
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39467 $as_echo_n "checking for fabsl declaration... " >&6; }
39468 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39469 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39483 #ifdef HAVE_IEEEFP_H
39484 #include <ieeefp.h>
39485 #endif
39488 main ()
39490 fabsl(0);
39492 return 0;
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496 glibcxx_cv_func_fabsl_use=yes
39497 else
39498 glibcxx_cv_func_fabsl_use=no
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501 ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39512 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39514 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39515 for ac_func in fabsl
39516 do :
39517 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39518 if test "x$ac_cv_func_fabsl" = xyes; then :
39519 cat >>confdefs.h <<_ACEOF
39520 #define HAVE_FABSL 1
39521 _ACEOF
39524 done
39526 else
39528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39529 $as_echo_n "checking for _fabsl declaration... " >&6; }
39530 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39531 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39532 $as_echo_n "(cached) " >&6
39533 else
39536 ac_ext=cpp
39537 ac_cpp='$CXXCPP $CPPFLAGS'
39538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39543 /* end confdefs.h. */
39544 #include <math.h>
39545 #ifdef HAVE_IEEEFP_H
39546 #include <ieeefp.h>
39547 #endif
39550 main ()
39552 _fabsl(0);
39554 return 0;
39556 _ACEOF
39557 if ac_fn_cxx_try_compile "$LINENO"; then :
39558 glibcxx_cv_func__fabsl_use=yes
39559 else
39560 glibcxx_cv_func__fabsl_use=no
39562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39563 ac_ext=c
39564 ac_cpp='$CPP $CPPFLAGS'
39565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39574 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39576 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39577 for ac_func in _fabsl
39578 do :
39579 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39580 if test "x$ac_cv_func__fabsl" = xyes; then :
39581 cat >>confdefs.h <<_ACEOF
39582 #define HAVE__FABSL 1
39583 _ACEOF
39586 done
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39596 $as_echo_n "checking for fmodl declaration... " >&6; }
39597 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39598 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39599 $as_echo_n "(cached) " >&6
39600 else
39603 ac_ext=cpp
39604 ac_cpp='$CXXCPP $CPPFLAGS'
39605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39610 /* end confdefs.h. */
39611 #include <math.h>
39613 main ()
39615 fmodl(0, 0);
39617 return 0;
39619 _ACEOF
39620 if ac_fn_cxx_try_compile "$LINENO"; then :
39621 glibcxx_cv_func_fmodl_use=yes
39622 else
39623 glibcxx_cv_func_fmodl_use=no
39625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39626 ac_ext=c
39627 ac_cpp='$CPP $CPPFLAGS'
39628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39637 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39639 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39640 for ac_func in fmodl
39641 do :
39642 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39643 if test "x$ac_cv_func_fmodl" = xyes; then :
39644 cat >>confdefs.h <<_ACEOF
39645 #define HAVE_FMODL 1
39646 _ACEOF
39649 done
39651 else
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39654 $as_echo_n "checking for _fmodl declaration... " >&6; }
39655 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39656 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39657 $as_echo_n "(cached) " >&6
39658 else
39661 ac_ext=cpp
39662 ac_cpp='$CXXCPP $CPPFLAGS'
39663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39668 /* end confdefs.h. */
39669 #include <math.h>
39671 main ()
39673 _fmodl(0, 0);
39675 return 0;
39677 _ACEOF
39678 if ac_fn_cxx_try_compile "$LINENO"; then :
39679 glibcxx_cv_func__fmodl_use=yes
39680 else
39681 glibcxx_cv_func__fmodl_use=no
39683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39684 ac_ext=c
39685 ac_cpp='$CPP $CPPFLAGS'
39686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39695 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39697 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39698 for ac_func in _fmodl
39699 do :
39700 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39701 if test "x$ac_cv_func__fmodl" = xyes; then :
39702 cat >>confdefs.h <<_ACEOF
39703 #define HAVE__FMODL 1
39704 _ACEOF
39707 done
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39717 $as_echo_n "checking for frexpl declaration... " >&6; }
39718 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39719 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39720 $as_echo_n "(cached) " >&6
39721 else
39724 ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h. */
39732 #include <math.h>
39734 main ()
39736 frexpl(0, 0);
39738 return 0;
39740 _ACEOF
39741 if ac_fn_cxx_try_compile "$LINENO"; then :
39742 glibcxx_cv_func_frexpl_use=yes
39743 else
39744 glibcxx_cv_func_frexpl_use=no
39746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39747 ac_ext=c
39748 ac_cpp='$CPP $CPPFLAGS'
39749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39758 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39760 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39761 for ac_func in frexpl
39762 do :
39763 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39764 if test "x$ac_cv_func_frexpl" = xyes; then :
39765 cat >>confdefs.h <<_ACEOF
39766 #define HAVE_FREXPL 1
39767 _ACEOF
39770 done
39772 else
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39775 $as_echo_n "checking for _frexpl declaration... " >&6; }
39776 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39777 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39778 $as_echo_n "(cached) " >&6
39779 else
39782 ac_ext=cpp
39783 ac_cpp='$CXXCPP $CPPFLAGS'
39784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39789 /* end confdefs.h. */
39790 #include <math.h>
39792 main ()
39794 _frexpl(0, 0);
39796 return 0;
39798 _ACEOF
39799 if ac_fn_cxx_try_compile "$LINENO"; then :
39800 glibcxx_cv_func__frexpl_use=yes
39801 else
39802 glibcxx_cv_func__frexpl_use=no
39804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39805 ac_ext=c
39806 ac_cpp='$CPP $CPPFLAGS'
39807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39816 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39818 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39819 for ac_func in _frexpl
39820 do :
39821 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39822 if test "x$ac_cv_func__frexpl" = xyes; then :
39823 cat >>confdefs.h <<_ACEOF
39824 #define HAVE__FREXPL 1
39825 _ACEOF
39828 done
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39838 $as_echo_n "checking for hypotl declaration... " >&6; }
39839 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39840 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39841 $as_echo_n "(cached) " >&6
39842 else
39845 ac_ext=cpp
39846 ac_cpp='$CXXCPP $CPPFLAGS'
39847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39852 /* end confdefs.h. */
39853 #include <math.h>
39855 main ()
39857 hypotl(0, 0);
39859 return 0;
39861 _ACEOF
39862 if ac_fn_cxx_try_compile "$LINENO"; then :
39863 glibcxx_cv_func_hypotl_use=yes
39864 else
39865 glibcxx_cv_func_hypotl_use=no
39867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39868 ac_ext=c
39869 ac_cpp='$CPP $CPPFLAGS'
39870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39879 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39881 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39882 for ac_func in hypotl
39883 do :
39884 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39885 if test "x$ac_cv_func_hypotl" = xyes; then :
39886 cat >>confdefs.h <<_ACEOF
39887 #define HAVE_HYPOTL 1
39888 _ACEOF
39891 done
39893 else
39895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39896 $as_echo_n "checking for _hypotl declaration... " >&6; }
39897 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39898 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39899 $as_echo_n "(cached) " >&6
39900 else
39903 ac_ext=cpp
39904 ac_cpp='$CXXCPP $CPPFLAGS'
39905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39910 /* end confdefs.h. */
39911 #include <math.h>
39913 main ()
39915 _hypotl(0, 0);
39917 return 0;
39919 _ACEOF
39920 if ac_fn_cxx_try_compile "$LINENO"; then :
39921 glibcxx_cv_func__hypotl_use=yes
39922 else
39923 glibcxx_cv_func__hypotl_use=no
39925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39926 ac_ext=c
39927 ac_cpp='$CPP $CPPFLAGS'
39928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39937 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39939 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39940 for ac_func in _hypotl
39941 do :
39942 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39943 if test "x$ac_cv_func__hypotl" = xyes; then :
39944 cat >>confdefs.h <<_ACEOF
39945 #define HAVE__HYPOTL 1
39946 _ACEOF
39949 done
39958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39959 $as_echo_n "checking for ldexpl declaration... " >&6; }
39960 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39961 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39962 $as_echo_n "(cached) " >&6
39963 else
39966 ac_ext=cpp
39967 ac_cpp='$CXXCPP $CPPFLAGS'
39968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39973 /* end confdefs.h. */
39974 #include <math.h>
39976 main ()
39978 ldexpl(0, 0);
39980 return 0;
39982 _ACEOF
39983 if ac_fn_cxx_try_compile "$LINENO"; then :
39984 glibcxx_cv_func_ldexpl_use=yes
39985 else
39986 glibcxx_cv_func_ldexpl_use=no
39988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39989 ac_ext=c
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40000 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40002 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40003 for ac_func in ldexpl
40004 do :
40005 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40006 if test "x$ac_cv_func_ldexpl" = xyes; then :
40007 cat >>confdefs.h <<_ACEOF
40008 #define HAVE_LDEXPL 1
40009 _ACEOF
40012 done
40014 else
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40017 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40018 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40019 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40020 $as_echo_n "(cached) " >&6
40021 else
40024 ac_ext=cpp
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031 /* end confdefs.h. */
40032 #include <math.h>
40034 main ()
40036 _ldexpl(0, 0);
40038 return 0;
40040 _ACEOF
40041 if ac_fn_cxx_try_compile "$LINENO"; then :
40042 glibcxx_cv_func__ldexpl_use=yes
40043 else
40044 glibcxx_cv_func__ldexpl_use=no
40046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40047 ac_ext=c
40048 ac_cpp='$CPP $CPPFLAGS'
40049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40058 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40060 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40061 for ac_func in _ldexpl
40062 do :
40063 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40064 if test "x$ac_cv_func__ldexpl" = xyes; then :
40065 cat >>confdefs.h <<_ACEOF
40066 #define HAVE__LDEXPL 1
40067 _ACEOF
40070 done
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40080 $as_echo_n "checking for logl declaration... " >&6; }
40081 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40082 if ${glibcxx_cv_func_logl_use+:} false; then :
40083 $as_echo_n "(cached) " >&6
40084 else
40087 ac_ext=cpp
40088 ac_cpp='$CXXCPP $CPPFLAGS'
40089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h. */
40095 #include <math.h>
40096 #ifdef HAVE_IEEEFP_H
40097 #include <ieeefp.h>
40098 #endif
40101 main ()
40103 logl(0);
40105 return 0;
40107 _ACEOF
40108 if ac_fn_cxx_try_compile "$LINENO"; then :
40109 glibcxx_cv_func_logl_use=yes
40110 else
40111 glibcxx_cv_func_logl_use=no
40113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40114 ac_ext=c
40115 ac_cpp='$CPP $CPPFLAGS'
40116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40125 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40127 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40128 for ac_func in logl
40129 do :
40130 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40131 if test "x$ac_cv_func_logl" = xyes; then :
40132 cat >>confdefs.h <<_ACEOF
40133 #define HAVE_LOGL 1
40134 _ACEOF
40137 done
40139 else
40141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40142 $as_echo_n "checking for _logl declaration... " >&6; }
40143 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40144 if ${glibcxx_cv_func__logl_use+:} false; then :
40145 $as_echo_n "(cached) " >&6
40146 else
40149 ac_ext=cpp
40150 ac_cpp='$CXXCPP $CPPFLAGS'
40151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40156 /* end confdefs.h. */
40157 #include <math.h>
40158 #ifdef HAVE_IEEEFP_H
40159 #include <ieeefp.h>
40160 #endif
40163 main ()
40165 _logl(0);
40167 return 0;
40169 _ACEOF
40170 if ac_fn_cxx_try_compile "$LINENO"; then :
40171 glibcxx_cv_func__logl_use=yes
40172 else
40173 glibcxx_cv_func__logl_use=no
40175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40176 ac_ext=c
40177 ac_cpp='$CPP $CPPFLAGS'
40178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40187 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40189 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40190 for ac_func in _logl
40191 do :
40192 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40193 if test "x$ac_cv_func__logl" = xyes; then :
40194 cat >>confdefs.h <<_ACEOF
40195 #define HAVE__LOGL 1
40196 _ACEOF
40199 done
40208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40209 $as_echo_n "checking for log10l declaration... " >&6; }
40210 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40211 if ${glibcxx_cv_func_log10l_use+:} false; then :
40212 $as_echo_n "(cached) " >&6
40213 else
40216 ac_ext=cpp
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40223 /* end confdefs.h. */
40224 #include <math.h>
40225 #ifdef HAVE_IEEEFP_H
40226 #include <ieeefp.h>
40227 #endif
40230 main ()
40232 log10l(0);
40234 return 0;
40236 _ACEOF
40237 if ac_fn_cxx_try_compile "$LINENO"; then :
40238 glibcxx_cv_func_log10l_use=yes
40239 else
40240 glibcxx_cv_func_log10l_use=no
40242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40243 ac_ext=c
40244 ac_cpp='$CPP $CPPFLAGS'
40245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40254 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40256 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40257 for ac_func in log10l
40258 do :
40259 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40260 if test "x$ac_cv_func_log10l" = xyes; then :
40261 cat >>confdefs.h <<_ACEOF
40262 #define HAVE_LOG10L 1
40263 _ACEOF
40266 done
40268 else
40270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40271 $as_echo_n "checking for _log10l declaration... " >&6; }
40272 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40273 if ${glibcxx_cv_func__log10l_use+:} false; then :
40274 $as_echo_n "(cached) " >&6
40275 else
40278 ac_ext=cpp
40279 ac_cpp='$CXXCPP $CPPFLAGS'
40280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40285 /* end confdefs.h. */
40286 #include <math.h>
40287 #ifdef HAVE_IEEEFP_H
40288 #include <ieeefp.h>
40289 #endif
40292 main ()
40294 _log10l(0);
40296 return 0;
40298 _ACEOF
40299 if ac_fn_cxx_try_compile "$LINENO"; then :
40300 glibcxx_cv_func__log10l_use=yes
40301 else
40302 glibcxx_cv_func__log10l_use=no
40304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40305 ac_ext=c
40306 ac_cpp='$CPP $CPPFLAGS'
40307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40316 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40318 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40319 for ac_func in _log10l
40320 do :
40321 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40322 if test "x$ac_cv_func__log10l" = xyes; then :
40323 cat >>confdefs.h <<_ACEOF
40324 #define HAVE__LOG10L 1
40325 _ACEOF
40328 done
40337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40338 $as_echo_n "checking for modfl declaration... " >&6; }
40339 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40340 if ${glibcxx_cv_func_modfl_use+:} false; then :
40341 $as_echo_n "(cached) " >&6
40342 else
40345 ac_ext=cpp
40346 ac_cpp='$CXXCPP $CPPFLAGS'
40347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40352 /* end confdefs.h. */
40353 #include <math.h>
40355 main ()
40357 modfl(0, 0);
40359 return 0;
40361 _ACEOF
40362 if ac_fn_cxx_try_compile "$LINENO"; then :
40363 glibcxx_cv_func_modfl_use=yes
40364 else
40365 glibcxx_cv_func_modfl_use=no
40367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40368 ac_ext=c
40369 ac_cpp='$CPP $CPPFLAGS'
40370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40379 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40381 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40382 for ac_func in modfl
40383 do :
40384 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40385 if test "x$ac_cv_func_modfl" = xyes; then :
40386 cat >>confdefs.h <<_ACEOF
40387 #define HAVE_MODFL 1
40388 _ACEOF
40391 done
40393 else
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40396 $as_echo_n "checking for _modfl declaration... " >&6; }
40397 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40398 if ${glibcxx_cv_func__modfl_use+:} false; then :
40399 $as_echo_n "(cached) " >&6
40400 else
40403 ac_ext=cpp
40404 ac_cpp='$CXXCPP $CPPFLAGS'
40405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40410 /* end confdefs.h. */
40411 #include <math.h>
40413 main ()
40415 _modfl(0, 0);
40417 return 0;
40419 _ACEOF
40420 if ac_fn_cxx_try_compile "$LINENO"; then :
40421 glibcxx_cv_func__modfl_use=yes
40422 else
40423 glibcxx_cv_func__modfl_use=no
40425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426 ac_ext=c
40427 ac_cpp='$CPP $CPPFLAGS'
40428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40437 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40439 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40440 for ac_func in _modfl
40441 do :
40442 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40443 if test "x$ac_cv_func__modfl" = xyes; then :
40444 cat >>confdefs.h <<_ACEOF
40445 #define HAVE__MODFL 1
40446 _ACEOF
40449 done
40458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40459 $as_echo_n "checking for powl declaration... " >&6; }
40460 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40461 if ${glibcxx_cv_func_powl_use+:} false; then :
40462 $as_echo_n "(cached) " >&6
40463 else
40466 ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40473 /* end confdefs.h. */
40474 #include <math.h>
40476 main ()
40478 powl(0, 0);
40480 return 0;
40482 _ACEOF
40483 if ac_fn_cxx_try_compile "$LINENO"; then :
40484 glibcxx_cv_func_powl_use=yes
40485 else
40486 glibcxx_cv_func_powl_use=no
40488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40489 ac_ext=c
40490 ac_cpp='$CPP $CPPFLAGS'
40491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40500 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40502 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40503 for ac_func in powl
40504 do :
40505 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40506 if test "x$ac_cv_func_powl" = xyes; then :
40507 cat >>confdefs.h <<_ACEOF
40508 #define HAVE_POWL 1
40509 _ACEOF
40512 done
40514 else
40516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40517 $as_echo_n "checking for _powl declaration... " >&6; }
40518 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40519 if ${glibcxx_cv_func__powl_use+:} false; then :
40520 $as_echo_n "(cached) " >&6
40521 else
40524 ac_ext=cpp
40525 ac_cpp='$CXXCPP $CPPFLAGS'
40526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40531 /* end confdefs.h. */
40532 #include <math.h>
40534 main ()
40536 _powl(0, 0);
40538 return 0;
40540 _ACEOF
40541 if ac_fn_cxx_try_compile "$LINENO"; then :
40542 glibcxx_cv_func__powl_use=yes
40543 else
40544 glibcxx_cv_func__powl_use=no
40546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40547 ac_ext=c
40548 ac_cpp='$CPP $CPPFLAGS'
40549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40558 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40560 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40561 for ac_func in _powl
40562 do :
40563 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40564 if test "x$ac_cv_func__powl" = xyes; then :
40565 cat >>confdefs.h <<_ACEOF
40566 #define HAVE__POWL 1
40567 _ACEOF
40570 done
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40580 $as_echo_n "checking for sqrtl declaration... " >&6; }
40581 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40582 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40583 $as_echo_n "(cached) " >&6
40584 else
40587 ac_ext=cpp
40588 ac_cpp='$CXXCPP $CPPFLAGS'
40589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 /* end confdefs.h. */
40595 #include <math.h>
40596 #ifdef HAVE_IEEEFP_H
40597 #include <ieeefp.h>
40598 #endif
40601 main ()
40603 sqrtl(0);
40605 return 0;
40607 _ACEOF
40608 if ac_fn_cxx_try_compile "$LINENO"; then :
40609 glibcxx_cv_func_sqrtl_use=yes
40610 else
40611 glibcxx_cv_func_sqrtl_use=no
40613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40614 ac_ext=c
40615 ac_cpp='$CPP $CPPFLAGS'
40616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40625 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40627 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40628 for ac_func in sqrtl
40629 do :
40630 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40631 if test "x$ac_cv_func_sqrtl" = xyes; then :
40632 cat >>confdefs.h <<_ACEOF
40633 #define HAVE_SQRTL 1
40634 _ACEOF
40637 done
40639 else
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40642 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40643 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40644 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40645 $as_echo_n "(cached) " >&6
40646 else
40649 ac_ext=cpp
40650 ac_cpp='$CXXCPP $CPPFLAGS'
40651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40656 /* end confdefs.h. */
40657 #include <math.h>
40658 #ifdef HAVE_IEEEFP_H
40659 #include <ieeefp.h>
40660 #endif
40663 main ()
40665 _sqrtl(0);
40667 return 0;
40669 _ACEOF
40670 if ac_fn_cxx_try_compile "$LINENO"; then :
40671 glibcxx_cv_func__sqrtl_use=yes
40672 else
40673 glibcxx_cv_func__sqrtl_use=no
40675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40676 ac_ext=c
40677 ac_cpp='$CPP $CPPFLAGS'
40678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40687 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40689 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40690 for ac_func in _sqrtl
40691 do :
40692 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40693 if test "x$ac_cv_func__sqrtl" = xyes; then :
40694 cat >>confdefs.h <<_ACEOF
40695 #define HAVE__SQRTL 1
40696 _ACEOF
40699 done
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40709 $as_echo_n "checking for sincosl declaration... " >&6; }
40710 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40711 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40712 $as_echo_n "(cached) " >&6
40713 else
40716 ac_ext=cpp
40717 ac_cpp='$CXXCPP $CPPFLAGS'
40718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40723 /* end confdefs.h. */
40724 #include <math.h>
40726 main ()
40728 sincosl(0, 0, 0);
40730 return 0;
40732 _ACEOF
40733 if ac_fn_cxx_try_compile "$LINENO"; then :
40734 glibcxx_cv_func_sincosl_use=yes
40735 else
40736 glibcxx_cv_func_sincosl_use=no
40738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40739 ac_ext=c
40740 ac_cpp='$CPP $CPPFLAGS'
40741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40750 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40752 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40753 for ac_func in sincosl
40754 do :
40755 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40756 if test "x$ac_cv_func_sincosl" = xyes; then :
40757 cat >>confdefs.h <<_ACEOF
40758 #define HAVE_SINCOSL 1
40759 _ACEOF
40762 done
40764 else
40766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40767 $as_echo_n "checking for _sincosl declaration... " >&6; }
40768 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40769 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40770 $as_echo_n "(cached) " >&6
40771 else
40774 ac_ext=cpp
40775 ac_cpp='$CXXCPP $CPPFLAGS'
40776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40781 /* end confdefs.h. */
40782 #include <math.h>
40784 main ()
40786 _sincosl(0, 0, 0);
40788 return 0;
40790 _ACEOF
40791 if ac_fn_cxx_try_compile "$LINENO"; then :
40792 glibcxx_cv_func__sincosl_use=yes
40793 else
40794 glibcxx_cv_func__sincosl_use=no
40796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40797 ac_ext=c
40798 ac_cpp='$CPP $CPPFLAGS'
40799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40808 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40810 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40811 for ac_func in _sincosl
40812 do :
40813 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40814 if test "x$ac_cv_func__sincosl" = xyes; then :
40815 cat >>confdefs.h <<_ACEOF
40816 #define HAVE__SINCOSL 1
40817 _ACEOF
40820 done
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40830 $as_echo_n "checking for finitel declaration... " >&6; }
40831 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40832 if ${glibcxx_cv_func_finitel_use+:} false; then :
40833 $as_echo_n "(cached) " >&6
40834 else
40837 ac_ext=cpp
40838 ac_cpp='$CXXCPP $CPPFLAGS'
40839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40844 /* end confdefs.h. */
40845 #include <math.h>
40846 #ifdef HAVE_IEEEFP_H
40847 #include <ieeefp.h>
40848 #endif
40851 main ()
40853 finitel(0);
40855 return 0;
40857 _ACEOF
40858 if ac_fn_cxx_try_compile "$LINENO"; then :
40859 glibcxx_cv_func_finitel_use=yes
40860 else
40861 glibcxx_cv_func_finitel_use=no
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864 ac_ext=c
40865 ac_cpp='$CPP $CPPFLAGS'
40866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40875 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40877 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40878 for ac_func in finitel
40879 do :
40880 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40881 if test "x$ac_cv_func_finitel" = xyes; then :
40882 cat >>confdefs.h <<_ACEOF
40883 #define HAVE_FINITEL 1
40884 _ACEOF
40887 done
40889 else
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40892 $as_echo_n "checking for _finitel declaration... " >&6; }
40893 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40894 if ${glibcxx_cv_func__finitel_use+:} false; then :
40895 $as_echo_n "(cached) " >&6
40896 else
40899 ac_ext=cpp
40900 ac_cpp='$CXXCPP $CPPFLAGS'
40901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40906 /* end confdefs.h. */
40907 #include <math.h>
40908 #ifdef HAVE_IEEEFP_H
40909 #include <ieeefp.h>
40910 #endif
40913 main ()
40915 _finitel(0);
40917 return 0;
40919 _ACEOF
40920 if ac_fn_cxx_try_compile "$LINENO"; then :
40921 glibcxx_cv_func__finitel_use=yes
40922 else
40923 glibcxx_cv_func__finitel_use=no
40925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40926 ac_ext=c
40927 ac_cpp='$CPP $CPPFLAGS'
40928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40937 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40939 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40940 for ac_func in _finitel
40941 do :
40942 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40943 if test "x$ac_cv_func__finitel" = xyes; then :
40944 cat >>confdefs.h <<_ACEOF
40945 #define HAVE__FINITEL 1
40946 _ACEOF
40949 done
40957 LIBS="$ac_save_LIBS"
40958 CXXFLAGS="$ac_save_CXXFLAGS"
40961 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40962 ac_save_CXXFLAGS="$CXXFLAGS"
40963 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40967 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40968 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40969 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40970 $as_echo_n "(cached) " >&6
40971 else
40974 ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h. */
40982 #include <stdlib.h>
40984 main ()
40986 at_quick_exit(0);
40988 return 0;
40990 _ACEOF
40991 if ac_fn_cxx_try_compile "$LINENO"; then :
40992 glibcxx_cv_func_at_quick_exit_use=yes
40993 else
40994 glibcxx_cv_func_at_quick_exit_use=no
40996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40997 ac_ext=c
40998 ac_cpp='$CPP $CPPFLAGS'
40999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41008 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41009 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41010 for ac_func in at_quick_exit
41011 do :
41012 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41013 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41014 cat >>confdefs.h <<_ACEOF
41015 #define HAVE_AT_QUICK_EXIT 1
41016 _ACEOF
41019 done
41024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41025 $as_echo_n "checking for quick_exit declaration... " >&6; }
41026 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41027 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41028 $as_echo_n "(cached) " >&6
41029 else
41032 ac_ext=cpp
41033 ac_cpp='$CXXCPP $CPPFLAGS'
41034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41039 /* end confdefs.h. */
41040 #include <stdlib.h>
41042 main ()
41044 quick_exit(0);
41046 return 0;
41048 _ACEOF
41049 if ac_fn_cxx_try_compile "$LINENO"; then :
41050 glibcxx_cv_func_quick_exit_use=yes
41051 else
41052 glibcxx_cv_func_quick_exit_use=no
41054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41055 ac_ext=c
41056 ac_cpp='$CPP $CPPFLAGS'
41057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41066 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41067 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41068 for ac_func in quick_exit
41069 do :
41070 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41071 if test "x$ac_cv_func_quick_exit" = xyes; then :
41072 cat >>confdefs.h <<_ACEOF
41073 #define HAVE_QUICK_EXIT 1
41074 _ACEOF
41077 done
41082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41083 $as_echo_n "checking for strtold declaration... " >&6; }
41084 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41085 if ${glibcxx_cv_func_strtold_use+:} false; then :
41086 $as_echo_n "(cached) " >&6
41087 else
41090 ac_ext=cpp
41091 ac_cpp='$CXXCPP $CPPFLAGS'
41092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41097 /* end confdefs.h. */
41098 #include <stdlib.h>
41100 main ()
41102 strtold(0, 0);
41104 return 0;
41106 _ACEOF
41107 if ac_fn_cxx_try_compile "$LINENO"; then :
41108 glibcxx_cv_func_strtold_use=yes
41109 else
41110 glibcxx_cv_func_strtold_use=no
41112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41113 ac_ext=c
41114 ac_cpp='$CPP $CPPFLAGS'
41115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41124 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41125 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41126 for ac_func in strtold
41127 do :
41128 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41129 if test "x$ac_cv_func_strtold" = xyes; then :
41130 cat >>confdefs.h <<_ACEOF
41131 #define HAVE_STRTOLD 1
41132 _ACEOF
41135 done
41142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41143 $as_echo_n "checking for strtof declaration... " >&6; }
41144 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41145 if ${glibcxx_cv_func_strtof_use+:} false; then :
41146 $as_echo_n "(cached) " >&6
41147 else
41150 ac_ext=cpp
41151 ac_cpp='$CXXCPP $CPPFLAGS'
41152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41157 /* end confdefs.h. */
41158 #include <stdlib.h>
41160 main ()
41162 strtof(0, 0);
41164 return 0;
41166 _ACEOF
41167 if ac_fn_cxx_try_compile "$LINENO"; then :
41168 glibcxx_cv_func_strtof_use=yes
41169 else
41170 glibcxx_cv_func_strtof_use=no
41172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41173 ac_ext=c
41174 ac_cpp='$CPP $CPPFLAGS'
41175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41184 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41185 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41186 for ac_func in strtof
41187 do :
41188 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41189 if test "x$ac_cv_func_strtof" = xyes; then :
41190 cat >>confdefs.h <<_ACEOF
41191 #define HAVE_STRTOF 1
41192 _ACEOF
41195 done
41202 CXXFLAGS="$ac_save_CXXFLAGS"
41204 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41206 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41208 # We don't yet support AIX's TLS ABI.
41209 #GCC_CHECK_TLS
41215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41216 $as_echo_n "checking for iconv... " >&6; }
41217 if ${am_cv_func_iconv+:} false; then :
41218 $as_echo_n "(cached) " >&6
41219 else
41221 am_cv_func_iconv="no, consider installing GNU libiconv"
41222 am_cv_lib_iconv=no
41223 am_save_CPPFLAGS="$CPPFLAGS"
41224 CPPFLAGS="$CPPFLAGS $INCICONV"
41225 if test x$gcc_no_link = xyes; then
41226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41229 /* end confdefs.h. */
41230 #include <stdlib.h>
41231 #include <iconv.h>
41233 main ()
41235 iconv_t cd = iconv_open("","");
41236 iconv(cd,NULL,NULL,NULL,NULL);
41237 iconv_close(cd);
41239 return 0;
41241 _ACEOF
41242 if ac_fn_c_try_link "$LINENO"; then :
41243 am_cv_func_iconv=yes
41245 rm -f core conftest.err conftest.$ac_objext \
41246 conftest$ac_exeext conftest.$ac_ext
41247 CPPFLAGS="$am_save_CPPFLAGS"
41249 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41250 for _libs in .libs _libs; do
41251 am_save_CPPFLAGS="$CPPFLAGS"
41252 am_save_LIBS="$LIBS"
41253 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41254 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41255 if test x$gcc_no_link = xyes; then
41256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41259 /* end confdefs.h. */
41260 #include <stdlib.h>
41261 #include <iconv.h>
41263 main ()
41265 iconv_t cd = iconv_open("","");
41266 iconv(cd,NULL,NULL,NULL,NULL);
41267 iconv_close(cd);
41269 return 0;
41271 _ACEOF
41272 if ac_fn_c_try_link "$LINENO"; then :
41273 INCICONV="-I../libiconv/include"
41274 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41275 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41276 am_cv_lib_iconv=yes
41277 am_cv_func_iconv=yes
41279 rm -f core conftest.err conftest.$ac_objext \
41280 conftest$ac_exeext conftest.$ac_ext
41281 CPPFLAGS="$am_save_CPPFLAGS"
41282 LIBS="$am_save_LIBS"
41283 if test "$am_cv_func_iconv" = "yes"; then
41284 break
41286 done
41289 if test "$am_cv_func_iconv" != yes; then
41290 am_save_CPPFLAGS="$CPPFLAGS"
41291 am_save_LIBS="$LIBS"
41292 CPPFLAGS="$CPPFLAGS $INCICONV"
41293 LIBS="$LIBS $LIBICONV"
41294 if test x$gcc_no_link = xyes; then
41295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41298 /* end confdefs.h. */
41299 #include <stdlib.h>
41300 #include <iconv.h>
41302 main ()
41304 iconv_t cd = iconv_open("","");
41305 iconv(cd,NULL,NULL,NULL,NULL);
41306 iconv_close(cd);
41308 return 0;
41310 _ACEOF
41311 if ac_fn_c_try_link "$LINENO"; then :
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"
41322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41323 $as_echo "$am_cv_func_iconv" >&6; }
41324 if test "$am_cv_func_iconv" = yes; then
41326 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41329 if test "$am_cv_lib_iconv" = yes; then
41331 for element in $INCICONV; do
41332 haveit=
41333 for x in $CPPFLAGS; do
41335 acl_save_prefix="$prefix"
41336 prefix="$acl_final_prefix"
41337 acl_save_exec_prefix="$exec_prefix"
41338 exec_prefix="$acl_final_exec_prefix"
41339 eval x=\"$x\"
41340 exec_prefix="$acl_save_exec_prefix"
41341 prefix="$acl_save_prefix"
41343 if test "X$x" = "X$element"; then
41344 haveit=yes
41345 break
41347 done
41348 if test -z "$haveit"; then
41349 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41351 done
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41354 $as_echo_n "checking how to link with libiconv... " >&6; }
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41356 $as_echo "$LIBICONV" >&6; }
41357 else
41358 LIBICONV=
41359 LTLIBICONV=
41364 if test "$am_cv_func_iconv" = yes; then
41365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41366 $as_echo_n "checking for iconv declaration... " >&6; }
41367 if ${am_cv_proto_iconv+:} false; then :
41368 $as_echo_n "(cached) " >&6
41369 else
41371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41372 /* end confdefs.h. */
41374 #include <stdlib.h>
41375 #include <iconv.h>
41376 extern
41377 #ifdef __cplusplus
41379 #endif
41380 #if defined(__STDC__) || defined(__cplusplus)
41381 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41382 #else
41383 size_t iconv();
41384 #endif
41387 main ()
41391 return 0;
41393 _ACEOF
41394 if ac_fn_c_try_compile "$LINENO"; then :
41395 am_cv_proto_iconv_arg1=""
41396 else
41397 am_cv_proto_iconv_arg1="const"
41399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41400 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);"
41403 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41405 }$am_cv_proto_iconv" >&5
41406 $as_echo "${ac_t:-
41407 }$am_cv_proto_iconv" >&6; }
41409 cat >>confdefs.h <<_ACEOF
41410 #define ICONV_CONST $am_cv_proto_iconv_arg1
41411 _ACEOF
41416 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41420 *-darwin*)
41421 # Darwin versions vary, but the linker should work in a cross environment,
41422 # so we just check for all the features here.
41423 # Check for available headers.
41425 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41427 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41428 ac_save_CXXFLAGS="$CXXFLAGS"
41429 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41432 $as_echo_n "checking for sin in -lm... " >&6; }
41433 if ${ac_cv_lib_m_sin+:} false; then :
41434 $as_echo_n "(cached) " >&6
41435 else
41436 ac_check_lib_save_LIBS=$LIBS
41437 LIBS="-lm $LIBS"
41438 if test x$gcc_no_link = xyes; then
41439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41442 /* end confdefs.h. */
41444 /* Override any GCC internal prototype to avoid an error.
41445 Use char because int might match the return type of a GCC
41446 builtin and then its argument prototype would still apply. */
41447 #ifdef __cplusplus
41448 extern "C"
41449 #endif
41450 char sin ();
41452 main ()
41454 return sin ();
41456 return 0;
41458 _ACEOF
41459 if ac_fn_c_try_link "$LINENO"; then :
41460 ac_cv_lib_m_sin=yes
41461 else
41462 ac_cv_lib_m_sin=no
41464 rm -f core conftest.err conftest.$ac_objext \
41465 conftest$ac_exeext conftest.$ac_ext
41466 LIBS=$ac_check_lib_save_LIBS
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41469 $as_echo "$ac_cv_lib_m_sin" >&6; }
41470 if test "x$ac_cv_lib_m_sin" = xyes; then :
41471 libm="-lm"
41474 ac_save_LIBS="$LIBS"
41475 LIBS="$LIBS $libm"
41479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41480 $as_echo_n "checking for isinf declaration... " >&6; }
41481 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41482 if ${glibcxx_cv_func_isinf_use+:} false; then :
41483 $as_echo_n "(cached) " >&6
41484 else
41487 ac_ext=cpp
41488 ac_cpp='$CXXCPP $CPPFLAGS'
41489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41494 /* end confdefs.h. */
41495 #include <math.h>
41496 #ifdef HAVE_IEEEFP_H
41497 #include <ieeefp.h>
41498 #endif
41501 main ()
41503 isinf(0);
41505 return 0;
41507 _ACEOF
41508 if ac_fn_cxx_try_compile "$LINENO"; then :
41509 glibcxx_cv_func_isinf_use=yes
41510 else
41511 glibcxx_cv_func_isinf_use=no
41513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41514 ac_ext=c
41515 ac_cpp='$CPP $CPPFLAGS'
41516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41525 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41527 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41528 for ac_func in isinf
41529 do :
41530 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41531 if test "x$ac_cv_func_isinf" = xyes; then :
41532 cat >>confdefs.h <<_ACEOF
41533 #define HAVE_ISINF 1
41534 _ACEOF
41537 done
41539 else
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41542 $as_echo_n "checking for _isinf declaration... " >&6; }
41543 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41544 if ${glibcxx_cv_func__isinf_use+:} false; then :
41545 $as_echo_n "(cached) " >&6
41546 else
41549 ac_ext=cpp
41550 ac_cpp='$CXXCPP $CPPFLAGS'
41551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41556 /* end confdefs.h. */
41557 #include <math.h>
41558 #ifdef HAVE_IEEEFP_H
41559 #include <ieeefp.h>
41560 #endif
41563 main ()
41565 _isinf(0);
41567 return 0;
41569 _ACEOF
41570 if ac_fn_cxx_try_compile "$LINENO"; then :
41571 glibcxx_cv_func__isinf_use=yes
41572 else
41573 glibcxx_cv_func__isinf_use=no
41575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41576 ac_ext=c
41577 ac_cpp='$CPP $CPPFLAGS'
41578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41587 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41589 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41590 for ac_func in _isinf
41591 do :
41592 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41593 if test "x$ac_cv_func__isinf" = xyes; then :
41594 cat >>confdefs.h <<_ACEOF
41595 #define HAVE__ISINF 1
41596 _ACEOF
41599 done
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41609 $as_echo_n "checking for isnan declaration... " >&6; }
41610 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41611 if ${glibcxx_cv_func_isnan_use+:} false; then :
41612 $as_echo_n "(cached) " >&6
41613 else
41616 ac_ext=cpp
41617 ac_cpp='$CXXCPP $CPPFLAGS'
41618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41623 /* end confdefs.h. */
41624 #include <math.h>
41625 #ifdef HAVE_IEEEFP_H
41626 #include <ieeefp.h>
41627 #endif
41630 main ()
41632 isnan(0);
41634 return 0;
41636 _ACEOF
41637 if ac_fn_cxx_try_compile "$LINENO"; then :
41638 glibcxx_cv_func_isnan_use=yes
41639 else
41640 glibcxx_cv_func_isnan_use=no
41642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41643 ac_ext=c
41644 ac_cpp='$CPP $CPPFLAGS'
41645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41654 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41656 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41657 for ac_func in isnan
41658 do :
41659 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41660 if test "x$ac_cv_func_isnan" = xyes; then :
41661 cat >>confdefs.h <<_ACEOF
41662 #define HAVE_ISNAN 1
41663 _ACEOF
41666 done
41668 else
41670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41671 $as_echo_n "checking for _isnan declaration... " >&6; }
41672 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41673 if ${glibcxx_cv_func__isnan_use+:} false; then :
41674 $as_echo_n "(cached) " >&6
41675 else
41678 ac_ext=cpp
41679 ac_cpp='$CXXCPP $CPPFLAGS'
41680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41685 /* end confdefs.h. */
41686 #include <math.h>
41687 #ifdef HAVE_IEEEFP_H
41688 #include <ieeefp.h>
41689 #endif
41692 main ()
41694 _isnan(0);
41696 return 0;
41698 _ACEOF
41699 if ac_fn_cxx_try_compile "$LINENO"; then :
41700 glibcxx_cv_func__isnan_use=yes
41701 else
41702 glibcxx_cv_func__isnan_use=no
41704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41705 ac_ext=c
41706 ac_cpp='$CPP $CPPFLAGS'
41707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41716 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41718 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41719 for ac_func in _isnan
41720 do :
41721 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41722 if test "x$ac_cv_func__isnan" = xyes; then :
41723 cat >>confdefs.h <<_ACEOF
41724 #define HAVE__ISNAN 1
41725 _ACEOF
41728 done
41737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41738 $as_echo_n "checking for finite declaration... " >&6; }
41739 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41740 if ${glibcxx_cv_func_finite_use+:} false; then :
41741 $as_echo_n "(cached) " >&6
41742 else
41745 ac_ext=cpp
41746 ac_cpp='$CXXCPP $CPPFLAGS'
41747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41752 /* end confdefs.h. */
41753 #include <math.h>
41754 #ifdef HAVE_IEEEFP_H
41755 #include <ieeefp.h>
41756 #endif
41759 main ()
41761 finite(0);
41763 return 0;
41765 _ACEOF
41766 if ac_fn_cxx_try_compile "$LINENO"; then :
41767 glibcxx_cv_func_finite_use=yes
41768 else
41769 glibcxx_cv_func_finite_use=no
41771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41772 ac_ext=c
41773 ac_cpp='$CPP $CPPFLAGS'
41774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41783 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41785 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41786 for ac_func in finite
41787 do :
41788 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41789 if test "x$ac_cv_func_finite" = xyes; then :
41790 cat >>confdefs.h <<_ACEOF
41791 #define HAVE_FINITE 1
41792 _ACEOF
41795 done
41797 else
41799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41800 $as_echo_n "checking for _finite declaration... " >&6; }
41801 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41802 if ${glibcxx_cv_func__finite_use+:} false; then :
41803 $as_echo_n "(cached) " >&6
41804 else
41807 ac_ext=cpp
41808 ac_cpp='$CXXCPP $CPPFLAGS'
41809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41814 /* end confdefs.h. */
41815 #include <math.h>
41816 #ifdef HAVE_IEEEFP_H
41817 #include <ieeefp.h>
41818 #endif
41821 main ()
41823 _finite(0);
41825 return 0;
41827 _ACEOF
41828 if ac_fn_cxx_try_compile "$LINENO"; then :
41829 glibcxx_cv_func__finite_use=yes
41830 else
41831 glibcxx_cv_func__finite_use=no
41833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41834 ac_ext=c
41835 ac_cpp='$CPP $CPPFLAGS'
41836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41845 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41847 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41848 for ac_func in _finite
41849 do :
41850 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41851 if test "x$ac_cv_func__finite" = xyes; then :
41852 cat >>confdefs.h <<_ACEOF
41853 #define HAVE__FINITE 1
41854 _ACEOF
41857 done
41866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41867 $as_echo_n "checking for sincos declaration... " >&6; }
41868 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41869 if ${glibcxx_cv_func_sincos_use+:} false; then :
41870 $as_echo_n "(cached) " >&6
41871 else
41874 ac_ext=cpp
41875 ac_cpp='$CXXCPP $CPPFLAGS'
41876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41881 /* end confdefs.h. */
41882 #include <math.h>
41884 main ()
41886 sincos(0, 0, 0);
41888 return 0;
41890 _ACEOF
41891 if ac_fn_cxx_try_compile "$LINENO"; then :
41892 glibcxx_cv_func_sincos_use=yes
41893 else
41894 glibcxx_cv_func_sincos_use=no
41896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41897 ac_ext=c
41898 ac_cpp='$CPP $CPPFLAGS'
41899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41908 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41910 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41911 for ac_func in sincos
41912 do :
41913 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41914 if test "x$ac_cv_func_sincos" = xyes; then :
41915 cat >>confdefs.h <<_ACEOF
41916 #define HAVE_SINCOS 1
41917 _ACEOF
41920 done
41922 else
41924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41925 $as_echo_n "checking for _sincos declaration... " >&6; }
41926 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41927 if ${glibcxx_cv_func__sincos_use+:} false; then :
41928 $as_echo_n "(cached) " >&6
41929 else
41932 ac_ext=cpp
41933 ac_cpp='$CXXCPP $CPPFLAGS'
41934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41939 /* end confdefs.h. */
41940 #include <math.h>
41942 main ()
41944 _sincos(0, 0, 0);
41946 return 0;
41948 _ACEOF
41949 if ac_fn_cxx_try_compile "$LINENO"; then :
41950 glibcxx_cv_func__sincos_use=yes
41951 else
41952 glibcxx_cv_func__sincos_use=no
41954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41955 ac_ext=c
41956 ac_cpp='$CPP $CPPFLAGS'
41957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41966 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41968 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41969 for ac_func in _sincos
41970 do :
41971 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41972 if test "x$ac_cv_func__sincos" = xyes; then :
41973 cat >>confdefs.h <<_ACEOF
41974 #define HAVE__SINCOS 1
41975 _ACEOF
41978 done
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41988 $as_echo_n "checking for fpclass declaration... " >&6; }
41989 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41990 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41991 $as_echo_n "(cached) " >&6
41992 else
41995 ac_ext=cpp
41996 ac_cpp='$CXXCPP $CPPFLAGS'
41997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42002 /* end confdefs.h. */
42003 #include <math.h>
42004 #ifdef HAVE_IEEEFP_H
42005 #include <ieeefp.h>
42006 #endif
42009 main ()
42011 fpclass(0);
42013 return 0;
42015 _ACEOF
42016 if ac_fn_cxx_try_compile "$LINENO"; then :
42017 glibcxx_cv_func_fpclass_use=yes
42018 else
42019 glibcxx_cv_func_fpclass_use=no
42021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42022 ac_ext=c
42023 ac_cpp='$CPP $CPPFLAGS'
42024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42033 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42035 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42036 for ac_func in fpclass
42037 do :
42038 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42039 if test "x$ac_cv_func_fpclass" = xyes; then :
42040 cat >>confdefs.h <<_ACEOF
42041 #define HAVE_FPCLASS 1
42042 _ACEOF
42045 done
42047 else
42049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42050 $as_echo_n "checking for _fpclass declaration... " >&6; }
42051 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42052 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42053 $as_echo_n "(cached) " >&6
42054 else
42057 ac_ext=cpp
42058 ac_cpp='$CXXCPP $CPPFLAGS'
42059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42064 /* end confdefs.h. */
42065 #include <math.h>
42066 #ifdef HAVE_IEEEFP_H
42067 #include <ieeefp.h>
42068 #endif
42071 main ()
42073 _fpclass(0);
42075 return 0;
42077 _ACEOF
42078 if ac_fn_cxx_try_compile "$LINENO"; then :
42079 glibcxx_cv_func__fpclass_use=yes
42080 else
42081 glibcxx_cv_func__fpclass_use=no
42083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42084 ac_ext=c
42085 ac_cpp='$CPP $CPPFLAGS'
42086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42095 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42097 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42098 for ac_func in _fpclass
42099 do :
42100 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42101 if test "x$ac_cv_func__fpclass" = xyes; then :
42102 cat >>confdefs.h <<_ACEOF
42103 #define HAVE__FPCLASS 1
42104 _ACEOF
42107 done
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42117 $as_echo_n "checking for qfpclass declaration... " >&6; }
42118 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42119 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42138 main ()
42140 qfpclass(0);
42142 return 0;
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func_qfpclass_use=yes
42147 else
42148 glibcxx_cv_func_qfpclass_use=no
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42162 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42164 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42165 for ac_func in qfpclass
42166 do :
42167 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42168 if test "x$ac_cv_func_qfpclass" = xyes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE_QFPCLASS 1
42171 _ACEOF
42174 done
42176 else
42178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42179 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42180 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42181 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42182 $as_echo_n "(cached) " >&6
42183 else
42186 ac_ext=cpp
42187 ac_cpp='$CXXCPP $CPPFLAGS'
42188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42193 /* end confdefs.h. */
42194 #include <math.h>
42195 #ifdef HAVE_IEEEFP_H
42196 #include <ieeefp.h>
42197 #endif
42200 main ()
42202 _qfpclass(0);
42204 return 0;
42206 _ACEOF
42207 if ac_fn_cxx_try_compile "$LINENO"; then :
42208 glibcxx_cv_func__qfpclass_use=yes
42209 else
42210 glibcxx_cv_func__qfpclass_use=no
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42224 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42226 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42227 for ac_func in _qfpclass
42228 do :
42229 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42230 if test "x$ac_cv_func__qfpclass" = xyes; then :
42231 cat >>confdefs.h <<_ACEOF
42232 #define HAVE__QFPCLASS 1
42233 _ACEOF
42236 done
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42246 $as_echo_n "checking for hypot declaration... " >&6; }
42247 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42248 if ${glibcxx_cv_func_hypot_use+:} false; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42263 main ()
42265 hypot(0, 0);
42267 return 0;
42269 _ACEOF
42270 if ac_fn_cxx_try_compile "$LINENO"; then :
42271 glibcxx_cv_func_hypot_use=yes
42272 else
42273 glibcxx_cv_func_hypot_use=no
42275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42276 ac_ext=c
42277 ac_cpp='$CPP $CPPFLAGS'
42278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42287 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42289 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42290 for ac_func in hypot
42291 do :
42292 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42293 if test "x$ac_cv_func_hypot" = xyes; then :
42294 cat >>confdefs.h <<_ACEOF
42295 #define HAVE_HYPOT 1
42296 _ACEOF
42299 done
42301 else
42303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42304 $as_echo_n "checking for _hypot declaration... " >&6; }
42305 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42306 if ${glibcxx_cv_func__hypot_use+:} false; then :
42307 $as_echo_n "(cached) " >&6
42308 else
42311 ac_ext=cpp
42312 ac_cpp='$CXXCPP $CPPFLAGS'
42313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42318 /* end confdefs.h. */
42319 #include <math.h>
42321 main ()
42323 _hypot(0, 0);
42325 return 0;
42327 _ACEOF
42328 if ac_fn_cxx_try_compile "$LINENO"; then :
42329 glibcxx_cv_func__hypot_use=yes
42330 else
42331 glibcxx_cv_func__hypot_use=no
42333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42334 ac_ext=c
42335 ac_cpp='$CPP $CPPFLAGS'
42336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42345 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42347 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42348 for ac_func in _hypot
42349 do :
42350 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42351 if test "x$ac_cv_func__hypot" = xyes; then :
42352 cat >>confdefs.h <<_ACEOF
42353 #define HAVE__HYPOT 1
42354 _ACEOF
42357 done
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42367 $as_echo_n "checking for float trig functions... " >&6; }
42368 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42369 $as_echo_n "(cached) " >&6
42370 else
42373 ac_ext=cpp
42374 ac_cpp='$CXXCPP $CPPFLAGS'
42375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42380 /* end confdefs.h. */
42381 #include <math.h>
42383 main ()
42385 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42387 return 0;
42389 _ACEOF
42390 if ac_fn_cxx_try_compile "$LINENO"; then :
42391 glibcxx_cv_func_float_trig_use=yes
42392 else
42393 glibcxx_cv_func_float_trig_use=no
42395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42396 ac_ext=c
42397 ac_cpp='$CPP $CPPFLAGS'
42398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42405 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42406 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42407 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42408 do :
42409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42411 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42412 cat >>confdefs.h <<_ACEOF
42413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42414 _ACEOF
42417 done
42419 else
42420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42421 $as_echo_n "checking for _float trig functions... " >&6; }
42422 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42423 $as_echo_n "(cached) " >&6
42424 else
42427 ac_ext=cpp
42428 ac_cpp='$CXXCPP $CPPFLAGS'
42429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42434 /* end confdefs.h. */
42435 #include <math.h>
42437 main ()
42439 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42441 return 0;
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445 glibcxx_cv_func__float_trig_use=yes
42446 else
42447 glibcxx_cv_func__float_trig_use=no
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42459 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42460 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42461 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42462 do :
42463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42466 cat >>confdefs.h <<_ACEOF
42467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42468 _ACEOF
42471 done
42480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42481 $as_echo_n "checking for float round functions... " >&6; }
42482 if ${glibcxx_cv_func_float_round_use+:} false; then :
42483 $as_echo_n "(cached) " >&6
42484 else
42487 ac_ext=cpp
42488 ac_cpp='$CXXCPP $CPPFLAGS'
42489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42494 /* end confdefs.h. */
42495 #include <math.h>
42497 main ()
42499 ceilf (0); floorf (0);
42501 return 0;
42503 _ACEOF
42504 if ac_fn_cxx_try_compile "$LINENO"; then :
42505 glibcxx_cv_func_float_round_use=yes
42506 else
42507 glibcxx_cv_func_float_round_use=no
42509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42510 ac_ext=c
42511 ac_cpp='$CPP $CPPFLAGS'
42512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42519 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42520 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42521 for ac_func in ceilf floorf
42522 do :
42523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42525 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42526 cat >>confdefs.h <<_ACEOF
42527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42528 _ACEOF
42531 done
42533 else
42534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42535 $as_echo_n "checking for _float round functions... " >&6; }
42536 if ${glibcxx_cv_func__float_round_use+:} false; then :
42537 $as_echo_n "(cached) " >&6
42538 else
42541 ac_ext=cpp
42542 ac_cpp='$CXXCPP $CPPFLAGS'
42543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42548 /* end confdefs.h. */
42549 #include <math.h>
42551 main ()
42553 _ceilf (0); _floorf (0);
42555 return 0;
42557 _ACEOF
42558 if ac_fn_cxx_try_compile "$LINENO"; then :
42559 glibcxx_cv_func__float_round_use=yes
42560 else
42561 glibcxx_cv_func__float_round_use=no
42563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42564 ac_ext=c
42565 ac_cpp='$CPP $CPPFLAGS'
42566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42573 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42574 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42575 for ac_func in _ceilf _floorf
42576 do :
42577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42580 cat >>confdefs.h <<_ACEOF
42581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42582 _ACEOF
42585 done
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42596 $as_echo_n "checking for expf declaration... " >&6; }
42597 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42598 if ${glibcxx_cv_func_expf_use+:} false; then :
42599 $as_echo_n "(cached) " >&6
42600 else
42603 ac_ext=cpp
42604 ac_cpp='$CXXCPP $CPPFLAGS'
42605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610 /* end confdefs.h. */
42611 #include <math.h>
42612 #ifdef HAVE_IEEEFP_H
42613 #include <ieeefp.h>
42614 #endif
42617 main ()
42619 expf(0);
42621 return 0;
42623 _ACEOF
42624 if ac_fn_cxx_try_compile "$LINENO"; then :
42625 glibcxx_cv_func_expf_use=yes
42626 else
42627 glibcxx_cv_func_expf_use=no
42629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42630 ac_ext=c
42631 ac_cpp='$CPP $CPPFLAGS'
42632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42641 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42643 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42644 for ac_func in expf
42645 do :
42646 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42647 if test "x$ac_cv_func_expf" = xyes; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define HAVE_EXPF 1
42650 _ACEOF
42653 done
42655 else
42657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42658 $as_echo_n "checking for _expf declaration... " >&6; }
42659 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42660 if ${glibcxx_cv_func__expf_use+:} false; then :
42661 $as_echo_n "(cached) " >&6
42662 else
42665 ac_ext=cpp
42666 ac_cpp='$CXXCPP $CPPFLAGS'
42667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42672 /* end confdefs.h. */
42673 #include <math.h>
42674 #ifdef HAVE_IEEEFP_H
42675 #include <ieeefp.h>
42676 #endif
42679 main ()
42681 _expf(0);
42683 return 0;
42685 _ACEOF
42686 if ac_fn_cxx_try_compile "$LINENO"; then :
42687 glibcxx_cv_func__expf_use=yes
42688 else
42689 glibcxx_cv_func__expf_use=no
42691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42692 ac_ext=c
42693 ac_cpp='$CPP $CPPFLAGS'
42694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42703 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42705 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42706 for ac_func in _expf
42707 do :
42708 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42709 if test "x$ac_cv_func__expf" = xyes; then :
42710 cat >>confdefs.h <<_ACEOF
42711 #define HAVE__EXPF 1
42712 _ACEOF
42715 done
42724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42725 $as_echo_n "checking for isnanf declaration... " >&6; }
42726 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42727 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42728 $as_echo_n "(cached) " >&6
42729 else
42732 ac_ext=cpp
42733 ac_cpp='$CXXCPP $CPPFLAGS'
42734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42739 /* end confdefs.h. */
42740 #include <math.h>
42741 #ifdef HAVE_IEEEFP_H
42742 #include <ieeefp.h>
42743 #endif
42746 main ()
42748 isnanf(0);
42750 return 0;
42752 _ACEOF
42753 if ac_fn_cxx_try_compile "$LINENO"; then :
42754 glibcxx_cv_func_isnanf_use=yes
42755 else
42756 glibcxx_cv_func_isnanf_use=no
42758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42759 ac_ext=c
42760 ac_cpp='$CPP $CPPFLAGS'
42761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42770 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42772 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42773 for ac_func in isnanf
42774 do :
42775 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42776 if test "x$ac_cv_func_isnanf" = xyes; then :
42777 cat >>confdefs.h <<_ACEOF
42778 #define HAVE_ISNANF 1
42779 _ACEOF
42782 done
42784 else
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42787 $as_echo_n "checking for _isnanf declaration... " >&6; }
42788 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42789 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42790 $as_echo_n "(cached) " >&6
42791 else
42794 ac_ext=cpp
42795 ac_cpp='$CXXCPP $CPPFLAGS'
42796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42801 /* end confdefs.h. */
42802 #include <math.h>
42803 #ifdef HAVE_IEEEFP_H
42804 #include <ieeefp.h>
42805 #endif
42808 main ()
42810 _isnanf(0);
42812 return 0;
42814 _ACEOF
42815 if ac_fn_cxx_try_compile "$LINENO"; then :
42816 glibcxx_cv_func__isnanf_use=yes
42817 else
42818 glibcxx_cv_func__isnanf_use=no
42820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42821 ac_ext=c
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42832 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42834 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42835 for ac_func in _isnanf
42836 do :
42837 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42838 if test "x$ac_cv_func__isnanf" = xyes; then :
42839 cat >>confdefs.h <<_ACEOF
42840 #define HAVE__ISNANF 1
42841 _ACEOF
42844 done
42853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42854 $as_echo_n "checking for isinff declaration... " >&6; }
42855 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42856 if ${glibcxx_cv_func_isinff_use+:} false; then :
42857 $as_echo_n "(cached) " >&6
42858 else
42861 ac_ext=cpp
42862 ac_cpp='$CXXCPP $CPPFLAGS'
42863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42868 /* end confdefs.h. */
42869 #include <math.h>
42870 #ifdef HAVE_IEEEFP_H
42871 #include <ieeefp.h>
42872 #endif
42875 main ()
42877 isinff(0);
42879 return 0;
42881 _ACEOF
42882 if ac_fn_cxx_try_compile "$LINENO"; then :
42883 glibcxx_cv_func_isinff_use=yes
42884 else
42885 glibcxx_cv_func_isinff_use=no
42887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42888 ac_ext=c
42889 ac_cpp='$CPP $CPPFLAGS'
42890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42899 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42901 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42902 for ac_func in isinff
42903 do :
42904 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42905 if test "x$ac_cv_func_isinff" = xyes; then :
42906 cat >>confdefs.h <<_ACEOF
42907 #define HAVE_ISINFF 1
42908 _ACEOF
42911 done
42913 else
42915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42916 $as_echo_n "checking for _isinff declaration... " >&6; }
42917 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42918 if ${glibcxx_cv_func__isinff_use+:} false; then :
42919 $as_echo_n "(cached) " >&6
42920 else
42923 ac_ext=cpp
42924 ac_cpp='$CXXCPP $CPPFLAGS'
42925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42930 /* end confdefs.h. */
42931 #include <math.h>
42932 #ifdef HAVE_IEEEFP_H
42933 #include <ieeefp.h>
42934 #endif
42937 main ()
42939 _isinff(0);
42941 return 0;
42943 _ACEOF
42944 if ac_fn_cxx_try_compile "$LINENO"; then :
42945 glibcxx_cv_func__isinff_use=yes
42946 else
42947 glibcxx_cv_func__isinff_use=no
42949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42950 ac_ext=c
42951 ac_cpp='$CPP $CPPFLAGS'
42952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42961 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42963 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42964 for ac_func in _isinff
42965 do :
42966 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42967 if test "x$ac_cv_func__isinff" = xyes; then :
42968 cat >>confdefs.h <<_ACEOF
42969 #define HAVE__ISINFF 1
42970 _ACEOF
42973 done
42982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42983 $as_echo_n "checking for atan2f declaration... " >&6; }
42984 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42985 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42986 $as_echo_n "(cached) " >&6
42987 else
42990 ac_ext=cpp
42991 ac_cpp='$CXXCPP $CPPFLAGS'
42992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42997 /* end confdefs.h. */
42998 #include <math.h>
43000 main ()
43002 atan2f(0, 0);
43004 return 0;
43006 _ACEOF
43007 if ac_fn_cxx_try_compile "$LINENO"; then :
43008 glibcxx_cv_func_atan2f_use=yes
43009 else
43010 glibcxx_cv_func_atan2f_use=no
43012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43013 ac_ext=c
43014 ac_cpp='$CPP $CPPFLAGS'
43015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43024 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43026 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43027 for ac_func in atan2f
43028 do :
43029 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43030 if test "x$ac_cv_func_atan2f" = xyes; then :
43031 cat >>confdefs.h <<_ACEOF
43032 #define HAVE_ATAN2F 1
43033 _ACEOF
43036 done
43038 else
43040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43041 $as_echo_n "checking for _atan2f declaration... " >&6; }
43042 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43043 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43044 $as_echo_n "(cached) " >&6
43045 else
43048 ac_ext=cpp
43049 ac_cpp='$CXXCPP $CPPFLAGS'
43050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43055 /* end confdefs.h. */
43056 #include <math.h>
43058 main ()
43060 _atan2f(0, 0);
43062 return 0;
43064 _ACEOF
43065 if ac_fn_cxx_try_compile "$LINENO"; then :
43066 glibcxx_cv_func__atan2f_use=yes
43067 else
43068 glibcxx_cv_func__atan2f_use=no
43070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43071 ac_ext=c
43072 ac_cpp='$CPP $CPPFLAGS'
43073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43082 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43084 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43085 for ac_func in _atan2f
43086 do :
43087 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43088 if test "x$ac_cv_func__atan2f" = xyes; then :
43089 cat >>confdefs.h <<_ACEOF
43090 #define HAVE__ATAN2F 1
43091 _ACEOF
43094 done
43103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43104 $as_echo_n "checking for fabsf declaration... " >&6; }
43105 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43106 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43107 $as_echo_n "(cached) " >&6
43108 else
43111 ac_ext=cpp
43112 ac_cpp='$CXXCPP $CPPFLAGS'
43113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43118 /* end confdefs.h. */
43119 #include <math.h>
43120 #ifdef HAVE_IEEEFP_H
43121 #include <ieeefp.h>
43122 #endif
43125 main ()
43127 fabsf(0);
43129 return 0;
43131 _ACEOF
43132 if ac_fn_cxx_try_compile "$LINENO"; then :
43133 glibcxx_cv_func_fabsf_use=yes
43134 else
43135 glibcxx_cv_func_fabsf_use=no
43137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43138 ac_ext=c
43139 ac_cpp='$CPP $CPPFLAGS'
43140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43149 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43151 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43152 for ac_func in fabsf
43153 do :
43154 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43155 if test "x$ac_cv_func_fabsf" = xyes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define HAVE_FABSF 1
43158 _ACEOF
43161 done
43163 else
43165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43166 $as_echo_n "checking for _fabsf declaration... " >&6; }
43167 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43168 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43169 $as_echo_n "(cached) " >&6
43170 else
43173 ac_ext=cpp
43174 ac_cpp='$CXXCPP $CPPFLAGS'
43175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43180 /* end confdefs.h. */
43181 #include <math.h>
43182 #ifdef HAVE_IEEEFP_H
43183 #include <ieeefp.h>
43184 #endif
43187 main ()
43189 _fabsf(0);
43191 return 0;
43193 _ACEOF
43194 if ac_fn_cxx_try_compile "$LINENO"; then :
43195 glibcxx_cv_func__fabsf_use=yes
43196 else
43197 glibcxx_cv_func__fabsf_use=no
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200 ac_ext=c
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43211 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43213 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43214 for ac_func in _fabsf
43215 do :
43216 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43217 if test "x$ac_cv_func__fabsf" = xyes; then :
43218 cat >>confdefs.h <<_ACEOF
43219 #define HAVE__FABSF 1
43220 _ACEOF
43223 done
43232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43233 $as_echo_n "checking for fmodf declaration... " >&6; }
43234 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43235 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43236 $as_echo_n "(cached) " >&6
43237 else
43240 ac_ext=cpp
43241 ac_cpp='$CXXCPP $CPPFLAGS'
43242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43247 /* end confdefs.h. */
43248 #include <math.h>
43250 main ()
43252 fmodf(0, 0);
43254 return 0;
43256 _ACEOF
43257 if ac_fn_cxx_try_compile "$LINENO"; then :
43258 glibcxx_cv_func_fmodf_use=yes
43259 else
43260 glibcxx_cv_func_fmodf_use=no
43262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43263 ac_ext=c
43264 ac_cpp='$CPP $CPPFLAGS'
43265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43274 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43276 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43277 for ac_func in fmodf
43278 do :
43279 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43280 if test "x$ac_cv_func_fmodf" = xyes; then :
43281 cat >>confdefs.h <<_ACEOF
43282 #define HAVE_FMODF 1
43283 _ACEOF
43286 done
43288 else
43290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43291 $as_echo_n "checking for _fmodf declaration... " >&6; }
43292 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43293 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43294 $as_echo_n "(cached) " >&6
43295 else
43298 ac_ext=cpp
43299 ac_cpp='$CXXCPP $CPPFLAGS'
43300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43305 /* end confdefs.h. */
43306 #include <math.h>
43308 main ()
43310 _fmodf(0, 0);
43312 return 0;
43314 _ACEOF
43315 if ac_fn_cxx_try_compile "$LINENO"; then :
43316 glibcxx_cv_func__fmodf_use=yes
43317 else
43318 glibcxx_cv_func__fmodf_use=no
43320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43321 ac_ext=c
43322 ac_cpp='$CPP $CPPFLAGS'
43323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43332 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43334 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43335 for ac_func in _fmodf
43336 do :
43337 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43338 if test "x$ac_cv_func__fmodf" = xyes; then :
43339 cat >>confdefs.h <<_ACEOF
43340 #define HAVE__FMODF 1
43341 _ACEOF
43344 done
43353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43354 $as_echo_n "checking for frexpf declaration... " >&6; }
43355 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43356 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43357 $as_echo_n "(cached) " >&6
43358 else
43361 ac_ext=cpp
43362 ac_cpp='$CXXCPP $CPPFLAGS'
43363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43368 /* end confdefs.h. */
43369 #include <math.h>
43371 main ()
43373 frexpf(0, 0);
43375 return 0;
43377 _ACEOF
43378 if ac_fn_cxx_try_compile "$LINENO"; then :
43379 glibcxx_cv_func_frexpf_use=yes
43380 else
43381 glibcxx_cv_func_frexpf_use=no
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384 ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43395 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43397 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43398 for ac_func in frexpf
43399 do :
43400 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43401 if test "x$ac_cv_func_frexpf" = xyes; then :
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE_FREXPF 1
43404 _ACEOF
43407 done
43409 else
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43412 $as_echo_n "checking for _frexpf declaration... " >&6; }
43413 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43414 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43415 $as_echo_n "(cached) " >&6
43416 else
43419 ac_ext=cpp
43420 ac_cpp='$CXXCPP $CPPFLAGS'
43421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43426 /* end confdefs.h. */
43427 #include <math.h>
43429 main ()
43431 _frexpf(0, 0);
43433 return 0;
43435 _ACEOF
43436 if ac_fn_cxx_try_compile "$LINENO"; then :
43437 glibcxx_cv_func__frexpf_use=yes
43438 else
43439 glibcxx_cv_func__frexpf_use=no
43441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43442 ac_ext=c
43443 ac_cpp='$CPP $CPPFLAGS'
43444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43453 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43455 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43456 for ac_func in _frexpf
43457 do :
43458 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43459 if test "x$ac_cv_func__frexpf" = xyes; then :
43460 cat >>confdefs.h <<_ACEOF
43461 #define HAVE__FREXPF 1
43462 _ACEOF
43465 done
43474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43475 $as_echo_n "checking for hypotf declaration... " >&6; }
43476 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43477 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43478 $as_echo_n "(cached) " >&6
43479 else
43482 ac_ext=cpp
43483 ac_cpp='$CXXCPP $CPPFLAGS'
43484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43489 /* end confdefs.h. */
43490 #include <math.h>
43492 main ()
43494 hypotf(0, 0);
43496 return 0;
43498 _ACEOF
43499 if ac_fn_cxx_try_compile "$LINENO"; then :
43500 glibcxx_cv_func_hypotf_use=yes
43501 else
43502 glibcxx_cv_func_hypotf_use=no
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43505 ac_ext=c
43506 ac_cpp='$CPP $CPPFLAGS'
43507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43516 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43518 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43519 for ac_func in hypotf
43520 do :
43521 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43522 if test "x$ac_cv_func_hypotf" = xyes; then :
43523 cat >>confdefs.h <<_ACEOF
43524 #define HAVE_HYPOTF 1
43525 _ACEOF
43528 done
43530 else
43532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43533 $as_echo_n "checking for _hypotf declaration... " >&6; }
43534 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43535 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43536 $as_echo_n "(cached) " >&6
43537 else
43540 ac_ext=cpp
43541 ac_cpp='$CXXCPP $CPPFLAGS'
43542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43547 /* end confdefs.h. */
43548 #include <math.h>
43550 main ()
43552 _hypotf(0, 0);
43554 return 0;
43556 _ACEOF
43557 if ac_fn_cxx_try_compile "$LINENO"; then :
43558 glibcxx_cv_func__hypotf_use=yes
43559 else
43560 glibcxx_cv_func__hypotf_use=no
43562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43563 ac_ext=c
43564 ac_cpp='$CPP $CPPFLAGS'
43565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43574 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43576 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43577 for ac_func in _hypotf
43578 do :
43579 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43580 if test "x$ac_cv_func__hypotf" = xyes; then :
43581 cat >>confdefs.h <<_ACEOF
43582 #define HAVE__HYPOTF 1
43583 _ACEOF
43586 done
43595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43596 $as_echo_n "checking for ldexpf declaration... " >&6; }
43597 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43598 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43599 $as_echo_n "(cached) " >&6
43600 else
43603 ac_ext=cpp
43604 ac_cpp='$CXXCPP $CPPFLAGS'
43605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43610 /* end confdefs.h. */
43611 #include <math.h>
43613 main ()
43615 ldexpf(0, 0);
43617 return 0;
43619 _ACEOF
43620 if ac_fn_cxx_try_compile "$LINENO"; then :
43621 glibcxx_cv_func_ldexpf_use=yes
43622 else
43623 glibcxx_cv_func_ldexpf_use=no
43625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43626 ac_ext=c
43627 ac_cpp='$CPP $CPPFLAGS'
43628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43637 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43639 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43640 for ac_func in ldexpf
43641 do :
43642 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43643 if test "x$ac_cv_func_ldexpf" = xyes; then :
43644 cat >>confdefs.h <<_ACEOF
43645 #define HAVE_LDEXPF 1
43646 _ACEOF
43649 done
43651 else
43653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43654 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43655 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43656 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43657 $as_echo_n "(cached) " >&6
43658 else
43661 ac_ext=cpp
43662 ac_cpp='$CXXCPP $CPPFLAGS'
43663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43668 /* end confdefs.h. */
43669 #include <math.h>
43671 main ()
43673 _ldexpf(0, 0);
43675 return 0;
43677 _ACEOF
43678 if ac_fn_cxx_try_compile "$LINENO"; then :
43679 glibcxx_cv_func__ldexpf_use=yes
43680 else
43681 glibcxx_cv_func__ldexpf_use=no
43683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43684 ac_ext=c
43685 ac_cpp='$CPP $CPPFLAGS'
43686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43695 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43697 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43698 for ac_func in _ldexpf
43699 do :
43700 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43701 if test "x$ac_cv_func__ldexpf" = xyes; then :
43702 cat >>confdefs.h <<_ACEOF
43703 #define HAVE__LDEXPF 1
43704 _ACEOF
43707 done
43716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43717 $as_echo_n "checking for logf declaration... " >&6; }
43718 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43719 if ${glibcxx_cv_func_logf_use+:} false; then :
43720 $as_echo_n "(cached) " >&6
43721 else
43724 ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43731 /* end confdefs.h. */
43732 #include <math.h>
43733 #ifdef HAVE_IEEEFP_H
43734 #include <ieeefp.h>
43735 #endif
43738 main ()
43740 logf(0);
43742 return 0;
43744 _ACEOF
43745 if ac_fn_cxx_try_compile "$LINENO"; then :
43746 glibcxx_cv_func_logf_use=yes
43747 else
43748 glibcxx_cv_func_logf_use=no
43750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43751 ac_ext=c
43752 ac_cpp='$CPP $CPPFLAGS'
43753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43762 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43764 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43765 for ac_func in logf
43766 do :
43767 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43768 if test "x$ac_cv_func_logf" = xyes; then :
43769 cat >>confdefs.h <<_ACEOF
43770 #define HAVE_LOGF 1
43771 _ACEOF
43774 done
43776 else
43778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43779 $as_echo_n "checking for _logf declaration... " >&6; }
43780 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43781 if ${glibcxx_cv_func__logf_use+:} false; then :
43782 $as_echo_n "(cached) " >&6
43783 else
43786 ac_ext=cpp
43787 ac_cpp='$CXXCPP $CPPFLAGS'
43788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43793 /* end confdefs.h. */
43794 #include <math.h>
43795 #ifdef HAVE_IEEEFP_H
43796 #include <ieeefp.h>
43797 #endif
43800 main ()
43802 _logf(0);
43804 return 0;
43806 _ACEOF
43807 if ac_fn_cxx_try_compile "$LINENO"; then :
43808 glibcxx_cv_func__logf_use=yes
43809 else
43810 glibcxx_cv_func__logf_use=no
43812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43813 ac_ext=c
43814 ac_cpp='$CPP $CPPFLAGS'
43815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43824 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43826 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43827 for ac_func in _logf
43828 do :
43829 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43830 if test "x$ac_cv_func__logf" = xyes; then :
43831 cat >>confdefs.h <<_ACEOF
43832 #define HAVE__LOGF 1
43833 _ACEOF
43836 done
43845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43846 $as_echo_n "checking for log10f declaration... " >&6; }
43847 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43848 if ${glibcxx_cv_func_log10f_use+:} false; then :
43849 $as_echo_n "(cached) " >&6
43850 else
43853 ac_ext=cpp
43854 ac_cpp='$CXXCPP $CPPFLAGS'
43855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43860 /* end confdefs.h. */
43861 #include <math.h>
43862 #ifdef HAVE_IEEEFP_H
43863 #include <ieeefp.h>
43864 #endif
43867 main ()
43869 log10f(0);
43871 return 0;
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func_log10f_use=yes
43876 else
43877 glibcxx_cv_func_log10f_use=no
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43891 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43893 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43894 for ac_func in log10f
43895 do :
43896 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43897 if test "x$ac_cv_func_log10f" = xyes; then :
43898 cat >>confdefs.h <<_ACEOF
43899 #define HAVE_LOG10F 1
43900 _ACEOF
43903 done
43905 else
43907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43908 $as_echo_n "checking for _log10f declaration... " >&6; }
43909 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43910 if ${glibcxx_cv_func__log10f_use+:} false; then :
43911 $as_echo_n "(cached) " >&6
43912 else
43915 ac_ext=cpp
43916 ac_cpp='$CXXCPP $CPPFLAGS'
43917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43922 /* end confdefs.h. */
43923 #include <math.h>
43924 #ifdef HAVE_IEEEFP_H
43925 #include <ieeefp.h>
43926 #endif
43929 main ()
43931 _log10f(0);
43933 return 0;
43935 _ACEOF
43936 if ac_fn_cxx_try_compile "$LINENO"; then :
43937 glibcxx_cv_func__log10f_use=yes
43938 else
43939 glibcxx_cv_func__log10f_use=no
43941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43942 ac_ext=c
43943 ac_cpp='$CPP $CPPFLAGS'
43944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43953 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43955 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43956 for ac_func in _log10f
43957 do :
43958 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43959 if test "x$ac_cv_func__log10f" = xyes; then :
43960 cat >>confdefs.h <<_ACEOF
43961 #define HAVE__LOG10F 1
43962 _ACEOF
43965 done
43974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43975 $as_echo_n "checking for modff declaration... " >&6; }
43976 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43977 if ${glibcxx_cv_func_modff_use+:} false; then :
43978 $as_echo_n "(cached) " >&6
43979 else
43982 ac_ext=cpp
43983 ac_cpp='$CXXCPP $CPPFLAGS'
43984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43989 /* end confdefs.h. */
43990 #include <math.h>
43992 main ()
43994 modff(0, 0);
43996 return 0;
43998 _ACEOF
43999 if ac_fn_cxx_try_compile "$LINENO"; then :
44000 glibcxx_cv_func_modff_use=yes
44001 else
44002 glibcxx_cv_func_modff_use=no
44004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44005 ac_ext=c
44006 ac_cpp='$CPP $CPPFLAGS'
44007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44016 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44018 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44019 for ac_func in modff
44020 do :
44021 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44022 if test "x$ac_cv_func_modff" = xyes; then :
44023 cat >>confdefs.h <<_ACEOF
44024 #define HAVE_MODFF 1
44025 _ACEOF
44028 done
44030 else
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44033 $as_echo_n "checking for _modff declaration... " >&6; }
44034 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44035 if ${glibcxx_cv_func__modff_use+:} false; then :
44036 $as_echo_n "(cached) " >&6
44037 else
44040 ac_ext=cpp
44041 ac_cpp='$CXXCPP $CPPFLAGS'
44042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44047 /* end confdefs.h. */
44048 #include <math.h>
44050 main ()
44052 _modff(0, 0);
44054 return 0;
44056 _ACEOF
44057 if ac_fn_cxx_try_compile "$LINENO"; then :
44058 glibcxx_cv_func__modff_use=yes
44059 else
44060 glibcxx_cv_func__modff_use=no
44062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44063 ac_ext=c
44064 ac_cpp='$CPP $CPPFLAGS'
44065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44074 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44076 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44077 for ac_func in _modff
44078 do :
44079 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44080 if test "x$ac_cv_func__modff" = xyes; then :
44081 cat >>confdefs.h <<_ACEOF
44082 #define HAVE__MODFF 1
44083 _ACEOF
44086 done
44095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44096 $as_echo_n "checking for modf declaration... " >&6; }
44097 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44098 if ${glibcxx_cv_func_modf_use+:} false; then :
44099 $as_echo_n "(cached) " >&6
44100 else
44103 ac_ext=cpp
44104 ac_cpp='$CXXCPP $CPPFLAGS'
44105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44110 /* end confdefs.h. */
44111 #include <math.h>
44113 main ()
44115 modf(0, 0);
44117 return 0;
44119 _ACEOF
44120 if ac_fn_cxx_try_compile "$LINENO"; then :
44121 glibcxx_cv_func_modf_use=yes
44122 else
44123 glibcxx_cv_func_modf_use=no
44125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44126 ac_ext=c
44127 ac_cpp='$CPP $CPPFLAGS'
44128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44137 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44139 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44140 for ac_func in modf
44141 do :
44142 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44143 if test "x$ac_cv_func_modf" = xyes; then :
44144 cat >>confdefs.h <<_ACEOF
44145 #define HAVE_MODF 1
44146 _ACEOF
44149 done
44151 else
44153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44154 $as_echo_n "checking for _modf declaration... " >&6; }
44155 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44156 if ${glibcxx_cv_func__modf_use+:} false; then :
44157 $as_echo_n "(cached) " >&6
44158 else
44161 ac_ext=cpp
44162 ac_cpp='$CXXCPP $CPPFLAGS'
44163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44168 /* end confdefs.h. */
44169 #include <math.h>
44171 main ()
44173 _modf(0, 0);
44175 return 0;
44177 _ACEOF
44178 if ac_fn_cxx_try_compile "$LINENO"; then :
44179 glibcxx_cv_func__modf_use=yes
44180 else
44181 glibcxx_cv_func__modf_use=no
44183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44184 ac_ext=c
44185 ac_cpp='$CPP $CPPFLAGS'
44186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44195 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44197 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44198 for ac_func in _modf
44199 do :
44200 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44201 if test "x$ac_cv_func__modf" = xyes; then :
44202 cat >>confdefs.h <<_ACEOF
44203 #define HAVE__MODF 1
44204 _ACEOF
44207 done
44216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44217 $as_echo_n "checking for powf declaration... " >&6; }
44218 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44219 if ${glibcxx_cv_func_powf_use+:} false; then :
44220 $as_echo_n "(cached) " >&6
44221 else
44224 ac_ext=cpp
44225 ac_cpp='$CXXCPP $CPPFLAGS'
44226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44231 /* end confdefs.h. */
44232 #include <math.h>
44234 main ()
44236 powf(0, 0);
44238 return 0;
44240 _ACEOF
44241 if ac_fn_cxx_try_compile "$LINENO"; then :
44242 glibcxx_cv_func_powf_use=yes
44243 else
44244 glibcxx_cv_func_powf_use=no
44246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44247 ac_ext=c
44248 ac_cpp='$CPP $CPPFLAGS'
44249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44258 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44260 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44261 for ac_func in powf
44262 do :
44263 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44264 if test "x$ac_cv_func_powf" = xyes; then :
44265 cat >>confdefs.h <<_ACEOF
44266 #define HAVE_POWF 1
44267 _ACEOF
44270 done
44272 else
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44275 $as_echo_n "checking for _powf declaration... " >&6; }
44276 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44277 if ${glibcxx_cv_func__powf_use+:} false; then :
44278 $as_echo_n "(cached) " >&6
44279 else
44282 ac_ext=cpp
44283 ac_cpp='$CXXCPP $CPPFLAGS'
44284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44289 /* end confdefs.h. */
44290 #include <math.h>
44292 main ()
44294 _powf(0, 0);
44296 return 0;
44298 _ACEOF
44299 if ac_fn_cxx_try_compile "$LINENO"; then :
44300 glibcxx_cv_func__powf_use=yes
44301 else
44302 glibcxx_cv_func__powf_use=no
44304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44305 ac_ext=c
44306 ac_cpp='$CPP $CPPFLAGS'
44307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44316 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44318 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44319 for ac_func in _powf
44320 do :
44321 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44322 if test "x$ac_cv_func__powf" = xyes; then :
44323 cat >>confdefs.h <<_ACEOF
44324 #define HAVE__POWF 1
44325 _ACEOF
44328 done
44337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44338 $as_echo_n "checking for sqrtf declaration... " >&6; }
44339 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44340 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44341 $as_echo_n "(cached) " >&6
44342 else
44345 ac_ext=cpp
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44352 /* end confdefs.h. */
44353 #include <math.h>
44354 #ifdef HAVE_IEEEFP_H
44355 #include <ieeefp.h>
44356 #endif
44359 main ()
44361 sqrtf(0);
44363 return 0;
44365 _ACEOF
44366 if ac_fn_cxx_try_compile "$LINENO"; then :
44367 glibcxx_cv_func_sqrtf_use=yes
44368 else
44369 glibcxx_cv_func_sqrtf_use=no
44371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44372 ac_ext=c
44373 ac_cpp='$CPP $CPPFLAGS'
44374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44383 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44385 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44386 for ac_func in sqrtf
44387 do :
44388 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44389 if test "x$ac_cv_func_sqrtf" = xyes; then :
44390 cat >>confdefs.h <<_ACEOF
44391 #define HAVE_SQRTF 1
44392 _ACEOF
44395 done
44397 else
44399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44400 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44401 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44402 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44403 $as_echo_n "(cached) " >&6
44404 else
44407 ac_ext=cpp
44408 ac_cpp='$CXXCPP $CPPFLAGS'
44409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44414 /* end confdefs.h. */
44415 #include <math.h>
44416 #ifdef HAVE_IEEEFP_H
44417 #include <ieeefp.h>
44418 #endif
44421 main ()
44423 _sqrtf(0);
44425 return 0;
44427 _ACEOF
44428 if ac_fn_cxx_try_compile "$LINENO"; then :
44429 glibcxx_cv_func__sqrtf_use=yes
44430 else
44431 glibcxx_cv_func__sqrtf_use=no
44433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44434 ac_ext=c
44435 ac_cpp='$CPP $CPPFLAGS'
44436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44445 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44447 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44448 for ac_func in _sqrtf
44449 do :
44450 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44451 if test "x$ac_cv_func__sqrtf" = xyes; then :
44452 cat >>confdefs.h <<_ACEOF
44453 #define HAVE__SQRTF 1
44454 _ACEOF
44457 done
44466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44467 $as_echo_n "checking for sincosf declaration... " >&6; }
44468 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44469 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44470 $as_echo_n "(cached) " >&6
44471 else
44474 ac_ext=cpp
44475 ac_cpp='$CXXCPP $CPPFLAGS'
44476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44481 /* end confdefs.h. */
44482 #include <math.h>
44484 main ()
44486 sincosf(0, 0, 0);
44488 return 0;
44490 _ACEOF
44491 if ac_fn_cxx_try_compile "$LINENO"; then :
44492 glibcxx_cv_func_sincosf_use=yes
44493 else
44494 glibcxx_cv_func_sincosf_use=no
44496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44497 ac_ext=c
44498 ac_cpp='$CPP $CPPFLAGS'
44499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44508 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44510 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44511 for ac_func in sincosf
44512 do :
44513 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44514 if test "x$ac_cv_func_sincosf" = xyes; then :
44515 cat >>confdefs.h <<_ACEOF
44516 #define HAVE_SINCOSF 1
44517 _ACEOF
44520 done
44522 else
44524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44525 $as_echo_n "checking for _sincosf declaration... " >&6; }
44526 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44527 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44528 $as_echo_n "(cached) " >&6
44529 else
44532 ac_ext=cpp
44533 ac_cpp='$CXXCPP $CPPFLAGS'
44534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44539 /* end confdefs.h. */
44540 #include <math.h>
44542 main ()
44544 _sincosf(0, 0, 0);
44546 return 0;
44548 _ACEOF
44549 if ac_fn_cxx_try_compile "$LINENO"; then :
44550 glibcxx_cv_func__sincosf_use=yes
44551 else
44552 glibcxx_cv_func__sincosf_use=no
44554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44555 ac_ext=c
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44566 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44568 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44569 for ac_func in _sincosf
44570 do :
44571 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44572 if test "x$ac_cv_func__sincosf" = xyes; then :
44573 cat >>confdefs.h <<_ACEOF
44574 #define HAVE__SINCOSF 1
44575 _ACEOF
44578 done
44587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44588 $as_echo_n "checking for finitef declaration... " >&6; }
44589 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44590 if ${glibcxx_cv_func_finitef_use+:} false; then :
44591 $as_echo_n "(cached) " >&6
44592 else
44595 ac_ext=cpp
44596 ac_cpp='$CXXCPP $CPPFLAGS'
44597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44602 /* end confdefs.h. */
44603 #include <math.h>
44604 #ifdef HAVE_IEEEFP_H
44605 #include <ieeefp.h>
44606 #endif
44609 main ()
44611 finitef(0);
44613 return 0;
44615 _ACEOF
44616 if ac_fn_cxx_try_compile "$LINENO"; then :
44617 glibcxx_cv_func_finitef_use=yes
44618 else
44619 glibcxx_cv_func_finitef_use=no
44621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44622 ac_ext=c
44623 ac_cpp='$CPP $CPPFLAGS'
44624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44633 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44635 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44636 for ac_func in finitef
44637 do :
44638 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44639 if test "x$ac_cv_func_finitef" = xyes; then :
44640 cat >>confdefs.h <<_ACEOF
44641 #define HAVE_FINITEF 1
44642 _ACEOF
44645 done
44647 else
44649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44650 $as_echo_n "checking for _finitef declaration... " >&6; }
44651 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44652 if ${glibcxx_cv_func__finitef_use+:} false; then :
44653 $as_echo_n "(cached) " >&6
44654 else
44657 ac_ext=cpp
44658 ac_cpp='$CXXCPP $CPPFLAGS'
44659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44664 /* end confdefs.h. */
44665 #include <math.h>
44666 #ifdef HAVE_IEEEFP_H
44667 #include <ieeefp.h>
44668 #endif
44671 main ()
44673 _finitef(0);
44675 return 0;
44677 _ACEOF
44678 if ac_fn_cxx_try_compile "$LINENO"; then :
44679 glibcxx_cv_func__finitef_use=yes
44680 else
44681 glibcxx_cv_func__finitef_use=no
44683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44684 ac_ext=c
44685 ac_cpp='$CPP $CPPFLAGS'
44686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44695 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44697 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44698 for ac_func in _finitef
44699 do :
44700 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44701 if test "x$ac_cv_func__finitef" = xyes; then :
44702 cat >>confdefs.h <<_ACEOF
44703 #define HAVE__FINITEF 1
44704 _ACEOF
44707 done
44716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44717 $as_echo_n "checking for long double trig functions... " >&6; }
44718 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44719 $as_echo_n "(cached) " >&6
44720 else
44723 ac_ext=cpp
44724 ac_cpp='$CXXCPP $CPPFLAGS'
44725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44730 /* end confdefs.h. */
44731 #include <math.h>
44733 main ()
44735 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44737 return 0;
44739 _ACEOF
44740 if ac_fn_cxx_try_compile "$LINENO"; then :
44741 glibcxx_cv_func_long_double_trig_use=yes
44742 else
44743 glibcxx_cv_func_long_double_trig_use=no
44745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44746 ac_ext=c
44747 ac_cpp='$CPP $CPPFLAGS'
44748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44755 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44756 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44757 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44758 do :
44759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44761 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44762 cat >>confdefs.h <<_ACEOF
44763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44764 _ACEOF
44767 done
44769 else
44770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44771 $as_echo_n "checking for _long double trig functions... " >&6; }
44772 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44773 $as_echo_n "(cached) " >&6
44774 else
44777 ac_ext=cpp
44778 ac_cpp='$CXXCPP $CPPFLAGS'
44779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44784 /* end confdefs.h. */
44785 #include <math.h>
44787 main ()
44789 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44791 return 0;
44793 _ACEOF
44794 if ac_fn_cxx_try_compile "$LINENO"; then :
44795 glibcxx_cv_func__long_double_trig_use=yes
44796 else
44797 glibcxx_cv_func__long_double_trig_use=no
44799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44809 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44810 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44811 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44812 do :
44813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44816 cat >>confdefs.h <<_ACEOF
44817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44818 _ACEOF
44821 done
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44831 $as_echo_n "checking for long double round functions... " >&6; }
44832 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44833 $as_echo_n "(cached) " >&6
44834 else
44837 ac_ext=cpp
44838 ac_cpp='$CXXCPP $CPPFLAGS'
44839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44844 /* end confdefs.h. */
44845 #include <math.h>
44847 main ()
44849 ceill (0); floorl (0);
44851 return 0;
44853 _ACEOF
44854 if ac_fn_cxx_try_compile "$LINENO"; then :
44855 glibcxx_cv_func_long_double_round_use=yes
44856 else
44857 glibcxx_cv_func_long_double_round_use=no
44859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44860 ac_ext=c
44861 ac_cpp='$CPP $CPPFLAGS'
44862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44869 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44870 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44871 for ac_func in ceill floorl
44872 do :
44873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44875 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44876 cat >>confdefs.h <<_ACEOF
44877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44878 _ACEOF
44881 done
44883 else
44884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44885 $as_echo_n "checking for _long double round functions... " >&6; }
44886 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44887 $as_echo_n "(cached) " >&6
44888 else
44891 ac_ext=cpp
44892 ac_cpp='$CXXCPP $CPPFLAGS'
44893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44898 /* end confdefs.h. */
44899 #include <math.h>
44901 main ()
44903 _ceill (0); _floorl (0);
44905 return 0;
44907 _ACEOF
44908 if ac_fn_cxx_try_compile "$LINENO"; then :
44909 glibcxx_cv_func__long_double_round_use=yes
44910 else
44911 glibcxx_cv_func__long_double_round_use=no
44913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44914 ac_ext=c
44915 ac_cpp='$CPP $CPPFLAGS'
44916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44923 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44924 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44925 for ac_func in _ceill _floorl
44926 do :
44927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44929 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44930 cat >>confdefs.h <<_ACEOF
44931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44932 _ACEOF
44935 done
44945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44946 $as_echo_n "checking for isnanl declaration... " >&6; }
44947 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44948 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44949 $as_echo_n "(cached) " >&6
44950 else
44953 ac_ext=cpp
44954 ac_cpp='$CXXCPP $CPPFLAGS'
44955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44960 /* end confdefs.h. */
44961 #include <math.h>
44962 #ifdef HAVE_IEEEFP_H
44963 #include <ieeefp.h>
44964 #endif
44967 main ()
44969 isnanl(0);
44971 return 0;
44973 _ACEOF
44974 if ac_fn_cxx_try_compile "$LINENO"; then :
44975 glibcxx_cv_func_isnanl_use=yes
44976 else
44977 glibcxx_cv_func_isnanl_use=no
44979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44980 ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44991 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44993 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44994 for ac_func in isnanl
44995 do :
44996 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44997 if test "x$ac_cv_func_isnanl" = xyes; then :
44998 cat >>confdefs.h <<_ACEOF
44999 #define HAVE_ISNANL 1
45000 _ACEOF
45003 done
45005 else
45007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45008 $as_echo_n "checking for _isnanl declaration... " >&6; }
45009 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45010 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45011 $as_echo_n "(cached) " >&6
45012 else
45015 ac_ext=cpp
45016 ac_cpp='$CXXCPP $CPPFLAGS'
45017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45022 /* end confdefs.h. */
45023 #include <math.h>
45024 #ifdef HAVE_IEEEFP_H
45025 #include <ieeefp.h>
45026 #endif
45029 main ()
45031 _isnanl(0);
45033 return 0;
45035 _ACEOF
45036 if ac_fn_cxx_try_compile "$LINENO"; then :
45037 glibcxx_cv_func__isnanl_use=yes
45038 else
45039 glibcxx_cv_func__isnanl_use=no
45041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45042 ac_ext=c
45043 ac_cpp='$CPP $CPPFLAGS'
45044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45053 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45055 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45056 for ac_func in _isnanl
45057 do :
45058 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45059 if test "x$ac_cv_func__isnanl" = xyes; then :
45060 cat >>confdefs.h <<_ACEOF
45061 #define HAVE__ISNANL 1
45062 _ACEOF
45065 done
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45075 $as_echo_n "checking for isinfl declaration... " >&6; }
45076 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45077 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45078 $as_echo_n "(cached) " >&6
45079 else
45082 ac_ext=cpp
45083 ac_cpp='$CXXCPP $CPPFLAGS'
45084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45089 /* end confdefs.h. */
45090 #include <math.h>
45091 #ifdef HAVE_IEEEFP_H
45092 #include <ieeefp.h>
45093 #endif
45096 main ()
45098 isinfl(0);
45100 return 0;
45102 _ACEOF
45103 if ac_fn_cxx_try_compile "$LINENO"; then :
45104 glibcxx_cv_func_isinfl_use=yes
45105 else
45106 glibcxx_cv_func_isinfl_use=no
45108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45109 ac_ext=c
45110 ac_cpp='$CPP $CPPFLAGS'
45111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45120 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45122 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45123 for ac_func in isinfl
45124 do :
45125 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45126 if test "x$ac_cv_func_isinfl" = xyes; then :
45127 cat >>confdefs.h <<_ACEOF
45128 #define HAVE_ISINFL 1
45129 _ACEOF
45132 done
45134 else
45136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45137 $as_echo_n "checking for _isinfl declaration... " >&6; }
45138 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45139 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45140 $as_echo_n "(cached) " >&6
45141 else
45144 ac_ext=cpp
45145 ac_cpp='$CXXCPP $CPPFLAGS'
45146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45151 /* end confdefs.h. */
45152 #include <math.h>
45153 #ifdef HAVE_IEEEFP_H
45154 #include <ieeefp.h>
45155 #endif
45158 main ()
45160 _isinfl(0);
45162 return 0;
45164 _ACEOF
45165 if ac_fn_cxx_try_compile "$LINENO"; then :
45166 glibcxx_cv_func__isinfl_use=yes
45167 else
45168 glibcxx_cv_func__isinfl_use=no
45170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45171 ac_ext=c
45172 ac_cpp='$CPP $CPPFLAGS'
45173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45182 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45184 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45185 for ac_func in _isinfl
45186 do :
45187 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45188 if test "x$ac_cv_func__isinfl" = xyes; then :
45189 cat >>confdefs.h <<_ACEOF
45190 #define HAVE__ISINFL 1
45191 _ACEOF
45194 done
45203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45204 $as_echo_n "checking for atan2l declaration... " >&6; }
45205 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45206 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45207 $as_echo_n "(cached) " >&6
45208 else
45211 ac_ext=cpp
45212 ac_cpp='$CXXCPP $CPPFLAGS'
45213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45218 /* end confdefs.h. */
45219 #include <math.h>
45221 main ()
45223 atan2l(0, 0);
45225 return 0;
45227 _ACEOF
45228 if ac_fn_cxx_try_compile "$LINENO"; then :
45229 glibcxx_cv_func_atan2l_use=yes
45230 else
45231 glibcxx_cv_func_atan2l_use=no
45233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45234 ac_ext=c
45235 ac_cpp='$CPP $CPPFLAGS'
45236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45245 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45247 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45248 for ac_func in atan2l
45249 do :
45250 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45251 if test "x$ac_cv_func_atan2l" = xyes; then :
45252 cat >>confdefs.h <<_ACEOF
45253 #define HAVE_ATAN2L 1
45254 _ACEOF
45257 done
45259 else
45261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45262 $as_echo_n "checking for _atan2l declaration... " >&6; }
45263 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45264 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45265 $as_echo_n "(cached) " >&6
45266 else
45269 ac_ext=cpp
45270 ac_cpp='$CXXCPP $CPPFLAGS'
45271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45276 /* end confdefs.h. */
45277 #include <math.h>
45279 main ()
45281 _atan2l(0, 0);
45283 return 0;
45285 _ACEOF
45286 if ac_fn_cxx_try_compile "$LINENO"; then :
45287 glibcxx_cv_func__atan2l_use=yes
45288 else
45289 glibcxx_cv_func__atan2l_use=no
45291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45292 ac_ext=c
45293 ac_cpp='$CPP $CPPFLAGS'
45294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45303 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45305 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45306 for ac_func in _atan2l
45307 do :
45308 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45309 if test "x$ac_cv_func__atan2l" = xyes; then :
45310 cat >>confdefs.h <<_ACEOF
45311 #define HAVE__ATAN2L 1
45312 _ACEOF
45315 done
45324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45325 $as_echo_n "checking for expl declaration... " >&6; }
45326 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45327 if ${glibcxx_cv_func_expl_use+:} false; then :
45328 $as_echo_n "(cached) " >&6
45329 else
45332 ac_ext=cpp
45333 ac_cpp='$CXXCPP $CPPFLAGS'
45334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45339 /* end confdefs.h. */
45340 #include <math.h>
45341 #ifdef HAVE_IEEEFP_H
45342 #include <ieeefp.h>
45343 #endif
45346 main ()
45348 expl(0);
45350 return 0;
45352 _ACEOF
45353 if ac_fn_cxx_try_compile "$LINENO"; then :
45354 glibcxx_cv_func_expl_use=yes
45355 else
45356 glibcxx_cv_func_expl_use=no
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45359 ac_ext=c
45360 ac_cpp='$CPP $CPPFLAGS'
45361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45370 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45372 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45373 for ac_func in expl
45374 do :
45375 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45376 if test "x$ac_cv_func_expl" = xyes; then :
45377 cat >>confdefs.h <<_ACEOF
45378 #define HAVE_EXPL 1
45379 _ACEOF
45382 done
45384 else
45386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45387 $as_echo_n "checking for _expl declaration... " >&6; }
45388 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45389 if ${glibcxx_cv_func__expl_use+:} false; then :
45390 $as_echo_n "(cached) " >&6
45391 else
45394 ac_ext=cpp
45395 ac_cpp='$CXXCPP $CPPFLAGS'
45396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45401 /* end confdefs.h. */
45402 #include <math.h>
45403 #ifdef HAVE_IEEEFP_H
45404 #include <ieeefp.h>
45405 #endif
45408 main ()
45410 _expl(0);
45412 return 0;
45414 _ACEOF
45415 if ac_fn_cxx_try_compile "$LINENO"; then :
45416 glibcxx_cv_func__expl_use=yes
45417 else
45418 glibcxx_cv_func__expl_use=no
45420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45421 ac_ext=c
45422 ac_cpp='$CPP $CPPFLAGS'
45423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45432 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45434 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45435 for ac_func in _expl
45436 do :
45437 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45438 if test "x$ac_cv_func__expl" = xyes; then :
45439 cat >>confdefs.h <<_ACEOF
45440 #define HAVE__EXPL 1
45441 _ACEOF
45444 done
45453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45454 $as_echo_n "checking for fabsl declaration... " >&6; }
45455 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45456 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45457 $as_echo_n "(cached) " >&6
45458 else
45461 ac_ext=cpp
45462 ac_cpp='$CXXCPP $CPPFLAGS'
45463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45468 /* end confdefs.h. */
45469 #include <math.h>
45470 #ifdef HAVE_IEEEFP_H
45471 #include <ieeefp.h>
45472 #endif
45475 main ()
45477 fabsl(0);
45479 return 0;
45481 _ACEOF
45482 if ac_fn_cxx_try_compile "$LINENO"; then :
45483 glibcxx_cv_func_fabsl_use=yes
45484 else
45485 glibcxx_cv_func_fabsl_use=no
45487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45488 ac_ext=c
45489 ac_cpp='$CPP $CPPFLAGS'
45490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45499 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45501 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45502 for ac_func in fabsl
45503 do :
45504 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45505 if test "x$ac_cv_func_fabsl" = xyes; then :
45506 cat >>confdefs.h <<_ACEOF
45507 #define HAVE_FABSL 1
45508 _ACEOF
45511 done
45513 else
45515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45516 $as_echo_n "checking for _fabsl declaration... " >&6; }
45517 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45518 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45519 $as_echo_n "(cached) " >&6
45520 else
45523 ac_ext=cpp
45524 ac_cpp='$CXXCPP $CPPFLAGS'
45525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45530 /* end confdefs.h. */
45531 #include <math.h>
45532 #ifdef HAVE_IEEEFP_H
45533 #include <ieeefp.h>
45534 #endif
45537 main ()
45539 _fabsl(0);
45541 return 0;
45543 _ACEOF
45544 if ac_fn_cxx_try_compile "$LINENO"; then :
45545 glibcxx_cv_func__fabsl_use=yes
45546 else
45547 glibcxx_cv_func__fabsl_use=no
45549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45550 ac_ext=c
45551 ac_cpp='$CPP $CPPFLAGS'
45552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45561 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45563 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45564 for ac_func in _fabsl
45565 do :
45566 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45567 if test "x$ac_cv_func__fabsl" = xyes; then :
45568 cat >>confdefs.h <<_ACEOF
45569 #define HAVE__FABSL 1
45570 _ACEOF
45573 done
45582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45583 $as_echo_n "checking for fmodl declaration... " >&6; }
45584 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45585 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45586 $as_echo_n "(cached) " >&6
45587 else
45590 ac_ext=cpp
45591 ac_cpp='$CXXCPP $CPPFLAGS'
45592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45597 /* end confdefs.h. */
45598 #include <math.h>
45600 main ()
45602 fmodl(0, 0);
45604 return 0;
45606 _ACEOF
45607 if ac_fn_cxx_try_compile "$LINENO"; then :
45608 glibcxx_cv_func_fmodl_use=yes
45609 else
45610 glibcxx_cv_func_fmodl_use=no
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613 ac_ext=c
45614 ac_cpp='$CPP $CPPFLAGS'
45615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45624 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45626 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45627 for ac_func in fmodl
45628 do :
45629 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45630 if test "x$ac_cv_func_fmodl" = xyes; then :
45631 cat >>confdefs.h <<_ACEOF
45632 #define HAVE_FMODL 1
45633 _ACEOF
45636 done
45638 else
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45641 $as_echo_n "checking for _fmodl declaration... " >&6; }
45642 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45643 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45644 $as_echo_n "(cached) " >&6
45645 else
45648 ac_ext=cpp
45649 ac_cpp='$CXXCPP $CPPFLAGS'
45650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45655 /* end confdefs.h. */
45656 #include <math.h>
45658 main ()
45660 _fmodl(0, 0);
45662 return 0;
45664 _ACEOF
45665 if ac_fn_cxx_try_compile "$LINENO"; then :
45666 glibcxx_cv_func__fmodl_use=yes
45667 else
45668 glibcxx_cv_func__fmodl_use=no
45670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45671 ac_ext=c
45672 ac_cpp='$CPP $CPPFLAGS'
45673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45682 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45684 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45685 for ac_func in _fmodl
45686 do :
45687 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45688 if test "x$ac_cv_func__fmodl" = xyes; then :
45689 cat >>confdefs.h <<_ACEOF
45690 #define HAVE__FMODL 1
45691 _ACEOF
45694 done
45703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45704 $as_echo_n "checking for frexpl declaration... " >&6; }
45705 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45706 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45707 $as_echo_n "(cached) " >&6
45708 else
45711 ac_ext=cpp
45712 ac_cpp='$CXXCPP $CPPFLAGS'
45713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45718 /* end confdefs.h. */
45719 #include <math.h>
45721 main ()
45723 frexpl(0, 0);
45725 return 0;
45727 _ACEOF
45728 if ac_fn_cxx_try_compile "$LINENO"; then :
45729 glibcxx_cv_func_frexpl_use=yes
45730 else
45731 glibcxx_cv_func_frexpl_use=no
45733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45734 ac_ext=c
45735 ac_cpp='$CPP $CPPFLAGS'
45736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45745 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45747 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45748 for ac_func in frexpl
45749 do :
45750 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45751 if test "x$ac_cv_func_frexpl" = xyes; then :
45752 cat >>confdefs.h <<_ACEOF
45753 #define HAVE_FREXPL 1
45754 _ACEOF
45757 done
45759 else
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45762 $as_echo_n "checking for _frexpl declaration... " >&6; }
45763 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45764 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45765 $as_echo_n "(cached) " >&6
45766 else
45769 ac_ext=cpp
45770 ac_cpp='$CXXCPP $CPPFLAGS'
45771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45776 /* end confdefs.h. */
45777 #include <math.h>
45779 main ()
45781 _frexpl(0, 0);
45783 return 0;
45785 _ACEOF
45786 if ac_fn_cxx_try_compile "$LINENO"; then :
45787 glibcxx_cv_func__frexpl_use=yes
45788 else
45789 glibcxx_cv_func__frexpl_use=no
45791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45792 ac_ext=c
45793 ac_cpp='$CPP $CPPFLAGS'
45794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45803 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45805 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45806 for ac_func in _frexpl
45807 do :
45808 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45809 if test "x$ac_cv_func__frexpl" = xyes; then :
45810 cat >>confdefs.h <<_ACEOF
45811 #define HAVE__FREXPL 1
45812 _ACEOF
45815 done
45824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45825 $as_echo_n "checking for hypotl declaration... " >&6; }
45826 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45827 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45828 $as_echo_n "(cached) " >&6
45829 else
45832 ac_ext=cpp
45833 ac_cpp='$CXXCPP $CPPFLAGS'
45834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45839 /* end confdefs.h. */
45840 #include <math.h>
45842 main ()
45844 hypotl(0, 0);
45846 return 0;
45848 _ACEOF
45849 if ac_fn_cxx_try_compile "$LINENO"; then :
45850 glibcxx_cv_func_hypotl_use=yes
45851 else
45852 glibcxx_cv_func_hypotl_use=no
45854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45855 ac_ext=c
45856 ac_cpp='$CPP $CPPFLAGS'
45857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45866 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45868 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45869 for ac_func in hypotl
45870 do :
45871 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45872 if test "x$ac_cv_func_hypotl" = xyes; then :
45873 cat >>confdefs.h <<_ACEOF
45874 #define HAVE_HYPOTL 1
45875 _ACEOF
45878 done
45880 else
45882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45883 $as_echo_n "checking for _hypotl declaration... " >&6; }
45884 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45885 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45886 $as_echo_n "(cached) " >&6
45887 else
45890 ac_ext=cpp
45891 ac_cpp='$CXXCPP $CPPFLAGS'
45892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45897 /* end confdefs.h. */
45898 #include <math.h>
45900 main ()
45902 _hypotl(0, 0);
45904 return 0;
45906 _ACEOF
45907 if ac_fn_cxx_try_compile "$LINENO"; then :
45908 glibcxx_cv_func__hypotl_use=yes
45909 else
45910 glibcxx_cv_func__hypotl_use=no
45912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45913 ac_ext=c
45914 ac_cpp='$CPP $CPPFLAGS'
45915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45924 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45926 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45927 for ac_func in _hypotl
45928 do :
45929 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45930 if test "x$ac_cv_func__hypotl" = xyes; then :
45931 cat >>confdefs.h <<_ACEOF
45932 #define HAVE__HYPOTL 1
45933 _ACEOF
45936 done
45945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45946 $as_echo_n "checking for ldexpl declaration... " >&6; }
45947 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45948 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45949 $as_echo_n "(cached) " >&6
45950 else
45953 ac_ext=cpp
45954 ac_cpp='$CXXCPP $CPPFLAGS'
45955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45960 /* end confdefs.h. */
45961 #include <math.h>
45963 main ()
45965 ldexpl(0, 0);
45967 return 0;
45969 _ACEOF
45970 if ac_fn_cxx_try_compile "$LINENO"; then :
45971 glibcxx_cv_func_ldexpl_use=yes
45972 else
45973 glibcxx_cv_func_ldexpl_use=no
45975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45976 ac_ext=c
45977 ac_cpp='$CPP $CPPFLAGS'
45978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45987 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45989 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45990 for ac_func in ldexpl
45991 do :
45992 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45993 if test "x$ac_cv_func_ldexpl" = xyes; then :
45994 cat >>confdefs.h <<_ACEOF
45995 #define HAVE_LDEXPL 1
45996 _ACEOF
45999 done
46001 else
46003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46004 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46005 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46006 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46007 $as_echo_n "(cached) " >&6
46008 else
46011 ac_ext=cpp
46012 ac_cpp='$CXXCPP $CPPFLAGS'
46013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46018 /* end confdefs.h. */
46019 #include <math.h>
46021 main ()
46023 _ldexpl(0, 0);
46025 return 0;
46027 _ACEOF
46028 if ac_fn_cxx_try_compile "$LINENO"; then :
46029 glibcxx_cv_func__ldexpl_use=yes
46030 else
46031 glibcxx_cv_func__ldexpl_use=no
46033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46034 ac_ext=c
46035 ac_cpp='$CPP $CPPFLAGS'
46036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46045 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46047 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46048 for ac_func in _ldexpl
46049 do :
46050 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46051 if test "x$ac_cv_func__ldexpl" = xyes; then :
46052 cat >>confdefs.h <<_ACEOF
46053 #define HAVE__LDEXPL 1
46054 _ACEOF
46057 done
46066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46067 $as_echo_n "checking for logl declaration... " >&6; }
46068 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46069 if ${glibcxx_cv_func_logl_use+:} false; then :
46070 $as_echo_n "(cached) " >&6
46071 else
46074 ac_ext=cpp
46075 ac_cpp='$CXXCPP $CPPFLAGS'
46076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46081 /* end confdefs.h. */
46082 #include <math.h>
46083 #ifdef HAVE_IEEEFP_H
46084 #include <ieeefp.h>
46085 #endif
46088 main ()
46090 logl(0);
46092 return 0;
46094 _ACEOF
46095 if ac_fn_cxx_try_compile "$LINENO"; then :
46096 glibcxx_cv_func_logl_use=yes
46097 else
46098 glibcxx_cv_func_logl_use=no
46100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46101 ac_ext=c
46102 ac_cpp='$CPP $CPPFLAGS'
46103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46112 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46114 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46115 for ac_func in logl
46116 do :
46117 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46118 if test "x$ac_cv_func_logl" = xyes; then :
46119 cat >>confdefs.h <<_ACEOF
46120 #define HAVE_LOGL 1
46121 _ACEOF
46124 done
46126 else
46128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46129 $as_echo_n "checking for _logl declaration... " >&6; }
46130 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46131 if ${glibcxx_cv_func__logl_use+:} false; then :
46132 $as_echo_n "(cached) " >&6
46133 else
46136 ac_ext=cpp
46137 ac_cpp='$CXXCPP $CPPFLAGS'
46138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46143 /* end confdefs.h. */
46144 #include <math.h>
46145 #ifdef HAVE_IEEEFP_H
46146 #include <ieeefp.h>
46147 #endif
46150 main ()
46152 _logl(0);
46154 return 0;
46156 _ACEOF
46157 if ac_fn_cxx_try_compile "$LINENO"; then :
46158 glibcxx_cv_func__logl_use=yes
46159 else
46160 glibcxx_cv_func__logl_use=no
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163 ac_ext=c
46164 ac_cpp='$CPP $CPPFLAGS'
46165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46174 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46176 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46177 for ac_func in _logl
46178 do :
46179 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46180 if test "x$ac_cv_func__logl" = xyes; then :
46181 cat >>confdefs.h <<_ACEOF
46182 #define HAVE__LOGL 1
46183 _ACEOF
46186 done
46195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46196 $as_echo_n "checking for log10l declaration... " >&6; }
46197 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46198 if ${glibcxx_cv_func_log10l_use+:} false; then :
46199 $as_echo_n "(cached) " >&6
46200 else
46203 ac_ext=cpp
46204 ac_cpp='$CXXCPP $CPPFLAGS'
46205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46210 /* end confdefs.h. */
46211 #include <math.h>
46212 #ifdef HAVE_IEEEFP_H
46213 #include <ieeefp.h>
46214 #endif
46217 main ()
46219 log10l(0);
46221 return 0;
46223 _ACEOF
46224 if ac_fn_cxx_try_compile "$LINENO"; then :
46225 glibcxx_cv_func_log10l_use=yes
46226 else
46227 glibcxx_cv_func_log10l_use=no
46229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46230 ac_ext=c
46231 ac_cpp='$CPP $CPPFLAGS'
46232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46241 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46243 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46244 for ac_func in log10l
46245 do :
46246 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46247 if test "x$ac_cv_func_log10l" = xyes; then :
46248 cat >>confdefs.h <<_ACEOF
46249 #define HAVE_LOG10L 1
46250 _ACEOF
46253 done
46255 else
46257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46258 $as_echo_n "checking for _log10l declaration... " >&6; }
46259 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46260 if ${glibcxx_cv_func__log10l_use+:} false; then :
46261 $as_echo_n "(cached) " >&6
46262 else
46265 ac_ext=cpp
46266 ac_cpp='$CXXCPP $CPPFLAGS'
46267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46272 /* end confdefs.h. */
46273 #include <math.h>
46274 #ifdef HAVE_IEEEFP_H
46275 #include <ieeefp.h>
46276 #endif
46279 main ()
46281 _log10l(0);
46283 return 0;
46285 _ACEOF
46286 if ac_fn_cxx_try_compile "$LINENO"; then :
46287 glibcxx_cv_func__log10l_use=yes
46288 else
46289 glibcxx_cv_func__log10l_use=no
46291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46292 ac_ext=c
46293 ac_cpp='$CPP $CPPFLAGS'
46294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46303 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46305 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46306 for ac_func in _log10l
46307 do :
46308 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46309 if test "x$ac_cv_func__log10l" = xyes; then :
46310 cat >>confdefs.h <<_ACEOF
46311 #define HAVE__LOG10L 1
46312 _ACEOF
46315 done
46324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46325 $as_echo_n "checking for modfl declaration... " >&6; }
46326 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46327 if ${glibcxx_cv_func_modfl_use+:} false; then :
46328 $as_echo_n "(cached) " >&6
46329 else
46332 ac_ext=cpp
46333 ac_cpp='$CXXCPP $CPPFLAGS'
46334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46339 /* end confdefs.h. */
46340 #include <math.h>
46342 main ()
46344 modfl(0, 0);
46346 return 0;
46348 _ACEOF
46349 if ac_fn_cxx_try_compile "$LINENO"; then :
46350 glibcxx_cv_func_modfl_use=yes
46351 else
46352 glibcxx_cv_func_modfl_use=no
46354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46355 ac_ext=c
46356 ac_cpp='$CPP $CPPFLAGS'
46357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46366 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46368 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46369 for ac_func in modfl
46370 do :
46371 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46372 if test "x$ac_cv_func_modfl" = xyes; then :
46373 cat >>confdefs.h <<_ACEOF
46374 #define HAVE_MODFL 1
46375 _ACEOF
46378 done
46380 else
46382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46383 $as_echo_n "checking for _modfl declaration... " >&6; }
46384 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46385 if ${glibcxx_cv_func__modfl_use+:} false; then :
46386 $as_echo_n "(cached) " >&6
46387 else
46390 ac_ext=cpp
46391 ac_cpp='$CXXCPP $CPPFLAGS'
46392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46397 /* end confdefs.h. */
46398 #include <math.h>
46400 main ()
46402 _modfl(0, 0);
46404 return 0;
46406 _ACEOF
46407 if ac_fn_cxx_try_compile "$LINENO"; then :
46408 glibcxx_cv_func__modfl_use=yes
46409 else
46410 glibcxx_cv_func__modfl_use=no
46412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46413 ac_ext=c
46414 ac_cpp='$CPP $CPPFLAGS'
46415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46424 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46426 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46427 for ac_func in _modfl
46428 do :
46429 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46430 if test "x$ac_cv_func__modfl" = xyes; then :
46431 cat >>confdefs.h <<_ACEOF
46432 #define HAVE__MODFL 1
46433 _ACEOF
46436 done
46445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46446 $as_echo_n "checking for powl declaration... " >&6; }
46447 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46448 if ${glibcxx_cv_func_powl_use+:} false; then :
46449 $as_echo_n "(cached) " >&6
46450 else
46453 ac_ext=cpp
46454 ac_cpp='$CXXCPP $CPPFLAGS'
46455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46460 /* end confdefs.h. */
46461 #include <math.h>
46463 main ()
46465 powl(0, 0);
46467 return 0;
46469 _ACEOF
46470 if ac_fn_cxx_try_compile "$LINENO"; then :
46471 glibcxx_cv_func_powl_use=yes
46472 else
46473 glibcxx_cv_func_powl_use=no
46475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46476 ac_ext=c
46477 ac_cpp='$CPP $CPPFLAGS'
46478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46487 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46489 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46490 for ac_func in powl
46491 do :
46492 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46493 if test "x$ac_cv_func_powl" = xyes; then :
46494 cat >>confdefs.h <<_ACEOF
46495 #define HAVE_POWL 1
46496 _ACEOF
46499 done
46501 else
46503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46504 $as_echo_n "checking for _powl declaration... " >&6; }
46505 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46506 if ${glibcxx_cv_func__powl_use+:} false; then :
46507 $as_echo_n "(cached) " >&6
46508 else
46511 ac_ext=cpp
46512 ac_cpp='$CXXCPP $CPPFLAGS'
46513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46518 /* end confdefs.h. */
46519 #include <math.h>
46521 main ()
46523 _powl(0, 0);
46525 return 0;
46527 _ACEOF
46528 if ac_fn_cxx_try_compile "$LINENO"; then :
46529 glibcxx_cv_func__powl_use=yes
46530 else
46531 glibcxx_cv_func__powl_use=no
46533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46534 ac_ext=c
46535 ac_cpp='$CPP $CPPFLAGS'
46536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46545 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46547 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46548 for ac_func in _powl
46549 do :
46550 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46551 if test "x$ac_cv_func__powl" = xyes; then :
46552 cat >>confdefs.h <<_ACEOF
46553 #define HAVE__POWL 1
46554 _ACEOF
46557 done
46566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46567 $as_echo_n "checking for sqrtl declaration... " >&6; }
46568 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46569 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46570 $as_echo_n "(cached) " >&6
46571 else
46574 ac_ext=cpp
46575 ac_cpp='$CXXCPP $CPPFLAGS'
46576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46581 /* end confdefs.h. */
46582 #include <math.h>
46583 #ifdef HAVE_IEEEFP_H
46584 #include <ieeefp.h>
46585 #endif
46588 main ()
46590 sqrtl(0);
46592 return 0;
46594 _ACEOF
46595 if ac_fn_cxx_try_compile "$LINENO"; then :
46596 glibcxx_cv_func_sqrtl_use=yes
46597 else
46598 glibcxx_cv_func_sqrtl_use=no
46600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46601 ac_ext=c
46602 ac_cpp='$CPP $CPPFLAGS'
46603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46612 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46614 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46615 for ac_func in sqrtl
46616 do :
46617 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46618 if test "x$ac_cv_func_sqrtl" = xyes; then :
46619 cat >>confdefs.h <<_ACEOF
46620 #define HAVE_SQRTL 1
46621 _ACEOF
46624 done
46626 else
46628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46629 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46630 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46631 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46632 $as_echo_n "(cached) " >&6
46633 else
46636 ac_ext=cpp
46637 ac_cpp='$CXXCPP $CPPFLAGS'
46638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46643 /* end confdefs.h. */
46644 #include <math.h>
46645 #ifdef HAVE_IEEEFP_H
46646 #include <ieeefp.h>
46647 #endif
46650 main ()
46652 _sqrtl(0);
46654 return 0;
46656 _ACEOF
46657 if ac_fn_cxx_try_compile "$LINENO"; then :
46658 glibcxx_cv_func__sqrtl_use=yes
46659 else
46660 glibcxx_cv_func__sqrtl_use=no
46662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46663 ac_ext=c
46664 ac_cpp='$CPP $CPPFLAGS'
46665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46674 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46676 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46677 for ac_func in _sqrtl
46678 do :
46679 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46680 if test "x$ac_cv_func__sqrtl" = xyes; then :
46681 cat >>confdefs.h <<_ACEOF
46682 #define HAVE__SQRTL 1
46683 _ACEOF
46686 done
46695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46696 $as_echo_n "checking for sincosl declaration... " >&6; }
46697 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46698 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46699 $as_echo_n "(cached) " >&6
46700 else
46703 ac_ext=cpp
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46710 /* end confdefs.h. */
46711 #include <math.h>
46713 main ()
46715 sincosl(0, 0, 0);
46717 return 0;
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func_sincosl_use=yes
46722 else
46723 glibcxx_cv_func_sincosl_use=no
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46737 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46739 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46740 for ac_func in sincosl
46741 do :
46742 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46743 if test "x$ac_cv_func_sincosl" = xyes; then :
46744 cat >>confdefs.h <<_ACEOF
46745 #define HAVE_SINCOSL 1
46746 _ACEOF
46749 done
46751 else
46753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46754 $as_echo_n "checking for _sincosl declaration... " >&6; }
46755 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46756 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46757 $as_echo_n "(cached) " >&6
46758 else
46761 ac_ext=cpp
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768 /* end confdefs.h. */
46769 #include <math.h>
46771 main ()
46773 _sincosl(0, 0, 0);
46775 return 0;
46777 _ACEOF
46778 if ac_fn_cxx_try_compile "$LINENO"; then :
46779 glibcxx_cv_func__sincosl_use=yes
46780 else
46781 glibcxx_cv_func__sincosl_use=no
46783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46795 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46797 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46798 for ac_func in _sincosl
46799 do :
46800 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46801 if test "x$ac_cv_func__sincosl" = xyes; then :
46802 cat >>confdefs.h <<_ACEOF
46803 #define HAVE__SINCOSL 1
46804 _ACEOF
46807 done
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46817 $as_echo_n "checking for finitel declaration... " >&6; }
46818 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46819 if ${glibcxx_cv_func_finitel_use+:} false; then :
46820 $as_echo_n "(cached) " >&6
46821 else
46824 ac_ext=cpp
46825 ac_cpp='$CXXCPP $CPPFLAGS'
46826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46831 /* end confdefs.h. */
46832 #include <math.h>
46833 #ifdef HAVE_IEEEFP_H
46834 #include <ieeefp.h>
46835 #endif
46838 main ()
46840 finitel(0);
46842 return 0;
46844 _ACEOF
46845 if ac_fn_cxx_try_compile "$LINENO"; then :
46846 glibcxx_cv_func_finitel_use=yes
46847 else
46848 glibcxx_cv_func_finitel_use=no
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46851 ac_ext=c
46852 ac_cpp='$CPP $CPPFLAGS'
46853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46862 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46864 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46865 for ac_func in finitel
46866 do :
46867 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46868 if test "x$ac_cv_func_finitel" = xyes; then :
46869 cat >>confdefs.h <<_ACEOF
46870 #define HAVE_FINITEL 1
46871 _ACEOF
46874 done
46876 else
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46879 $as_echo_n "checking for _finitel declaration... " >&6; }
46880 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46881 if ${glibcxx_cv_func__finitel_use+:} false; then :
46882 $as_echo_n "(cached) " >&6
46883 else
46886 ac_ext=cpp
46887 ac_cpp='$CXXCPP $CPPFLAGS'
46888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46893 /* end confdefs.h. */
46894 #include <math.h>
46895 #ifdef HAVE_IEEEFP_H
46896 #include <ieeefp.h>
46897 #endif
46900 main ()
46902 _finitel(0);
46904 return 0;
46906 _ACEOF
46907 if ac_fn_cxx_try_compile "$LINENO"; then :
46908 glibcxx_cv_func__finitel_use=yes
46909 else
46910 glibcxx_cv_func__finitel_use=no
46912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46913 ac_ext=c
46914 ac_cpp='$CPP $CPPFLAGS'
46915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46924 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46926 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46927 for ac_func in _finitel
46928 do :
46929 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46930 if test "x$ac_cv_func__finitel" = xyes; then :
46931 cat >>confdefs.h <<_ACEOF
46932 #define HAVE__FINITEL 1
46933 _ACEOF
46936 done
46944 LIBS="$ac_save_LIBS"
46945 CXXFLAGS="$ac_save_CXXFLAGS"
46948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46949 ac_save_CXXFLAGS="$CXXFLAGS"
46950 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46954 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46955 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46956 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46957 $as_echo_n "(cached) " >&6
46958 else
46961 ac_ext=cpp
46962 ac_cpp='$CXXCPP $CPPFLAGS'
46963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46968 /* end confdefs.h. */
46969 #include <stdlib.h>
46971 main ()
46973 at_quick_exit(0);
46975 return 0;
46977 _ACEOF
46978 if ac_fn_cxx_try_compile "$LINENO"; then :
46979 glibcxx_cv_func_at_quick_exit_use=yes
46980 else
46981 glibcxx_cv_func_at_quick_exit_use=no
46983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46984 ac_ext=c
46985 ac_cpp='$CPP $CPPFLAGS'
46986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46995 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46996 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46997 for ac_func in at_quick_exit
46998 do :
46999 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47000 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE_AT_QUICK_EXIT 1
47003 _ACEOF
47006 done
47011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47012 $as_echo_n "checking for quick_exit declaration... " >&6; }
47013 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47014 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47015 $as_echo_n "(cached) " >&6
47016 else
47019 ac_ext=cpp
47020 ac_cpp='$CXXCPP $CPPFLAGS'
47021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47026 /* end confdefs.h. */
47027 #include <stdlib.h>
47029 main ()
47031 quick_exit(0);
47033 return 0;
47035 _ACEOF
47036 if ac_fn_cxx_try_compile "$LINENO"; then :
47037 glibcxx_cv_func_quick_exit_use=yes
47038 else
47039 glibcxx_cv_func_quick_exit_use=no
47041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47042 ac_ext=c
47043 ac_cpp='$CPP $CPPFLAGS'
47044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47053 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47054 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47055 for ac_func in quick_exit
47056 do :
47057 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47058 if test "x$ac_cv_func_quick_exit" = xyes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE_QUICK_EXIT 1
47061 _ACEOF
47064 done
47069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47070 $as_echo_n "checking for strtold declaration... " >&6; }
47071 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47072 if ${glibcxx_cv_func_strtold_use+:} false; then :
47073 $as_echo_n "(cached) " >&6
47074 else
47077 ac_ext=cpp
47078 ac_cpp='$CXXCPP $CPPFLAGS'
47079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47084 /* end confdefs.h. */
47085 #include <stdlib.h>
47087 main ()
47089 strtold(0, 0);
47091 return 0;
47093 _ACEOF
47094 if ac_fn_cxx_try_compile "$LINENO"; then :
47095 glibcxx_cv_func_strtold_use=yes
47096 else
47097 glibcxx_cv_func_strtold_use=no
47099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 ac_ext=c
47101 ac_cpp='$CPP $CPPFLAGS'
47102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47111 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47112 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47113 for ac_func in strtold
47114 do :
47115 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47116 if test "x$ac_cv_func_strtold" = xyes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define HAVE_STRTOLD 1
47119 _ACEOF
47122 done
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47130 $as_echo_n "checking for strtof declaration... " >&6; }
47131 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47132 if ${glibcxx_cv_func_strtof_use+:} false; then :
47133 $as_echo_n "(cached) " >&6
47134 else
47137 ac_ext=cpp
47138 ac_cpp='$CXXCPP $CPPFLAGS'
47139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47144 /* end confdefs.h. */
47145 #include <stdlib.h>
47147 main ()
47149 strtof(0, 0);
47151 return 0;
47153 _ACEOF
47154 if ac_fn_cxx_try_compile "$LINENO"; then :
47155 glibcxx_cv_func_strtof_use=yes
47156 else
47157 glibcxx_cv_func_strtof_use=no
47159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47160 ac_ext=c
47161 ac_cpp='$CPP $CPPFLAGS'
47162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47171 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47172 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47173 for ac_func in strtof
47174 do :
47175 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47176 if test "x$ac_cv_func_strtof" = xyes; then :
47177 cat >>confdefs.h <<_ACEOF
47178 #define HAVE_STRTOF 1
47179 _ACEOF
47182 done
47189 CXXFLAGS="$ac_save_CXXFLAGS"
47192 for ac_func in uselocale
47193 do :
47194 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47195 if test "x$ac_cv_func_uselocale" = xyes; then :
47196 cat >>confdefs.h <<_ACEOF
47197 #define HAVE_USELOCALE 1
47198 _ACEOF
47201 done
47205 *djgpp)
47206 # GLIBCXX_CHECK_MATH_SUPPORT
47207 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47209 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47211 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47213 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47215 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47219 *-freebsd*)
47220 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47223 # If we're not using GNU ld, then there's no point in even trying these
47224 # tests. Check for that first. We should have already tested for gld
47225 # by now (in libtool), but require it now just to be safe...
47226 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47227 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47231 # The name set by libtool depends on the version of libtool. Shame on us
47232 # for depending on an impl detail, but c'est la vie. Older versions used
47233 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47234 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47235 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47236 # set (hence we're using an older libtool), then set it.
47237 if test x${with_gnu_ld+set} != xset; then
47238 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47239 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47240 with_gnu_ld=no
47241 else
47242 with_gnu_ld=$ac_cv_prog_gnu_ld
47246 # Start by getting the version number. I think the libtool test already
47247 # does some of this, but throws away the result.
47248 glibcxx_ld_is_gold=no
47249 glibcxx_ld_is_mold=no
47250 if test x"$with_gnu_ld" = x"yes"; then
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47252 $as_echo_n "checking for ld version... " >&6; }
47254 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47255 glibcxx_ld_is_gold=yes
47256 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47257 glibcxx_ld_is_mold=yes
47259 ldver=`$LD --version 2>/dev/null |
47260 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47262 glibcxx_gnu_ld_version=`echo $ldver | \
47263 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47265 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47268 # Set --gc-sections.
47269 glibcxx_have_gc_sections=no
47270 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47271 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47272 glibcxx_have_gc_sections=yes
47274 else
47275 glibcxx_gcsections_min_ld=21602
47276 if test x"$with_gnu_ld" = x"yes" &&
47277 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47278 glibcxx_have_gc_sections=yes
47281 if test "$glibcxx_have_gc_sections" = "yes"; then
47282 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47283 # NB: This flag only works reliably after 2.16.1. Configure tests
47284 # for this are difficult, so hard wire a value that should work.
47286 ac_test_CFLAGS="${CFLAGS+set}"
47287 ac_save_CFLAGS="$CFLAGS"
47288 CFLAGS='-Wl,--gc-sections'
47290 # Check for -Wl,--gc-sections
47291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47292 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47293 if test x$gcc_no_link = xyes; then
47294 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47297 /* end confdefs.h. */
47298 int one(void) { return 1; }
47299 int two(void) { return 2; }
47302 main ()
47304 two();
47306 return 0;
47308 _ACEOF
47309 if ac_fn_c_try_link "$LINENO"; then :
47310 ac_gcsections=yes
47311 else
47312 ac_gcsections=no
47314 rm -f core conftest.err conftest.$ac_objext \
47315 conftest$ac_exeext conftest.$ac_ext
47316 if test "$ac_gcsections" = "yes"; then
47317 rm -f conftest.c
47318 touch conftest.c
47319 if $CC -c conftest.c; then
47320 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47321 grep "Warning: gc-sections option ignored" > /dev/null; then
47322 ac_gcsections=no
47325 rm -f conftest.c conftest.o conftest
47327 if test "$ac_gcsections" = "yes"; then
47328 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47331 $as_echo "$ac_gcsections" >&6; }
47333 if test "$ac_test_CFLAGS" = set; then
47334 CFLAGS="$ac_save_CFLAGS"
47335 else
47336 # this is the suspicious part
47337 CFLAGS=''
47341 # Set -z,relro.
47342 # Note this is only for shared objects.
47343 ac_ld_relro=no
47344 if test x"$with_gnu_ld" = x"yes"; then
47345 # cygwin and mingw uses PE, which has no ELF relro support,
47346 # multi target ld may confuse configure machinery
47347 case "$host" in
47348 *-*-cygwin*)
47350 *-*-mingw*)
47353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47354 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47355 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47356 if test -n "$cxx_z_relo"; then
47357 OPT_LDFLAGS="-Wl,-z,relro"
47358 ac_ld_relro=yes
47360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47361 $as_echo "$ac_ld_relro" >&6; }
47362 esac
47365 # Set linker optimization flags.
47366 if test x"$with_gnu_ld" = x"yes"; then
47367 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47373 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47375 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47377 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47379 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47381 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47383 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47385 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47387 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47389 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47392 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47394 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47396 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47398 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47400 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47402 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47404 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47406 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47408 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47410 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47412 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47414 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47416 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47418 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47420 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47422 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47424 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47426 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47428 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47430 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47432 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47434 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47436 if test x"long_double_math_on_this_cpu" = x"yes"; then
47437 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47439 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47441 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47444 for ac_func in __cxa_thread_atexit
47445 do :
47446 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47447 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47448 cat >>confdefs.h <<_ACEOF
47449 #define HAVE___CXA_THREAD_ATEXIT 1
47450 _ACEOF
47453 done
47455 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47456 do :
47457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47459 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47460 cat >>confdefs.h <<_ACEOF
47461 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47462 _ACEOF
47465 done
47467 for ac_func in timespec_get
47468 do :
47469 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47470 if test "x$ac_cv_func_timespec_get" = xyes; then :
47471 cat >>confdefs.h <<_ACEOF
47472 #define HAVE_TIMESPEC_GET 1
47473 _ACEOF
47476 done
47478 for ac_func in sockatmark
47479 do :
47480 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47481 if test "x$ac_cv_func_sockatmark" = xyes; then :
47482 cat >>confdefs.h <<_ACEOF
47483 #define HAVE_SOCKATMARK 1
47484 _ACEOF
47487 done
47489 for ac_func in uselocale
47490 do :
47491 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47492 if test "x$ac_cv_func_uselocale" = xyes; then :
47493 cat >>confdefs.h <<_ACEOF
47494 #define HAVE_USELOCALE 1
47495 _ACEOF
47498 done
47502 *-fuchsia*)
47503 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47507 *-hpux*)
47508 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47511 # If we're not using GNU ld, then there's no point in even trying these
47512 # tests. Check for that first. We should have already tested for gld
47513 # by now (in libtool), but require it now just to be safe...
47514 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47515 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47519 # The name set by libtool depends on the version of libtool. Shame on us
47520 # for depending on an impl detail, but c'est la vie. Older versions used
47521 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47522 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47523 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47524 # set (hence we're using an older libtool), then set it.
47525 if test x${with_gnu_ld+set} != xset; then
47526 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47527 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47528 with_gnu_ld=no
47529 else
47530 with_gnu_ld=$ac_cv_prog_gnu_ld
47534 # Start by getting the version number. I think the libtool test already
47535 # does some of this, but throws away the result.
47536 glibcxx_ld_is_gold=no
47537 glibcxx_ld_is_mold=no
47538 if test x"$with_gnu_ld" = x"yes"; then
47539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47540 $as_echo_n "checking for ld version... " >&6; }
47542 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47543 glibcxx_ld_is_gold=yes
47544 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47545 glibcxx_ld_is_mold=yes
47547 ldver=`$LD --version 2>/dev/null |
47548 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47550 glibcxx_gnu_ld_version=`echo $ldver | \
47551 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47553 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47556 # Set --gc-sections.
47557 glibcxx_have_gc_sections=no
47558 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47559 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47560 glibcxx_have_gc_sections=yes
47562 else
47563 glibcxx_gcsections_min_ld=21602
47564 if test x"$with_gnu_ld" = x"yes" &&
47565 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47566 glibcxx_have_gc_sections=yes
47569 if test "$glibcxx_have_gc_sections" = "yes"; then
47570 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47571 # NB: This flag only works reliably after 2.16.1. Configure tests
47572 # for this are difficult, so hard wire a value that should work.
47574 ac_test_CFLAGS="${CFLAGS+set}"
47575 ac_save_CFLAGS="$CFLAGS"
47576 CFLAGS='-Wl,--gc-sections'
47578 # Check for -Wl,--gc-sections
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47580 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47581 if test x$gcc_no_link = xyes; then
47582 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47585 /* end confdefs.h. */
47586 int one(void) { return 1; }
47587 int two(void) { return 2; }
47590 main ()
47592 two();
47594 return 0;
47596 _ACEOF
47597 if ac_fn_c_try_link "$LINENO"; then :
47598 ac_gcsections=yes
47599 else
47600 ac_gcsections=no
47602 rm -f core conftest.err conftest.$ac_objext \
47603 conftest$ac_exeext conftest.$ac_ext
47604 if test "$ac_gcsections" = "yes"; then
47605 rm -f conftest.c
47606 touch conftest.c
47607 if $CC -c conftest.c; then
47608 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47609 grep "Warning: gc-sections option ignored" > /dev/null; then
47610 ac_gcsections=no
47613 rm -f conftest.c conftest.o conftest
47615 if test "$ac_gcsections" = "yes"; then
47616 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47619 $as_echo "$ac_gcsections" >&6; }
47621 if test "$ac_test_CFLAGS" = set; then
47622 CFLAGS="$ac_save_CFLAGS"
47623 else
47624 # this is the suspicious part
47625 CFLAGS=''
47629 # Set -z,relro.
47630 # Note this is only for shared objects.
47631 ac_ld_relro=no
47632 if test x"$with_gnu_ld" = x"yes"; then
47633 # cygwin and mingw uses PE, which has no ELF relro support,
47634 # multi target ld may confuse configure machinery
47635 case "$host" in
47636 *-*-cygwin*)
47638 *-*-mingw*)
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47642 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47643 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47644 if test -n "$cxx_z_relo"; then
47645 OPT_LDFLAGS="-Wl,-z,relro"
47646 ac_ld_relro=yes
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47649 $as_echo "$ac_ld_relro" >&6; }
47650 esac
47653 # Set linker optimization flags.
47654 if test x"$with_gnu_ld" = x"yes"; then
47655 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47662 # GLIBCXX_CHECK_MATH_SUPPORT
47663 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47665 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47667 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47669 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47671 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47673 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47675 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47677 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47679 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47681 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47683 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47685 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47687 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47689 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47691 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47693 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47695 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47697 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47699 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47701 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47703 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47706 # GLIBCXX_CHECK_STDLIB_SUPPORT
47707 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47712 # Check whether --enable-tls was given.
47713 if test "${enable_tls+set}" = set; then :
47714 enableval=$enable_tls;
47715 case "$enableval" in
47716 yes|no) ;;
47717 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47718 esac
47720 else
47721 enable_tls=yes
47725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47726 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47727 if ${gcc_cv_have_tls+:} false; then :
47728 $as_echo_n "(cached) " >&6
47729 else
47731 if test "$cross_compiling" = yes; then :
47732 if test x$gcc_no_link = xyes; then
47733 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47736 /* end confdefs.h. */
47737 __thread int a; int b; int main() { return a = b; }
47738 _ACEOF
47739 if ac_fn_c_try_link "$LINENO"; then :
47740 chktls_save_LDFLAGS="$LDFLAGS"
47741 case $host in
47742 *-*-linux* | -*-uclinuxfdpic*)
47743 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47745 esac
47746 chktls_save_CFLAGS="$CFLAGS"
47747 CFLAGS="-fPIC $CFLAGS"
47748 if test x$gcc_no_link = xyes; then
47749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47752 /* end confdefs.h. */
47753 int f() { return 0; }
47754 _ACEOF
47755 if ac_fn_c_try_link "$LINENO"; then :
47756 if test x$gcc_no_link = xyes; then
47757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47760 /* end confdefs.h. */
47761 __thread int a; int b; int f() { return a = b; }
47762 _ACEOF
47763 if ac_fn_c_try_link "$LINENO"; then :
47764 gcc_cv_have_tls=yes
47765 else
47766 gcc_cv_have_tls=no
47768 rm -f core conftest.err conftest.$ac_objext \
47769 conftest$ac_exeext conftest.$ac_ext
47770 else
47771 gcc_cv_have_tls=yes
47773 rm -f core conftest.err conftest.$ac_objext \
47774 conftest$ac_exeext conftest.$ac_ext
47775 CFLAGS="$chktls_save_CFLAGS"
47776 LDFLAGS="$chktls_save_LDFLAGS"
47777 else
47778 gcc_cv_have_tls=no
47780 rm -f core conftest.err conftest.$ac_objext \
47781 conftest$ac_exeext conftest.$ac_ext
47784 else
47785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47786 /* end confdefs.h. */
47787 __thread int a; int b; int main() { return a = b; }
47788 _ACEOF
47789 if ac_fn_c_try_run "$LINENO"; then :
47790 chktls_save_LDFLAGS="$LDFLAGS"
47791 LDFLAGS="-static $LDFLAGS"
47792 if test x$gcc_no_link = xyes; then
47793 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47796 /* end confdefs.h. */
47797 int main() { return 0; }
47798 _ACEOF
47799 if ac_fn_c_try_link "$LINENO"; then :
47800 if test "$cross_compiling" = yes; then :
47801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47803 as_fn_error $? "cannot run test program while cross compiling
47804 See \`config.log' for more details" "$LINENO" 5; }
47805 else
47806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47807 /* end confdefs.h. */
47808 __thread int a; int b; int main() { return a = b; }
47809 _ACEOF
47810 if ac_fn_c_try_run "$LINENO"; then :
47811 gcc_cv_have_tls=yes
47812 else
47813 gcc_cv_have_tls=no
47815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47816 conftest.$ac_objext conftest.beam conftest.$ac_ext
47819 else
47820 gcc_cv_have_tls=yes
47822 rm -f core conftest.err conftest.$ac_objext \
47823 conftest$ac_exeext conftest.$ac_ext
47824 LDFLAGS="$chktls_save_LDFLAGS"
47825 if test $gcc_cv_have_tls = yes; then
47826 chktls_save_CFLAGS="$CFLAGS"
47827 thread_CFLAGS=failed
47828 for flag in '' '-pthread' '-lpthread'; do
47829 CFLAGS="$flag $chktls_save_CFLAGS"
47830 if test x$gcc_no_link = xyes; then
47831 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47834 /* end confdefs.h. */
47835 #include <pthread.h>
47836 void *g(void *d) { return NULL; }
47838 main ()
47840 pthread_t t; pthread_create(&t,NULL,g,NULL);
47842 return 0;
47844 _ACEOF
47845 if ac_fn_c_try_link "$LINENO"; then :
47846 thread_CFLAGS="$flag"
47848 rm -f core conftest.err conftest.$ac_objext \
47849 conftest$ac_exeext conftest.$ac_ext
47850 if test "X$thread_CFLAGS" != Xfailed; then
47851 break
47853 done
47854 CFLAGS="$chktls_save_CFLAGS"
47855 if test "X$thread_CFLAGS" != Xfailed; then
47856 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47857 if test "$cross_compiling" = yes; then :
47858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47860 as_fn_error $? "cannot run test program while cross compiling
47861 See \`config.log' for more details" "$LINENO" 5; }
47862 else
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 #include <pthread.h>
47866 __thread int a;
47867 static int *volatile a_in_other_thread;
47868 static void *
47869 thread_func (void *arg)
47871 a_in_other_thread = &a;
47872 return (void *)0;
47875 main ()
47877 pthread_t thread;
47878 void *thread_retval;
47879 int *volatile a_in_main_thread;
47880 a_in_main_thread = &a;
47881 if (pthread_create (&thread, (pthread_attr_t *)0,
47882 thread_func, (void *)0))
47883 return 0;
47884 if (pthread_join (thread, &thread_retval))
47885 return 0;
47886 return (a_in_other_thread == a_in_main_thread);
47888 return 0;
47890 _ACEOF
47891 if ac_fn_c_try_run "$LINENO"; then :
47892 gcc_cv_have_tls=yes
47893 else
47894 gcc_cv_have_tls=no
47896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47897 conftest.$ac_objext conftest.beam conftest.$ac_ext
47900 CFLAGS="$chktls_save_CFLAGS"
47903 else
47904 gcc_cv_have_tls=no
47906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47907 conftest.$ac_objext conftest.beam conftest.$ac_ext
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47912 $as_echo "$gcc_cv_have_tls" >&6; }
47913 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47915 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47918 case "$target" in
47919 *-hpux10*)
47920 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47922 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47924 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47926 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47928 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47931 esac
47933 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47935 # All these tests are for C++; save the language and the compiler flags.
47936 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47937 # found in GLIBCXX_CONFIGURE.
47939 ac_ext=cpp
47940 ac_cpp='$CXXCPP $CPPFLAGS'
47941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47945 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47946 ac_save_CXXFLAGS="$CXXFLAGS"
47948 # Check for -ffunction-sections -fdata-sections
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47950 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47951 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47953 /* end confdefs.h. */
47954 int foo; void bar() { };
47956 main ()
47960 return 0;
47962 _ACEOF
47963 if ac_fn_cxx_try_compile "$LINENO"; then :
47964 ac_fdsections=yes
47965 else
47966 ac_fdsections=no
47968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47969 if test "$ac_test_CXXFLAGS" = set; then
47970 CXXFLAGS="$ac_save_CXXFLAGS"
47971 else
47972 # this is the suspicious part
47973 CXXFLAGS=''
47975 if test x"$ac_fdsections" = x"yes"; then
47976 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47979 $as_echo "$ac_fdsections" >&6; }
47981 ac_ext=c
47982 ac_cpp='$CPP $CPPFLAGS'
47983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47990 # If we're not using GNU ld, then there's no point in even trying these
47991 # tests. Check for that first. We should have already tested for gld
47992 # by now (in libtool), but require it now just to be safe...
47993 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47994 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47998 # The name set by libtool depends on the version of libtool. Shame on us
47999 # for depending on an impl detail, but c'est la vie. Older versions used
48000 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48001 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48002 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48003 # set (hence we're using an older libtool), then set it.
48004 if test x${with_gnu_ld+set} != xset; then
48005 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48006 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48007 with_gnu_ld=no
48008 else
48009 with_gnu_ld=$ac_cv_prog_gnu_ld
48013 # Start by getting the version number. I think the libtool test already
48014 # does some of this, but throws away the result.
48015 glibcxx_ld_is_gold=no
48016 glibcxx_ld_is_mold=no
48017 if test x"$with_gnu_ld" = x"yes"; then
48018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48019 $as_echo_n "checking for ld version... " >&6; }
48021 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48022 glibcxx_ld_is_gold=yes
48023 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48024 glibcxx_ld_is_mold=yes
48026 ldver=`$LD --version 2>/dev/null |
48027 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48029 glibcxx_gnu_ld_version=`echo $ldver | \
48030 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48032 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48035 # Set --gc-sections.
48036 glibcxx_have_gc_sections=no
48037 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48038 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48039 glibcxx_have_gc_sections=yes
48041 else
48042 glibcxx_gcsections_min_ld=21602
48043 if test x"$with_gnu_ld" = x"yes" &&
48044 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48045 glibcxx_have_gc_sections=yes
48048 if test "$glibcxx_have_gc_sections" = "yes"; then
48049 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48050 # NB: This flag only works reliably after 2.16.1. Configure tests
48051 # for this are difficult, so hard wire a value that should work.
48053 ac_test_CFLAGS="${CFLAGS+set}"
48054 ac_save_CFLAGS="$CFLAGS"
48055 CFLAGS='-Wl,--gc-sections'
48057 # Check for -Wl,--gc-sections
48058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48059 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48060 if test x$gcc_no_link = xyes; then
48061 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48064 /* end confdefs.h. */
48065 int one(void) { return 1; }
48066 int two(void) { return 2; }
48069 main ()
48071 two();
48073 return 0;
48075 _ACEOF
48076 if ac_fn_c_try_link "$LINENO"; then :
48077 ac_gcsections=yes
48078 else
48079 ac_gcsections=no
48081 rm -f core conftest.err conftest.$ac_objext \
48082 conftest$ac_exeext conftest.$ac_ext
48083 if test "$ac_gcsections" = "yes"; then
48084 rm -f conftest.c
48085 touch conftest.c
48086 if $CC -c conftest.c; then
48087 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48088 grep "Warning: gc-sections option ignored" > /dev/null; then
48089 ac_gcsections=no
48092 rm -f conftest.c conftest.o conftest
48094 if test "$ac_gcsections" = "yes"; then
48095 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48098 $as_echo "$ac_gcsections" >&6; }
48100 if test "$ac_test_CFLAGS" = set; then
48101 CFLAGS="$ac_save_CFLAGS"
48102 else
48103 # this is the suspicious part
48104 CFLAGS=''
48108 # Set -z,relro.
48109 # Note this is only for shared objects.
48110 ac_ld_relro=no
48111 if test x"$with_gnu_ld" = x"yes"; then
48112 # cygwin and mingw uses PE, which has no ELF relro support,
48113 # multi target ld may confuse configure machinery
48114 case "$host" in
48115 *-*-cygwin*)
48117 *-*-mingw*)
48120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48121 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48122 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48123 if test -n "$cxx_z_relo"; then
48124 OPT_LDFLAGS="-Wl,-z,relro"
48125 ac_ld_relro=yes
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48128 $as_echo "$ac_ld_relro" >&6; }
48129 esac
48132 # Set linker optimization flags.
48133 if test x"$with_gnu_ld" = x"yes"; then
48134 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48142 ac_save_CXXFLAGS="$CXXFLAGS"
48143 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48146 $as_echo_n "checking for sin in -lm... " >&6; }
48147 if ${ac_cv_lib_m_sin+:} false; then :
48148 $as_echo_n "(cached) " >&6
48149 else
48150 ac_check_lib_save_LIBS=$LIBS
48151 LIBS="-lm $LIBS"
48152 if test x$gcc_no_link = xyes; then
48153 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48156 /* end confdefs.h. */
48158 /* Override any GCC internal prototype to avoid an error.
48159 Use char because int might match the return type of a GCC
48160 builtin and then its argument prototype would still apply. */
48161 #ifdef __cplusplus
48162 extern "C"
48163 #endif
48164 char sin ();
48166 main ()
48168 return sin ();
48170 return 0;
48172 _ACEOF
48173 if ac_fn_c_try_link "$LINENO"; then :
48174 ac_cv_lib_m_sin=yes
48175 else
48176 ac_cv_lib_m_sin=no
48178 rm -f core conftest.err conftest.$ac_objext \
48179 conftest$ac_exeext conftest.$ac_ext
48180 LIBS=$ac_check_lib_save_LIBS
48182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48183 $as_echo "$ac_cv_lib_m_sin" >&6; }
48184 if test "x$ac_cv_lib_m_sin" = xyes; then :
48185 libm="-lm"
48188 ac_save_LIBS="$LIBS"
48189 LIBS="$LIBS $libm"
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48194 $as_echo_n "checking for isinf declaration... " >&6; }
48195 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48196 if ${glibcxx_cv_func_isinf_use+:} false; then :
48197 $as_echo_n "(cached) " >&6
48198 else
48201 ac_ext=cpp
48202 ac_cpp='$CXXCPP $CPPFLAGS'
48203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48208 /* end confdefs.h. */
48209 #include <math.h>
48210 #ifdef HAVE_IEEEFP_H
48211 #include <ieeefp.h>
48212 #endif
48215 main ()
48217 isinf(0);
48219 return 0;
48221 _ACEOF
48222 if ac_fn_cxx_try_compile "$LINENO"; then :
48223 glibcxx_cv_func_isinf_use=yes
48224 else
48225 glibcxx_cv_func_isinf_use=no
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228 ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48239 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48241 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48242 for ac_func in isinf
48243 do :
48244 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48245 if test "x$ac_cv_func_isinf" = xyes; then :
48246 cat >>confdefs.h <<_ACEOF
48247 #define HAVE_ISINF 1
48248 _ACEOF
48251 done
48253 else
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48256 $as_echo_n "checking for _isinf declaration... " >&6; }
48257 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48258 if ${glibcxx_cv_func__isinf_use+:} false; then :
48259 $as_echo_n "(cached) " >&6
48260 else
48263 ac_ext=cpp
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h. */
48271 #include <math.h>
48272 #ifdef HAVE_IEEEFP_H
48273 #include <ieeefp.h>
48274 #endif
48277 main ()
48279 _isinf(0);
48281 return 0;
48283 _ACEOF
48284 if ac_fn_cxx_try_compile "$LINENO"; then :
48285 glibcxx_cv_func__isinf_use=yes
48286 else
48287 glibcxx_cv_func__isinf_use=no
48289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48290 ac_ext=c
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48301 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48303 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48304 for ac_func in _isinf
48305 do :
48306 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48307 if test "x$ac_cv_func__isinf" = xyes; then :
48308 cat >>confdefs.h <<_ACEOF
48309 #define HAVE__ISINF 1
48310 _ACEOF
48313 done
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48323 $as_echo_n "checking for isnan declaration... " >&6; }
48324 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48325 if ${glibcxx_cv_func_isnan_use+:} false; then :
48326 $as_echo_n "(cached) " >&6
48327 else
48330 ac_ext=cpp
48331 ac_cpp='$CXXCPP $CPPFLAGS'
48332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48337 /* end confdefs.h. */
48338 #include <math.h>
48339 #ifdef HAVE_IEEEFP_H
48340 #include <ieeefp.h>
48341 #endif
48344 main ()
48346 isnan(0);
48348 return 0;
48350 _ACEOF
48351 if ac_fn_cxx_try_compile "$LINENO"; then :
48352 glibcxx_cv_func_isnan_use=yes
48353 else
48354 glibcxx_cv_func_isnan_use=no
48356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48357 ac_ext=c
48358 ac_cpp='$CPP $CPPFLAGS'
48359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48368 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48370 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48371 for ac_func in isnan
48372 do :
48373 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48374 if test "x$ac_cv_func_isnan" = xyes; then :
48375 cat >>confdefs.h <<_ACEOF
48376 #define HAVE_ISNAN 1
48377 _ACEOF
48380 done
48382 else
48384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48385 $as_echo_n "checking for _isnan declaration... " >&6; }
48386 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48387 if ${glibcxx_cv_func__isnan_use+:} false; then :
48388 $as_echo_n "(cached) " >&6
48389 else
48392 ac_ext=cpp
48393 ac_cpp='$CXXCPP $CPPFLAGS'
48394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48399 /* end confdefs.h. */
48400 #include <math.h>
48401 #ifdef HAVE_IEEEFP_H
48402 #include <ieeefp.h>
48403 #endif
48406 main ()
48408 _isnan(0);
48410 return 0;
48412 _ACEOF
48413 if ac_fn_cxx_try_compile "$LINENO"; then :
48414 glibcxx_cv_func__isnan_use=yes
48415 else
48416 glibcxx_cv_func__isnan_use=no
48418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48419 ac_ext=c
48420 ac_cpp='$CPP $CPPFLAGS'
48421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48430 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48432 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48433 for ac_func in _isnan
48434 do :
48435 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48436 if test "x$ac_cv_func__isnan" = xyes; then :
48437 cat >>confdefs.h <<_ACEOF
48438 #define HAVE__ISNAN 1
48439 _ACEOF
48442 done
48451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48452 $as_echo_n "checking for finite declaration... " >&6; }
48453 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48454 if ${glibcxx_cv_func_finite_use+:} false; then :
48455 $as_echo_n "(cached) " >&6
48456 else
48459 ac_ext=cpp
48460 ac_cpp='$CXXCPP $CPPFLAGS'
48461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48466 /* end confdefs.h. */
48467 #include <math.h>
48468 #ifdef HAVE_IEEEFP_H
48469 #include <ieeefp.h>
48470 #endif
48473 main ()
48475 finite(0);
48477 return 0;
48479 _ACEOF
48480 if ac_fn_cxx_try_compile "$LINENO"; then :
48481 glibcxx_cv_func_finite_use=yes
48482 else
48483 glibcxx_cv_func_finite_use=no
48485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48486 ac_ext=c
48487 ac_cpp='$CPP $CPPFLAGS'
48488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48497 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48499 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48500 for ac_func in finite
48501 do :
48502 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48503 if test "x$ac_cv_func_finite" = xyes; then :
48504 cat >>confdefs.h <<_ACEOF
48505 #define HAVE_FINITE 1
48506 _ACEOF
48509 done
48511 else
48513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48514 $as_echo_n "checking for _finite declaration... " >&6; }
48515 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48516 if ${glibcxx_cv_func__finite_use+:} false; then :
48517 $as_echo_n "(cached) " >&6
48518 else
48521 ac_ext=cpp
48522 ac_cpp='$CXXCPP $CPPFLAGS'
48523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48528 /* end confdefs.h. */
48529 #include <math.h>
48530 #ifdef HAVE_IEEEFP_H
48531 #include <ieeefp.h>
48532 #endif
48535 main ()
48537 _finite(0);
48539 return 0;
48541 _ACEOF
48542 if ac_fn_cxx_try_compile "$LINENO"; then :
48543 glibcxx_cv_func__finite_use=yes
48544 else
48545 glibcxx_cv_func__finite_use=no
48547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48548 ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48559 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48561 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48562 for ac_func in _finite
48563 do :
48564 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48565 if test "x$ac_cv_func__finite" = xyes; then :
48566 cat >>confdefs.h <<_ACEOF
48567 #define HAVE__FINITE 1
48568 _ACEOF
48571 done
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48581 $as_echo_n "checking for sincos declaration... " >&6; }
48582 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48583 if ${glibcxx_cv_func_sincos_use+:} false; then :
48584 $as_echo_n "(cached) " >&6
48585 else
48588 ac_ext=cpp
48589 ac_cpp='$CXXCPP $CPPFLAGS'
48590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48595 /* end confdefs.h. */
48596 #include <math.h>
48598 main ()
48600 sincos(0, 0, 0);
48602 return 0;
48604 _ACEOF
48605 if ac_fn_cxx_try_compile "$LINENO"; then :
48606 glibcxx_cv_func_sincos_use=yes
48607 else
48608 glibcxx_cv_func_sincos_use=no
48610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48611 ac_ext=c
48612 ac_cpp='$CPP $CPPFLAGS'
48613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48622 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48624 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48625 for ac_func in sincos
48626 do :
48627 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48628 if test "x$ac_cv_func_sincos" = xyes; then :
48629 cat >>confdefs.h <<_ACEOF
48630 #define HAVE_SINCOS 1
48631 _ACEOF
48634 done
48636 else
48638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48639 $as_echo_n "checking for _sincos declaration... " >&6; }
48640 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48641 if ${glibcxx_cv_func__sincos_use+:} false; then :
48642 $as_echo_n "(cached) " >&6
48643 else
48646 ac_ext=cpp
48647 ac_cpp='$CXXCPP $CPPFLAGS'
48648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48653 /* end confdefs.h. */
48654 #include <math.h>
48656 main ()
48658 _sincos(0, 0, 0);
48660 return 0;
48662 _ACEOF
48663 if ac_fn_cxx_try_compile "$LINENO"; then :
48664 glibcxx_cv_func__sincos_use=yes
48665 else
48666 glibcxx_cv_func__sincos_use=no
48668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48669 ac_ext=c
48670 ac_cpp='$CPP $CPPFLAGS'
48671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48680 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48682 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48683 for ac_func in _sincos
48684 do :
48685 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48686 if test "x$ac_cv_func__sincos" = xyes; then :
48687 cat >>confdefs.h <<_ACEOF
48688 #define HAVE__SINCOS 1
48689 _ACEOF
48692 done
48701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48702 $as_echo_n "checking for fpclass declaration... " >&6; }
48703 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48704 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48705 $as_echo_n "(cached) " >&6
48706 else
48709 ac_ext=cpp
48710 ac_cpp='$CXXCPP $CPPFLAGS'
48711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48716 /* end confdefs.h. */
48717 #include <math.h>
48718 #ifdef HAVE_IEEEFP_H
48719 #include <ieeefp.h>
48720 #endif
48723 main ()
48725 fpclass(0);
48727 return 0;
48729 _ACEOF
48730 if ac_fn_cxx_try_compile "$LINENO"; then :
48731 glibcxx_cv_func_fpclass_use=yes
48732 else
48733 glibcxx_cv_func_fpclass_use=no
48735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48736 ac_ext=c
48737 ac_cpp='$CPP $CPPFLAGS'
48738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48747 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48749 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48750 for ac_func in fpclass
48751 do :
48752 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48753 if test "x$ac_cv_func_fpclass" = xyes; then :
48754 cat >>confdefs.h <<_ACEOF
48755 #define HAVE_FPCLASS 1
48756 _ACEOF
48759 done
48761 else
48763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48764 $as_echo_n "checking for _fpclass declaration... " >&6; }
48765 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48766 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48767 $as_echo_n "(cached) " >&6
48768 else
48771 ac_ext=cpp
48772 ac_cpp='$CXXCPP $CPPFLAGS'
48773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48778 /* end confdefs.h. */
48779 #include <math.h>
48780 #ifdef HAVE_IEEEFP_H
48781 #include <ieeefp.h>
48782 #endif
48785 main ()
48787 _fpclass(0);
48789 return 0;
48791 _ACEOF
48792 if ac_fn_cxx_try_compile "$LINENO"; then :
48793 glibcxx_cv_func__fpclass_use=yes
48794 else
48795 glibcxx_cv_func__fpclass_use=no
48797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48798 ac_ext=c
48799 ac_cpp='$CPP $CPPFLAGS'
48800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48809 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48811 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48812 for ac_func in _fpclass
48813 do :
48814 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48815 if test "x$ac_cv_func__fpclass" = xyes; then :
48816 cat >>confdefs.h <<_ACEOF
48817 #define HAVE__FPCLASS 1
48818 _ACEOF
48821 done
48830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48831 $as_echo_n "checking for qfpclass declaration... " >&6; }
48832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48833 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48834 $as_echo_n "(cached) " >&6
48835 else
48838 ac_ext=cpp
48839 ac_cpp='$CXXCPP $CPPFLAGS'
48840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48845 /* end confdefs.h. */
48846 #include <math.h>
48847 #ifdef HAVE_IEEEFP_H
48848 #include <ieeefp.h>
48849 #endif
48852 main ()
48854 qfpclass(0);
48856 return 0;
48858 _ACEOF
48859 if ac_fn_cxx_try_compile "$LINENO"; then :
48860 glibcxx_cv_func_qfpclass_use=yes
48861 else
48862 glibcxx_cv_func_qfpclass_use=no
48864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48865 ac_ext=c
48866 ac_cpp='$CPP $CPPFLAGS'
48867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48876 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48878 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48879 for ac_func in qfpclass
48880 do :
48881 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48882 if test "x$ac_cv_func_qfpclass" = xyes; then :
48883 cat >>confdefs.h <<_ACEOF
48884 #define HAVE_QFPCLASS 1
48885 _ACEOF
48888 done
48890 else
48892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48893 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48894 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48895 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48896 $as_echo_n "(cached) " >&6
48897 else
48900 ac_ext=cpp
48901 ac_cpp='$CXXCPP $CPPFLAGS'
48902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48907 /* end confdefs.h. */
48908 #include <math.h>
48909 #ifdef HAVE_IEEEFP_H
48910 #include <ieeefp.h>
48911 #endif
48914 main ()
48916 _qfpclass(0);
48918 return 0;
48920 _ACEOF
48921 if ac_fn_cxx_try_compile "$LINENO"; then :
48922 glibcxx_cv_func__qfpclass_use=yes
48923 else
48924 glibcxx_cv_func__qfpclass_use=no
48926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48927 ac_ext=c
48928 ac_cpp='$CPP $CPPFLAGS'
48929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48938 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48940 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48941 for ac_func in _qfpclass
48942 do :
48943 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48944 if test "x$ac_cv_func__qfpclass" = xyes; then :
48945 cat >>confdefs.h <<_ACEOF
48946 #define HAVE__QFPCLASS 1
48947 _ACEOF
48950 done
48959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48960 $as_echo_n "checking for hypot declaration... " >&6; }
48961 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48962 if ${glibcxx_cv_func_hypot_use+:} false; then :
48963 $as_echo_n "(cached) " >&6
48964 else
48967 ac_ext=cpp
48968 ac_cpp='$CXXCPP $CPPFLAGS'
48969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48974 /* end confdefs.h. */
48975 #include <math.h>
48977 main ()
48979 hypot(0, 0);
48981 return 0;
48983 _ACEOF
48984 if ac_fn_cxx_try_compile "$LINENO"; then :
48985 glibcxx_cv_func_hypot_use=yes
48986 else
48987 glibcxx_cv_func_hypot_use=no
48989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48990 ac_ext=c
48991 ac_cpp='$CPP $CPPFLAGS'
48992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49001 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49003 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49004 for ac_func in hypot
49005 do :
49006 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49007 if test "x$ac_cv_func_hypot" = xyes; then :
49008 cat >>confdefs.h <<_ACEOF
49009 #define HAVE_HYPOT 1
49010 _ACEOF
49013 done
49015 else
49017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49018 $as_echo_n "checking for _hypot declaration... " >&6; }
49019 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49020 if ${glibcxx_cv_func__hypot_use+:} false; then :
49021 $as_echo_n "(cached) " >&6
49022 else
49025 ac_ext=cpp
49026 ac_cpp='$CXXCPP $CPPFLAGS'
49027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49032 /* end confdefs.h. */
49033 #include <math.h>
49035 main ()
49037 _hypot(0, 0);
49039 return 0;
49041 _ACEOF
49042 if ac_fn_cxx_try_compile "$LINENO"; then :
49043 glibcxx_cv_func__hypot_use=yes
49044 else
49045 glibcxx_cv_func__hypot_use=no
49047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49048 ac_ext=c
49049 ac_cpp='$CPP $CPPFLAGS'
49050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49059 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49061 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49062 for ac_func in _hypot
49063 do :
49064 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49065 if test "x$ac_cv_func__hypot" = xyes; then :
49066 cat >>confdefs.h <<_ACEOF
49067 #define HAVE__HYPOT 1
49068 _ACEOF
49071 done
49080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49081 $as_echo_n "checking for float trig functions... " >&6; }
49082 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49083 $as_echo_n "(cached) " >&6
49084 else
49087 ac_ext=cpp
49088 ac_cpp='$CXXCPP $CPPFLAGS'
49089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49094 /* end confdefs.h. */
49095 #include <math.h>
49097 main ()
49099 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49101 return 0;
49103 _ACEOF
49104 if ac_fn_cxx_try_compile "$LINENO"; then :
49105 glibcxx_cv_func_float_trig_use=yes
49106 else
49107 glibcxx_cv_func_float_trig_use=no
49109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49110 ac_ext=c
49111 ac_cpp='$CPP $CPPFLAGS'
49112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49119 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49120 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49121 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49122 do :
49123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49125 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49126 cat >>confdefs.h <<_ACEOF
49127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49128 _ACEOF
49131 done
49133 else
49134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49135 $as_echo_n "checking for _float trig functions... " >&6; }
49136 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49137 $as_echo_n "(cached) " >&6
49138 else
49141 ac_ext=cpp
49142 ac_cpp='$CXXCPP $CPPFLAGS'
49143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49148 /* end confdefs.h. */
49149 #include <math.h>
49151 main ()
49153 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49155 return 0;
49157 _ACEOF
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159 glibcxx_cv_func__float_trig_use=yes
49160 else
49161 glibcxx_cv_func__float_trig_use=no
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49164 ac_ext=c
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49173 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49174 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49175 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49176 do :
49177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49179 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49182 _ACEOF
49185 done
49194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49195 $as_echo_n "checking for float round functions... " >&6; }
49196 if ${glibcxx_cv_func_float_round_use+:} false; then :
49197 $as_echo_n "(cached) " >&6
49198 else
49201 ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h. */
49209 #include <math.h>
49211 main ()
49213 ceilf (0); floorf (0);
49215 return 0;
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func_float_round_use=yes
49220 else
49221 glibcxx_cv_func_float_round_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49233 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49234 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49235 for ac_func in ceilf floorf
49236 do :
49237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49239 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49240 cat >>confdefs.h <<_ACEOF
49241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49242 _ACEOF
49245 done
49247 else
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49249 $as_echo_n "checking for _float round functions... " >&6; }
49250 if ${glibcxx_cv_func__float_round_use+:} false; then :
49251 $as_echo_n "(cached) " >&6
49252 else
49255 ac_ext=cpp
49256 ac_cpp='$CXXCPP $CPPFLAGS'
49257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49262 /* end confdefs.h. */
49263 #include <math.h>
49265 main ()
49267 _ceilf (0); _floorf (0);
49269 return 0;
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func__float_round_use=yes
49274 else
49275 glibcxx_cv_func__float_round_use=no
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49278 ac_ext=c
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49287 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49288 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49289 for ac_func in _ceilf _floorf
49290 do :
49291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49293 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49294 cat >>confdefs.h <<_ACEOF
49295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49296 _ACEOF
49299 done
49309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49310 $as_echo_n "checking for expf declaration... " >&6; }
49311 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49312 if ${glibcxx_cv_func_expf_use+:} false; then :
49313 $as_echo_n "(cached) " >&6
49314 else
49317 ac_ext=cpp
49318 ac_cpp='$CXXCPP $CPPFLAGS'
49319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49324 /* end confdefs.h. */
49325 #include <math.h>
49326 #ifdef HAVE_IEEEFP_H
49327 #include <ieeefp.h>
49328 #endif
49331 main ()
49333 expf(0);
49335 return 0;
49337 _ACEOF
49338 if ac_fn_cxx_try_compile "$LINENO"; then :
49339 glibcxx_cv_func_expf_use=yes
49340 else
49341 glibcxx_cv_func_expf_use=no
49343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49344 ac_ext=c
49345 ac_cpp='$CPP $CPPFLAGS'
49346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49355 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49357 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49358 for ac_func in expf
49359 do :
49360 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49361 if test "x$ac_cv_func_expf" = xyes; then :
49362 cat >>confdefs.h <<_ACEOF
49363 #define HAVE_EXPF 1
49364 _ACEOF
49367 done
49369 else
49371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49372 $as_echo_n "checking for _expf declaration... " >&6; }
49373 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49374 if ${glibcxx_cv_func__expf_use+:} false; then :
49375 $as_echo_n "(cached) " >&6
49376 else
49379 ac_ext=cpp
49380 ac_cpp='$CXXCPP $CPPFLAGS'
49381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49386 /* end confdefs.h. */
49387 #include <math.h>
49388 #ifdef HAVE_IEEEFP_H
49389 #include <ieeefp.h>
49390 #endif
49393 main ()
49395 _expf(0);
49397 return 0;
49399 _ACEOF
49400 if ac_fn_cxx_try_compile "$LINENO"; then :
49401 glibcxx_cv_func__expf_use=yes
49402 else
49403 glibcxx_cv_func__expf_use=no
49405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49406 ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49417 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49419 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49420 for ac_func in _expf
49421 do :
49422 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49423 if test "x$ac_cv_func__expf" = xyes; then :
49424 cat >>confdefs.h <<_ACEOF
49425 #define HAVE__EXPF 1
49426 _ACEOF
49429 done
49438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49439 $as_echo_n "checking for isnanf declaration... " >&6; }
49440 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49441 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49442 $as_echo_n "(cached) " >&6
49443 else
49446 ac_ext=cpp
49447 ac_cpp='$CXXCPP $CPPFLAGS'
49448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49453 /* end confdefs.h. */
49454 #include <math.h>
49455 #ifdef HAVE_IEEEFP_H
49456 #include <ieeefp.h>
49457 #endif
49460 main ()
49462 isnanf(0);
49464 return 0;
49466 _ACEOF
49467 if ac_fn_cxx_try_compile "$LINENO"; then :
49468 glibcxx_cv_func_isnanf_use=yes
49469 else
49470 glibcxx_cv_func_isnanf_use=no
49472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49473 ac_ext=c
49474 ac_cpp='$CPP $CPPFLAGS'
49475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49484 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49486 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49487 for ac_func in isnanf
49488 do :
49489 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49490 if test "x$ac_cv_func_isnanf" = xyes; then :
49491 cat >>confdefs.h <<_ACEOF
49492 #define HAVE_ISNANF 1
49493 _ACEOF
49496 done
49498 else
49500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49501 $as_echo_n "checking for _isnanf declaration... " >&6; }
49502 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49503 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49504 $as_echo_n "(cached) " >&6
49505 else
49508 ac_ext=cpp
49509 ac_cpp='$CXXCPP $CPPFLAGS'
49510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49515 /* end confdefs.h. */
49516 #include <math.h>
49517 #ifdef HAVE_IEEEFP_H
49518 #include <ieeefp.h>
49519 #endif
49522 main ()
49524 _isnanf(0);
49526 return 0;
49528 _ACEOF
49529 if ac_fn_cxx_try_compile "$LINENO"; then :
49530 glibcxx_cv_func__isnanf_use=yes
49531 else
49532 glibcxx_cv_func__isnanf_use=no
49534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49535 ac_ext=c
49536 ac_cpp='$CPP $CPPFLAGS'
49537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49546 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49548 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49549 for ac_func in _isnanf
49550 do :
49551 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49552 if test "x$ac_cv_func__isnanf" = xyes; then :
49553 cat >>confdefs.h <<_ACEOF
49554 #define HAVE__ISNANF 1
49555 _ACEOF
49558 done
49567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49568 $as_echo_n "checking for isinff declaration... " >&6; }
49569 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49570 if ${glibcxx_cv_func_isinff_use+:} false; then :
49571 $as_echo_n "(cached) " >&6
49572 else
49575 ac_ext=cpp
49576 ac_cpp='$CXXCPP $CPPFLAGS'
49577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49582 /* end confdefs.h. */
49583 #include <math.h>
49584 #ifdef HAVE_IEEEFP_H
49585 #include <ieeefp.h>
49586 #endif
49589 main ()
49591 isinff(0);
49593 return 0;
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func_isinff_use=yes
49598 else
49599 glibcxx_cv_func_isinff_use=no
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49613 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49615 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49616 for ac_func in isinff
49617 do :
49618 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49619 if test "x$ac_cv_func_isinff" = xyes; then :
49620 cat >>confdefs.h <<_ACEOF
49621 #define HAVE_ISINFF 1
49622 _ACEOF
49625 done
49627 else
49629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49630 $as_echo_n "checking for _isinff declaration... " >&6; }
49631 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49632 if ${glibcxx_cv_func__isinff_use+:} false; then :
49633 $as_echo_n "(cached) " >&6
49634 else
49637 ac_ext=cpp
49638 ac_cpp='$CXXCPP $CPPFLAGS'
49639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49644 /* end confdefs.h. */
49645 #include <math.h>
49646 #ifdef HAVE_IEEEFP_H
49647 #include <ieeefp.h>
49648 #endif
49651 main ()
49653 _isinff(0);
49655 return 0;
49657 _ACEOF
49658 if ac_fn_cxx_try_compile "$LINENO"; then :
49659 glibcxx_cv_func__isinff_use=yes
49660 else
49661 glibcxx_cv_func__isinff_use=no
49663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49664 ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49675 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49677 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49678 for ac_func in _isinff
49679 do :
49680 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49681 if test "x$ac_cv_func__isinff" = xyes; then :
49682 cat >>confdefs.h <<_ACEOF
49683 #define HAVE__ISINFF 1
49684 _ACEOF
49687 done
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49697 $as_echo_n "checking for atan2f declaration... " >&6; }
49698 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49699 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49714 main ()
49716 atan2f(0, 0);
49718 return 0;
49720 _ACEOF
49721 if ac_fn_cxx_try_compile "$LINENO"; then :
49722 glibcxx_cv_func_atan2f_use=yes
49723 else
49724 glibcxx_cv_func_atan2f_use=no
49726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49727 ac_ext=c
49728 ac_cpp='$CPP $CPPFLAGS'
49729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49738 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49740 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49741 for ac_func in atan2f
49742 do :
49743 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49744 if test "x$ac_cv_func_atan2f" = xyes; then :
49745 cat >>confdefs.h <<_ACEOF
49746 #define HAVE_ATAN2F 1
49747 _ACEOF
49750 done
49752 else
49754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49755 $as_echo_n "checking for _atan2f declaration... " >&6; }
49756 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49757 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49758 $as_echo_n "(cached) " >&6
49759 else
49762 ac_ext=cpp
49763 ac_cpp='$CXXCPP $CPPFLAGS'
49764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49769 /* end confdefs.h. */
49770 #include <math.h>
49772 main ()
49774 _atan2f(0, 0);
49776 return 0;
49778 _ACEOF
49779 if ac_fn_cxx_try_compile "$LINENO"; then :
49780 glibcxx_cv_func__atan2f_use=yes
49781 else
49782 glibcxx_cv_func__atan2f_use=no
49784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49785 ac_ext=c
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49796 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49798 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49799 for ac_func in _atan2f
49800 do :
49801 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49802 if test "x$ac_cv_func__atan2f" = xyes; then :
49803 cat >>confdefs.h <<_ACEOF
49804 #define HAVE__ATAN2F 1
49805 _ACEOF
49808 done
49817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49818 $as_echo_n "checking for fabsf declaration... " >&6; }
49819 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49820 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49821 $as_echo_n "(cached) " >&6
49822 else
49825 ac_ext=cpp
49826 ac_cpp='$CXXCPP $CPPFLAGS'
49827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49832 /* end confdefs.h. */
49833 #include <math.h>
49834 #ifdef HAVE_IEEEFP_H
49835 #include <ieeefp.h>
49836 #endif
49839 main ()
49841 fabsf(0);
49843 return 0;
49845 _ACEOF
49846 if ac_fn_cxx_try_compile "$LINENO"; then :
49847 glibcxx_cv_func_fabsf_use=yes
49848 else
49849 glibcxx_cv_func_fabsf_use=no
49851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49852 ac_ext=c
49853 ac_cpp='$CPP $CPPFLAGS'
49854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49863 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49865 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49866 for ac_func in fabsf
49867 do :
49868 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49869 if test "x$ac_cv_func_fabsf" = xyes; then :
49870 cat >>confdefs.h <<_ACEOF
49871 #define HAVE_FABSF 1
49872 _ACEOF
49875 done
49877 else
49879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49880 $as_echo_n "checking for _fabsf declaration... " >&6; }
49881 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49882 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49883 $as_echo_n "(cached) " >&6
49884 else
49887 ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h. */
49895 #include <math.h>
49896 #ifdef HAVE_IEEEFP_H
49897 #include <ieeefp.h>
49898 #endif
49901 main ()
49903 _fabsf(0);
49905 return 0;
49907 _ACEOF
49908 if ac_fn_cxx_try_compile "$LINENO"; then :
49909 glibcxx_cv_func__fabsf_use=yes
49910 else
49911 glibcxx_cv_func__fabsf_use=no
49913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49914 ac_ext=c
49915 ac_cpp='$CPP $CPPFLAGS'
49916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49925 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49927 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49928 for ac_func in _fabsf
49929 do :
49930 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49931 if test "x$ac_cv_func__fabsf" = xyes; then :
49932 cat >>confdefs.h <<_ACEOF
49933 #define HAVE__FABSF 1
49934 _ACEOF
49937 done
49946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49947 $as_echo_n "checking for fmodf declaration... " >&6; }
49948 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49949 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49950 $as_echo_n "(cached) " >&6
49951 else
49954 ac_ext=cpp
49955 ac_cpp='$CXXCPP $CPPFLAGS'
49956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49961 /* end confdefs.h. */
49962 #include <math.h>
49964 main ()
49966 fmodf(0, 0);
49968 return 0;
49970 _ACEOF
49971 if ac_fn_cxx_try_compile "$LINENO"; then :
49972 glibcxx_cv_func_fmodf_use=yes
49973 else
49974 glibcxx_cv_func_fmodf_use=no
49976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49977 ac_ext=c
49978 ac_cpp='$CPP $CPPFLAGS'
49979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49988 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49990 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49991 for ac_func in fmodf
49992 do :
49993 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49994 if test "x$ac_cv_func_fmodf" = xyes; then :
49995 cat >>confdefs.h <<_ACEOF
49996 #define HAVE_FMODF 1
49997 _ACEOF
50000 done
50002 else
50004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50005 $as_echo_n "checking for _fmodf declaration... " >&6; }
50006 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50007 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50008 $as_echo_n "(cached) " >&6
50009 else
50012 ac_ext=cpp
50013 ac_cpp='$CXXCPP $CPPFLAGS'
50014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50019 /* end confdefs.h. */
50020 #include <math.h>
50022 main ()
50024 _fmodf(0, 0);
50026 return 0;
50028 _ACEOF
50029 if ac_fn_cxx_try_compile "$LINENO"; then :
50030 glibcxx_cv_func__fmodf_use=yes
50031 else
50032 glibcxx_cv_func__fmodf_use=no
50034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50035 ac_ext=c
50036 ac_cpp='$CPP $CPPFLAGS'
50037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50046 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50048 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50049 for ac_func in _fmodf
50050 do :
50051 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50052 if test "x$ac_cv_func__fmodf" = xyes; then :
50053 cat >>confdefs.h <<_ACEOF
50054 #define HAVE__FMODF 1
50055 _ACEOF
50058 done
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50068 $as_echo_n "checking for frexpf declaration... " >&6; }
50069 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50070 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50071 $as_echo_n "(cached) " >&6
50072 else
50075 ac_ext=cpp
50076 ac_cpp='$CXXCPP $CPPFLAGS'
50077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50082 /* end confdefs.h. */
50083 #include <math.h>
50085 main ()
50087 frexpf(0, 0);
50089 return 0;
50091 _ACEOF
50092 if ac_fn_cxx_try_compile "$LINENO"; then :
50093 glibcxx_cv_func_frexpf_use=yes
50094 else
50095 glibcxx_cv_func_frexpf_use=no
50097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50098 ac_ext=c
50099 ac_cpp='$CPP $CPPFLAGS'
50100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50109 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50111 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50112 for ac_func in frexpf
50113 do :
50114 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50115 if test "x$ac_cv_func_frexpf" = xyes; then :
50116 cat >>confdefs.h <<_ACEOF
50117 #define HAVE_FREXPF 1
50118 _ACEOF
50121 done
50123 else
50125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50126 $as_echo_n "checking for _frexpf declaration... " >&6; }
50127 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50128 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50129 $as_echo_n "(cached) " >&6
50130 else
50133 ac_ext=cpp
50134 ac_cpp='$CXXCPP $CPPFLAGS'
50135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50140 /* end confdefs.h. */
50141 #include <math.h>
50143 main ()
50145 _frexpf(0, 0);
50147 return 0;
50149 _ACEOF
50150 if ac_fn_cxx_try_compile "$LINENO"; then :
50151 glibcxx_cv_func__frexpf_use=yes
50152 else
50153 glibcxx_cv_func__frexpf_use=no
50155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50156 ac_ext=c
50157 ac_cpp='$CPP $CPPFLAGS'
50158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50167 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50169 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50170 for ac_func in _frexpf
50171 do :
50172 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50173 if test "x$ac_cv_func__frexpf" = xyes; then :
50174 cat >>confdefs.h <<_ACEOF
50175 #define HAVE__FREXPF 1
50176 _ACEOF
50179 done
50188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50189 $as_echo_n "checking for hypotf declaration... " >&6; }
50190 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50191 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50192 $as_echo_n "(cached) " >&6
50193 else
50196 ac_ext=cpp
50197 ac_cpp='$CXXCPP $CPPFLAGS'
50198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50203 /* end confdefs.h. */
50204 #include <math.h>
50206 main ()
50208 hypotf(0, 0);
50210 return 0;
50212 _ACEOF
50213 if ac_fn_cxx_try_compile "$LINENO"; then :
50214 glibcxx_cv_func_hypotf_use=yes
50215 else
50216 glibcxx_cv_func_hypotf_use=no
50218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50219 ac_ext=c
50220 ac_cpp='$CPP $CPPFLAGS'
50221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50230 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50232 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50233 for ac_func in hypotf
50234 do :
50235 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50236 if test "x$ac_cv_func_hypotf" = xyes; then :
50237 cat >>confdefs.h <<_ACEOF
50238 #define HAVE_HYPOTF 1
50239 _ACEOF
50242 done
50244 else
50246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50247 $as_echo_n "checking for _hypotf declaration... " >&6; }
50248 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50249 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50250 $as_echo_n "(cached) " >&6
50251 else
50254 ac_ext=cpp
50255 ac_cpp='$CXXCPP $CPPFLAGS'
50256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50261 /* end confdefs.h. */
50262 #include <math.h>
50264 main ()
50266 _hypotf(0, 0);
50268 return 0;
50270 _ACEOF
50271 if ac_fn_cxx_try_compile "$LINENO"; then :
50272 glibcxx_cv_func__hypotf_use=yes
50273 else
50274 glibcxx_cv_func__hypotf_use=no
50276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50277 ac_ext=c
50278 ac_cpp='$CPP $CPPFLAGS'
50279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50288 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50290 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50291 for ac_func in _hypotf
50292 do :
50293 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50294 if test "x$ac_cv_func__hypotf" = xyes; then :
50295 cat >>confdefs.h <<_ACEOF
50296 #define HAVE__HYPOTF 1
50297 _ACEOF
50300 done
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50310 $as_echo_n "checking for ldexpf declaration... " >&6; }
50311 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50312 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50313 $as_echo_n "(cached) " >&6
50314 else
50317 ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h. */
50325 #include <math.h>
50327 main ()
50329 ldexpf(0, 0);
50331 return 0;
50333 _ACEOF
50334 if ac_fn_cxx_try_compile "$LINENO"; then :
50335 glibcxx_cv_func_ldexpf_use=yes
50336 else
50337 glibcxx_cv_func_ldexpf_use=no
50339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50340 ac_ext=c
50341 ac_cpp='$CPP $CPPFLAGS'
50342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50351 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50353 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50354 for ac_func in ldexpf
50355 do :
50356 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50357 if test "x$ac_cv_func_ldexpf" = xyes; then :
50358 cat >>confdefs.h <<_ACEOF
50359 #define HAVE_LDEXPF 1
50360 _ACEOF
50363 done
50365 else
50367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50368 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50369 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50370 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50371 $as_echo_n "(cached) " >&6
50372 else
50375 ac_ext=cpp
50376 ac_cpp='$CXXCPP $CPPFLAGS'
50377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50382 /* end confdefs.h. */
50383 #include <math.h>
50385 main ()
50387 _ldexpf(0, 0);
50389 return 0;
50391 _ACEOF
50392 if ac_fn_cxx_try_compile "$LINENO"; then :
50393 glibcxx_cv_func__ldexpf_use=yes
50394 else
50395 glibcxx_cv_func__ldexpf_use=no
50397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50398 ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50409 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50411 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50412 for ac_func in _ldexpf
50413 do :
50414 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50415 if test "x$ac_cv_func__ldexpf" = xyes; then :
50416 cat >>confdefs.h <<_ACEOF
50417 #define HAVE__LDEXPF 1
50418 _ACEOF
50421 done
50430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50431 $as_echo_n "checking for logf declaration... " >&6; }
50432 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50433 if ${glibcxx_cv_func_logf_use+:} false; then :
50434 $as_echo_n "(cached) " >&6
50435 else
50438 ac_ext=cpp
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h. */
50446 #include <math.h>
50447 #ifdef HAVE_IEEEFP_H
50448 #include <ieeefp.h>
50449 #endif
50452 main ()
50454 logf(0);
50456 return 0;
50458 _ACEOF
50459 if ac_fn_cxx_try_compile "$LINENO"; then :
50460 glibcxx_cv_func_logf_use=yes
50461 else
50462 glibcxx_cv_func_logf_use=no
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50465 ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50476 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50478 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50479 for ac_func in logf
50480 do :
50481 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50482 if test "x$ac_cv_func_logf" = xyes; then :
50483 cat >>confdefs.h <<_ACEOF
50484 #define HAVE_LOGF 1
50485 _ACEOF
50488 done
50490 else
50492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50493 $as_echo_n "checking for _logf declaration... " >&6; }
50494 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50495 if ${glibcxx_cv_func__logf_use+:} false; then :
50496 $as_echo_n "(cached) " >&6
50497 else
50500 ac_ext=cpp
50501 ac_cpp='$CXXCPP $CPPFLAGS'
50502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50507 /* end confdefs.h. */
50508 #include <math.h>
50509 #ifdef HAVE_IEEEFP_H
50510 #include <ieeefp.h>
50511 #endif
50514 main ()
50516 _logf(0);
50518 return 0;
50520 _ACEOF
50521 if ac_fn_cxx_try_compile "$LINENO"; then :
50522 glibcxx_cv_func__logf_use=yes
50523 else
50524 glibcxx_cv_func__logf_use=no
50526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50527 ac_ext=c
50528 ac_cpp='$CPP $CPPFLAGS'
50529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50538 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50540 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50541 for ac_func in _logf
50542 do :
50543 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50544 if test "x$ac_cv_func__logf" = xyes; then :
50545 cat >>confdefs.h <<_ACEOF
50546 #define HAVE__LOGF 1
50547 _ACEOF
50550 done
50559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50560 $as_echo_n "checking for log10f declaration... " >&6; }
50561 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50562 if ${glibcxx_cv_func_log10f_use+:} false; then :
50563 $as_echo_n "(cached) " >&6
50564 else
50567 ac_ext=cpp
50568 ac_cpp='$CXXCPP $CPPFLAGS'
50569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50574 /* end confdefs.h. */
50575 #include <math.h>
50576 #ifdef HAVE_IEEEFP_H
50577 #include <ieeefp.h>
50578 #endif
50581 main ()
50583 log10f(0);
50585 return 0;
50587 _ACEOF
50588 if ac_fn_cxx_try_compile "$LINENO"; then :
50589 glibcxx_cv_func_log10f_use=yes
50590 else
50591 glibcxx_cv_func_log10f_use=no
50593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50594 ac_ext=c
50595 ac_cpp='$CPP $CPPFLAGS'
50596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50605 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50607 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50608 for ac_func in log10f
50609 do :
50610 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50611 if test "x$ac_cv_func_log10f" = xyes; then :
50612 cat >>confdefs.h <<_ACEOF
50613 #define HAVE_LOG10F 1
50614 _ACEOF
50617 done
50619 else
50621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50622 $as_echo_n "checking for _log10f declaration... " >&6; }
50623 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50624 if ${glibcxx_cv_func__log10f_use+:} false; then :
50625 $as_echo_n "(cached) " >&6
50626 else
50629 ac_ext=cpp
50630 ac_cpp='$CXXCPP $CPPFLAGS'
50631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50636 /* end confdefs.h. */
50637 #include <math.h>
50638 #ifdef HAVE_IEEEFP_H
50639 #include <ieeefp.h>
50640 #endif
50643 main ()
50645 _log10f(0);
50647 return 0;
50649 _ACEOF
50650 if ac_fn_cxx_try_compile "$LINENO"; then :
50651 glibcxx_cv_func__log10f_use=yes
50652 else
50653 glibcxx_cv_func__log10f_use=no
50655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50656 ac_ext=c
50657 ac_cpp='$CPP $CPPFLAGS'
50658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50667 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50669 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50670 for ac_func in _log10f
50671 do :
50672 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50673 if test "x$ac_cv_func__log10f" = xyes; then :
50674 cat >>confdefs.h <<_ACEOF
50675 #define HAVE__LOG10F 1
50676 _ACEOF
50679 done
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50689 $as_echo_n "checking for modff declaration... " >&6; }
50690 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50691 if ${glibcxx_cv_func_modff_use+:} false; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <math.h>
50706 main ()
50708 modff(0, 0);
50710 return 0;
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func_modff_use=yes
50715 else
50716 glibcxx_cv_func_modff_use=no
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50730 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50732 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50733 for ac_func in modff
50734 do :
50735 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50736 if test "x$ac_cv_func_modff" = xyes; then :
50737 cat >>confdefs.h <<_ACEOF
50738 #define HAVE_MODFF 1
50739 _ACEOF
50742 done
50744 else
50746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50747 $as_echo_n "checking for _modff declaration... " >&6; }
50748 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50749 if ${glibcxx_cv_func__modff_use+:} false; then :
50750 $as_echo_n "(cached) " >&6
50751 else
50754 ac_ext=cpp
50755 ac_cpp='$CXXCPP $CPPFLAGS'
50756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50761 /* end confdefs.h. */
50762 #include <math.h>
50764 main ()
50766 _modff(0, 0);
50768 return 0;
50770 _ACEOF
50771 if ac_fn_cxx_try_compile "$LINENO"; then :
50772 glibcxx_cv_func__modff_use=yes
50773 else
50774 glibcxx_cv_func__modff_use=no
50776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50777 ac_ext=c
50778 ac_cpp='$CPP $CPPFLAGS'
50779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50788 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50790 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50791 for ac_func in _modff
50792 do :
50793 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50794 if test "x$ac_cv_func__modff" = xyes; then :
50795 cat >>confdefs.h <<_ACEOF
50796 #define HAVE__MODFF 1
50797 _ACEOF
50800 done
50809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50810 $as_echo_n "checking for modf declaration... " >&6; }
50811 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50812 if ${glibcxx_cv_func_modf_use+:} false; then :
50813 $as_echo_n "(cached) " >&6
50814 else
50817 ac_ext=cpp
50818 ac_cpp='$CXXCPP $CPPFLAGS'
50819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50824 /* end confdefs.h. */
50825 #include <math.h>
50827 main ()
50829 modf(0, 0);
50831 return 0;
50833 _ACEOF
50834 if ac_fn_cxx_try_compile "$LINENO"; then :
50835 glibcxx_cv_func_modf_use=yes
50836 else
50837 glibcxx_cv_func_modf_use=no
50839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50840 ac_ext=c
50841 ac_cpp='$CPP $CPPFLAGS'
50842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50851 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50853 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50854 for ac_func in modf
50855 do :
50856 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50857 if test "x$ac_cv_func_modf" = xyes; then :
50858 cat >>confdefs.h <<_ACEOF
50859 #define HAVE_MODF 1
50860 _ACEOF
50863 done
50865 else
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50868 $as_echo_n "checking for _modf declaration... " >&6; }
50869 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50870 if ${glibcxx_cv_func__modf_use+:} false; then :
50871 $as_echo_n "(cached) " >&6
50872 else
50875 ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h. */
50883 #include <math.h>
50885 main ()
50887 _modf(0, 0);
50889 return 0;
50891 _ACEOF
50892 if ac_fn_cxx_try_compile "$LINENO"; then :
50893 glibcxx_cv_func__modf_use=yes
50894 else
50895 glibcxx_cv_func__modf_use=no
50897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50898 ac_ext=c
50899 ac_cpp='$CPP $CPPFLAGS'
50900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50909 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50911 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50912 for ac_func in _modf
50913 do :
50914 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50915 if test "x$ac_cv_func__modf" = xyes; then :
50916 cat >>confdefs.h <<_ACEOF
50917 #define HAVE__MODF 1
50918 _ACEOF
50921 done
50930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50931 $as_echo_n "checking for powf declaration... " >&6; }
50932 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50933 if ${glibcxx_cv_func_powf_use+:} false; then :
50934 $as_echo_n "(cached) " >&6
50935 else
50938 ac_ext=cpp
50939 ac_cpp='$CXXCPP $CPPFLAGS'
50940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50945 /* end confdefs.h. */
50946 #include <math.h>
50948 main ()
50950 powf(0, 0);
50952 return 0;
50954 _ACEOF
50955 if ac_fn_cxx_try_compile "$LINENO"; then :
50956 glibcxx_cv_func_powf_use=yes
50957 else
50958 glibcxx_cv_func_powf_use=no
50960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50961 ac_ext=c
50962 ac_cpp='$CPP $CPPFLAGS'
50963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50972 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50974 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50975 for ac_func in powf
50976 do :
50977 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50978 if test "x$ac_cv_func_powf" = xyes; then :
50979 cat >>confdefs.h <<_ACEOF
50980 #define HAVE_POWF 1
50981 _ACEOF
50984 done
50986 else
50988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50989 $as_echo_n "checking for _powf declaration... " >&6; }
50990 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50991 if ${glibcxx_cv_func__powf_use+:} false; then :
50992 $as_echo_n "(cached) " >&6
50993 else
50996 ac_ext=cpp
50997 ac_cpp='$CXXCPP $CPPFLAGS'
50998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51003 /* end confdefs.h. */
51004 #include <math.h>
51006 main ()
51008 _powf(0, 0);
51010 return 0;
51012 _ACEOF
51013 if ac_fn_cxx_try_compile "$LINENO"; then :
51014 glibcxx_cv_func__powf_use=yes
51015 else
51016 glibcxx_cv_func__powf_use=no
51018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51019 ac_ext=c
51020 ac_cpp='$CPP $CPPFLAGS'
51021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51030 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51032 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51033 for ac_func in _powf
51034 do :
51035 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51036 if test "x$ac_cv_func__powf" = xyes; then :
51037 cat >>confdefs.h <<_ACEOF
51038 #define HAVE__POWF 1
51039 _ACEOF
51042 done
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51052 $as_echo_n "checking for sqrtf declaration... " >&6; }
51053 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51054 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51055 $as_echo_n "(cached) " >&6
51056 else
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h. */
51067 #include <math.h>
51068 #ifdef HAVE_IEEEFP_H
51069 #include <ieeefp.h>
51070 #endif
51073 main ()
51075 sqrtf(0);
51077 return 0;
51079 _ACEOF
51080 if ac_fn_cxx_try_compile "$LINENO"; then :
51081 glibcxx_cv_func_sqrtf_use=yes
51082 else
51083 glibcxx_cv_func_sqrtf_use=no
51085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51086 ac_ext=c
51087 ac_cpp='$CPP $CPPFLAGS'
51088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51097 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51099 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51100 for ac_func in sqrtf
51101 do :
51102 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51103 if test "x$ac_cv_func_sqrtf" = xyes; then :
51104 cat >>confdefs.h <<_ACEOF
51105 #define HAVE_SQRTF 1
51106 _ACEOF
51109 done
51111 else
51113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51114 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51115 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51116 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51117 $as_echo_n "(cached) " >&6
51118 else
51121 ac_ext=cpp
51122 ac_cpp='$CXXCPP $CPPFLAGS'
51123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51128 /* end confdefs.h. */
51129 #include <math.h>
51130 #ifdef HAVE_IEEEFP_H
51131 #include <ieeefp.h>
51132 #endif
51135 main ()
51137 _sqrtf(0);
51139 return 0;
51141 _ACEOF
51142 if ac_fn_cxx_try_compile "$LINENO"; then :
51143 glibcxx_cv_func__sqrtf_use=yes
51144 else
51145 glibcxx_cv_func__sqrtf_use=no
51147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51148 ac_ext=c
51149 ac_cpp='$CPP $CPPFLAGS'
51150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51159 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51161 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51162 for ac_func in _sqrtf
51163 do :
51164 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51165 if test "x$ac_cv_func__sqrtf" = xyes; then :
51166 cat >>confdefs.h <<_ACEOF
51167 #define HAVE__SQRTF 1
51168 _ACEOF
51171 done
51180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51181 $as_echo_n "checking for sincosf declaration... " >&6; }
51182 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51183 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51184 $as_echo_n "(cached) " >&6
51185 else
51188 ac_ext=cpp
51189 ac_cpp='$CXXCPP $CPPFLAGS'
51190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51195 /* end confdefs.h. */
51196 #include <math.h>
51198 main ()
51200 sincosf(0, 0, 0);
51202 return 0;
51204 _ACEOF
51205 if ac_fn_cxx_try_compile "$LINENO"; then :
51206 glibcxx_cv_func_sincosf_use=yes
51207 else
51208 glibcxx_cv_func_sincosf_use=no
51210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51211 ac_ext=c
51212 ac_cpp='$CPP $CPPFLAGS'
51213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51222 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51224 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51225 for ac_func in sincosf
51226 do :
51227 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51228 if test "x$ac_cv_func_sincosf" = xyes; then :
51229 cat >>confdefs.h <<_ACEOF
51230 #define HAVE_SINCOSF 1
51231 _ACEOF
51234 done
51236 else
51238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51239 $as_echo_n "checking for _sincosf declaration... " >&6; }
51240 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51241 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51242 $as_echo_n "(cached) " >&6
51243 else
51246 ac_ext=cpp
51247 ac_cpp='$CXXCPP $CPPFLAGS'
51248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51253 /* end confdefs.h. */
51254 #include <math.h>
51256 main ()
51258 _sincosf(0, 0, 0);
51260 return 0;
51262 _ACEOF
51263 if ac_fn_cxx_try_compile "$LINENO"; then :
51264 glibcxx_cv_func__sincosf_use=yes
51265 else
51266 glibcxx_cv_func__sincosf_use=no
51268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51269 ac_ext=c
51270 ac_cpp='$CPP $CPPFLAGS'
51271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51280 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51282 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51283 for ac_func in _sincosf
51284 do :
51285 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51286 if test "x$ac_cv_func__sincosf" = xyes; then :
51287 cat >>confdefs.h <<_ACEOF
51288 #define HAVE__SINCOSF 1
51289 _ACEOF
51292 done
51301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51302 $as_echo_n "checking for finitef declaration... " >&6; }
51303 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51304 if ${glibcxx_cv_func_finitef_use+:} false; then :
51305 $as_echo_n "(cached) " >&6
51306 else
51309 ac_ext=cpp
51310 ac_cpp='$CXXCPP $CPPFLAGS'
51311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51316 /* end confdefs.h. */
51317 #include <math.h>
51318 #ifdef HAVE_IEEEFP_H
51319 #include <ieeefp.h>
51320 #endif
51323 main ()
51325 finitef(0);
51327 return 0;
51329 _ACEOF
51330 if ac_fn_cxx_try_compile "$LINENO"; then :
51331 glibcxx_cv_func_finitef_use=yes
51332 else
51333 glibcxx_cv_func_finitef_use=no
51335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51336 ac_ext=c
51337 ac_cpp='$CPP $CPPFLAGS'
51338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51347 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51349 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51350 for ac_func in finitef
51351 do :
51352 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51353 if test "x$ac_cv_func_finitef" = xyes; then :
51354 cat >>confdefs.h <<_ACEOF
51355 #define HAVE_FINITEF 1
51356 _ACEOF
51359 done
51361 else
51363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51364 $as_echo_n "checking for _finitef declaration... " >&6; }
51365 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51366 if ${glibcxx_cv_func__finitef_use+:} false; then :
51367 $as_echo_n "(cached) " >&6
51368 else
51371 ac_ext=cpp
51372 ac_cpp='$CXXCPP $CPPFLAGS'
51373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51378 /* end confdefs.h. */
51379 #include <math.h>
51380 #ifdef HAVE_IEEEFP_H
51381 #include <ieeefp.h>
51382 #endif
51385 main ()
51387 _finitef(0);
51389 return 0;
51391 _ACEOF
51392 if ac_fn_cxx_try_compile "$LINENO"; then :
51393 glibcxx_cv_func__finitef_use=yes
51394 else
51395 glibcxx_cv_func__finitef_use=no
51397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51398 ac_ext=c
51399 ac_cpp='$CPP $CPPFLAGS'
51400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51409 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51411 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51412 for ac_func in _finitef
51413 do :
51414 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51415 if test "x$ac_cv_func__finitef" = xyes; then :
51416 cat >>confdefs.h <<_ACEOF
51417 #define HAVE__FINITEF 1
51418 _ACEOF
51421 done
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51431 $as_echo_n "checking for long double trig functions... " >&6; }
51432 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51433 $as_echo_n "(cached) " >&6
51434 else
51437 ac_ext=cpp
51438 ac_cpp='$CXXCPP $CPPFLAGS'
51439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51444 /* end confdefs.h. */
51445 #include <math.h>
51447 main ()
51449 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51451 return 0;
51453 _ACEOF
51454 if ac_fn_cxx_try_compile "$LINENO"; then :
51455 glibcxx_cv_func_long_double_trig_use=yes
51456 else
51457 glibcxx_cv_func_long_double_trig_use=no
51459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51460 ac_ext=c
51461 ac_cpp='$CPP $CPPFLAGS'
51462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51469 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51470 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51471 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51472 do :
51473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51476 cat >>confdefs.h <<_ACEOF
51477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51478 _ACEOF
51481 done
51483 else
51484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51485 $as_echo_n "checking for _long double trig functions... " >&6; }
51486 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51487 $as_echo_n "(cached) " >&6
51488 else
51491 ac_ext=cpp
51492 ac_cpp='$CXXCPP $CPPFLAGS'
51493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51498 /* end confdefs.h. */
51499 #include <math.h>
51501 main ()
51503 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51505 return 0;
51507 _ACEOF
51508 if ac_fn_cxx_try_compile "$LINENO"; then :
51509 glibcxx_cv_func__long_double_trig_use=yes
51510 else
51511 glibcxx_cv_func__long_double_trig_use=no
51513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51514 ac_ext=c
51515 ac_cpp='$CPP $CPPFLAGS'
51516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51523 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51524 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51525 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51526 do :
51527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51530 cat >>confdefs.h <<_ACEOF
51531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51532 _ACEOF
51535 done
51544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51545 $as_echo_n "checking for long double round functions... " >&6; }
51546 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51547 $as_echo_n "(cached) " >&6
51548 else
51551 ac_ext=cpp
51552 ac_cpp='$CXXCPP $CPPFLAGS'
51553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51558 /* end confdefs.h. */
51559 #include <math.h>
51561 main ()
51563 ceill (0); floorl (0);
51565 return 0;
51567 _ACEOF
51568 if ac_fn_cxx_try_compile "$LINENO"; then :
51569 glibcxx_cv_func_long_double_round_use=yes
51570 else
51571 glibcxx_cv_func_long_double_round_use=no
51573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51574 ac_ext=c
51575 ac_cpp='$CPP $CPPFLAGS'
51576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51583 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51584 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51585 for ac_func in ceill floorl
51586 do :
51587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51590 cat >>confdefs.h <<_ACEOF
51591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51592 _ACEOF
51595 done
51597 else
51598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51599 $as_echo_n "checking for _long double round functions... " >&6; }
51600 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51601 $as_echo_n "(cached) " >&6
51602 else
51605 ac_ext=cpp
51606 ac_cpp='$CXXCPP $CPPFLAGS'
51607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51612 /* end confdefs.h. */
51613 #include <math.h>
51615 main ()
51617 _ceill (0); _floorl (0);
51619 return 0;
51621 _ACEOF
51622 if ac_fn_cxx_try_compile "$LINENO"; then :
51623 glibcxx_cv_func__long_double_round_use=yes
51624 else
51625 glibcxx_cv_func__long_double_round_use=no
51627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51628 ac_ext=c
51629 ac_cpp='$CPP $CPPFLAGS'
51630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51637 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51638 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51639 for ac_func in _ceill _floorl
51640 do :
51641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51644 cat >>confdefs.h <<_ACEOF
51645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51646 _ACEOF
51649 done
51659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51660 $as_echo_n "checking for isnanl declaration... " >&6; }
51661 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51662 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51663 $as_echo_n "(cached) " >&6
51664 else
51667 ac_ext=cpp
51668 ac_cpp='$CXXCPP $CPPFLAGS'
51669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51674 /* end confdefs.h. */
51675 #include <math.h>
51676 #ifdef HAVE_IEEEFP_H
51677 #include <ieeefp.h>
51678 #endif
51681 main ()
51683 isnanl(0);
51685 return 0;
51687 _ACEOF
51688 if ac_fn_cxx_try_compile "$LINENO"; then :
51689 glibcxx_cv_func_isnanl_use=yes
51690 else
51691 glibcxx_cv_func_isnanl_use=no
51693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51694 ac_ext=c
51695 ac_cpp='$CPP $CPPFLAGS'
51696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51705 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51707 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51708 for ac_func in isnanl
51709 do :
51710 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51711 if test "x$ac_cv_func_isnanl" = xyes; then :
51712 cat >>confdefs.h <<_ACEOF
51713 #define HAVE_ISNANL 1
51714 _ACEOF
51717 done
51719 else
51721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51722 $as_echo_n "checking for _isnanl declaration... " >&6; }
51723 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51724 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51725 $as_echo_n "(cached) " >&6
51726 else
51729 ac_ext=cpp
51730 ac_cpp='$CXXCPP $CPPFLAGS'
51731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51736 /* end confdefs.h. */
51737 #include <math.h>
51738 #ifdef HAVE_IEEEFP_H
51739 #include <ieeefp.h>
51740 #endif
51743 main ()
51745 _isnanl(0);
51747 return 0;
51749 _ACEOF
51750 if ac_fn_cxx_try_compile "$LINENO"; then :
51751 glibcxx_cv_func__isnanl_use=yes
51752 else
51753 glibcxx_cv_func__isnanl_use=no
51755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51756 ac_ext=c
51757 ac_cpp='$CPP $CPPFLAGS'
51758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51767 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51769 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51770 for ac_func in _isnanl
51771 do :
51772 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51773 if test "x$ac_cv_func__isnanl" = xyes; then :
51774 cat >>confdefs.h <<_ACEOF
51775 #define HAVE__ISNANL 1
51776 _ACEOF
51779 done
51788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51789 $as_echo_n "checking for isinfl declaration... " >&6; }
51790 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51791 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51792 $as_echo_n "(cached) " >&6
51793 else
51796 ac_ext=cpp
51797 ac_cpp='$CXXCPP $CPPFLAGS'
51798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51803 /* end confdefs.h. */
51804 #include <math.h>
51805 #ifdef HAVE_IEEEFP_H
51806 #include <ieeefp.h>
51807 #endif
51810 main ()
51812 isinfl(0);
51814 return 0;
51816 _ACEOF
51817 if ac_fn_cxx_try_compile "$LINENO"; then :
51818 glibcxx_cv_func_isinfl_use=yes
51819 else
51820 glibcxx_cv_func_isinfl_use=no
51822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51823 ac_ext=c
51824 ac_cpp='$CPP $CPPFLAGS'
51825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51834 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51836 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51837 for ac_func in isinfl
51838 do :
51839 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51840 if test "x$ac_cv_func_isinfl" = xyes; then :
51841 cat >>confdefs.h <<_ACEOF
51842 #define HAVE_ISINFL 1
51843 _ACEOF
51846 done
51848 else
51850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51851 $as_echo_n "checking for _isinfl declaration... " >&6; }
51852 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51853 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51854 $as_echo_n "(cached) " >&6
51855 else
51858 ac_ext=cpp
51859 ac_cpp='$CXXCPP $CPPFLAGS'
51860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51865 /* end confdefs.h. */
51866 #include <math.h>
51867 #ifdef HAVE_IEEEFP_H
51868 #include <ieeefp.h>
51869 #endif
51872 main ()
51874 _isinfl(0);
51876 return 0;
51878 _ACEOF
51879 if ac_fn_cxx_try_compile "$LINENO"; then :
51880 glibcxx_cv_func__isinfl_use=yes
51881 else
51882 glibcxx_cv_func__isinfl_use=no
51884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51885 ac_ext=c
51886 ac_cpp='$CPP $CPPFLAGS'
51887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51896 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51898 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51899 for ac_func in _isinfl
51900 do :
51901 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51902 if test "x$ac_cv_func__isinfl" = xyes; then :
51903 cat >>confdefs.h <<_ACEOF
51904 #define HAVE__ISINFL 1
51905 _ACEOF
51908 done
51917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51918 $as_echo_n "checking for atan2l declaration... " >&6; }
51919 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51920 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51921 $as_echo_n "(cached) " >&6
51922 else
51925 ac_ext=cpp
51926 ac_cpp='$CXXCPP $CPPFLAGS'
51927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51932 /* end confdefs.h. */
51933 #include <math.h>
51935 main ()
51937 atan2l(0, 0);
51939 return 0;
51941 _ACEOF
51942 if ac_fn_cxx_try_compile "$LINENO"; then :
51943 glibcxx_cv_func_atan2l_use=yes
51944 else
51945 glibcxx_cv_func_atan2l_use=no
51947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51948 ac_ext=c
51949 ac_cpp='$CPP $CPPFLAGS'
51950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51959 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51961 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51962 for ac_func in atan2l
51963 do :
51964 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51965 if test "x$ac_cv_func_atan2l" = xyes; then :
51966 cat >>confdefs.h <<_ACEOF
51967 #define HAVE_ATAN2L 1
51968 _ACEOF
51971 done
51973 else
51975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51976 $as_echo_n "checking for _atan2l declaration... " >&6; }
51977 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51978 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51979 $as_echo_n "(cached) " >&6
51980 else
51983 ac_ext=cpp
51984 ac_cpp='$CXXCPP $CPPFLAGS'
51985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51990 /* end confdefs.h. */
51991 #include <math.h>
51993 main ()
51995 _atan2l(0, 0);
51997 return 0;
51999 _ACEOF
52000 if ac_fn_cxx_try_compile "$LINENO"; then :
52001 glibcxx_cv_func__atan2l_use=yes
52002 else
52003 glibcxx_cv_func__atan2l_use=no
52005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52006 ac_ext=c
52007 ac_cpp='$CPP $CPPFLAGS'
52008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52017 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52019 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52020 for ac_func in _atan2l
52021 do :
52022 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52023 if test "x$ac_cv_func__atan2l" = xyes; then :
52024 cat >>confdefs.h <<_ACEOF
52025 #define HAVE__ATAN2L 1
52026 _ACEOF
52029 done
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52039 $as_echo_n "checking for expl declaration... " >&6; }
52040 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52041 if ${glibcxx_cv_func_expl_use+:} false; then :
52042 $as_echo_n "(cached) " >&6
52043 else
52046 ac_ext=cpp
52047 ac_cpp='$CXXCPP $CPPFLAGS'
52048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52053 /* end confdefs.h. */
52054 #include <math.h>
52055 #ifdef HAVE_IEEEFP_H
52056 #include <ieeefp.h>
52057 #endif
52060 main ()
52062 expl(0);
52064 return 0;
52066 _ACEOF
52067 if ac_fn_cxx_try_compile "$LINENO"; then :
52068 glibcxx_cv_func_expl_use=yes
52069 else
52070 glibcxx_cv_func_expl_use=no
52072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52073 ac_ext=c
52074 ac_cpp='$CPP $CPPFLAGS'
52075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52084 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52086 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52087 for ac_func in expl
52088 do :
52089 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52090 if test "x$ac_cv_func_expl" = xyes; then :
52091 cat >>confdefs.h <<_ACEOF
52092 #define HAVE_EXPL 1
52093 _ACEOF
52096 done
52098 else
52100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52101 $as_echo_n "checking for _expl declaration... " >&6; }
52102 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52103 if ${glibcxx_cv_func__expl_use+:} false; then :
52104 $as_echo_n "(cached) " >&6
52105 else
52108 ac_ext=cpp
52109 ac_cpp='$CXXCPP $CPPFLAGS'
52110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52115 /* end confdefs.h. */
52116 #include <math.h>
52117 #ifdef HAVE_IEEEFP_H
52118 #include <ieeefp.h>
52119 #endif
52122 main ()
52124 _expl(0);
52126 return 0;
52128 _ACEOF
52129 if ac_fn_cxx_try_compile "$LINENO"; then :
52130 glibcxx_cv_func__expl_use=yes
52131 else
52132 glibcxx_cv_func__expl_use=no
52134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52135 ac_ext=c
52136 ac_cpp='$CPP $CPPFLAGS'
52137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52146 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52148 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52149 for ac_func in _expl
52150 do :
52151 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52152 if test "x$ac_cv_func__expl" = xyes; then :
52153 cat >>confdefs.h <<_ACEOF
52154 #define HAVE__EXPL 1
52155 _ACEOF
52158 done
52167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52168 $as_echo_n "checking for fabsl declaration... " >&6; }
52169 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52170 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52171 $as_echo_n "(cached) " >&6
52172 else
52175 ac_ext=cpp
52176 ac_cpp='$CXXCPP $CPPFLAGS'
52177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52182 /* end confdefs.h. */
52183 #include <math.h>
52184 #ifdef HAVE_IEEEFP_H
52185 #include <ieeefp.h>
52186 #endif
52189 main ()
52191 fabsl(0);
52193 return 0;
52195 _ACEOF
52196 if ac_fn_cxx_try_compile "$LINENO"; then :
52197 glibcxx_cv_func_fabsl_use=yes
52198 else
52199 glibcxx_cv_func_fabsl_use=no
52201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52202 ac_ext=c
52203 ac_cpp='$CPP $CPPFLAGS'
52204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52213 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52215 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52216 for ac_func in fabsl
52217 do :
52218 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52219 if test "x$ac_cv_func_fabsl" = xyes; then :
52220 cat >>confdefs.h <<_ACEOF
52221 #define HAVE_FABSL 1
52222 _ACEOF
52225 done
52227 else
52229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52230 $as_echo_n "checking for _fabsl declaration... " >&6; }
52231 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52232 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52233 $as_echo_n "(cached) " >&6
52234 else
52237 ac_ext=cpp
52238 ac_cpp='$CXXCPP $CPPFLAGS'
52239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52244 /* end confdefs.h. */
52245 #include <math.h>
52246 #ifdef HAVE_IEEEFP_H
52247 #include <ieeefp.h>
52248 #endif
52251 main ()
52253 _fabsl(0);
52255 return 0;
52257 _ACEOF
52258 if ac_fn_cxx_try_compile "$LINENO"; then :
52259 glibcxx_cv_func__fabsl_use=yes
52260 else
52261 glibcxx_cv_func__fabsl_use=no
52263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52264 ac_ext=c
52265 ac_cpp='$CPP $CPPFLAGS'
52266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52275 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52277 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52278 for ac_func in _fabsl
52279 do :
52280 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52281 if test "x$ac_cv_func__fabsl" = xyes; then :
52282 cat >>confdefs.h <<_ACEOF
52283 #define HAVE__FABSL 1
52284 _ACEOF
52287 done
52296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52297 $as_echo_n "checking for fmodl declaration... " >&6; }
52298 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52299 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52300 $as_echo_n "(cached) " >&6
52301 else
52304 ac_ext=cpp
52305 ac_cpp='$CXXCPP $CPPFLAGS'
52306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52311 /* end confdefs.h. */
52312 #include <math.h>
52314 main ()
52316 fmodl(0, 0);
52318 return 0;
52320 _ACEOF
52321 if ac_fn_cxx_try_compile "$LINENO"; then :
52322 glibcxx_cv_func_fmodl_use=yes
52323 else
52324 glibcxx_cv_func_fmodl_use=no
52326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52327 ac_ext=c
52328 ac_cpp='$CPP $CPPFLAGS'
52329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52338 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52340 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52341 for ac_func in fmodl
52342 do :
52343 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52344 if test "x$ac_cv_func_fmodl" = xyes; then :
52345 cat >>confdefs.h <<_ACEOF
52346 #define HAVE_FMODL 1
52347 _ACEOF
52350 done
52352 else
52354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52355 $as_echo_n "checking for _fmodl declaration... " >&6; }
52356 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52357 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52358 $as_echo_n "(cached) " >&6
52359 else
52362 ac_ext=cpp
52363 ac_cpp='$CXXCPP $CPPFLAGS'
52364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52369 /* end confdefs.h. */
52370 #include <math.h>
52372 main ()
52374 _fmodl(0, 0);
52376 return 0;
52378 _ACEOF
52379 if ac_fn_cxx_try_compile "$LINENO"; then :
52380 glibcxx_cv_func__fmodl_use=yes
52381 else
52382 glibcxx_cv_func__fmodl_use=no
52384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52385 ac_ext=c
52386 ac_cpp='$CPP $CPPFLAGS'
52387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52396 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52398 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52399 for ac_func in _fmodl
52400 do :
52401 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52402 if test "x$ac_cv_func__fmodl" = xyes; then :
52403 cat >>confdefs.h <<_ACEOF
52404 #define HAVE__FMODL 1
52405 _ACEOF
52408 done
52417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52418 $as_echo_n "checking for frexpl declaration... " >&6; }
52419 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52420 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52421 $as_echo_n "(cached) " >&6
52422 else
52425 ac_ext=cpp
52426 ac_cpp='$CXXCPP $CPPFLAGS'
52427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52432 /* end confdefs.h. */
52433 #include <math.h>
52435 main ()
52437 frexpl(0, 0);
52439 return 0;
52441 _ACEOF
52442 if ac_fn_cxx_try_compile "$LINENO"; then :
52443 glibcxx_cv_func_frexpl_use=yes
52444 else
52445 glibcxx_cv_func_frexpl_use=no
52447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52448 ac_ext=c
52449 ac_cpp='$CPP $CPPFLAGS'
52450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52459 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52461 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52462 for ac_func in frexpl
52463 do :
52464 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52465 if test "x$ac_cv_func_frexpl" = xyes; then :
52466 cat >>confdefs.h <<_ACEOF
52467 #define HAVE_FREXPL 1
52468 _ACEOF
52471 done
52473 else
52475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52476 $as_echo_n "checking for _frexpl declaration... " >&6; }
52477 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52478 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52479 $as_echo_n "(cached) " >&6
52480 else
52483 ac_ext=cpp
52484 ac_cpp='$CXXCPP $CPPFLAGS'
52485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52490 /* end confdefs.h. */
52491 #include <math.h>
52493 main ()
52495 _frexpl(0, 0);
52497 return 0;
52499 _ACEOF
52500 if ac_fn_cxx_try_compile "$LINENO"; then :
52501 glibcxx_cv_func__frexpl_use=yes
52502 else
52503 glibcxx_cv_func__frexpl_use=no
52505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52506 ac_ext=c
52507 ac_cpp='$CPP $CPPFLAGS'
52508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52517 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52519 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52520 for ac_func in _frexpl
52521 do :
52522 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52523 if test "x$ac_cv_func__frexpl" = xyes; then :
52524 cat >>confdefs.h <<_ACEOF
52525 #define HAVE__FREXPL 1
52526 _ACEOF
52529 done
52538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52539 $as_echo_n "checking for hypotl declaration... " >&6; }
52540 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52541 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52542 $as_echo_n "(cached) " >&6
52543 else
52546 ac_ext=cpp
52547 ac_cpp='$CXXCPP $CPPFLAGS'
52548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52553 /* end confdefs.h. */
52554 #include <math.h>
52556 main ()
52558 hypotl(0, 0);
52560 return 0;
52562 _ACEOF
52563 if ac_fn_cxx_try_compile "$LINENO"; then :
52564 glibcxx_cv_func_hypotl_use=yes
52565 else
52566 glibcxx_cv_func_hypotl_use=no
52568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52569 ac_ext=c
52570 ac_cpp='$CPP $CPPFLAGS'
52571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52580 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52582 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52583 for ac_func in hypotl
52584 do :
52585 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52586 if test "x$ac_cv_func_hypotl" = xyes; then :
52587 cat >>confdefs.h <<_ACEOF
52588 #define HAVE_HYPOTL 1
52589 _ACEOF
52592 done
52594 else
52596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52597 $as_echo_n "checking for _hypotl declaration... " >&6; }
52598 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52599 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52600 $as_echo_n "(cached) " >&6
52601 else
52604 ac_ext=cpp
52605 ac_cpp='$CXXCPP $CPPFLAGS'
52606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52611 /* end confdefs.h. */
52612 #include <math.h>
52614 main ()
52616 _hypotl(0, 0);
52618 return 0;
52620 _ACEOF
52621 if ac_fn_cxx_try_compile "$LINENO"; then :
52622 glibcxx_cv_func__hypotl_use=yes
52623 else
52624 glibcxx_cv_func__hypotl_use=no
52626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52627 ac_ext=c
52628 ac_cpp='$CPP $CPPFLAGS'
52629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52638 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52640 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52641 for ac_func in _hypotl
52642 do :
52643 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52644 if test "x$ac_cv_func__hypotl" = xyes; then :
52645 cat >>confdefs.h <<_ACEOF
52646 #define HAVE__HYPOTL 1
52647 _ACEOF
52650 done
52659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52660 $as_echo_n "checking for ldexpl declaration... " >&6; }
52661 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52662 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52663 $as_echo_n "(cached) " >&6
52664 else
52667 ac_ext=cpp
52668 ac_cpp='$CXXCPP $CPPFLAGS'
52669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52674 /* end confdefs.h. */
52675 #include <math.h>
52677 main ()
52679 ldexpl(0, 0);
52681 return 0;
52683 _ACEOF
52684 if ac_fn_cxx_try_compile "$LINENO"; then :
52685 glibcxx_cv_func_ldexpl_use=yes
52686 else
52687 glibcxx_cv_func_ldexpl_use=no
52689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52690 ac_ext=c
52691 ac_cpp='$CPP $CPPFLAGS'
52692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52701 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52703 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52704 for ac_func in ldexpl
52705 do :
52706 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52707 if test "x$ac_cv_func_ldexpl" = xyes; then :
52708 cat >>confdefs.h <<_ACEOF
52709 #define HAVE_LDEXPL 1
52710 _ACEOF
52713 done
52715 else
52717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52718 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52719 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52720 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52721 $as_echo_n "(cached) " >&6
52722 else
52725 ac_ext=cpp
52726 ac_cpp='$CXXCPP $CPPFLAGS'
52727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52732 /* end confdefs.h. */
52733 #include <math.h>
52735 main ()
52737 _ldexpl(0, 0);
52739 return 0;
52741 _ACEOF
52742 if ac_fn_cxx_try_compile "$LINENO"; then :
52743 glibcxx_cv_func__ldexpl_use=yes
52744 else
52745 glibcxx_cv_func__ldexpl_use=no
52747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52748 ac_ext=c
52749 ac_cpp='$CPP $CPPFLAGS'
52750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52759 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52761 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52762 for ac_func in _ldexpl
52763 do :
52764 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52765 if test "x$ac_cv_func__ldexpl" = xyes; then :
52766 cat >>confdefs.h <<_ACEOF
52767 #define HAVE__LDEXPL 1
52768 _ACEOF
52771 done
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52781 $as_echo_n "checking for logl declaration... " >&6; }
52782 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52783 if ${glibcxx_cv_func_logl_use+:} false; then :
52784 $as_echo_n "(cached) " >&6
52785 else
52788 ac_ext=cpp
52789 ac_cpp='$CXXCPP $CPPFLAGS'
52790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52795 /* end confdefs.h. */
52796 #include <math.h>
52797 #ifdef HAVE_IEEEFP_H
52798 #include <ieeefp.h>
52799 #endif
52802 main ()
52804 logl(0);
52806 return 0;
52808 _ACEOF
52809 if ac_fn_cxx_try_compile "$LINENO"; then :
52810 glibcxx_cv_func_logl_use=yes
52811 else
52812 glibcxx_cv_func_logl_use=no
52814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52815 ac_ext=c
52816 ac_cpp='$CPP $CPPFLAGS'
52817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52826 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52828 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52829 for ac_func in logl
52830 do :
52831 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52832 if test "x$ac_cv_func_logl" = xyes; then :
52833 cat >>confdefs.h <<_ACEOF
52834 #define HAVE_LOGL 1
52835 _ACEOF
52838 done
52840 else
52842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52843 $as_echo_n "checking for _logl declaration... " >&6; }
52844 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52845 if ${glibcxx_cv_func__logl_use+:} false; then :
52846 $as_echo_n "(cached) " >&6
52847 else
52850 ac_ext=cpp
52851 ac_cpp='$CXXCPP $CPPFLAGS'
52852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52857 /* end confdefs.h. */
52858 #include <math.h>
52859 #ifdef HAVE_IEEEFP_H
52860 #include <ieeefp.h>
52861 #endif
52864 main ()
52866 _logl(0);
52868 return 0;
52870 _ACEOF
52871 if ac_fn_cxx_try_compile "$LINENO"; then :
52872 glibcxx_cv_func__logl_use=yes
52873 else
52874 glibcxx_cv_func__logl_use=no
52876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52877 ac_ext=c
52878 ac_cpp='$CPP $CPPFLAGS'
52879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52888 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52890 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52891 for ac_func in _logl
52892 do :
52893 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52894 if test "x$ac_cv_func__logl" = xyes; then :
52895 cat >>confdefs.h <<_ACEOF
52896 #define HAVE__LOGL 1
52897 _ACEOF
52900 done
52909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52910 $as_echo_n "checking for log10l declaration... " >&6; }
52911 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52912 if ${glibcxx_cv_func_log10l_use+:} false; then :
52913 $as_echo_n "(cached) " >&6
52914 else
52917 ac_ext=cpp
52918 ac_cpp='$CXXCPP $CPPFLAGS'
52919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52924 /* end confdefs.h. */
52925 #include <math.h>
52926 #ifdef HAVE_IEEEFP_H
52927 #include <ieeefp.h>
52928 #endif
52931 main ()
52933 log10l(0);
52935 return 0;
52937 _ACEOF
52938 if ac_fn_cxx_try_compile "$LINENO"; then :
52939 glibcxx_cv_func_log10l_use=yes
52940 else
52941 glibcxx_cv_func_log10l_use=no
52943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944 ac_ext=c
52945 ac_cpp='$CPP $CPPFLAGS'
52946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52955 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52957 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52958 for ac_func in log10l
52959 do :
52960 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52961 if test "x$ac_cv_func_log10l" = xyes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE_LOG10L 1
52964 _ACEOF
52967 done
52969 else
52971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52972 $as_echo_n "checking for _log10l declaration... " >&6; }
52973 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52974 if ${glibcxx_cv_func__log10l_use+:} false; then :
52975 $as_echo_n "(cached) " >&6
52976 else
52979 ac_ext=cpp
52980 ac_cpp='$CXXCPP $CPPFLAGS'
52981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52986 /* end confdefs.h. */
52987 #include <math.h>
52988 #ifdef HAVE_IEEEFP_H
52989 #include <ieeefp.h>
52990 #endif
52993 main ()
52995 _log10l(0);
52997 return 0;
52999 _ACEOF
53000 if ac_fn_cxx_try_compile "$LINENO"; then :
53001 glibcxx_cv_func__log10l_use=yes
53002 else
53003 glibcxx_cv_func__log10l_use=no
53005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53006 ac_ext=c
53007 ac_cpp='$CPP $CPPFLAGS'
53008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53017 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53019 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53020 for ac_func in _log10l
53021 do :
53022 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53023 if test "x$ac_cv_func__log10l" = xyes; then :
53024 cat >>confdefs.h <<_ACEOF
53025 #define HAVE__LOG10L 1
53026 _ACEOF
53029 done
53038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53039 $as_echo_n "checking for modfl declaration... " >&6; }
53040 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53041 if ${glibcxx_cv_func_modfl_use+:} false; then :
53042 $as_echo_n "(cached) " >&6
53043 else
53046 ac_ext=cpp
53047 ac_cpp='$CXXCPP $CPPFLAGS'
53048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53053 /* end confdefs.h. */
53054 #include <math.h>
53056 main ()
53058 modfl(0, 0);
53060 return 0;
53062 _ACEOF
53063 if ac_fn_cxx_try_compile "$LINENO"; then :
53064 glibcxx_cv_func_modfl_use=yes
53065 else
53066 glibcxx_cv_func_modfl_use=no
53068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53069 ac_ext=c
53070 ac_cpp='$CPP $CPPFLAGS'
53071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53080 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53082 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53083 for ac_func in modfl
53084 do :
53085 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53086 if test "x$ac_cv_func_modfl" = xyes; then :
53087 cat >>confdefs.h <<_ACEOF
53088 #define HAVE_MODFL 1
53089 _ACEOF
53092 done
53094 else
53096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53097 $as_echo_n "checking for _modfl declaration... " >&6; }
53098 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53099 if ${glibcxx_cv_func__modfl_use+:} false; then :
53100 $as_echo_n "(cached) " >&6
53101 else
53104 ac_ext=cpp
53105 ac_cpp='$CXXCPP $CPPFLAGS'
53106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53111 /* end confdefs.h. */
53112 #include <math.h>
53114 main ()
53116 _modfl(0, 0);
53118 return 0;
53120 _ACEOF
53121 if ac_fn_cxx_try_compile "$LINENO"; then :
53122 glibcxx_cv_func__modfl_use=yes
53123 else
53124 glibcxx_cv_func__modfl_use=no
53126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53127 ac_ext=c
53128 ac_cpp='$CPP $CPPFLAGS'
53129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53138 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53140 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53141 for ac_func in _modfl
53142 do :
53143 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53144 if test "x$ac_cv_func__modfl" = xyes; then :
53145 cat >>confdefs.h <<_ACEOF
53146 #define HAVE__MODFL 1
53147 _ACEOF
53150 done
53159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53160 $as_echo_n "checking for powl declaration... " >&6; }
53161 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53162 if ${glibcxx_cv_func_powl_use+:} false; then :
53163 $as_echo_n "(cached) " >&6
53164 else
53167 ac_ext=cpp
53168 ac_cpp='$CXXCPP $CPPFLAGS'
53169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53174 /* end confdefs.h. */
53175 #include <math.h>
53177 main ()
53179 powl(0, 0);
53181 return 0;
53183 _ACEOF
53184 if ac_fn_cxx_try_compile "$LINENO"; then :
53185 glibcxx_cv_func_powl_use=yes
53186 else
53187 glibcxx_cv_func_powl_use=no
53189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53190 ac_ext=c
53191 ac_cpp='$CPP $CPPFLAGS'
53192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53201 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53203 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53204 for ac_func in powl
53205 do :
53206 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53207 if test "x$ac_cv_func_powl" = xyes; then :
53208 cat >>confdefs.h <<_ACEOF
53209 #define HAVE_POWL 1
53210 _ACEOF
53213 done
53215 else
53217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53218 $as_echo_n "checking for _powl declaration... " >&6; }
53219 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53220 if ${glibcxx_cv_func__powl_use+:} false; then :
53221 $as_echo_n "(cached) " >&6
53222 else
53225 ac_ext=cpp
53226 ac_cpp='$CXXCPP $CPPFLAGS'
53227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53232 /* end confdefs.h. */
53233 #include <math.h>
53235 main ()
53237 _powl(0, 0);
53239 return 0;
53241 _ACEOF
53242 if ac_fn_cxx_try_compile "$LINENO"; then :
53243 glibcxx_cv_func__powl_use=yes
53244 else
53245 glibcxx_cv_func__powl_use=no
53247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53248 ac_ext=c
53249 ac_cpp='$CPP $CPPFLAGS'
53250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53259 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53261 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53262 for ac_func in _powl
53263 do :
53264 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53265 if test "x$ac_cv_func__powl" = xyes; then :
53266 cat >>confdefs.h <<_ACEOF
53267 #define HAVE__POWL 1
53268 _ACEOF
53271 done
53280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53281 $as_echo_n "checking for sqrtl declaration... " >&6; }
53282 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53283 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53284 $as_echo_n "(cached) " >&6
53285 else
53288 ac_ext=cpp
53289 ac_cpp='$CXXCPP $CPPFLAGS'
53290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53295 /* end confdefs.h. */
53296 #include <math.h>
53297 #ifdef HAVE_IEEEFP_H
53298 #include <ieeefp.h>
53299 #endif
53302 main ()
53304 sqrtl(0);
53306 return 0;
53308 _ACEOF
53309 if ac_fn_cxx_try_compile "$LINENO"; then :
53310 glibcxx_cv_func_sqrtl_use=yes
53311 else
53312 glibcxx_cv_func_sqrtl_use=no
53314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53315 ac_ext=c
53316 ac_cpp='$CPP $CPPFLAGS'
53317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53326 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53328 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53329 for ac_func in sqrtl
53330 do :
53331 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53332 if test "x$ac_cv_func_sqrtl" = xyes; then :
53333 cat >>confdefs.h <<_ACEOF
53334 #define HAVE_SQRTL 1
53335 _ACEOF
53338 done
53340 else
53342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53343 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53344 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53345 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53346 $as_echo_n "(cached) " >&6
53347 else
53350 ac_ext=cpp
53351 ac_cpp='$CXXCPP $CPPFLAGS'
53352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53357 /* end confdefs.h. */
53358 #include <math.h>
53359 #ifdef HAVE_IEEEFP_H
53360 #include <ieeefp.h>
53361 #endif
53364 main ()
53366 _sqrtl(0);
53368 return 0;
53370 _ACEOF
53371 if ac_fn_cxx_try_compile "$LINENO"; then :
53372 glibcxx_cv_func__sqrtl_use=yes
53373 else
53374 glibcxx_cv_func__sqrtl_use=no
53376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53377 ac_ext=c
53378 ac_cpp='$CPP $CPPFLAGS'
53379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53388 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53390 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53391 for ac_func in _sqrtl
53392 do :
53393 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53394 if test "x$ac_cv_func__sqrtl" = xyes; then :
53395 cat >>confdefs.h <<_ACEOF
53396 #define HAVE__SQRTL 1
53397 _ACEOF
53400 done
53409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53410 $as_echo_n "checking for sincosl declaration... " >&6; }
53411 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53412 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53413 $as_echo_n "(cached) " >&6
53414 else
53417 ac_ext=cpp
53418 ac_cpp='$CXXCPP $CPPFLAGS'
53419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53424 /* end confdefs.h. */
53425 #include <math.h>
53427 main ()
53429 sincosl(0, 0, 0);
53431 return 0;
53433 _ACEOF
53434 if ac_fn_cxx_try_compile "$LINENO"; then :
53435 glibcxx_cv_func_sincosl_use=yes
53436 else
53437 glibcxx_cv_func_sincosl_use=no
53439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53440 ac_ext=c
53441 ac_cpp='$CPP $CPPFLAGS'
53442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53451 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53453 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53454 for ac_func in sincosl
53455 do :
53456 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53457 if test "x$ac_cv_func_sincosl" = xyes; then :
53458 cat >>confdefs.h <<_ACEOF
53459 #define HAVE_SINCOSL 1
53460 _ACEOF
53463 done
53465 else
53467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53468 $as_echo_n "checking for _sincosl declaration... " >&6; }
53469 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53470 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53471 $as_echo_n "(cached) " >&6
53472 else
53475 ac_ext=cpp
53476 ac_cpp='$CXXCPP $CPPFLAGS'
53477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53482 /* end confdefs.h. */
53483 #include <math.h>
53485 main ()
53487 _sincosl(0, 0, 0);
53489 return 0;
53491 _ACEOF
53492 if ac_fn_cxx_try_compile "$LINENO"; then :
53493 glibcxx_cv_func__sincosl_use=yes
53494 else
53495 glibcxx_cv_func__sincosl_use=no
53497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53498 ac_ext=c
53499 ac_cpp='$CPP $CPPFLAGS'
53500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53509 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53511 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53512 for ac_func in _sincosl
53513 do :
53514 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53515 if test "x$ac_cv_func__sincosl" = xyes; then :
53516 cat >>confdefs.h <<_ACEOF
53517 #define HAVE__SINCOSL 1
53518 _ACEOF
53521 done
53530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53531 $as_echo_n "checking for finitel declaration... " >&6; }
53532 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53533 if ${glibcxx_cv_func_finitel_use+:} false; then :
53534 $as_echo_n "(cached) " >&6
53535 else
53538 ac_ext=cpp
53539 ac_cpp='$CXXCPP $CPPFLAGS'
53540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53545 /* end confdefs.h. */
53546 #include <math.h>
53547 #ifdef HAVE_IEEEFP_H
53548 #include <ieeefp.h>
53549 #endif
53552 main ()
53554 finitel(0);
53556 return 0;
53558 _ACEOF
53559 if ac_fn_cxx_try_compile "$LINENO"; then :
53560 glibcxx_cv_func_finitel_use=yes
53561 else
53562 glibcxx_cv_func_finitel_use=no
53564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53565 ac_ext=c
53566 ac_cpp='$CPP $CPPFLAGS'
53567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53576 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53578 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53579 for ac_func in finitel
53580 do :
53581 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53582 if test "x$ac_cv_func_finitel" = xyes; then :
53583 cat >>confdefs.h <<_ACEOF
53584 #define HAVE_FINITEL 1
53585 _ACEOF
53588 done
53590 else
53592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53593 $as_echo_n "checking for _finitel declaration... " >&6; }
53594 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53595 if ${glibcxx_cv_func__finitel_use+:} false; then :
53596 $as_echo_n "(cached) " >&6
53597 else
53600 ac_ext=cpp
53601 ac_cpp='$CXXCPP $CPPFLAGS'
53602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53607 /* end confdefs.h. */
53608 #include <math.h>
53609 #ifdef HAVE_IEEEFP_H
53610 #include <ieeefp.h>
53611 #endif
53614 main ()
53616 _finitel(0);
53618 return 0;
53620 _ACEOF
53621 if ac_fn_cxx_try_compile "$LINENO"; then :
53622 glibcxx_cv_func__finitel_use=yes
53623 else
53624 glibcxx_cv_func__finitel_use=no
53626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53627 ac_ext=c
53628 ac_cpp='$CPP $CPPFLAGS'
53629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53638 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53640 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53641 for ac_func in _finitel
53642 do :
53643 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53644 if test "x$ac_cv_func__finitel" = xyes; then :
53645 cat >>confdefs.h <<_ACEOF
53646 #define HAVE__FINITEL 1
53647 _ACEOF
53650 done
53658 LIBS="$ac_save_LIBS"
53659 CXXFLAGS="$ac_save_CXXFLAGS"
53662 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53663 ac_save_CXXFLAGS="$CXXFLAGS"
53664 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53668 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53669 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53670 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53671 $as_echo_n "(cached) " >&6
53672 else
53675 ac_ext=cpp
53676 ac_cpp='$CXXCPP $CPPFLAGS'
53677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53682 /* end confdefs.h. */
53683 #include <stdlib.h>
53685 main ()
53687 at_quick_exit(0);
53689 return 0;
53691 _ACEOF
53692 if ac_fn_cxx_try_compile "$LINENO"; then :
53693 glibcxx_cv_func_at_quick_exit_use=yes
53694 else
53695 glibcxx_cv_func_at_quick_exit_use=no
53697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53698 ac_ext=c
53699 ac_cpp='$CPP $CPPFLAGS'
53700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53709 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53710 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53711 for ac_func in at_quick_exit
53712 do :
53713 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53714 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53715 cat >>confdefs.h <<_ACEOF
53716 #define HAVE_AT_QUICK_EXIT 1
53717 _ACEOF
53720 done
53725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53726 $as_echo_n "checking for quick_exit declaration... " >&6; }
53727 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53728 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53729 $as_echo_n "(cached) " >&6
53730 else
53733 ac_ext=cpp
53734 ac_cpp='$CXXCPP $CPPFLAGS'
53735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53740 /* end confdefs.h. */
53741 #include <stdlib.h>
53743 main ()
53745 quick_exit(0);
53747 return 0;
53749 _ACEOF
53750 if ac_fn_cxx_try_compile "$LINENO"; then :
53751 glibcxx_cv_func_quick_exit_use=yes
53752 else
53753 glibcxx_cv_func_quick_exit_use=no
53755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53756 ac_ext=c
53757 ac_cpp='$CPP $CPPFLAGS'
53758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53767 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53768 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53769 for ac_func in quick_exit
53770 do :
53771 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53772 if test "x$ac_cv_func_quick_exit" = xyes; then :
53773 cat >>confdefs.h <<_ACEOF
53774 #define HAVE_QUICK_EXIT 1
53775 _ACEOF
53778 done
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53784 $as_echo_n "checking for strtold declaration... " >&6; }
53785 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53786 if ${glibcxx_cv_func_strtold_use+:} false; then :
53787 $as_echo_n "(cached) " >&6
53788 else
53791 ac_ext=cpp
53792 ac_cpp='$CXXCPP $CPPFLAGS'
53793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53798 /* end confdefs.h. */
53799 #include <stdlib.h>
53801 main ()
53803 strtold(0, 0);
53805 return 0;
53807 _ACEOF
53808 if ac_fn_cxx_try_compile "$LINENO"; then :
53809 glibcxx_cv_func_strtold_use=yes
53810 else
53811 glibcxx_cv_func_strtold_use=no
53813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53814 ac_ext=c
53815 ac_cpp='$CPP $CPPFLAGS'
53816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53825 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53826 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53827 for ac_func in strtold
53828 do :
53829 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53830 if test "x$ac_cv_func_strtold" = xyes; then :
53831 cat >>confdefs.h <<_ACEOF
53832 #define HAVE_STRTOLD 1
53833 _ACEOF
53836 done
53843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53844 $as_echo_n "checking for strtof declaration... " >&6; }
53845 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53846 if ${glibcxx_cv_func_strtof_use+:} false; then :
53847 $as_echo_n "(cached) " >&6
53848 else
53851 ac_ext=cpp
53852 ac_cpp='$CXXCPP $CPPFLAGS'
53853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53858 /* end confdefs.h. */
53859 #include <stdlib.h>
53861 main ()
53863 strtof(0, 0);
53865 return 0;
53867 _ACEOF
53868 if ac_fn_cxx_try_compile "$LINENO"; then :
53869 glibcxx_cv_func_strtof_use=yes
53870 else
53871 glibcxx_cv_func_strtof_use=no
53873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53874 ac_ext=c
53875 ac_cpp='$CPP $CPPFLAGS'
53876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53885 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53886 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53887 for ac_func in strtof
53888 do :
53889 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53890 if test "x$ac_cv_func_strtof" = xyes; then :
53891 cat >>confdefs.h <<_ACEOF
53892 #define HAVE_STRTOF 1
53893 _ACEOF
53896 done
53903 CXXFLAGS="$ac_save_CXXFLAGS"
53905 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53907 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53911 # Check whether --enable-tls was given.
53912 if test "${enable_tls+set}" = set; then :
53913 enableval=$enable_tls;
53914 case "$enableval" in
53915 yes|no) ;;
53916 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53917 esac
53919 else
53920 enable_tls=yes
53924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53925 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53926 if ${gcc_cv_have_tls+:} false; then :
53927 $as_echo_n "(cached) " >&6
53928 else
53930 if test "$cross_compiling" = yes; then :
53931 if test x$gcc_no_link = xyes; then
53932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53935 /* end confdefs.h. */
53936 __thread int a; int b; int main() { return a = b; }
53937 _ACEOF
53938 if ac_fn_c_try_link "$LINENO"; then :
53939 chktls_save_LDFLAGS="$LDFLAGS"
53940 case $host in
53941 *-*-linux* | -*-uclinuxfdpic*)
53942 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53944 esac
53945 chktls_save_CFLAGS="$CFLAGS"
53946 CFLAGS="-fPIC $CFLAGS"
53947 if test x$gcc_no_link = xyes; then
53948 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53951 /* end confdefs.h. */
53952 int f() { return 0; }
53953 _ACEOF
53954 if ac_fn_c_try_link "$LINENO"; then :
53955 if test x$gcc_no_link = xyes; then
53956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53959 /* end confdefs.h. */
53960 __thread int a; int b; int f() { return a = b; }
53961 _ACEOF
53962 if ac_fn_c_try_link "$LINENO"; then :
53963 gcc_cv_have_tls=yes
53964 else
53965 gcc_cv_have_tls=no
53967 rm -f core conftest.err conftest.$ac_objext \
53968 conftest$ac_exeext conftest.$ac_ext
53969 else
53970 gcc_cv_have_tls=yes
53972 rm -f core conftest.err conftest.$ac_objext \
53973 conftest$ac_exeext conftest.$ac_ext
53974 CFLAGS="$chktls_save_CFLAGS"
53975 LDFLAGS="$chktls_save_LDFLAGS"
53976 else
53977 gcc_cv_have_tls=no
53979 rm -f core conftest.err conftest.$ac_objext \
53980 conftest$ac_exeext conftest.$ac_ext
53983 else
53984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53985 /* end confdefs.h. */
53986 __thread int a; int b; int main() { return a = b; }
53987 _ACEOF
53988 if ac_fn_c_try_run "$LINENO"; then :
53989 chktls_save_LDFLAGS="$LDFLAGS"
53990 LDFLAGS="-static $LDFLAGS"
53991 if test x$gcc_no_link = xyes; then
53992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53995 /* end confdefs.h. */
53996 int main() { return 0; }
53997 _ACEOF
53998 if ac_fn_c_try_link "$LINENO"; then :
53999 if test "$cross_compiling" = yes; then :
54000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54002 as_fn_error $? "cannot run test program while cross compiling
54003 See \`config.log' for more details" "$LINENO" 5; }
54004 else
54005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54006 /* end confdefs.h. */
54007 __thread int a; int b; int main() { return a = b; }
54008 _ACEOF
54009 if ac_fn_c_try_run "$LINENO"; then :
54010 gcc_cv_have_tls=yes
54011 else
54012 gcc_cv_have_tls=no
54014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54015 conftest.$ac_objext conftest.beam conftest.$ac_ext
54018 else
54019 gcc_cv_have_tls=yes
54021 rm -f core conftest.err conftest.$ac_objext \
54022 conftest$ac_exeext conftest.$ac_ext
54023 LDFLAGS="$chktls_save_LDFLAGS"
54024 if test $gcc_cv_have_tls = yes; then
54025 chktls_save_CFLAGS="$CFLAGS"
54026 thread_CFLAGS=failed
54027 for flag in '' '-pthread' '-lpthread'; do
54028 CFLAGS="$flag $chktls_save_CFLAGS"
54029 if test x$gcc_no_link = xyes; then
54030 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54033 /* end confdefs.h. */
54034 #include <pthread.h>
54035 void *g(void *d) { return NULL; }
54037 main ()
54039 pthread_t t; pthread_create(&t,NULL,g,NULL);
54041 return 0;
54043 _ACEOF
54044 if ac_fn_c_try_link "$LINENO"; then :
54045 thread_CFLAGS="$flag"
54047 rm -f core conftest.err conftest.$ac_objext \
54048 conftest$ac_exeext conftest.$ac_ext
54049 if test "X$thread_CFLAGS" != Xfailed; then
54050 break
54052 done
54053 CFLAGS="$chktls_save_CFLAGS"
54054 if test "X$thread_CFLAGS" != Xfailed; then
54055 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54056 if test "$cross_compiling" = yes; then :
54057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54059 as_fn_error $? "cannot run test program while cross compiling
54060 See \`config.log' for more details" "$LINENO" 5; }
54061 else
54062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54063 /* end confdefs.h. */
54064 #include <pthread.h>
54065 __thread int a;
54066 static int *volatile a_in_other_thread;
54067 static void *
54068 thread_func (void *arg)
54070 a_in_other_thread = &a;
54071 return (void *)0;
54074 main ()
54076 pthread_t thread;
54077 void *thread_retval;
54078 int *volatile a_in_main_thread;
54079 a_in_main_thread = &a;
54080 if (pthread_create (&thread, (pthread_attr_t *)0,
54081 thread_func, (void *)0))
54082 return 0;
54083 if (pthread_join (thread, &thread_retval))
54084 return 0;
54085 return (a_in_other_thread == a_in_main_thread);
54087 return 0;
54089 _ACEOF
54090 if ac_fn_c_try_run "$LINENO"; then :
54091 gcc_cv_have_tls=yes
54092 else
54093 gcc_cv_have_tls=no
54095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54096 conftest.$ac_objext conftest.beam conftest.$ac_ext
54099 CFLAGS="$chktls_save_CFLAGS"
54102 else
54103 gcc_cv_have_tls=no
54105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54106 conftest.$ac_objext conftest.beam conftest.$ac_ext
54110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54111 $as_echo "$gcc_cv_have_tls" >&6; }
54112 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54114 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54117 for ac_func in __cxa_thread_atexit_impl
54118 do :
54119 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54120 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54121 cat >>confdefs.h <<_ACEOF
54122 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54123 _ACEOF
54126 done
54128 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54129 do :
54130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54133 cat >>confdefs.h <<_ACEOF
54134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54135 _ACEOF
54138 done
54140 for ac_func in timespec_get
54141 do :
54142 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54143 if test "x$ac_cv_func_timespec_get" = xyes; then :
54144 cat >>confdefs.h <<_ACEOF
54145 #define HAVE_TIMESPEC_GET 1
54146 _ACEOF
54149 done
54151 for ac_func in sockatmark
54152 do :
54153 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54154 if test "x$ac_cv_func_sockatmark" = xyes; then :
54155 cat >>confdefs.h <<_ACEOF
54156 #define HAVE_SOCKATMARK 1
54157 _ACEOF
54160 done
54162 for ac_func in uselocale
54163 do :
54164 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54165 if test "x$ac_cv_func_uselocale" = xyes; then :
54166 cat >>confdefs.h <<_ACEOF
54167 #define HAVE_USELOCALE 1
54168 _ACEOF
54171 done
54178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54179 $as_echo_n "checking for iconv... " >&6; }
54180 if ${am_cv_func_iconv+:} false; then :
54181 $as_echo_n "(cached) " >&6
54182 else
54184 am_cv_func_iconv="no, consider installing GNU libiconv"
54185 am_cv_lib_iconv=no
54186 am_save_CPPFLAGS="$CPPFLAGS"
54187 CPPFLAGS="$CPPFLAGS $INCICONV"
54188 if test x$gcc_no_link = xyes; then
54189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54192 /* end confdefs.h. */
54193 #include <stdlib.h>
54194 #include <iconv.h>
54196 main ()
54198 iconv_t cd = iconv_open("","");
54199 iconv(cd,NULL,NULL,NULL,NULL);
54200 iconv_close(cd);
54202 return 0;
54204 _ACEOF
54205 if ac_fn_c_try_link "$LINENO"; then :
54206 am_cv_func_iconv=yes
54208 rm -f core conftest.err conftest.$ac_objext \
54209 conftest$ac_exeext conftest.$ac_ext
54210 CPPFLAGS="$am_save_CPPFLAGS"
54212 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54213 for _libs in .libs _libs; do
54214 am_save_CPPFLAGS="$CPPFLAGS"
54215 am_save_LIBS="$LIBS"
54216 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54217 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54218 if test x$gcc_no_link = xyes; then
54219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54222 /* end confdefs.h. */
54223 #include <stdlib.h>
54224 #include <iconv.h>
54226 main ()
54228 iconv_t cd = iconv_open("","");
54229 iconv(cd,NULL,NULL,NULL,NULL);
54230 iconv_close(cd);
54232 return 0;
54234 _ACEOF
54235 if ac_fn_c_try_link "$LINENO"; then :
54236 INCICONV="-I../libiconv/include"
54237 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54238 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54239 am_cv_lib_iconv=yes
54240 am_cv_func_iconv=yes
54242 rm -f core conftest.err conftest.$ac_objext \
54243 conftest$ac_exeext conftest.$ac_ext
54244 CPPFLAGS="$am_save_CPPFLAGS"
54245 LIBS="$am_save_LIBS"
54246 if test "$am_cv_func_iconv" = "yes"; then
54247 break
54249 done
54252 if test "$am_cv_func_iconv" != yes; then
54253 am_save_CPPFLAGS="$CPPFLAGS"
54254 am_save_LIBS="$LIBS"
54255 CPPFLAGS="$CPPFLAGS $INCICONV"
54256 LIBS="$LIBS $LIBICONV"
54257 if test x$gcc_no_link = xyes; then
54258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54261 /* end confdefs.h. */
54262 #include <stdlib.h>
54263 #include <iconv.h>
54265 main ()
54267 iconv_t cd = iconv_open("","");
54268 iconv(cd,NULL,NULL,NULL,NULL);
54269 iconv_close(cd);
54271 return 0;
54273 _ACEOF
54274 if ac_fn_c_try_link "$LINENO"; then :
54275 am_cv_lib_iconv=yes
54276 am_cv_func_iconv=yes
54278 rm -f core conftest.err conftest.$ac_objext \
54279 conftest$ac_exeext conftest.$ac_ext
54280 CPPFLAGS="$am_save_CPPFLAGS"
54281 LIBS="$am_save_LIBS"
54285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54286 $as_echo "$am_cv_func_iconv" >&6; }
54287 if test "$am_cv_func_iconv" = yes; then
54289 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54292 if test "$am_cv_lib_iconv" = yes; then
54294 for element in $INCICONV; do
54295 haveit=
54296 for x in $CPPFLAGS; do
54298 acl_save_prefix="$prefix"
54299 prefix="$acl_final_prefix"
54300 acl_save_exec_prefix="$exec_prefix"
54301 exec_prefix="$acl_final_exec_prefix"
54302 eval x=\"$x\"
54303 exec_prefix="$acl_save_exec_prefix"
54304 prefix="$acl_save_prefix"
54306 if test "X$x" = "X$element"; then
54307 haveit=yes
54308 break
54310 done
54311 if test -z "$haveit"; then
54312 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54314 done
54316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54317 $as_echo_n "checking how to link with libiconv... " >&6; }
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54319 $as_echo "$LIBICONV" >&6; }
54320 else
54321 LIBICONV=
54322 LTLIBICONV=
54327 if test "$am_cv_func_iconv" = yes; then
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54329 $as_echo_n "checking for iconv declaration... " >&6; }
54330 if ${am_cv_proto_iconv+:} false; then :
54331 $as_echo_n "(cached) " >&6
54332 else
54334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54335 /* end confdefs.h. */
54337 #include <stdlib.h>
54338 #include <iconv.h>
54339 extern
54340 #ifdef __cplusplus
54342 #endif
54343 #if defined(__STDC__) || defined(__cplusplus)
54344 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54345 #else
54346 size_t iconv();
54347 #endif
54350 main ()
54354 return 0;
54356 _ACEOF
54357 if ac_fn_c_try_compile "$LINENO"; then :
54358 am_cv_proto_iconv_arg1=""
54359 else
54360 am_cv_proto_iconv_arg1="const"
54362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54363 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);"
54366 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54368 }$am_cv_proto_iconv" >&5
54369 $as_echo "${ac_t:-
54370 }$am_cv_proto_iconv" >&6; }
54372 cat >>confdefs.h <<_ACEOF
54373 #define ICONV_CONST $am_cv_proto_iconv_arg1
54374 _ACEOF
54379 *-mingw32*)
54381 # If we're not using GNU ld, then there's no point in even trying these
54382 # tests. Check for that first. We should have already tested for gld
54383 # by now (in libtool), but require it now just to be safe...
54384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54389 # The name set by libtool depends on the version of libtool. Shame on us
54390 # for depending on an impl detail, but c'est la vie. Older versions used
54391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54394 # set (hence we're using an older libtool), then set it.
54395 if test x${with_gnu_ld+set} != xset; then
54396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54398 with_gnu_ld=no
54399 else
54400 with_gnu_ld=$ac_cv_prog_gnu_ld
54404 # Start by getting the version number. I think the libtool test already
54405 # does some of this, but throws away the result.
54406 glibcxx_ld_is_gold=no
54407 glibcxx_ld_is_mold=no
54408 if test x"$with_gnu_ld" = x"yes"; then
54409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54410 $as_echo_n "checking for ld version... " >&6; }
54412 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54413 glibcxx_ld_is_gold=yes
54414 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54415 glibcxx_ld_is_mold=yes
54417 ldver=`$LD --version 2>/dev/null |
54418 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54420 glibcxx_gnu_ld_version=`echo $ldver | \
54421 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54423 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54426 # Set --gc-sections.
54427 glibcxx_have_gc_sections=no
54428 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54429 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54430 glibcxx_have_gc_sections=yes
54432 else
54433 glibcxx_gcsections_min_ld=21602
54434 if test x"$with_gnu_ld" = x"yes" &&
54435 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54436 glibcxx_have_gc_sections=yes
54439 if test "$glibcxx_have_gc_sections" = "yes"; then
54440 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54441 # NB: This flag only works reliably after 2.16.1. Configure tests
54442 # for this are difficult, so hard wire a value that should work.
54444 ac_test_CFLAGS="${CFLAGS+set}"
54445 ac_save_CFLAGS="$CFLAGS"
54446 CFLAGS='-Wl,--gc-sections'
54448 # Check for -Wl,--gc-sections
54449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54450 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54451 if test x$gcc_no_link = xyes; then
54452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54455 /* end confdefs.h. */
54456 int one(void) { return 1; }
54457 int two(void) { return 2; }
54460 main ()
54462 two();
54464 return 0;
54466 _ACEOF
54467 if ac_fn_c_try_link "$LINENO"; then :
54468 ac_gcsections=yes
54469 else
54470 ac_gcsections=no
54472 rm -f core conftest.err conftest.$ac_objext \
54473 conftest$ac_exeext conftest.$ac_ext
54474 if test "$ac_gcsections" = "yes"; then
54475 rm -f conftest.c
54476 touch conftest.c
54477 if $CC -c conftest.c; then
54478 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54479 grep "Warning: gc-sections option ignored" > /dev/null; then
54480 ac_gcsections=no
54483 rm -f conftest.c conftest.o conftest
54485 if test "$ac_gcsections" = "yes"; then
54486 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54489 $as_echo "$ac_gcsections" >&6; }
54491 if test "$ac_test_CFLAGS" = set; then
54492 CFLAGS="$ac_save_CFLAGS"
54493 else
54494 # this is the suspicious part
54495 CFLAGS=''
54499 # Set -z,relro.
54500 # Note this is only for shared objects.
54501 ac_ld_relro=no
54502 if test x"$with_gnu_ld" = x"yes"; then
54503 # cygwin and mingw uses PE, which has no ELF relro support,
54504 # multi target ld may confuse configure machinery
54505 case "$host" in
54506 *-*-cygwin*)
54508 *-*-mingw*)
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54512 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54513 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54514 if test -n "$cxx_z_relo"; then
54515 OPT_LDFLAGS="-Wl,-z,relro"
54516 ac_ld_relro=yes
54518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54519 $as_echo "$ac_ld_relro" >&6; }
54520 esac
54523 # Set linker optimization flags.
54524 if test x"$with_gnu_ld" = x"yes"; then
54525 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54532 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54533 ac_save_CXXFLAGS="$CXXFLAGS"
54534 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54537 $as_echo_n "checking for sin in -lm... " >&6; }
54538 if ${ac_cv_lib_m_sin+:} false; then :
54539 $as_echo_n "(cached) " >&6
54540 else
54541 ac_check_lib_save_LIBS=$LIBS
54542 LIBS="-lm $LIBS"
54543 if test x$gcc_no_link = xyes; then
54544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54547 /* end confdefs.h. */
54549 /* Override any GCC internal prototype to avoid an error.
54550 Use char because int might match the return type of a GCC
54551 builtin and then its argument prototype would still apply. */
54552 #ifdef __cplusplus
54553 extern "C"
54554 #endif
54555 char sin ();
54557 main ()
54559 return sin ();
54561 return 0;
54563 _ACEOF
54564 if ac_fn_c_try_link "$LINENO"; then :
54565 ac_cv_lib_m_sin=yes
54566 else
54567 ac_cv_lib_m_sin=no
54569 rm -f core conftest.err conftest.$ac_objext \
54570 conftest$ac_exeext conftest.$ac_ext
54571 LIBS=$ac_check_lib_save_LIBS
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54574 $as_echo "$ac_cv_lib_m_sin" >&6; }
54575 if test "x$ac_cv_lib_m_sin" = xyes; then :
54576 libm="-lm"
54579 ac_save_LIBS="$LIBS"
54580 LIBS="$LIBS $libm"
54584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54585 $as_echo_n "checking for isinf declaration... " >&6; }
54586 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54587 if ${glibcxx_cv_func_isinf_use+:} false; then :
54588 $as_echo_n "(cached) " >&6
54589 else
54592 ac_ext=cpp
54593 ac_cpp='$CXXCPP $CPPFLAGS'
54594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54599 /* end confdefs.h. */
54600 #include <math.h>
54601 #ifdef HAVE_IEEEFP_H
54602 #include <ieeefp.h>
54603 #endif
54606 main ()
54608 isinf(0);
54610 return 0;
54612 _ACEOF
54613 if ac_fn_cxx_try_compile "$LINENO"; then :
54614 glibcxx_cv_func_isinf_use=yes
54615 else
54616 glibcxx_cv_func_isinf_use=no
54618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54619 ac_ext=c
54620 ac_cpp='$CPP $CPPFLAGS'
54621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54630 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54632 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54633 for ac_func in isinf
54634 do :
54635 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54636 if test "x$ac_cv_func_isinf" = xyes; then :
54637 cat >>confdefs.h <<_ACEOF
54638 #define HAVE_ISINF 1
54639 _ACEOF
54642 done
54644 else
54646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54647 $as_echo_n "checking for _isinf declaration... " >&6; }
54648 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54649 if ${glibcxx_cv_func__isinf_use+:} false; then :
54650 $as_echo_n "(cached) " >&6
54651 else
54654 ac_ext=cpp
54655 ac_cpp='$CXXCPP $CPPFLAGS'
54656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54661 /* end confdefs.h. */
54662 #include <math.h>
54663 #ifdef HAVE_IEEEFP_H
54664 #include <ieeefp.h>
54665 #endif
54668 main ()
54670 _isinf(0);
54672 return 0;
54674 _ACEOF
54675 if ac_fn_cxx_try_compile "$LINENO"; then :
54676 glibcxx_cv_func__isinf_use=yes
54677 else
54678 glibcxx_cv_func__isinf_use=no
54680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54681 ac_ext=c
54682 ac_cpp='$CPP $CPPFLAGS'
54683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54692 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54694 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54695 for ac_func in _isinf
54696 do :
54697 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54698 if test "x$ac_cv_func__isinf" = xyes; then :
54699 cat >>confdefs.h <<_ACEOF
54700 #define HAVE__ISINF 1
54701 _ACEOF
54704 done
54713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54714 $as_echo_n "checking for isnan declaration... " >&6; }
54715 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54716 if ${glibcxx_cv_func_isnan_use+:} false; then :
54717 $as_echo_n "(cached) " >&6
54718 else
54721 ac_ext=cpp
54722 ac_cpp='$CXXCPP $CPPFLAGS'
54723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54728 /* end confdefs.h. */
54729 #include <math.h>
54730 #ifdef HAVE_IEEEFP_H
54731 #include <ieeefp.h>
54732 #endif
54735 main ()
54737 isnan(0);
54739 return 0;
54741 _ACEOF
54742 if ac_fn_cxx_try_compile "$LINENO"; then :
54743 glibcxx_cv_func_isnan_use=yes
54744 else
54745 glibcxx_cv_func_isnan_use=no
54747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54748 ac_ext=c
54749 ac_cpp='$CPP $CPPFLAGS'
54750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54759 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54761 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54762 for ac_func in isnan
54763 do :
54764 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54765 if test "x$ac_cv_func_isnan" = xyes; then :
54766 cat >>confdefs.h <<_ACEOF
54767 #define HAVE_ISNAN 1
54768 _ACEOF
54771 done
54773 else
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54776 $as_echo_n "checking for _isnan declaration... " >&6; }
54777 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54778 if ${glibcxx_cv_func__isnan_use+:} false; then :
54779 $as_echo_n "(cached) " >&6
54780 else
54783 ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h. */
54791 #include <math.h>
54792 #ifdef HAVE_IEEEFP_H
54793 #include <ieeefp.h>
54794 #endif
54797 main ()
54799 _isnan(0);
54801 return 0;
54803 _ACEOF
54804 if ac_fn_cxx_try_compile "$LINENO"; then :
54805 glibcxx_cv_func__isnan_use=yes
54806 else
54807 glibcxx_cv_func__isnan_use=no
54809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54810 ac_ext=c
54811 ac_cpp='$CPP $CPPFLAGS'
54812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54821 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54823 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54824 for ac_func in _isnan
54825 do :
54826 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54827 if test "x$ac_cv_func__isnan" = xyes; then :
54828 cat >>confdefs.h <<_ACEOF
54829 #define HAVE__ISNAN 1
54830 _ACEOF
54833 done
54842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54843 $as_echo_n "checking for finite declaration... " >&6; }
54844 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54845 if ${glibcxx_cv_func_finite_use+:} false; then :
54846 $as_echo_n "(cached) " >&6
54847 else
54850 ac_ext=cpp
54851 ac_cpp='$CXXCPP $CPPFLAGS'
54852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54857 /* end confdefs.h. */
54858 #include <math.h>
54859 #ifdef HAVE_IEEEFP_H
54860 #include <ieeefp.h>
54861 #endif
54864 main ()
54866 finite(0);
54868 return 0;
54870 _ACEOF
54871 if ac_fn_cxx_try_compile "$LINENO"; then :
54872 glibcxx_cv_func_finite_use=yes
54873 else
54874 glibcxx_cv_func_finite_use=no
54876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54877 ac_ext=c
54878 ac_cpp='$CPP $CPPFLAGS'
54879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54888 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54890 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54891 for ac_func in finite
54892 do :
54893 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54894 if test "x$ac_cv_func_finite" = xyes; then :
54895 cat >>confdefs.h <<_ACEOF
54896 #define HAVE_FINITE 1
54897 _ACEOF
54900 done
54902 else
54904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54905 $as_echo_n "checking for _finite declaration... " >&6; }
54906 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54907 if ${glibcxx_cv_func__finite_use+:} false; then :
54908 $as_echo_n "(cached) " >&6
54909 else
54912 ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h. */
54920 #include <math.h>
54921 #ifdef HAVE_IEEEFP_H
54922 #include <ieeefp.h>
54923 #endif
54926 main ()
54928 _finite(0);
54930 return 0;
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934 glibcxx_cv_func__finite_use=yes
54935 else
54936 glibcxx_cv_func__finite_use=no
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939 ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54950 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54952 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54953 for ac_func in _finite
54954 do :
54955 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54956 if test "x$ac_cv_func__finite" = xyes; then :
54957 cat >>confdefs.h <<_ACEOF
54958 #define HAVE__FINITE 1
54959 _ACEOF
54962 done
54971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54972 $as_echo_n "checking for sincos declaration... " >&6; }
54973 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54974 if ${glibcxx_cv_func_sincos_use+:} false; then :
54975 $as_echo_n "(cached) " >&6
54976 else
54979 ac_ext=cpp
54980 ac_cpp='$CXXCPP $CPPFLAGS'
54981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54986 /* end confdefs.h. */
54987 #include <math.h>
54989 main ()
54991 sincos(0, 0, 0);
54993 return 0;
54995 _ACEOF
54996 if ac_fn_cxx_try_compile "$LINENO"; then :
54997 glibcxx_cv_func_sincos_use=yes
54998 else
54999 glibcxx_cv_func_sincos_use=no
55001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55002 ac_ext=c
55003 ac_cpp='$CPP $CPPFLAGS'
55004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55013 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55015 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55016 for ac_func in sincos
55017 do :
55018 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55019 if test "x$ac_cv_func_sincos" = xyes; then :
55020 cat >>confdefs.h <<_ACEOF
55021 #define HAVE_SINCOS 1
55022 _ACEOF
55025 done
55027 else
55029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55030 $as_echo_n "checking for _sincos declaration... " >&6; }
55031 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55032 if ${glibcxx_cv_func__sincos_use+:} false; then :
55033 $as_echo_n "(cached) " >&6
55034 else
55037 ac_ext=cpp
55038 ac_cpp='$CXXCPP $CPPFLAGS'
55039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55044 /* end confdefs.h. */
55045 #include <math.h>
55047 main ()
55049 _sincos(0, 0, 0);
55051 return 0;
55053 _ACEOF
55054 if ac_fn_cxx_try_compile "$LINENO"; then :
55055 glibcxx_cv_func__sincos_use=yes
55056 else
55057 glibcxx_cv_func__sincos_use=no
55059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55060 ac_ext=c
55061 ac_cpp='$CPP $CPPFLAGS'
55062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55071 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55073 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55074 for ac_func in _sincos
55075 do :
55076 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55077 if test "x$ac_cv_func__sincos" = xyes; then :
55078 cat >>confdefs.h <<_ACEOF
55079 #define HAVE__SINCOS 1
55080 _ACEOF
55083 done
55092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55093 $as_echo_n "checking for fpclass declaration... " >&6; }
55094 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55095 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55096 $as_echo_n "(cached) " >&6
55097 else
55100 ac_ext=cpp
55101 ac_cpp='$CXXCPP $CPPFLAGS'
55102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55107 /* end confdefs.h. */
55108 #include <math.h>
55109 #ifdef HAVE_IEEEFP_H
55110 #include <ieeefp.h>
55111 #endif
55114 main ()
55116 fpclass(0);
55118 return 0;
55120 _ACEOF
55121 if ac_fn_cxx_try_compile "$LINENO"; then :
55122 glibcxx_cv_func_fpclass_use=yes
55123 else
55124 glibcxx_cv_func_fpclass_use=no
55126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55127 ac_ext=c
55128 ac_cpp='$CPP $CPPFLAGS'
55129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55138 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55140 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55141 for ac_func in fpclass
55142 do :
55143 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55144 if test "x$ac_cv_func_fpclass" = xyes; then :
55145 cat >>confdefs.h <<_ACEOF
55146 #define HAVE_FPCLASS 1
55147 _ACEOF
55150 done
55152 else
55154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55155 $as_echo_n "checking for _fpclass declaration... " >&6; }
55156 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55157 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55158 $as_echo_n "(cached) " >&6
55159 else
55162 ac_ext=cpp
55163 ac_cpp='$CXXCPP $CPPFLAGS'
55164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55169 /* end confdefs.h. */
55170 #include <math.h>
55171 #ifdef HAVE_IEEEFP_H
55172 #include <ieeefp.h>
55173 #endif
55176 main ()
55178 _fpclass(0);
55180 return 0;
55182 _ACEOF
55183 if ac_fn_cxx_try_compile "$LINENO"; then :
55184 glibcxx_cv_func__fpclass_use=yes
55185 else
55186 glibcxx_cv_func__fpclass_use=no
55188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55189 ac_ext=c
55190 ac_cpp='$CPP $CPPFLAGS'
55191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55200 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55202 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55203 for ac_func in _fpclass
55204 do :
55205 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55206 if test "x$ac_cv_func__fpclass" = xyes; then :
55207 cat >>confdefs.h <<_ACEOF
55208 #define HAVE__FPCLASS 1
55209 _ACEOF
55212 done
55221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55222 $as_echo_n "checking for qfpclass declaration... " >&6; }
55223 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55224 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55225 $as_echo_n "(cached) " >&6
55226 else
55229 ac_ext=cpp
55230 ac_cpp='$CXXCPP $CPPFLAGS'
55231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55236 /* end confdefs.h. */
55237 #include <math.h>
55238 #ifdef HAVE_IEEEFP_H
55239 #include <ieeefp.h>
55240 #endif
55243 main ()
55245 qfpclass(0);
55247 return 0;
55249 _ACEOF
55250 if ac_fn_cxx_try_compile "$LINENO"; then :
55251 glibcxx_cv_func_qfpclass_use=yes
55252 else
55253 glibcxx_cv_func_qfpclass_use=no
55255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55256 ac_ext=c
55257 ac_cpp='$CPP $CPPFLAGS'
55258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55267 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55269 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55270 for ac_func in qfpclass
55271 do :
55272 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55273 if test "x$ac_cv_func_qfpclass" = xyes; then :
55274 cat >>confdefs.h <<_ACEOF
55275 #define HAVE_QFPCLASS 1
55276 _ACEOF
55279 done
55281 else
55283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55284 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55285 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55286 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55287 $as_echo_n "(cached) " >&6
55288 else
55291 ac_ext=cpp
55292 ac_cpp='$CXXCPP $CPPFLAGS'
55293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55298 /* end confdefs.h. */
55299 #include <math.h>
55300 #ifdef HAVE_IEEEFP_H
55301 #include <ieeefp.h>
55302 #endif
55305 main ()
55307 _qfpclass(0);
55309 return 0;
55311 _ACEOF
55312 if ac_fn_cxx_try_compile "$LINENO"; then :
55313 glibcxx_cv_func__qfpclass_use=yes
55314 else
55315 glibcxx_cv_func__qfpclass_use=no
55317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55318 ac_ext=c
55319 ac_cpp='$CPP $CPPFLAGS'
55320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55329 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55331 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55332 for ac_func in _qfpclass
55333 do :
55334 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55335 if test "x$ac_cv_func__qfpclass" = xyes; then :
55336 cat >>confdefs.h <<_ACEOF
55337 #define HAVE__QFPCLASS 1
55338 _ACEOF
55341 done
55350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55351 $as_echo_n "checking for hypot declaration... " >&6; }
55352 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55353 if ${glibcxx_cv_func_hypot_use+:} false; then :
55354 $as_echo_n "(cached) " >&6
55355 else
55358 ac_ext=cpp
55359 ac_cpp='$CXXCPP $CPPFLAGS'
55360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55365 /* end confdefs.h. */
55366 #include <math.h>
55368 main ()
55370 hypot(0, 0);
55372 return 0;
55374 _ACEOF
55375 if ac_fn_cxx_try_compile "$LINENO"; then :
55376 glibcxx_cv_func_hypot_use=yes
55377 else
55378 glibcxx_cv_func_hypot_use=no
55380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55381 ac_ext=c
55382 ac_cpp='$CPP $CPPFLAGS'
55383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55392 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55394 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55395 for ac_func in hypot
55396 do :
55397 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55398 if test "x$ac_cv_func_hypot" = xyes; then :
55399 cat >>confdefs.h <<_ACEOF
55400 #define HAVE_HYPOT 1
55401 _ACEOF
55404 done
55406 else
55408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55409 $as_echo_n "checking for _hypot declaration... " >&6; }
55410 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55411 if ${glibcxx_cv_func__hypot_use+:} false; then :
55412 $as_echo_n "(cached) " >&6
55413 else
55416 ac_ext=cpp
55417 ac_cpp='$CXXCPP $CPPFLAGS'
55418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55423 /* end confdefs.h. */
55424 #include <math.h>
55426 main ()
55428 _hypot(0, 0);
55430 return 0;
55432 _ACEOF
55433 if ac_fn_cxx_try_compile "$LINENO"; then :
55434 glibcxx_cv_func__hypot_use=yes
55435 else
55436 glibcxx_cv_func__hypot_use=no
55438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55439 ac_ext=c
55440 ac_cpp='$CPP $CPPFLAGS'
55441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55450 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55452 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55453 for ac_func in _hypot
55454 do :
55455 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55456 if test "x$ac_cv_func__hypot" = xyes; then :
55457 cat >>confdefs.h <<_ACEOF
55458 #define HAVE__HYPOT 1
55459 _ACEOF
55462 done
55471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55472 $as_echo_n "checking for float trig functions... " >&6; }
55473 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55474 $as_echo_n "(cached) " >&6
55475 else
55478 ac_ext=cpp
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485 /* end confdefs.h. */
55486 #include <math.h>
55488 main ()
55490 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55492 return 0;
55494 _ACEOF
55495 if ac_fn_cxx_try_compile "$LINENO"; then :
55496 glibcxx_cv_func_float_trig_use=yes
55497 else
55498 glibcxx_cv_func_float_trig_use=no
55500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55501 ac_ext=c
55502 ac_cpp='$CPP $CPPFLAGS'
55503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55510 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55511 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55512 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55513 do :
55514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55517 cat >>confdefs.h <<_ACEOF
55518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55519 _ACEOF
55522 done
55524 else
55525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55526 $as_echo_n "checking for _float trig functions... " >&6; }
55527 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55528 $as_echo_n "(cached) " >&6
55529 else
55532 ac_ext=cpp
55533 ac_cpp='$CXXCPP $CPPFLAGS'
55534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55539 /* end confdefs.h. */
55540 #include <math.h>
55542 main ()
55544 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55546 return 0;
55548 _ACEOF
55549 if ac_fn_cxx_try_compile "$LINENO"; then :
55550 glibcxx_cv_func__float_trig_use=yes
55551 else
55552 glibcxx_cv_func__float_trig_use=no
55554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55555 ac_ext=c
55556 ac_cpp='$CPP $CPPFLAGS'
55557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55564 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55565 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55566 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55567 do :
55568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55570 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55571 cat >>confdefs.h <<_ACEOF
55572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55573 _ACEOF
55576 done
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55586 $as_echo_n "checking for float round functions... " >&6; }
55587 if ${glibcxx_cv_func_float_round_use+:} false; then :
55588 $as_echo_n "(cached) " >&6
55589 else
55592 ac_ext=cpp
55593 ac_cpp='$CXXCPP $CPPFLAGS'
55594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55599 /* end confdefs.h. */
55600 #include <math.h>
55602 main ()
55604 ceilf (0); floorf (0);
55606 return 0;
55608 _ACEOF
55609 if ac_fn_cxx_try_compile "$LINENO"; then :
55610 glibcxx_cv_func_float_round_use=yes
55611 else
55612 glibcxx_cv_func_float_round_use=no
55614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55615 ac_ext=c
55616 ac_cpp='$CPP $CPPFLAGS'
55617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55624 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55625 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55626 for ac_func in ceilf floorf
55627 do :
55628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55630 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55631 cat >>confdefs.h <<_ACEOF
55632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55633 _ACEOF
55636 done
55638 else
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55640 $as_echo_n "checking for _float round functions... " >&6; }
55641 if ${glibcxx_cv_func__float_round_use+:} false; then :
55642 $as_echo_n "(cached) " >&6
55643 else
55646 ac_ext=cpp
55647 ac_cpp='$CXXCPP $CPPFLAGS'
55648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55653 /* end confdefs.h. */
55654 #include <math.h>
55656 main ()
55658 _ceilf (0); _floorf (0);
55660 return 0;
55662 _ACEOF
55663 if ac_fn_cxx_try_compile "$LINENO"; then :
55664 glibcxx_cv_func__float_round_use=yes
55665 else
55666 glibcxx_cv_func__float_round_use=no
55668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55669 ac_ext=c
55670 ac_cpp='$CPP $CPPFLAGS'
55671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55678 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55679 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55680 for ac_func in _ceilf _floorf
55681 do :
55682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55685 cat >>confdefs.h <<_ACEOF
55686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55687 _ACEOF
55690 done
55700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55701 $as_echo_n "checking for expf declaration... " >&6; }
55702 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55703 if ${glibcxx_cv_func_expf_use+:} false; then :
55704 $as_echo_n "(cached) " >&6
55705 else
55708 ac_ext=cpp
55709 ac_cpp='$CXXCPP $CPPFLAGS'
55710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55715 /* end confdefs.h. */
55716 #include <math.h>
55717 #ifdef HAVE_IEEEFP_H
55718 #include <ieeefp.h>
55719 #endif
55722 main ()
55724 expf(0);
55726 return 0;
55728 _ACEOF
55729 if ac_fn_cxx_try_compile "$LINENO"; then :
55730 glibcxx_cv_func_expf_use=yes
55731 else
55732 glibcxx_cv_func_expf_use=no
55734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55735 ac_ext=c
55736 ac_cpp='$CPP $CPPFLAGS'
55737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55746 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55748 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55749 for ac_func in expf
55750 do :
55751 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55752 if test "x$ac_cv_func_expf" = xyes; then :
55753 cat >>confdefs.h <<_ACEOF
55754 #define HAVE_EXPF 1
55755 _ACEOF
55758 done
55760 else
55762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55763 $as_echo_n "checking for _expf declaration... " >&6; }
55764 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55765 if ${glibcxx_cv_func__expf_use+:} false; then :
55766 $as_echo_n "(cached) " >&6
55767 else
55770 ac_ext=cpp
55771 ac_cpp='$CXXCPP $CPPFLAGS'
55772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55777 /* end confdefs.h. */
55778 #include <math.h>
55779 #ifdef HAVE_IEEEFP_H
55780 #include <ieeefp.h>
55781 #endif
55784 main ()
55786 _expf(0);
55788 return 0;
55790 _ACEOF
55791 if ac_fn_cxx_try_compile "$LINENO"; then :
55792 glibcxx_cv_func__expf_use=yes
55793 else
55794 glibcxx_cv_func__expf_use=no
55796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55797 ac_ext=c
55798 ac_cpp='$CPP $CPPFLAGS'
55799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55808 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55810 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55811 for ac_func in _expf
55812 do :
55813 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55814 if test "x$ac_cv_func__expf" = xyes; then :
55815 cat >>confdefs.h <<_ACEOF
55816 #define HAVE__EXPF 1
55817 _ACEOF
55820 done
55829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55830 $as_echo_n "checking for isnanf declaration... " >&6; }
55831 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55832 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55833 $as_echo_n "(cached) " >&6
55834 else
55837 ac_ext=cpp
55838 ac_cpp='$CXXCPP $CPPFLAGS'
55839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55844 /* end confdefs.h. */
55845 #include <math.h>
55846 #ifdef HAVE_IEEEFP_H
55847 #include <ieeefp.h>
55848 #endif
55851 main ()
55853 isnanf(0);
55855 return 0;
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859 glibcxx_cv_func_isnanf_use=yes
55860 else
55861 glibcxx_cv_func_isnanf_use=no
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864 ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55875 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55877 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55878 for ac_func in isnanf
55879 do :
55880 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55881 if test "x$ac_cv_func_isnanf" = xyes; then :
55882 cat >>confdefs.h <<_ACEOF
55883 #define HAVE_ISNANF 1
55884 _ACEOF
55887 done
55889 else
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55892 $as_echo_n "checking for _isnanf declaration... " >&6; }
55893 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55894 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55895 $as_echo_n "(cached) " >&6
55896 else
55899 ac_ext=cpp
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h. */
55907 #include <math.h>
55908 #ifdef HAVE_IEEEFP_H
55909 #include <ieeefp.h>
55910 #endif
55913 main ()
55915 _isnanf(0);
55917 return 0;
55919 _ACEOF
55920 if ac_fn_cxx_try_compile "$LINENO"; then :
55921 glibcxx_cv_func__isnanf_use=yes
55922 else
55923 glibcxx_cv_func__isnanf_use=no
55925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55926 ac_ext=c
55927 ac_cpp='$CPP $CPPFLAGS'
55928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55937 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55939 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55940 for ac_func in _isnanf
55941 do :
55942 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55943 if test "x$ac_cv_func__isnanf" = xyes; then :
55944 cat >>confdefs.h <<_ACEOF
55945 #define HAVE__ISNANF 1
55946 _ACEOF
55949 done
55958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55959 $as_echo_n "checking for isinff declaration... " >&6; }
55960 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55961 if ${glibcxx_cv_func_isinff_use+:} false; then :
55962 $as_echo_n "(cached) " >&6
55963 else
55966 ac_ext=cpp
55967 ac_cpp='$CXXCPP $CPPFLAGS'
55968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55973 /* end confdefs.h. */
55974 #include <math.h>
55975 #ifdef HAVE_IEEEFP_H
55976 #include <ieeefp.h>
55977 #endif
55980 main ()
55982 isinff(0);
55984 return 0;
55986 _ACEOF
55987 if ac_fn_cxx_try_compile "$LINENO"; then :
55988 glibcxx_cv_func_isinff_use=yes
55989 else
55990 glibcxx_cv_func_isinff_use=no
55992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55993 ac_ext=c
55994 ac_cpp='$CPP $CPPFLAGS'
55995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56004 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56006 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56007 for ac_func in isinff
56008 do :
56009 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56010 if test "x$ac_cv_func_isinff" = xyes; then :
56011 cat >>confdefs.h <<_ACEOF
56012 #define HAVE_ISINFF 1
56013 _ACEOF
56016 done
56018 else
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56021 $as_echo_n "checking for _isinff declaration... " >&6; }
56022 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56023 if ${glibcxx_cv_func__isinff_use+:} false; then :
56024 $as_echo_n "(cached) " >&6
56025 else
56028 ac_ext=cpp
56029 ac_cpp='$CXXCPP $CPPFLAGS'
56030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56035 /* end confdefs.h. */
56036 #include <math.h>
56037 #ifdef HAVE_IEEEFP_H
56038 #include <ieeefp.h>
56039 #endif
56042 main ()
56044 _isinff(0);
56046 return 0;
56048 _ACEOF
56049 if ac_fn_cxx_try_compile "$LINENO"; then :
56050 glibcxx_cv_func__isinff_use=yes
56051 else
56052 glibcxx_cv_func__isinff_use=no
56054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56066 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56068 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56069 for ac_func in _isinff
56070 do :
56071 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56072 if test "x$ac_cv_func__isinff" = xyes; then :
56073 cat >>confdefs.h <<_ACEOF
56074 #define HAVE__ISINFF 1
56075 _ACEOF
56078 done
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56088 $as_echo_n "checking for atan2f declaration... " >&6; }
56089 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56090 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56091 $as_echo_n "(cached) " >&6
56092 else
56095 ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h. */
56103 #include <math.h>
56105 main ()
56107 atan2f(0, 0);
56109 return 0;
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func_atan2f_use=yes
56114 else
56115 glibcxx_cv_func_atan2f_use=no
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56129 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56131 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56132 for ac_func in atan2f
56133 do :
56134 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56135 if test "x$ac_cv_func_atan2f" = xyes; then :
56136 cat >>confdefs.h <<_ACEOF
56137 #define HAVE_ATAN2F 1
56138 _ACEOF
56141 done
56143 else
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56146 $as_echo_n "checking for _atan2f declaration... " >&6; }
56147 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56148 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56149 $as_echo_n "(cached) " >&6
56150 else
56153 ac_ext=cpp
56154 ac_cpp='$CXXCPP $CPPFLAGS'
56155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160 /* end confdefs.h. */
56161 #include <math.h>
56163 main ()
56165 _atan2f(0, 0);
56167 return 0;
56169 _ACEOF
56170 if ac_fn_cxx_try_compile "$LINENO"; then :
56171 glibcxx_cv_func__atan2f_use=yes
56172 else
56173 glibcxx_cv_func__atan2f_use=no
56175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56187 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56189 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56190 for ac_func in _atan2f
56191 do :
56192 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56193 if test "x$ac_cv_func__atan2f" = xyes; then :
56194 cat >>confdefs.h <<_ACEOF
56195 #define HAVE__ATAN2F 1
56196 _ACEOF
56199 done
56208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56209 $as_echo_n "checking for fabsf declaration... " >&6; }
56210 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56211 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56212 $as_echo_n "(cached) " >&6
56213 else
56216 ac_ext=cpp
56217 ac_cpp='$CXXCPP $CPPFLAGS'
56218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56223 /* end confdefs.h. */
56224 #include <math.h>
56225 #ifdef HAVE_IEEEFP_H
56226 #include <ieeefp.h>
56227 #endif
56230 main ()
56232 fabsf(0);
56234 return 0;
56236 _ACEOF
56237 if ac_fn_cxx_try_compile "$LINENO"; then :
56238 glibcxx_cv_func_fabsf_use=yes
56239 else
56240 glibcxx_cv_func_fabsf_use=no
56242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56243 ac_ext=c
56244 ac_cpp='$CPP $CPPFLAGS'
56245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56254 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56256 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56257 for ac_func in fabsf
56258 do :
56259 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56260 if test "x$ac_cv_func_fabsf" = xyes; then :
56261 cat >>confdefs.h <<_ACEOF
56262 #define HAVE_FABSF 1
56263 _ACEOF
56266 done
56268 else
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56271 $as_echo_n "checking for _fabsf declaration... " >&6; }
56272 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56273 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56274 $as_echo_n "(cached) " >&6
56275 else
56278 ac_ext=cpp
56279 ac_cpp='$CXXCPP $CPPFLAGS'
56280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56285 /* end confdefs.h. */
56286 #include <math.h>
56287 #ifdef HAVE_IEEEFP_H
56288 #include <ieeefp.h>
56289 #endif
56292 main ()
56294 _fabsf(0);
56296 return 0;
56298 _ACEOF
56299 if ac_fn_cxx_try_compile "$LINENO"; then :
56300 glibcxx_cv_func__fabsf_use=yes
56301 else
56302 glibcxx_cv_func__fabsf_use=no
56304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56305 ac_ext=c
56306 ac_cpp='$CPP $CPPFLAGS'
56307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56316 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56318 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56319 for ac_func in _fabsf
56320 do :
56321 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56322 if test "x$ac_cv_func__fabsf" = xyes; then :
56323 cat >>confdefs.h <<_ACEOF
56324 #define HAVE__FABSF 1
56325 _ACEOF
56328 done
56337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56338 $as_echo_n "checking for fmodf declaration... " >&6; }
56339 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56340 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56341 $as_echo_n "(cached) " >&6
56342 else
56345 ac_ext=cpp
56346 ac_cpp='$CXXCPP $CPPFLAGS'
56347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56352 /* end confdefs.h. */
56353 #include <math.h>
56355 main ()
56357 fmodf(0, 0);
56359 return 0;
56361 _ACEOF
56362 if ac_fn_cxx_try_compile "$LINENO"; then :
56363 glibcxx_cv_func_fmodf_use=yes
56364 else
56365 glibcxx_cv_func_fmodf_use=no
56367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56368 ac_ext=c
56369 ac_cpp='$CPP $CPPFLAGS'
56370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56379 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56381 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56382 for ac_func in fmodf
56383 do :
56384 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56385 if test "x$ac_cv_func_fmodf" = xyes; then :
56386 cat >>confdefs.h <<_ACEOF
56387 #define HAVE_FMODF 1
56388 _ACEOF
56391 done
56393 else
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56396 $as_echo_n "checking for _fmodf declaration... " >&6; }
56397 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56398 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56399 $as_echo_n "(cached) " >&6
56400 else
56403 ac_ext=cpp
56404 ac_cpp='$CXXCPP $CPPFLAGS'
56405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56410 /* end confdefs.h. */
56411 #include <math.h>
56413 main ()
56415 _fmodf(0, 0);
56417 return 0;
56419 _ACEOF
56420 if ac_fn_cxx_try_compile "$LINENO"; then :
56421 glibcxx_cv_func__fmodf_use=yes
56422 else
56423 glibcxx_cv_func__fmodf_use=no
56425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56426 ac_ext=c
56427 ac_cpp='$CPP $CPPFLAGS'
56428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56437 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56439 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56440 for ac_func in _fmodf
56441 do :
56442 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56443 if test "x$ac_cv_func__fmodf" = xyes; then :
56444 cat >>confdefs.h <<_ACEOF
56445 #define HAVE__FMODF 1
56446 _ACEOF
56449 done
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56459 $as_echo_n "checking for frexpf declaration... " >&6; }
56460 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56461 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56462 $as_echo_n "(cached) " >&6
56463 else
56466 ac_ext=cpp
56467 ac_cpp='$CXXCPP $CPPFLAGS'
56468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56473 /* end confdefs.h. */
56474 #include <math.h>
56476 main ()
56478 frexpf(0, 0);
56480 return 0;
56482 _ACEOF
56483 if ac_fn_cxx_try_compile "$LINENO"; then :
56484 glibcxx_cv_func_frexpf_use=yes
56485 else
56486 glibcxx_cv_func_frexpf_use=no
56488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56489 ac_ext=c
56490 ac_cpp='$CPP $CPPFLAGS'
56491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56500 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56502 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56503 for ac_func in frexpf
56504 do :
56505 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56506 if test "x$ac_cv_func_frexpf" = xyes; then :
56507 cat >>confdefs.h <<_ACEOF
56508 #define HAVE_FREXPF 1
56509 _ACEOF
56512 done
56514 else
56516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56517 $as_echo_n "checking for _frexpf declaration... " >&6; }
56518 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56519 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56520 $as_echo_n "(cached) " >&6
56521 else
56524 ac_ext=cpp
56525 ac_cpp='$CXXCPP $CPPFLAGS'
56526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56531 /* end confdefs.h. */
56532 #include <math.h>
56534 main ()
56536 _frexpf(0, 0);
56538 return 0;
56540 _ACEOF
56541 if ac_fn_cxx_try_compile "$LINENO"; then :
56542 glibcxx_cv_func__frexpf_use=yes
56543 else
56544 glibcxx_cv_func__frexpf_use=no
56546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56547 ac_ext=c
56548 ac_cpp='$CPP $CPPFLAGS'
56549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56558 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56560 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56561 for ac_func in _frexpf
56562 do :
56563 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56564 if test "x$ac_cv_func__frexpf" = xyes; then :
56565 cat >>confdefs.h <<_ACEOF
56566 #define HAVE__FREXPF 1
56567 _ACEOF
56570 done
56579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56580 $as_echo_n "checking for hypotf declaration... " >&6; }
56581 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56582 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56583 $as_echo_n "(cached) " >&6
56584 else
56587 ac_ext=cpp
56588 ac_cpp='$CXXCPP $CPPFLAGS'
56589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56594 /* end confdefs.h. */
56595 #include <math.h>
56597 main ()
56599 hypotf(0, 0);
56601 return 0;
56603 _ACEOF
56604 if ac_fn_cxx_try_compile "$LINENO"; then :
56605 glibcxx_cv_func_hypotf_use=yes
56606 else
56607 glibcxx_cv_func_hypotf_use=no
56609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56610 ac_ext=c
56611 ac_cpp='$CPP $CPPFLAGS'
56612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56621 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56623 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56624 for ac_func in hypotf
56625 do :
56626 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56627 if test "x$ac_cv_func_hypotf" = xyes; then :
56628 cat >>confdefs.h <<_ACEOF
56629 #define HAVE_HYPOTF 1
56630 _ACEOF
56633 done
56635 else
56637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56638 $as_echo_n "checking for _hypotf declaration... " >&6; }
56639 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56640 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56641 $as_echo_n "(cached) " >&6
56642 else
56645 ac_ext=cpp
56646 ac_cpp='$CXXCPP $CPPFLAGS'
56647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56652 /* end confdefs.h. */
56653 #include <math.h>
56655 main ()
56657 _hypotf(0, 0);
56659 return 0;
56661 _ACEOF
56662 if ac_fn_cxx_try_compile "$LINENO"; then :
56663 glibcxx_cv_func__hypotf_use=yes
56664 else
56665 glibcxx_cv_func__hypotf_use=no
56667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56668 ac_ext=c
56669 ac_cpp='$CPP $CPPFLAGS'
56670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56679 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56681 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56682 for ac_func in _hypotf
56683 do :
56684 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56685 if test "x$ac_cv_func__hypotf" = xyes; then :
56686 cat >>confdefs.h <<_ACEOF
56687 #define HAVE__HYPOTF 1
56688 _ACEOF
56691 done
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56701 $as_echo_n "checking for ldexpf declaration... " >&6; }
56702 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56703 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56704 $as_echo_n "(cached) " >&6
56705 else
56708 ac_ext=cpp
56709 ac_cpp='$CXXCPP $CPPFLAGS'
56710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56715 /* end confdefs.h. */
56716 #include <math.h>
56718 main ()
56720 ldexpf(0, 0);
56722 return 0;
56724 _ACEOF
56725 if ac_fn_cxx_try_compile "$LINENO"; then :
56726 glibcxx_cv_func_ldexpf_use=yes
56727 else
56728 glibcxx_cv_func_ldexpf_use=no
56730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56731 ac_ext=c
56732 ac_cpp='$CPP $CPPFLAGS'
56733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56742 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56744 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56745 for ac_func in ldexpf
56746 do :
56747 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56748 if test "x$ac_cv_func_ldexpf" = xyes; then :
56749 cat >>confdefs.h <<_ACEOF
56750 #define HAVE_LDEXPF 1
56751 _ACEOF
56754 done
56756 else
56758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56759 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56760 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56761 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56762 $as_echo_n "(cached) " >&6
56763 else
56766 ac_ext=cpp
56767 ac_cpp='$CXXCPP $CPPFLAGS'
56768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56773 /* end confdefs.h. */
56774 #include <math.h>
56776 main ()
56778 _ldexpf(0, 0);
56780 return 0;
56782 _ACEOF
56783 if ac_fn_cxx_try_compile "$LINENO"; then :
56784 glibcxx_cv_func__ldexpf_use=yes
56785 else
56786 glibcxx_cv_func__ldexpf_use=no
56788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56789 ac_ext=c
56790 ac_cpp='$CPP $CPPFLAGS'
56791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56800 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56802 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56803 for ac_func in _ldexpf
56804 do :
56805 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56806 if test "x$ac_cv_func__ldexpf" = xyes; then :
56807 cat >>confdefs.h <<_ACEOF
56808 #define HAVE__LDEXPF 1
56809 _ACEOF
56812 done
56821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56822 $as_echo_n "checking for logf declaration... " >&6; }
56823 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56824 if ${glibcxx_cv_func_logf_use+:} false; then :
56825 $as_echo_n "(cached) " >&6
56826 else
56829 ac_ext=cpp
56830 ac_cpp='$CXXCPP $CPPFLAGS'
56831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56836 /* end confdefs.h. */
56837 #include <math.h>
56838 #ifdef HAVE_IEEEFP_H
56839 #include <ieeefp.h>
56840 #endif
56843 main ()
56845 logf(0);
56847 return 0;
56849 _ACEOF
56850 if ac_fn_cxx_try_compile "$LINENO"; then :
56851 glibcxx_cv_func_logf_use=yes
56852 else
56853 glibcxx_cv_func_logf_use=no
56855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56856 ac_ext=c
56857 ac_cpp='$CPP $CPPFLAGS'
56858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56867 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56869 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56870 for ac_func in logf
56871 do :
56872 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56873 if test "x$ac_cv_func_logf" = xyes; then :
56874 cat >>confdefs.h <<_ACEOF
56875 #define HAVE_LOGF 1
56876 _ACEOF
56879 done
56881 else
56883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56884 $as_echo_n "checking for _logf declaration... " >&6; }
56885 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56886 if ${glibcxx_cv_func__logf_use+:} false; then :
56887 $as_echo_n "(cached) " >&6
56888 else
56891 ac_ext=cpp
56892 ac_cpp='$CXXCPP $CPPFLAGS'
56893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56898 /* end confdefs.h. */
56899 #include <math.h>
56900 #ifdef HAVE_IEEEFP_H
56901 #include <ieeefp.h>
56902 #endif
56905 main ()
56907 _logf(0);
56909 return 0;
56911 _ACEOF
56912 if ac_fn_cxx_try_compile "$LINENO"; then :
56913 glibcxx_cv_func__logf_use=yes
56914 else
56915 glibcxx_cv_func__logf_use=no
56917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56918 ac_ext=c
56919 ac_cpp='$CPP $CPPFLAGS'
56920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56929 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56931 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56932 for ac_func in _logf
56933 do :
56934 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56935 if test "x$ac_cv_func__logf" = xyes; then :
56936 cat >>confdefs.h <<_ACEOF
56937 #define HAVE__LOGF 1
56938 _ACEOF
56941 done
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56951 $as_echo_n "checking for log10f declaration... " >&6; }
56952 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56953 if ${glibcxx_cv_func_log10f_use+:} false; then :
56954 $as_echo_n "(cached) " >&6
56955 else
56958 ac_ext=cpp
56959 ac_cpp='$CXXCPP $CPPFLAGS'
56960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56965 /* end confdefs.h. */
56966 #include <math.h>
56967 #ifdef HAVE_IEEEFP_H
56968 #include <ieeefp.h>
56969 #endif
56972 main ()
56974 log10f(0);
56976 return 0;
56978 _ACEOF
56979 if ac_fn_cxx_try_compile "$LINENO"; then :
56980 glibcxx_cv_func_log10f_use=yes
56981 else
56982 glibcxx_cv_func_log10f_use=no
56984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56985 ac_ext=c
56986 ac_cpp='$CPP $CPPFLAGS'
56987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56996 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56998 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56999 for ac_func in log10f
57000 do :
57001 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57002 if test "x$ac_cv_func_log10f" = xyes; then :
57003 cat >>confdefs.h <<_ACEOF
57004 #define HAVE_LOG10F 1
57005 _ACEOF
57008 done
57010 else
57012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57013 $as_echo_n "checking for _log10f declaration... " >&6; }
57014 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57015 if ${glibcxx_cv_func__log10f_use+:} false; then :
57016 $as_echo_n "(cached) " >&6
57017 else
57020 ac_ext=cpp
57021 ac_cpp='$CXXCPP $CPPFLAGS'
57022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57027 /* end confdefs.h. */
57028 #include <math.h>
57029 #ifdef HAVE_IEEEFP_H
57030 #include <ieeefp.h>
57031 #endif
57034 main ()
57036 _log10f(0);
57038 return 0;
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func__log10f_use=yes
57043 else
57044 glibcxx_cv_func__log10f_use=no
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57058 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57060 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57061 for ac_func in _log10f
57062 do :
57063 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57064 if test "x$ac_cv_func__log10f" = xyes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE__LOG10F 1
57067 _ACEOF
57070 done
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57080 $as_echo_n "checking for modff declaration... " >&6; }
57081 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57082 if ${glibcxx_cv_func_modff_use+:} false; then :
57083 $as_echo_n "(cached) " >&6
57084 else
57087 ac_ext=cpp
57088 ac_cpp='$CXXCPP $CPPFLAGS'
57089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57094 /* end confdefs.h. */
57095 #include <math.h>
57097 main ()
57099 modff(0, 0);
57101 return 0;
57103 _ACEOF
57104 if ac_fn_cxx_try_compile "$LINENO"; then :
57105 glibcxx_cv_func_modff_use=yes
57106 else
57107 glibcxx_cv_func_modff_use=no
57109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57110 ac_ext=c
57111 ac_cpp='$CPP $CPPFLAGS'
57112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57121 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57123 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57124 for ac_func in modff
57125 do :
57126 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57127 if test "x$ac_cv_func_modff" = xyes; then :
57128 cat >>confdefs.h <<_ACEOF
57129 #define HAVE_MODFF 1
57130 _ACEOF
57133 done
57135 else
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57138 $as_echo_n "checking for _modff declaration... " >&6; }
57139 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57140 if ${glibcxx_cv_func__modff_use+:} false; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57155 main ()
57157 _modff(0, 0);
57159 return 0;
57161 _ACEOF
57162 if ac_fn_cxx_try_compile "$LINENO"; then :
57163 glibcxx_cv_func__modff_use=yes
57164 else
57165 glibcxx_cv_func__modff_use=no
57167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57168 ac_ext=c
57169 ac_cpp='$CPP $CPPFLAGS'
57170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57179 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57181 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57182 for ac_func in _modff
57183 do :
57184 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57185 if test "x$ac_cv_func__modff" = xyes; then :
57186 cat >>confdefs.h <<_ACEOF
57187 #define HAVE__MODFF 1
57188 _ACEOF
57191 done
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57201 $as_echo_n "checking for modf declaration... " >&6; }
57202 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57203 if ${glibcxx_cv_func_modf_use+:} false; then :
57204 $as_echo_n "(cached) " >&6
57205 else
57208 ac_ext=cpp
57209 ac_cpp='$CXXCPP $CPPFLAGS'
57210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57215 /* end confdefs.h. */
57216 #include <math.h>
57218 main ()
57220 modf(0, 0);
57222 return 0;
57224 _ACEOF
57225 if ac_fn_cxx_try_compile "$LINENO"; then :
57226 glibcxx_cv_func_modf_use=yes
57227 else
57228 glibcxx_cv_func_modf_use=no
57230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57231 ac_ext=c
57232 ac_cpp='$CPP $CPPFLAGS'
57233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57242 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57244 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57245 for ac_func in modf
57246 do :
57247 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57248 if test "x$ac_cv_func_modf" = xyes; then :
57249 cat >>confdefs.h <<_ACEOF
57250 #define HAVE_MODF 1
57251 _ACEOF
57254 done
57256 else
57258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57259 $as_echo_n "checking for _modf declaration... " >&6; }
57260 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57261 if ${glibcxx_cv_func__modf_use+:} false; then :
57262 $as_echo_n "(cached) " >&6
57263 else
57266 ac_ext=cpp
57267 ac_cpp='$CXXCPP $CPPFLAGS'
57268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57273 /* end confdefs.h. */
57274 #include <math.h>
57276 main ()
57278 _modf(0, 0);
57280 return 0;
57282 _ACEOF
57283 if ac_fn_cxx_try_compile "$LINENO"; then :
57284 glibcxx_cv_func__modf_use=yes
57285 else
57286 glibcxx_cv_func__modf_use=no
57288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57289 ac_ext=c
57290 ac_cpp='$CPP $CPPFLAGS'
57291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57300 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57302 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57303 for ac_func in _modf
57304 do :
57305 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57306 if test "x$ac_cv_func__modf" = xyes; then :
57307 cat >>confdefs.h <<_ACEOF
57308 #define HAVE__MODF 1
57309 _ACEOF
57312 done
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57322 $as_echo_n "checking for powf declaration... " >&6; }
57323 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57324 if ${glibcxx_cv_func_powf_use+:} false; then :
57325 $as_echo_n "(cached) " >&6
57326 else
57329 ac_ext=cpp
57330 ac_cpp='$CXXCPP $CPPFLAGS'
57331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57336 /* end confdefs.h. */
57337 #include <math.h>
57339 main ()
57341 powf(0, 0);
57343 return 0;
57345 _ACEOF
57346 if ac_fn_cxx_try_compile "$LINENO"; then :
57347 glibcxx_cv_func_powf_use=yes
57348 else
57349 glibcxx_cv_func_powf_use=no
57351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57352 ac_ext=c
57353 ac_cpp='$CPP $CPPFLAGS'
57354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57363 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57365 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57366 for ac_func in powf
57367 do :
57368 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57369 if test "x$ac_cv_func_powf" = xyes; then :
57370 cat >>confdefs.h <<_ACEOF
57371 #define HAVE_POWF 1
57372 _ACEOF
57375 done
57377 else
57379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57380 $as_echo_n "checking for _powf declaration... " >&6; }
57381 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57382 if ${glibcxx_cv_func__powf_use+:} false; then :
57383 $as_echo_n "(cached) " >&6
57384 else
57387 ac_ext=cpp
57388 ac_cpp='$CXXCPP $CPPFLAGS'
57389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57394 /* end confdefs.h. */
57395 #include <math.h>
57397 main ()
57399 _powf(0, 0);
57401 return 0;
57403 _ACEOF
57404 if ac_fn_cxx_try_compile "$LINENO"; then :
57405 glibcxx_cv_func__powf_use=yes
57406 else
57407 glibcxx_cv_func__powf_use=no
57409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57410 ac_ext=c
57411 ac_cpp='$CPP $CPPFLAGS'
57412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57421 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57423 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57424 for ac_func in _powf
57425 do :
57426 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57427 if test "x$ac_cv_func__powf" = xyes; then :
57428 cat >>confdefs.h <<_ACEOF
57429 #define HAVE__POWF 1
57430 _ACEOF
57433 done
57442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57443 $as_echo_n "checking for sqrtf declaration... " >&6; }
57444 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57445 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57446 $as_echo_n "(cached) " >&6
57447 else
57450 ac_ext=cpp
57451 ac_cpp='$CXXCPP $CPPFLAGS'
57452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57457 /* end confdefs.h. */
57458 #include <math.h>
57459 #ifdef HAVE_IEEEFP_H
57460 #include <ieeefp.h>
57461 #endif
57464 main ()
57466 sqrtf(0);
57468 return 0;
57470 _ACEOF
57471 if ac_fn_cxx_try_compile "$LINENO"; then :
57472 glibcxx_cv_func_sqrtf_use=yes
57473 else
57474 glibcxx_cv_func_sqrtf_use=no
57476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57477 ac_ext=c
57478 ac_cpp='$CPP $CPPFLAGS'
57479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57488 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57490 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57491 for ac_func in sqrtf
57492 do :
57493 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57494 if test "x$ac_cv_func_sqrtf" = xyes; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define HAVE_SQRTF 1
57497 _ACEOF
57500 done
57502 else
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57505 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57506 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57507 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57508 $as_echo_n "(cached) " >&6
57509 else
57512 ac_ext=cpp
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57519 /* end confdefs.h. */
57520 #include <math.h>
57521 #ifdef HAVE_IEEEFP_H
57522 #include <ieeefp.h>
57523 #endif
57526 main ()
57528 _sqrtf(0);
57530 return 0;
57532 _ACEOF
57533 if ac_fn_cxx_try_compile "$LINENO"; then :
57534 glibcxx_cv_func__sqrtf_use=yes
57535 else
57536 glibcxx_cv_func__sqrtf_use=no
57538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57539 ac_ext=c
57540 ac_cpp='$CPP $CPPFLAGS'
57541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57550 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57552 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57553 for ac_func in _sqrtf
57554 do :
57555 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57556 if test "x$ac_cv_func__sqrtf" = xyes; then :
57557 cat >>confdefs.h <<_ACEOF
57558 #define HAVE__SQRTF 1
57559 _ACEOF
57562 done
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57572 $as_echo_n "checking for sincosf declaration... " >&6; }
57573 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57574 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57575 $as_echo_n "(cached) " >&6
57576 else
57579 ac_ext=cpp
57580 ac_cpp='$CXXCPP $CPPFLAGS'
57581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57586 /* end confdefs.h. */
57587 #include <math.h>
57589 main ()
57591 sincosf(0, 0, 0);
57593 return 0;
57595 _ACEOF
57596 if ac_fn_cxx_try_compile "$LINENO"; then :
57597 glibcxx_cv_func_sincosf_use=yes
57598 else
57599 glibcxx_cv_func_sincosf_use=no
57601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57602 ac_ext=c
57603 ac_cpp='$CPP $CPPFLAGS'
57604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57613 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57615 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57616 for ac_func in sincosf
57617 do :
57618 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57619 if test "x$ac_cv_func_sincosf" = xyes; then :
57620 cat >>confdefs.h <<_ACEOF
57621 #define HAVE_SINCOSF 1
57622 _ACEOF
57625 done
57627 else
57629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57630 $as_echo_n "checking for _sincosf declaration... " >&6; }
57631 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57632 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57633 $as_echo_n "(cached) " >&6
57634 else
57637 ac_ext=cpp
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h. */
57645 #include <math.h>
57647 main ()
57649 _sincosf(0, 0, 0);
57651 return 0;
57653 _ACEOF
57654 if ac_fn_cxx_try_compile "$LINENO"; then :
57655 glibcxx_cv_func__sincosf_use=yes
57656 else
57657 glibcxx_cv_func__sincosf_use=no
57659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57660 ac_ext=c
57661 ac_cpp='$CPP $CPPFLAGS'
57662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57671 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57673 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57674 for ac_func in _sincosf
57675 do :
57676 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57677 if test "x$ac_cv_func__sincosf" = xyes; then :
57678 cat >>confdefs.h <<_ACEOF
57679 #define HAVE__SINCOSF 1
57680 _ACEOF
57683 done
57692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57693 $as_echo_n "checking for finitef declaration... " >&6; }
57694 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57695 if ${glibcxx_cv_func_finitef_use+:} false; then :
57696 $as_echo_n "(cached) " >&6
57697 else
57700 ac_ext=cpp
57701 ac_cpp='$CXXCPP $CPPFLAGS'
57702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57707 /* end confdefs.h. */
57708 #include <math.h>
57709 #ifdef HAVE_IEEEFP_H
57710 #include <ieeefp.h>
57711 #endif
57714 main ()
57716 finitef(0);
57718 return 0;
57720 _ACEOF
57721 if ac_fn_cxx_try_compile "$LINENO"; then :
57722 glibcxx_cv_func_finitef_use=yes
57723 else
57724 glibcxx_cv_func_finitef_use=no
57726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57727 ac_ext=c
57728 ac_cpp='$CPP $CPPFLAGS'
57729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57738 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57740 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57741 for ac_func in finitef
57742 do :
57743 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57744 if test "x$ac_cv_func_finitef" = xyes; then :
57745 cat >>confdefs.h <<_ACEOF
57746 #define HAVE_FINITEF 1
57747 _ACEOF
57750 done
57752 else
57754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57755 $as_echo_n "checking for _finitef declaration... " >&6; }
57756 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57757 if ${glibcxx_cv_func__finitef_use+:} false; then :
57758 $as_echo_n "(cached) " >&6
57759 else
57762 ac_ext=cpp
57763 ac_cpp='$CXXCPP $CPPFLAGS'
57764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57769 /* end confdefs.h. */
57770 #include <math.h>
57771 #ifdef HAVE_IEEEFP_H
57772 #include <ieeefp.h>
57773 #endif
57776 main ()
57778 _finitef(0);
57780 return 0;
57782 _ACEOF
57783 if ac_fn_cxx_try_compile "$LINENO"; then :
57784 glibcxx_cv_func__finitef_use=yes
57785 else
57786 glibcxx_cv_func__finitef_use=no
57788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57789 ac_ext=c
57790 ac_cpp='$CPP $CPPFLAGS'
57791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57800 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57802 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57803 for ac_func in _finitef
57804 do :
57805 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57806 if test "x$ac_cv_func__finitef" = xyes; then :
57807 cat >>confdefs.h <<_ACEOF
57808 #define HAVE__FINITEF 1
57809 _ACEOF
57812 done
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57822 $as_echo_n "checking for long double trig functions... " >&6; }
57823 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57824 $as_echo_n "(cached) " >&6
57825 else
57828 ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h. */
57836 #include <math.h>
57838 main ()
57840 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57842 return 0;
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846 glibcxx_cv_func_long_double_trig_use=yes
57847 else
57848 glibcxx_cv_func_long_double_trig_use=no
57850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851 ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57860 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57861 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57862 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57863 do :
57864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57866 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57867 cat >>confdefs.h <<_ACEOF
57868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57869 _ACEOF
57872 done
57874 else
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57876 $as_echo_n "checking for _long double trig functions... " >&6; }
57877 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57878 $as_echo_n "(cached) " >&6
57879 else
57882 ac_ext=cpp
57883 ac_cpp='$CXXCPP $CPPFLAGS'
57884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57889 /* end confdefs.h. */
57890 #include <math.h>
57892 main ()
57894 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57896 return 0;
57898 _ACEOF
57899 if ac_fn_cxx_try_compile "$LINENO"; then :
57900 glibcxx_cv_func__long_double_trig_use=yes
57901 else
57902 glibcxx_cv_func__long_double_trig_use=no
57904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57905 ac_ext=c
57906 ac_cpp='$CPP $CPPFLAGS'
57907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57914 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57915 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57916 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57917 do :
57918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57920 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57921 cat >>confdefs.h <<_ACEOF
57922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57923 _ACEOF
57926 done
57935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57936 $as_echo_n "checking for long double round functions... " >&6; }
57937 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57938 $as_echo_n "(cached) " >&6
57939 else
57942 ac_ext=cpp
57943 ac_cpp='$CXXCPP $CPPFLAGS'
57944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57949 /* end confdefs.h. */
57950 #include <math.h>
57952 main ()
57954 ceill (0); floorl (0);
57956 return 0;
57958 _ACEOF
57959 if ac_fn_cxx_try_compile "$LINENO"; then :
57960 glibcxx_cv_func_long_double_round_use=yes
57961 else
57962 glibcxx_cv_func_long_double_round_use=no
57964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57965 ac_ext=c
57966 ac_cpp='$CPP $CPPFLAGS'
57967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57974 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57975 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57976 for ac_func in ceill floorl
57977 do :
57978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57981 cat >>confdefs.h <<_ACEOF
57982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57983 _ACEOF
57986 done
57988 else
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57990 $as_echo_n "checking for _long double round functions... " >&6; }
57991 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57992 $as_echo_n "(cached) " >&6
57993 else
57996 ac_ext=cpp
57997 ac_cpp='$CXXCPP $CPPFLAGS'
57998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58003 /* end confdefs.h. */
58004 #include <math.h>
58006 main ()
58008 _ceill (0); _floorl (0);
58010 return 0;
58012 _ACEOF
58013 if ac_fn_cxx_try_compile "$LINENO"; then :
58014 glibcxx_cv_func__long_double_round_use=yes
58015 else
58016 glibcxx_cv_func__long_double_round_use=no
58018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58019 ac_ext=c
58020 ac_cpp='$CPP $CPPFLAGS'
58021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58028 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58029 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58030 for ac_func in _ceill _floorl
58031 do :
58032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58035 cat >>confdefs.h <<_ACEOF
58036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58037 _ACEOF
58040 done
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58051 $as_echo_n "checking for isnanl declaration... " >&6; }
58052 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58053 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58054 $as_echo_n "(cached) " >&6
58055 else
58058 ac_ext=cpp
58059 ac_cpp='$CXXCPP $CPPFLAGS'
58060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58065 /* end confdefs.h. */
58066 #include <math.h>
58067 #ifdef HAVE_IEEEFP_H
58068 #include <ieeefp.h>
58069 #endif
58072 main ()
58074 isnanl(0);
58076 return 0;
58078 _ACEOF
58079 if ac_fn_cxx_try_compile "$LINENO"; then :
58080 glibcxx_cv_func_isnanl_use=yes
58081 else
58082 glibcxx_cv_func_isnanl_use=no
58084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58085 ac_ext=c
58086 ac_cpp='$CPP $CPPFLAGS'
58087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58096 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58098 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58099 for ac_func in isnanl
58100 do :
58101 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58102 if test "x$ac_cv_func_isnanl" = xyes; then :
58103 cat >>confdefs.h <<_ACEOF
58104 #define HAVE_ISNANL 1
58105 _ACEOF
58108 done
58110 else
58112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58113 $as_echo_n "checking for _isnanl declaration... " >&6; }
58114 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58115 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58116 $as_echo_n "(cached) " >&6
58117 else
58120 ac_ext=cpp
58121 ac_cpp='$CXXCPP $CPPFLAGS'
58122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58127 /* end confdefs.h. */
58128 #include <math.h>
58129 #ifdef HAVE_IEEEFP_H
58130 #include <ieeefp.h>
58131 #endif
58134 main ()
58136 _isnanl(0);
58138 return 0;
58140 _ACEOF
58141 if ac_fn_cxx_try_compile "$LINENO"; then :
58142 glibcxx_cv_func__isnanl_use=yes
58143 else
58144 glibcxx_cv_func__isnanl_use=no
58146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58147 ac_ext=c
58148 ac_cpp='$CPP $CPPFLAGS'
58149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58158 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58160 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58161 for ac_func in _isnanl
58162 do :
58163 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58164 if test "x$ac_cv_func__isnanl" = xyes; then :
58165 cat >>confdefs.h <<_ACEOF
58166 #define HAVE__ISNANL 1
58167 _ACEOF
58170 done
58179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58180 $as_echo_n "checking for isinfl declaration... " >&6; }
58181 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58182 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58183 $as_echo_n "(cached) " >&6
58184 else
58187 ac_ext=cpp
58188 ac_cpp='$CXXCPP $CPPFLAGS'
58189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58194 /* end confdefs.h. */
58195 #include <math.h>
58196 #ifdef HAVE_IEEEFP_H
58197 #include <ieeefp.h>
58198 #endif
58201 main ()
58203 isinfl(0);
58205 return 0;
58207 _ACEOF
58208 if ac_fn_cxx_try_compile "$LINENO"; then :
58209 glibcxx_cv_func_isinfl_use=yes
58210 else
58211 glibcxx_cv_func_isinfl_use=no
58213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58214 ac_ext=c
58215 ac_cpp='$CPP $CPPFLAGS'
58216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58225 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58227 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58228 for ac_func in isinfl
58229 do :
58230 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58231 if test "x$ac_cv_func_isinfl" = xyes; then :
58232 cat >>confdefs.h <<_ACEOF
58233 #define HAVE_ISINFL 1
58234 _ACEOF
58237 done
58239 else
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58242 $as_echo_n "checking for _isinfl declaration... " >&6; }
58243 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58244 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58245 $as_echo_n "(cached) " >&6
58246 else
58249 ac_ext=cpp
58250 ac_cpp='$CXXCPP $CPPFLAGS'
58251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58256 /* end confdefs.h. */
58257 #include <math.h>
58258 #ifdef HAVE_IEEEFP_H
58259 #include <ieeefp.h>
58260 #endif
58263 main ()
58265 _isinfl(0);
58267 return 0;
58269 _ACEOF
58270 if ac_fn_cxx_try_compile "$LINENO"; then :
58271 glibcxx_cv_func__isinfl_use=yes
58272 else
58273 glibcxx_cv_func__isinfl_use=no
58275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58276 ac_ext=c
58277 ac_cpp='$CPP $CPPFLAGS'
58278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58287 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58289 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58290 for ac_func in _isinfl
58291 do :
58292 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58293 if test "x$ac_cv_func__isinfl" = xyes; then :
58294 cat >>confdefs.h <<_ACEOF
58295 #define HAVE__ISINFL 1
58296 _ACEOF
58299 done
58308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58309 $as_echo_n "checking for atan2l declaration... " >&6; }
58310 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58311 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58312 $as_echo_n "(cached) " >&6
58313 else
58316 ac_ext=cpp
58317 ac_cpp='$CXXCPP $CPPFLAGS'
58318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58323 /* end confdefs.h. */
58324 #include <math.h>
58326 main ()
58328 atan2l(0, 0);
58330 return 0;
58332 _ACEOF
58333 if ac_fn_cxx_try_compile "$LINENO"; then :
58334 glibcxx_cv_func_atan2l_use=yes
58335 else
58336 glibcxx_cv_func_atan2l_use=no
58338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58339 ac_ext=c
58340 ac_cpp='$CPP $CPPFLAGS'
58341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58350 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58352 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58353 for ac_func in atan2l
58354 do :
58355 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58356 if test "x$ac_cv_func_atan2l" = xyes; then :
58357 cat >>confdefs.h <<_ACEOF
58358 #define HAVE_ATAN2L 1
58359 _ACEOF
58362 done
58364 else
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58367 $as_echo_n "checking for _atan2l declaration... " >&6; }
58368 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58369 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58370 $as_echo_n "(cached) " >&6
58371 else
58374 ac_ext=cpp
58375 ac_cpp='$CXXCPP $CPPFLAGS'
58376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58381 /* end confdefs.h. */
58382 #include <math.h>
58384 main ()
58386 _atan2l(0, 0);
58388 return 0;
58390 _ACEOF
58391 if ac_fn_cxx_try_compile "$LINENO"; then :
58392 glibcxx_cv_func__atan2l_use=yes
58393 else
58394 glibcxx_cv_func__atan2l_use=no
58396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58397 ac_ext=c
58398 ac_cpp='$CPP $CPPFLAGS'
58399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58408 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58410 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58411 for ac_func in _atan2l
58412 do :
58413 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58414 if test "x$ac_cv_func__atan2l" = xyes; then :
58415 cat >>confdefs.h <<_ACEOF
58416 #define HAVE__ATAN2L 1
58417 _ACEOF
58420 done
58429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58430 $as_echo_n "checking for expl declaration... " >&6; }
58431 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58432 if ${glibcxx_cv_func_expl_use+:} false; then :
58433 $as_echo_n "(cached) " >&6
58434 else
58437 ac_ext=cpp
58438 ac_cpp='$CXXCPP $CPPFLAGS'
58439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58444 /* end confdefs.h. */
58445 #include <math.h>
58446 #ifdef HAVE_IEEEFP_H
58447 #include <ieeefp.h>
58448 #endif
58451 main ()
58453 expl(0);
58455 return 0;
58457 _ACEOF
58458 if ac_fn_cxx_try_compile "$LINENO"; then :
58459 glibcxx_cv_func_expl_use=yes
58460 else
58461 glibcxx_cv_func_expl_use=no
58463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58464 ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58475 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58477 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58478 for ac_func in expl
58479 do :
58480 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58481 if test "x$ac_cv_func_expl" = xyes; then :
58482 cat >>confdefs.h <<_ACEOF
58483 #define HAVE_EXPL 1
58484 _ACEOF
58487 done
58489 else
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58492 $as_echo_n "checking for _expl declaration... " >&6; }
58493 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58494 if ${glibcxx_cv_func__expl_use+:} false; then :
58495 $as_echo_n "(cached) " >&6
58496 else
58499 ac_ext=cpp
58500 ac_cpp='$CXXCPP $CPPFLAGS'
58501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58506 /* end confdefs.h. */
58507 #include <math.h>
58508 #ifdef HAVE_IEEEFP_H
58509 #include <ieeefp.h>
58510 #endif
58513 main ()
58515 _expl(0);
58517 return 0;
58519 _ACEOF
58520 if ac_fn_cxx_try_compile "$LINENO"; then :
58521 glibcxx_cv_func__expl_use=yes
58522 else
58523 glibcxx_cv_func__expl_use=no
58525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58526 ac_ext=c
58527 ac_cpp='$CPP $CPPFLAGS'
58528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58537 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58539 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58540 for ac_func in _expl
58541 do :
58542 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58543 if test "x$ac_cv_func__expl" = xyes; then :
58544 cat >>confdefs.h <<_ACEOF
58545 #define HAVE__EXPL 1
58546 _ACEOF
58549 done
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58559 $as_echo_n "checking for fabsl declaration... " >&6; }
58560 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58561 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58562 $as_echo_n "(cached) " >&6
58563 else
58566 ac_ext=cpp
58567 ac_cpp='$CXXCPP $CPPFLAGS'
58568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h. */
58574 #include <math.h>
58575 #ifdef HAVE_IEEEFP_H
58576 #include <ieeefp.h>
58577 #endif
58580 main ()
58582 fabsl(0);
58584 return 0;
58586 _ACEOF
58587 if ac_fn_cxx_try_compile "$LINENO"; then :
58588 glibcxx_cv_func_fabsl_use=yes
58589 else
58590 glibcxx_cv_func_fabsl_use=no
58592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58593 ac_ext=c
58594 ac_cpp='$CPP $CPPFLAGS'
58595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58604 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58606 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58607 for ac_func in fabsl
58608 do :
58609 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58610 if test "x$ac_cv_func_fabsl" = xyes; then :
58611 cat >>confdefs.h <<_ACEOF
58612 #define HAVE_FABSL 1
58613 _ACEOF
58616 done
58618 else
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58621 $as_echo_n "checking for _fabsl declaration... " >&6; }
58622 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58623 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58624 $as_echo_n "(cached) " >&6
58625 else
58628 ac_ext=cpp
58629 ac_cpp='$CXXCPP $CPPFLAGS'
58630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58635 /* end confdefs.h. */
58636 #include <math.h>
58637 #ifdef HAVE_IEEEFP_H
58638 #include <ieeefp.h>
58639 #endif
58642 main ()
58644 _fabsl(0);
58646 return 0;
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func__fabsl_use=yes
58651 else
58652 glibcxx_cv_func__fabsl_use=no
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58666 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58668 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58669 for ac_func in _fabsl
58670 do :
58671 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58672 if test "x$ac_cv_func__fabsl" = xyes; then :
58673 cat >>confdefs.h <<_ACEOF
58674 #define HAVE__FABSL 1
58675 _ACEOF
58678 done
58687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58688 $as_echo_n "checking for fmodl declaration... " >&6; }
58689 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58690 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58691 $as_echo_n "(cached) " >&6
58692 else
58695 ac_ext=cpp
58696 ac_cpp='$CXXCPP $CPPFLAGS'
58697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h. */
58703 #include <math.h>
58705 main ()
58707 fmodl(0, 0);
58709 return 0;
58711 _ACEOF
58712 if ac_fn_cxx_try_compile "$LINENO"; then :
58713 glibcxx_cv_func_fmodl_use=yes
58714 else
58715 glibcxx_cv_func_fmodl_use=no
58717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58718 ac_ext=c
58719 ac_cpp='$CPP $CPPFLAGS'
58720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58729 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58731 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58732 for ac_func in fmodl
58733 do :
58734 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58735 if test "x$ac_cv_func_fmodl" = xyes; then :
58736 cat >>confdefs.h <<_ACEOF
58737 #define HAVE_FMODL 1
58738 _ACEOF
58741 done
58743 else
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58746 $as_echo_n "checking for _fmodl declaration... " >&6; }
58747 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58748 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58749 $as_echo_n "(cached) " >&6
58750 else
58753 ac_ext=cpp
58754 ac_cpp='$CXXCPP $CPPFLAGS'
58755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58760 /* end confdefs.h. */
58761 #include <math.h>
58763 main ()
58765 _fmodl(0, 0);
58767 return 0;
58769 _ACEOF
58770 if ac_fn_cxx_try_compile "$LINENO"; then :
58771 glibcxx_cv_func__fmodl_use=yes
58772 else
58773 glibcxx_cv_func__fmodl_use=no
58775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58776 ac_ext=c
58777 ac_cpp='$CPP $CPPFLAGS'
58778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58787 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58789 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58790 for ac_func in _fmodl
58791 do :
58792 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58793 if test "x$ac_cv_func__fmodl" = xyes; then :
58794 cat >>confdefs.h <<_ACEOF
58795 #define HAVE__FMODL 1
58796 _ACEOF
58799 done
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58809 $as_echo_n "checking for frexpl declaration... " >&6; }
58810 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58811 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58812 $as_echo_n "(cached) " >&6
58813 else
58816 ac_ext=cpp
58817 ac_cpp='$CXXCPP $CPPFLAGS'
58818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58823 /* end confdefs.h. */
58824 #include <math.h>
58826 main ()
58828 frexpl(0, 0);
58830 return 0;
58832 _ACEOF
58833 if ac_fn_cxx_try_compile "$LINENO"; then :
58834 glibcxx_cv_func_frexpl_use=yes
58835 else
58836 glibcxx_cv_func_frexpl_use=no
58838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58839 ac_ext=c
58840 ac_cpp='$CPP $CPPFLAGS'
58841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58850 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58852 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58853 for ac_func in frexpl
58854 do :
58855 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58856 if test "x$ac_cv_func_frexpl" = xyes; then :
58857 cat >>confdefs.h <<_ACEOF
58858 #define HAVE_FREXPL 1
58859 _ACEOF
58862 done
58864 else
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58867 $as_echo_n "checking for _frexpl declaration... " >&6; }
58868 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58869 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58870 $as_echo_n "(cached) " >&6
58871 else
58874 ac_ext=cpp
58875 ac_cpp='$CXXCPP $CPPFLAGS'
58876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h. */
58882 #include <math.h>
58884 main ()
58886 _frexpl(0, 0);
58888 return 0;
58890 _ACEOF
58891 if ac_fn_cxx_try_compile "$LINENO"; then :
58892 glibcxx_cv_func__frexpl_use=yes
58893 else
58894 glibcxx_cv_func__frexpl_use=no
58896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58897 ac_ext=c
58898 ac_cpp='$CPP $CPPFLAGS'
58899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58908 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58910 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58911 for ac_func in _frexpl
58912 do :
58913 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58914 if test "x$ac_cv_func__frexpl" = xyes; then :
58915 cat >>confdefs.h <<_ACEOF
58916 #define HAVE__FREXPL 1
58917 _ACEOF
58920 done
58929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58930 $as_echo_n "checking for hypotl declaration... " >&6; }
58931 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58932 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58933 $as_echo_n "(cached) " >&6
58934 else
58937 ac_ext=cpp
58938 ac_cpp='$CXXCPP $CPPFLAGS'
58939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58944 /* end confdefs.h. */
58945 #include <math.h>
58947 main ()
58949 hypotl(0, 0);
58951 return 0;
58953 _ACEOF
58954 if ac_fn_cxx_try_compile "$LINENO"; then :
58955 glibcxx_cv_func_hypotl_use=yes
58956 else
58957 glibcxx_cv_func_hypotl_use=no
58959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58960 ac_ext=c
58961 ac_cpp='$CPP $CPPFLAGS'
58962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58971 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58973 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58974 for ac_func in hypotl
58975 do :
58976 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58977 if test "x$ac_cv_func_hypotl" = xyes; then :
58978 cat >>confdefs.h <<_ACEOF
58979 #define HAVE_HYPOTL 1
58980 _ACEOF
58983 done
58985 else
58987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58988 $as_echo_n "checking for _hypotl declaration... " >&6; }
58989 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58990 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58991 $as_echo_n "(cached) " >&6
58992 else
58995 ac_ext=cpp
58996 ac_cpp='$CXXCPP $CPPFLAGS'
58997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59002 /* end confdefs.h. */
59003 #include <math.h>
59005 main ()
59007 _hypotl(0, 0);
59009 return 0;
59011 _ACEOF
59012 if ac_fn_cxx_try_compile "$LINENO"; then :
59013 glibcxx_cv_func__hypotl_use=yes
59014 else
59015 glibcxx_cv_func__hypotl_use=no
59017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59018 ac_ext=c
59019 ac_cpp='$CPP $CPPFLAGS'
59020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59029 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59031 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59032 for ac_func in _hypotl
59033 do :
59034 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59035 if test "x$ac_cv_func__hypotl" = xyes; then :
59036 cat >>confdefs.h <<_ACEOF
59037 #define HAVE__HYPOTL 1
59038 _ACEOF
59041 done
59050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59051 $as_echo_n "checking for ldexpl declaration... " >&6; }
59052 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59053 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59054 $as_echo_n "(cached) " >&6
59055 else
59058 ac_ext=cpp
59059 ac_cpp='$CXXCPP $CPPFLAGS'
59060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59065 /* end confdefs.h. */
59066 #include <math.h>
59068 main ()
59070 ldexpl(0, 0);
59072 return 0;
59074 _ACEOF
59075 if ac_fn_cxx_try_compile "$LINENO"; then :
59076 glibcxx_cv_func_ldexpl_use=yes
59077 else
59078 glibcxx_cv_func_ldexpl_use=no
59080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59081 ac_ext=c
59082 ac_cpp='$CPP $CPPFLAGS'
59083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59092 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59094 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59095 for ac_func in ldexpl
59096 do :
59097 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59098 if test "x$ac_cv_func_ldexpl" = xyes; then :
59099 cat >>confdefs.h <<_ACEOF
59100 #define HAVE_LDEXPL 1
59101 _ACEOF
59104 done
59106 else
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59109 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59110 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59111 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59112 $as_echo_n "(cached) " >&6
59113 else
59116 ac_ext=cpp
59117 ac_cpp='$CXXCPP $CPPFLAGS'
59118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59123 /* end confdefs.h. */
59124 #include <math.h>
59126 main ()
59128 _ldexpl(0, 0);
59130 return 0;
59132 _ACEOF
59133 if ac_fn_cxx_try_compile "$LINENO"; then :
59134 glibcxx_cv_func__ldexpl_use=yes
59135 else
59136 glibcxx_cv_func__ldexpl_use=no
59138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59139 ac_ext=c
59140 ac_cpp='$CPP $CPPFLAGS'
59141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59150 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59152 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59153 for ac_func in _ldexpl
59154 do :
59155 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59156 if test "x$ac_cv_func__ldexpl" = xyes; then :
59157 cat >>confdefs.h <<_ACEOF
59158 #define HAVE__LDEXPL 1
59159 _ACEOF
59162 done
59171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59172 $as_echo_n "checking for logl declaration... " >&6; }
59173 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59174 if ${glibcxx_cv_func_logl_use+:} false; then :
59175 $as_echo_n "(cached) " >&6
59176 else
59179 ac_ext=cpp
59180 ac_cpp='$CXXCPP $CPPFLAGS'
59181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59186 /* end confdefs.h. */
59187 #include <math.h>
59188 #ifdef HAVE_IEEEFP_H
59189 #include <ieeefp.h>
59190 #endif
59193 main ()
59195 logl(0);
59197 return 0;
59199 _ACEOF
59200 if ac_fn_cxx_try_compile "$LINENO"; then :
59201 glibcxx_cv_func_logl_use=yes
59202 else
59203 glibcxx_cv_func_logl_use=no
59205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59206 ac_ext=c
59207 ac_cpp='$CPP $CPPFLAGS'
59208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59217 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59219 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59220 for ac_func in logl
59221 do :
59222 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59223 if test "x$ac_cv_func_logl" = xyes; then :
59224 cat >>confdefs.h <<_ACEOF
59225 #define HAVE_LOGL 1
59226 _ACEOF
59229 done
59231 else
59233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59234 $as_echo_n "checking for _logl declaration... " >&6; }
59235 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59236 if ${glibcxx_cv_func__logl_use+:} false; then :
59237 $as_echo_n "(cached) " >&6
59238 else
59241 ac_ext=cpp
59242 ac_cpp='$CXXCPP $CPPFLAGS'
59243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59248 /* end confdefs.h. */
59249 #include <math.h>
59250 #ifdef HAVE_IEEEFP_H
59251 #include <ieeefp.h>
59252 #endif
59255 main ()
59257 _logl(0);
59259 return 0;
59261 _ACEOF
59262 if ac_fn_cxx_try_compile "$LINENO"; then :
59263 glibcxx_cv_func__logl_use=yes
59264 else
59265 glibcxx_cv_func__logl_use=no
59267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59268 ac_ext=c
59269 ac_cpp='$CPP $CPPFLAGS'
59270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59279 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59281 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59282 for ac_func in _logl
59283 do :
59284 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59285 if test "x$ac_cv_func__logl" = xyes; then :
59286 cat >>confdefs.h <<_ACEOF
59287 #define HAVE__LOGL 1
59288 _ACEOF
59291 done
59300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59301 $as_echo_n "checking for log10l declaration... " >&6; }
59302 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59303 if ${glibcxx_cv_func_log10l_use+:} false; then :
59304 $as_echo_n "(cached) " >&6
59305 else
59308 ac_ext=cpp
59309 ac_cpp='$CXXCPP $CPPFLAGS'
59310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59315 /* end confdefs.h. */
59316 #include <math.h>
59317 #ifdef HAVE_IEEEFP_H
59318 #include <ieeefp.h>
59319 #endif
59322 main ()
59324 log10l(0);
59326 return 0;
59328 _ACEOF
59329 if ac_fn_cxx_try_compile "$LINENO"; then :
59330 glibcxx_cv_func_log10l_use=yes
59331 else
59332 glibcxx_cv_func_log10l_use=no
59334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59335 ac_ext=c
59336 ac_cpp='$CPP $CPPFLAGS'
59337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59346 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59348 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59349 for ac_func in log10l
59350 do :
59351 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59352 if test "x$ac_cv_func_log10l" = xyes; then :
59353 cat >>confdefs.h <<_ACEOF
59354 #define HAVE_LOG10L 1
59355 _ACEOF
59358 done
59360 else
59362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59363 $as_echo_n "checking for _log10l declaration... " >&6; }
59364 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59365 if ${glibcxx_cv_func__log10l_use+:} false; then :
59366 $as_echo_n "(cached) " >&6
59367 else
59370 ac_ext=cpp
59371 ac_cpp='$CXXCPP $CPPFLAGS'
59372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59377 /* end confdefs.h. */
59378 #include <math.h>
59379 #ifdef HAVE_IEEEFP_H
59380 #include <ieeefp.h>
59381 #endif
59384 main ()
59386 _log10l(0);
59388 return 0;
59390 _ACEOF
59391 if ac_fn_cxx_try_compile "$LINENO"; then :
59392 glibcxx_cv_func__log10l_use=yes
59393 else
59394 glibcxx_cv_func__log10l_use=no
59396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59397 ac_ext=c
59398 ac_cpp='$CPP $CPPFLAGS'
59399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59408 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59410 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59411 for ac_func in _log10l
59412 do :
59413 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59414 if test "x$ac_cv_func__log10l" = xyes; then :
59415 cat >>confdefs.h <<_ACEOF
59416 #define HAVE__LOG10L 1
59417 _ACEOF
59420 done
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59430 $as_echo_n "checking for modfl declaration... " >&6; }
59431 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59432 if ${glibcxx_cv_func_modfl_use+:} false; then :
59433 $as_echo_n "(cached) " >&6
59434 else
59437 ac_ext=cpp
59438 ac_cpp='$CXXCPP $CPPFLAGS'
59439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59444 /* end confdefs.h. */
59445 #include <math.h>
59447 main ()
59449 modfl(0, 0);
59451 return 0;
59453 _ACEOF
59454 if ac_fn_cxx_try_compile "$LINENO"; then :
59455 glibcxx_cv_func_modfl_use=yes
59456 else
59457 glibcxx_cv_func_modfl_use=no
59459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59460 ac_ext=c
59461 ac_cpp='$CPP $CPPFLAGS'
59462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59471 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59473 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59474 for ac_func in modfl
59475 do :
59476 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59477 if test "x$ac_cv_func_modfl" = xyes; then :
59478 cat >>confdefs.h <<_ACEOF
59479 #define HAVE_MODFL 1
59480 _ACEOF
59483 done
59485 else
59487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59488 $as_echo_n "checking for _modfl declaration... " >&6; }
59489 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59490 if ${glibcxx_cv_func__modfl_use+:} false; then :
59491 $as_echo_n "(cached) " >&6
59492 else
59495 ac_ext=cpp
59496 ac_cpp='$CXXCPP $CPPFLAGS'
59497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59502 /* end confdefs.h. */
59503 #include <math.h>
59505 main ()
59507 _modfl(0, 0);
59509 return 0;
59511 _ACEOF
59512 if ac_fn_cxx_try_compile "$LINENO"; then :
59513 glibcxx_cv_func__modfl_use=yes
59514 else
59515 glibcxx_cv_func__modfl_use=no
59517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59518 ac_ext=c
59519 ac_cpp='$CPP $CPPFLAGS'
59520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59529 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59531 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59532 for ac_func in _modfl
59533 do :
59534 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59535 if test "x$ac_cv_func__modfl" = xyes; then :
59536 cat >>confdefs.h <<_ACEOF
59537 #define HAVE__MODFL 1
59538 _ACEOF
59541 done
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59551 $as_echo_n "checking for powl declaration... " >&6; }
59552 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59553 if ${glibcxx_cv_func_powl_use+:} false; then :
59554 $as_echo_n "(cached) " >&6
59555 else
59558 ac_ext=cpp
59559 ac_cpp='$CXXCPP $CPPFLAGS'
59560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59565 /* end confdefs.h. */
59566 #include <math.h>
59568 main ()
59570 powl(0, 0);
59572 return 0;
59574 _ACEOF
59575 if ac_fn_cxx_try_compile "$LINENO"; then :
59576 glibcxx_cv_func_powl_use=yes
59577 else
59578 glibcxx_cv_func_powl_use=no
59580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59581 ac_ext=c
59582 ac_cpp='$CPP $CPPFLAGS'
59583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59592 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59594 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59595 for ac_func in powl
59596 do :
59597 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59598 if test "x$ac_cv_func_powl" = xyes; then :
59599 cat >>confdefs.h <<_ACEOF
59600 #define HAVE_POWL 1
59601 _ACEOF
59604 done
59606 else
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59609 $as_echo_n "checking for _powl declaration... " >&6; }
59610 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59611 if ${glibcxx_cv_func__powl_use+:} false; then :
59612 $as_echo_n "(cached) " >&6
59613 else
59616 ac_ext=cpp
59617 ac_cpp='$CXXCPP $CPPFLAGS'
59618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59623 /* end confdefs.h. */
59624 #include <math.h>
59626 main ()
59628 _powl(0, 0);
59630 return 0;
59632 _ACEOF
59633 if ac_fn_cxx_try_compile "$LINENO"; then :
59634 glibcxx_cv_func__powl_use=yes
59635 else
59636 glibcxx_cv_func__powl_use=no
59638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59639 ac_ext=c
59640 ac_cpp='$CPP $CPPFLAGS'
59641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59650 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59652 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59653 for ac_func in _powl
59654 do :
59655 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59656 if test "x$ac_cv_func__powl" = xyes; then :
59657 cat >>confdefs.h <<_ACEOF
59658 #define HAVE__POWL 1
59659 _ACEOF
59662 done
59671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59672 $as_echo_n "checking for sqrtl declaration... " >&6; }
59673 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59674 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59675 $as_echo_n "(cached) " >&6
59676 else
59679 ac_ext=cpp
59680 ac_cpp='$CXXCPP $CPPFLAGS'
59681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59686 /* end confdefs.h. */
59687 #include <math.h>
59688 #ifdef HAVE_IEEEFP_H
59689 #include <ieeefp.h>
59690 #endif
59693 main ()
59695 sqrtl(0);
59697 return 0;
59699 _ACEOF
59700 if ac_fn_cxx_try_compile "$LINENO"; then :
59701 glibcxx_cv_func_sqrtl_use=yes
59702 else
59703 glibcxx_cv_func_sqrtl_use=no
59705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59706 ac_ext=c
59707 ac_cpp='$CPP $CPPFLAGS'
59708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59717 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59719 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59720 for ac_func in sqrtl
59721 do :
59722 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59723 if test "x$ac_cv_func_sqrtl" = xyes; then :
59724 cat >>confdefs.h <<_ACEOF
59725 #define HAVE_SQRTL 1
59726 _ACEOF
59729 done
59731 else
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59734 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59735 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59736 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59737 $as_echo_n "(cached) " >&6
59738 else
59741 ac_ext=cpp
59742 ac_cpp='$CXXCPP $CPPFLAGS'
59743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59748 /* end confdefs.h. */
59749 #include <math.h>
59750 #ifdef HAVE_IEEEFP_H
59751 #include <ieeefp.h>
59752 #endif
59755 main ()
59757 _sqrtl(0);
59759 return 0;
59761 _ACEOF
59762 if ac_fn_cxx_try_compile "$LINENO"; then :
59763 glibcxx_cv_func__sqrtl_use=yes
59764 else
59765 glibcxx_cv_func__sqrtl_use=no
59767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59768 ac_ext=c
59769 ac_cpp='$CPP $CPPFLAGS'
59770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59779 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59781 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59782 for ac_func in _sqrtl
59783 do :
59784 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59785 if test "x$ac_cv_func__sqrtl" = xyes; then :
59786 cat >>confdefs.h <<_ACEOF
59787 #define HAVE__SQRTL 1
59788 _ACEOF
59791 done
59800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59801 $as_echo_n "checking for sincosl declaration... " >&6; }
59802 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59803 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59804 $as_echo_n "(cached) " >&6
59805 else
59808 ac_ext=cpp
59809 ac_cpp='$CXXCPP $CPPFLAGS'
59810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 #include <math.h>
59818 main ()
59820 sincosl(0, 0, 0);
59822 return 0;
59824 _ACEOF
59825 if ac_fn_cxx_try_compile "$LINENO"; then :
59826 glibcxx_cv_func_sincosl_use=yes
59827 else
59828 glibcxx_cv_func_sincosl_use=no
59830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59831 ac_ext=c
59832 ac_cpp='$CPP $CPPFLAGS'
59833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59842 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59844 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59845 for ac_func in sincosl
59846 do :
59847 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59848 if test "x$ac_cv_func_sincosl" = xyes; then :
59849 cat >>confdefs.h <<_ACEOF
59850 #define HAVE_SINCOSL 1
59851 _ACEOF
59854 done
59856 else
59858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59859 $as_echo_n "checking for _sincosl declaration... " >&6; }
59860 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59861 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59862 $as_echo_n "(cached) " >&6
59863 else
59866 ac_ext=cpp
59867 ac_cpp='$CXXCPP $CPPFLAGS'
59868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59873 /* end confdefs.h. */
59874 #include <math.h>
59876 main ()
59878 _sincosl(0, 0, 0);
59880 return 0;
59882 _ACEOF
59883 if ac_fn_cxx_try_compile "$LINENO"; then :
59884 glibcxx_cv_func__sincosl_use=yes
59885 else
59886 glibcxx_cv_func__sincosl_use=no
59888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59889 ac_ext=c
59890 ac_cpp='$CPP $CPPFLAGS'
59891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59900 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59902 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59903 for ac_func in _sincosl
59904 do :
59905 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59906 if test "x$ac_cv_func__sincosl" = xyes; then :
59907 cat >>confdefs.h <<_ACEOF
59908 #define HAVE__SINCOSL 1
59909 _ACEOF
59912 done
59921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59922 $as_echo_n "checking for finitel declaration... " >&6; }
59923 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59924 if ${glibcxx_cv_func_finitel_use+:} false; then :
59925 $as_echo_n "(cached) " >&6
59926 else
59929 ac_ext=cpp
59930 ac_cpp='$CXXCPP $CPPFLAGS'
59931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59936 /* end confdefs.h. */
59937 #include <math.h>
59938 #ifdef HAVE_IEEEFP_H
59939 #include <ieeefp.h>
59940 #endif
59943 main ()
59945 finitel(0);
59947 return 0;
59949 _ACEOF
59950 if ac_fn_cxx_try_compile "$LINENO"; then :
59951 glibcxx_cv_func_finitel_use=yes
59952 else
59953 glibcxx_cv_func_finitel_use=no
59955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59956 ac_ext=c
59957 ac_cpp='$CPP $CPPFLAGS'
59958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59967 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59969 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59970 for ac_func in finitel
59971 do :
59972 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59973 if test "x$ac_cv_func_finitel" = xyes; then :
59974 cat >>confdefs.h <<_ACEOF
59975 #define HAVE_FINITEL 1
59976 _ACEOF
59979 done
59981 else
59983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59984 $as_echo_n "checking for _finitel declaration... " >&6; }
59985 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59986 if ${glibcxx_cv_func__finitel_use+:} false; then :
59987 $as_echo_n "(cached) " >&6
59988 else
59991 ac_ext=cpp
59992 ac_cpp='$CXXCPP $CPPFLAGS'
59993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59998 /* end confdefs.h. */
59999 #include <math.h>
60000 #ifdef HAVE_IEEEFP_H
60001 #include <ieeefp.h>
60002 #endif
60005 main ()
60007 _finitel(0);
60009 return 0;
60011 _ACEOF
60012 if ac_fn_cxx_try_compile "$LINENO"; then :
60013 glibcxx_cv_func__finitel_use=yes
60014 else
60015 glibcxx_cv_func__finitel_use=no
60017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60018 ac_ext=c
60019 ac_cpp='$CPP $CPPFLAGS'
60020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60029 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60031 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60032 for ac_func in _finitel
60033 do :
60034 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60035 if test "x$ac_cv_func__finitel" = xyes; then :
60036 cat >>confdefs.h <<_ACEOF
60037 #define HAVE__FINITEL 1
60038 _ACEOF
60041 done
60049 LIBS="$ac_save_LIBS"
60050 CXXFLAGS="$ac_save_CXXFLAGS"
60053 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60054 ac_save_CXXFLAGS="$CXXFLAGS"
60055 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60059 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60060 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60061 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60062 $as_echo_n "(cached) " >&6
60063 else
60066 ac_ext=cpp
60067 ac_cpp='$CXXCPP $CPPFLAGS'
60068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60073 /* end confdefs.h. */
60074 #include <stdlib.h>
60076 main ()
60078 at_quick_exit(0);
60080 return 0;
60082 _ACEOF
60083 if ac_fn_cxx_try_compile "$LINENO"; then :
60084 glibcxx_cv_func_at_quick_exit_use=yes
60085 else
60086 glibcxx_cv_func_at_quick_exit_use=no
60088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60089 ac_ext=c
60090 ac_cpp='$CPP $CPPFLAGS'
60091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60100 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60101 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60102 for ac_func in at_quick_exit
60103 do :
60104 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60105 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60106 cat >>confdefs.h <<_ACEOF
60107 #define HAVE_AT_QUICK_EXIT 1
60108 _ACEOF
60111 done
60116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60117 $as_echo_n "checking for quick_exit declaration... " >&6; }
60118 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60119 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60120 $as_echo_n "(cached) " >&6
60121 else
60124 ac_ext=cpp
60125 ac_cpp='$CXXCPP $CPPFLAGS'
60126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60131 /* end confdefs.h. */
60132 #include <stdlib.h>
60134 main ()
60136 quick_exit(0);
60138 return 0;
60140 _ACEOF
60141 if ac_fn_cxx_try_compile "$LINENO"; then :
60142 glibcxx_cv_func_quick_exit_use=yes
60143 else
60144 glibcxx_cv_func_quick_exit_use=no
60146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60147 ac_ext=c
60148 ac_cpp='$CPP $CPPFLAGS'
60149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60158 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60159 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60160 for ac_func in quick_exit
60161 do :
60162 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60163 if test "x$ac_cv_func_quick_exit" = xyes; then :
60164 cat >>confdefs.h <<_ACEOF
60165 #define HAVE_QUICK_EXIT 1
60166 _ACEOF
60169 done
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60175 $as_echo_n "checking for strtold declaration... " >&6; }
60176 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60177 if ${glibcxx_cv_func_strtold_use+:} false; then :
60178 $as_echo_n "(cached) " >&6
60179 else
60182 ac_ext=cpp
60183 ac_cpp='$CXXCPP $CPPFLAGS'
60184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60189 /* end confdefs.h. */
60190 #include <stdlib.h>
60192 main ()
60194 strtold(0, 0);
60196 return 0;
60198 _ACEOF
60199 if ac_fn_cxx_try_compile "$LINENO"; then :
60200 glibcxx_cv_func_strtold_use=yes
60201 else
60202 glibcxx_cv_func_strtold_use=no
60204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60205 ac_ext=c
60206 ac_cpp='$CPP $CPPFLAGS'
60207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60216 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60217 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60218 for ac_func in strtold
60219 do :
60220 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60221 if test "x$ac_cv_func_strtold" = xyes; then :
60222 cat >>confdefs.h <<_ACEOF
60223 #define HAVE_STRTOLD 1
60224 _ACEOF
60227 done
60234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60235 $as_echo_n "checking for strtof declaration... " >&6; }
60236 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60237 if ${glibcxx_cv_func_strtof_use+:} false; then :
60238 $as_echo_n "(cached) " >&6
60239 else
60242 ac_ext=cpp
60243 ac_cpp='$CXXCPP $CPPFLAGS'
60244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60249 /* end confdefs.h. */
60250 #include <stdlib.h>
60252 main ()
60254 strtof(0, 0);
60256 return 0;
60258 _ACEOF
60259 if ac_fn_cxx_try_compile "$LINENO"; then :
60260 glibcxx_cv_func_strtof_use=yes
60261 else
60262 glibcxx_cv_func_strtof_use=no
60264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60265 ac_ext=c
60266 ac_cpp='$CPP $CPPFLAGS'
60267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60276 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60277 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60278 for ac_func in strtof
60279 do :
60280 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60281 if test "x$ac_cv_func_strtof" = xyes; then :
60282 cat >>confdefs.h <<_ACEOF
60283 #define HAVE_STRTOF 1
60284 _ACEOF
60287 done
60294 CXXFLAGS="$ac_save_CXXFLAGS"
60296 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60297 do :
60298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60301 cat >>confdefs.h <<_ACEOF
60302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60303 _ACEOF
60306 done
60308 for ac_func in _wfopen
60309 do :
60310 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60311 if test "x$ac_cv_func__wfopen" = xyes; then :
60312 cat >>confdefs.h <<_ACEOF
60313 #define HAVE__WFOPEN 1
60314 _ACEOF
60317 done
60321 # Check whether --enable-tls was given.
60322 if test "${enable_tls+set}" = set; then :
60323 enableval=$enable_tls;
60324 case "$enableval" in
60325 yes|no) ;;
60326 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60327 esac
60329 else
60330 enable_tls=yes
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60335 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60336 if ${gcc_cv_have_tls+:} false; then :
60337 $as_echo_n "(cached) " >&6
60338 else
60340 if test "$cross_compiling" = yes; then :
60341 if test x$gcc_no_link = xyes; then
60342 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60345 /* end confdefs.h. */
60346 __thread int a; int b; int main() { return a = b; }
60347 _ACEOF
60348 if ac_fn_c_try_link "$LINENO"; then :
60349 chktls_save_LDFLAGS="$LDFLAGS"
60350 case $host in
60351 *-*-linux* | -*-uclinuxfdpic*)
60352 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60354 esac
60355 chktls_save_CFLAGS="$CFLAGS"
60356 CFLAGS="-fPIC $CFLAGS"
60357 if test x$gcc_no_link = xyes; then
60358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60361 /* end confdefs.h. */
60362 int f() { return 0; }
60363 _ACEOF
60364 if ac_fn_c_try_link "$LINENO"; then :
60365 if test x$gcc_no_link = xyes; then
60366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60369 /* end confdefs.h. */
60370 __thread int a; int b; int f() { return a = b; }
60371 _ACEOF
60372 if ac_fn_c_try_link "$LINENO"; then :
60373 gcc_cv_have_tls=yes
60374 else
60375 gcc_cv_have_tls=no
60377 rm -f core conftest.err conftest.$ac_objext \
60378 conftest$ac_exeext conftest.$ac_ext
60379 else
60380 gcc_cv_have_tls=yes
60382 rm -f core conftest.err conftest.$ac_objext \
60383 conftest$ac_exeext conftest.$ac_ext
60384 CFLAGS="$chktls_save_CFLAGS"
60385 LDFLAGS="$chktls_save_LDFLAGS"
60386 else
60387 gcc_cv_have_tls=no
60389 rm -f core conftest.err conftest.$ac_objext \
60390 conftest$ac_exeext conftest.$ac_ext
60393 else
60394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60395 /* end confdefs.h. */
60396 __thread int a; int b; int main() { return a = b; }
60397 _ACEOF
60398 if ac_fn_c_try_run "$LINENO"; then :
60399 chktls_save_LDFLAGS="$LDFLAGS"
60400 LDFLAGS="-static $LDFLAGS"
60401 if test x$gcc_no_link = xyes; then
60402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60405 /* end confdefs.h. */
60406 int main() { return 0; }
60407 _ACEOF
60408 if ac_fn_c_try_link "$LINENO"; then :
60409 if test "$cross_compiling" = yes; then :
60410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60412 as_fn_error $? "cannot run test program while cross compiling
60413 See \`config.log' for more details" "$LINENO" 5; }
60414 else
60415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60416 /* end confdefs.h. */
60417 __thread int a; int b; int main() { return a = b; }
60418 _ACEOF
60419 if ac_fn_c_try_run "$LINENO"; then :
60420 gcc_cv_have_tls=yes
60421 else
60422 gcc_cv_have_tls=no
60424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60425 conftest.$ac_objext conftest.beam conftest.$ac_ext
60428 else
60429 gcc_cv_have_tls=yes
60431 rm -f core conftest.err conftest.$ac_objext \
60432 conftest$ac_exeext conftest.$ac_ext
60433 LDFLAGS="$chktls_save_LDFLAGS"
60434 if test $gcc_cv_have_tls = yes; then
60435 chktls_save_CFLAGS="$CFLAGS"
60436 thread_CFLAGS=failed
60437 for flag in '' '-pthread' '-lpthread'; do
60438 CFLAGS="$flag $chktls_save_CFLAGS"
60439 if test x$gcc_no_link = xyes; then
60440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60443 /* end confdefs.h. */
60444 #include <pthread.h>
60445 void *g(void *d) { return NULL; }
60447 main ()
60449 pthread_t t; pthread_create(&t,NULL,g,NULL);
60451 return 0;
60453 _ACEOF
60454 if ac_fn_c_try_link "$LINENO"; then :
60455 thread_CFLAGS="$flag"
60457 rm -f core conftest.err conftest.$ac_objext \
60458 conftest$ac_exeext conftest.$ac_ext
60459 if test "X$thread_CFLAGS" != Xfailed; then
60460 break
60462 done
60463 CFLAGS="$chktls_save_CFLAGS"
60464 if test "X$thread_CFLAGS" != Xfailed; then
60465 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60466 if test "$cross_compiling" = yes; then :
60467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60469 as_fn_error $? "cannot run test program while cross compiling
60470 See \`config.log' for more details" "$LINENO" 5; }
60471 else
60472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60473 /* end confdefs.h. */
60474 #include <pthread.h>
60475 __thread int a;
60476 static int *volatile a_in_other_thread;
60477 static void *
60478 thread_func (void *arg)
60480 a_in_other_thread = &a;
60481 return (void *)0;
60484 main ()
60486 pthread_t thread;
60487 void *thread_retval;
60488 int *volatile a_in_main_thread;
60489 a_in_main_thread = &a;
60490 if (pthread_create (&thread, (pthread_attr_t *)0,
60491 thread_func, (void *)0))
60492 return 0;
60493 if (pthread_join (thread, &thread_retval))
60494 return 0;
60495 return (a_in_other_thread == a_in_main_thread);
60497 return 0;
60499 _ACEOF
60500 if ac_fn_c_try_run "$LINENO"; then :
60501 gcc_cv_have_tls=yes
60502 else
60503 gcc_cv_have_tls=no
60505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60506 conftest.$ac_objext conftest.beam conftest.$ac_ext
60509 CFLAGS="$chktls_save_CFLAGS"
60512 else
60513 gcc_cv_have_tls=no
60515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60516 conftest.$ac_objext conftest.beam conftest.$ac_ext
60520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60521 $as_echo "$gcc_cv_have_tls" >&6; }
60522 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60524 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60528 *-netbsd* | *-openbsd*)
60529 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60532 # If we're not using GNU ld, then there's no point in even trying these
60533 # tests. Check for that first. We should have already tested for gld
60534 # by now (in libtool), but require it now just to be safe...
60535 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60536 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60540 # The name set by libtool depends on the version of libtool. Shame on us
60541 # for depending on an impl detail, but c'est la vie. Older versions used
60542 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60543 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60544 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60545 # set (hence we're using an older libtool), then set it.
60546 if test x${with_gnu_ld+set} != xset; then
60547 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60548 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60549 with_gnu_ld=no
60550 else
60551 with_gnu_ld=$ac_cv_prog_gnu_ld
60555 # Start by getting the version number. I think the libtool test already
60556 # does some of this, but throws away the result.
60557 glibcxx_ld_is_gold=no
60558 glibcxx_ld_is_mold=no
60559 if test x"$with_gnu_ld" = x"yes"; then
60560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60561 $as_echo_n "checking for ld version... " >&6; }
60563 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60564 glibcxx_ld_is_gold=yes
60565 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60566 glibcxx_ld_is_mold=yes
60568 ldver=`$LD --version 2>/dev/null |
60569 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60571 glibcxx_gnu_ld_version=`echo $ldver | \
60572 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60574 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60577 # Set --gc-sections.
60578 glibcxx_have_gc_sections=no
60579 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60580 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60581 glibcxx_have_gc_sections=yes
60583 else
60584 glibcxx_gcsections_min_ld=21602
60585 if test x"$with_gnu_ld" = x"yes" &&
60586 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60587 glibcxx_have_gc_sections=yes
60590 if test "$glibcxx_have_gc_sections" = "yes"; then
60591 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60592 # NB: This flag only works reliably after 2.16.1. Configure tests
60593 # for this are difficult, so hard wire a value that should work.
60595 ac_test_CFLAGS="${CFLAGS+set}"
60596 ac_save_CFLAGS="$CFLAGS"
60597 CFLAGS='-Wl,--gc-sections'
60599 # Check for -Wl,--gc-sections
60600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60601 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60602 if test x$gcc_no_link = xyes; then
60603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60606 /* end confdefs.h. */
60607 int one(void) { return 1; }
60608 int two(void) { return 2; }
60611 main ()
60613 two();
60615 return 0;
60617 _ACEOF
60618 if ac_fn_c_try_link "$LINENO"; then :
60619 ac_gcsections=yes
60620 else
60621 ac_gcsections=no
60623 rm -f core conftest.err conftest.$ac_objext \
60624 conftest$ac_exeext conftest.$ac_ext
60625 if test "$ac_gcsections" = "yes"; then
60626 rm -f conftest.c
60627 touch conftest.c
60628 if $CC -c conftest.c; then
60629 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60630 grep "Warning: gc-sections option ignored" > /dev/null; then
60631 ac_gcsections=no
60634 rm -f conftest.c conftest.o conftest
60636 if test "$ac_gcsections" = "yes"; then
60637 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60640 $as_echo "$ac_gcsections" >&6; }
60642 if test "$ac_test_CFLAGS" = set; then
60643 CFLAGS="$ac_save_CFLAGS"
60644 else
60645 # this is the suspicious part
60646 CFLAGS=''
60650 # Set -z,relro.
60651 # Note this is only for shared objects.
60652 ac_ld_relro=no
60653 if test x"$with_gnu_ld" = x"yes"; then
60654 # cygwin and mingw uses PE, which has no ELF relro support,
60655 # multi target ld may confuse configure machinery
60656 case "$host" in
60657 *-*-cygwin*)
60659 *-*-mingw*)
60662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60663 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60664 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60665 if test -n "$cxx_z_relo"; then
60666 OPT_LDFLAGS="-Wl,-z,relro"
60667 ac_ld_relro=yes
60669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60670 $as_echo "$ac_ld_relro" >&6; }
60671 esac
60674 # Set linker optimization flags.
60675 if test x"$with_gnu_ld" = x"yes"; then
60676 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60682 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60684 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60686 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60688 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60690 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60692 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60694 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60696 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60698 if test x"long_double_math_on_this_cpu" = x"yes"; then
60699 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60701 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60703 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60706 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60707 do :
60708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60710 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60711 cat >>confdefs.h <<_ACEOF
60712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60713 _ACEOF
60716 done
60718 for ac_func in timespec_get
60719 do :
60720 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60721 if test "x$ac_cv_func_timespec_get" = xyes; then :
60722 cat >>confdefs.h <<_ACEOF
60723 #define HAVE_TIMESPEC_GET 1
60724 _ACEOF
60727 done
60729 for ac_func in sockatmark
60730 do :
60731 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60732 if test "x$ac_cv_func_sockatmark" = xyes; then :
60733 cat >>confdefs.h <<_ACEOF
60734 #define HAVE_SOCKATMARK 1
60735 _ACEOF
60738 done
60741 *-qnx6.1* | *-qnx6.2*)
60742 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60745 # If we're not using GNU ld, then there's no point in even trying these
60746 # tests. Check for that first. We should have already tested for gld
60747 # by now (in libtool), but require it now just to be safe...
60748 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60749 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60753 # The name set by libtool depends on the version of libtool. Shame on us
60754 # for depending on an impl detail, but c'est la vie. Older versions used
60755 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60756 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60757 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60758 # set (hence we're using an older libtool), then set it.
60759 if test x${with_gnu_ld+set} != xset; then
60760 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60761 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60762 with_gnu_ld=no
60763 else
60764 with_gnu_ld=$ac_cv_prog_gnu_ld
60768 # Start by getting the version number. I think the libtool test already
60769 # does some of this, but throws away the result.
60770 glibcxx_ld_is_gold=no
60771 glibcxx_ld_is_mold=no
60772 if test x"$with_gnu_ld" = x"yes"; then
60773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60774 $as_echo_n "checking for ld version... " >&6; }
60776 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60777 glibcxx_ld_is_gold=yes
60778 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60779 glibcxx_ld_is_mold=yes
60781 ldver=`$LD --version 2>/dev/null |
60782 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60784 glibcxx_gnu_ld_version=`echo $ldver | \
60785 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60787 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60790 # Set --gc-sections.
60791 glibcxx_have_gc_sections=no
60792 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60793 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60794 glibcxx_have_gc_sections=yes
60796 else
60797 glibcxx_gcsections_min_ld=21602
60798 if test x"$with_gnu_ld" = x"yes" &&
60799 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60800 glibcxx_have_gc_sections=yes
60803 if test "$glibcxx_have_gc_sections" = "yes"; then
60804 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60805 # NB: This flag only works reliably after 2.16.1. Configure tests
60806 # for this are difficult, so hard wire a value that should work.
60808 ac_test_CFLAGS="${CFLAGS+set}"
60809 ac_save_CFLAGS="$CFLAGS"
60810 CFLAGS='-Wl,--gc-sections'
60812 # Check for -Wl,--gc-sections
60813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60814 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60815 if test x$gcc_no_link = xyes; then
60816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60819 /* end confdefs.h. */
60820 int one(void) { return 1; }
60821 int two(void) { return 2; }
60824 main ()
60826 two();
60828 return 0;
60830 _ACEOF
60831 if ac_fn_c_try_link "$LINENO"; then :
60832 ac_gcsections=yes
60833 else
60834 ac_gcsections=no
60836 rm -f core conftest.err conftest.$ac_objext \
60837 conftest$ac_exeext conftest.$ac_ext
60838 if test "$ac_gcsections" = "yes"; then
60839 rm -f conftest.c
60840 touch conftest.c
60841 if $CC -c conftest.c; then
60842 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60843 grep "Warning: gc-sections option ignored" > /dev/null; then
60844 ac_gcsections=no
60847 rm -f conftest.c conftest.o conftest
60849 if test "$ac_gcsections" = "yes"; then
60850 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60853 $as_echo "$ac_gcsections" >&6; }
60855 if test "$ac_test_CFLAGS" = set; then
60856 CFLAGS="$ac_save_CFLAGS"
60857 else
60858 # this is the suspicious part
60859 CFLAGS=''
60863 # Set -z,relro.
60864 # Note this is only for shared objects.
60865 ac_ld_relro=no
60866 if test x"$with_gnu_ld" = x"yes"; then
60867 # cygwin and mingw uses PE, which has no ELF relro support,
60868 # multi target ld may confuse configure machinery
60869 case "$host" in
60870 *-*-cygwin*)
60872 *-*-mingw*)
60875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60878 if test -n "$cxx_z_relo"; then
60879 OPT_LDFLAGS="-Wl,-z,relro"
60880 ac_ld_relro=yes
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60883 $as_echo "$ac_ld_relro" >&6; }
60884 esac
60887 # Set linker optimization flags.
60888 if test x"$with_gnu_ld" = x"yes"; then
60889 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60895 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60897 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60899 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60901 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60903 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60905 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60907 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60909 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60911 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60913 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60915 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60917 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60920 *-rtems*)
60922 # All these tests are for C++; save the language and the compiler flags.
60923 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60924 # found in GLIBCXX_CONFIGURE.
60926 ac_ext=cpp
60927 ac_cpp='$CXXCPP $CPPFLAGS'
60928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60932 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60933 ac_save_CXXFLAGS="$CXXFLAGS"
60935 # Check for -ffunction-sections -fdata-sections
60936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60937 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60938 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60940 /* end confdefs.h. */
60941 int foo; void bar() { };
60943 main ()
60947 return 0;
60949 _ACEOF
60950 if ac_fn_cxx_try_compile "$LINENO"; then :
60951 ac_fdsections=yes
60952 else
60953 ac_fdsections=no
60955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60956 if test "$ac_test_CXXFLAGS" = set; then
60957 CXXFLAGS="$ac_save_CXXFLAGS"
60958 else
60959 # this is the suspicious part
60960 CXXFLAGS=''
60962 if test x"$ac_fdsections" = x"yes"; then
60963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60966 $as_echo "$ac_fdsections" >&6; }
60968 ac_ext=c
60969 ac_cpp='$CPP $CPPFLAGS'
60970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60977 # If we're not using GNU ld, then there's no point in even trying these
60978 # tests. Check for that first. We should have already tested for gld
60979 # by now (in libtool), but require it now just to be safe...
60980 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60981 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60985 # The name set by libtool depends on the version of libtool. Shame on us
60986 # for depending on an impl detail, but c'est la vie. Older versions used
60987 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60988 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60989 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60990 # set (hence we're using an older libtool), then set it.
60991 if test x${with_gnu_ld+set} != xset; then
60992 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60993 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60994 with_gnu_ld=no
60995 else
60996 with_gnu_ld=$ac_cv_prog_gnu_ld
61000 # Start by getting the version number. I think the libtool test already
61001 # does some of this, but throws away the result.
61002 glibcxx_ld_is_gold=no
61003 glibcxx_ld_is_mold=no
61004 if test x"$with_gnu_ld" = x"yes"; then
61005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61006 $as_echo_n "checking for ld version... " >&6; }
61008 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61009 glibcxx_ld_is_gold=yes
61010 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
61011 glibcxx_ld_is_mold=yes
61013 ldver=`$LD --version 2>/dev/null |
61014 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61016 glibcxx_gnu_ld_version=`echo $ldver | \
61017 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61019 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61022 # Set --gc-sections.
61023 glibcxx_have_gc_sections=no
61024 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
61025 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61026 glibcxx_have_gc_sections=yes
61028 else
61029 glibcxx_gcsections_min_ld=21602
61030 if test x"$with_gnu_ld" = x"yes" &&
61031 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61032 glibcxx_have_gc_sections=yes
61035 if test "$glibcxx_have_gc_sections" = "yes"; then
61036 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61037 # NB: This flag only works reliably after 2.16.1. Configure tests
61038 # for this are difficult, so hard wire a value that should work.
61040 ac_test_CFLAGS="${CFLAGS+set}"
61041 ac_save_CFLAGS="$CFLAGS"
61042 CFLAGS='-Wl,--gc-sections'
61044 # Check for -Wl,--gc-sections
61045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61046 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61047 if test x$gcc_no_link = xyes; then
61048 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61051 /* end confdefs.h. */
61052 int one(void) { return 1; }
61053 int two(void) { return 2; }
61056 main ()
61058 two();
61060 return 0;
61062 _ACEOF
61063 if ac_fn_c_try_link "$LINENO"; then :
61064 ac_gcsections=yes
61065 else
61066 ac_gcsections=no
61068 rm -f core conftest.err conftest.$ac_objext \
61069 conftest$ac_exeext conftest.$ac_ext
61070 if test "$ac_gcsections" = "yes"; then
61071 rm -f conftest.c
61072 touch conftest.c
61073 if $CC -c conftest.c; then
61074 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61075 grep "Warning: gc-sections option ignored" > /dev/null; then
61076 ac_gcsections=no
61079 rm -f conftest.c conftest.o conftest
61081 if test "$ac_gcsections" = "yes"; then
61082 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61085 $as_echo "$ac_gcsections" >&6; }
61087 if test "$ac_test_CFLAGS" = set; then
61088 CFLAGS="$ac_save_CFLAGS"
61089 else
61090 # this is the suspicious part
61091 CFLAGS=''
61095 # Set -z,relro.
61096 # Note this is only for shared objects.
61097 ac_ld_relro=no
61098 if test x"$with_gnu_ld" = x"yes"; then
61099 # cygwin and mingw uses PE, which has no ELF relro support,
61100 # multi target ld may confuse configure machinery
61101 case "$host" in
61102 *-*-cygwin*)
61104 *-*-mingw*)
61107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61108 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61109 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61110 if test -n "$cxx_z_relo"; then
61111 OPT_LDFLAGS="-Wl,-z,relro"
61112 ac_ld_relro=yes
61114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61115 $as_echo "$ac_ld_relro" >&6; }
61116 esac
61119 # Set linker optimization flags.
61120 if test x"$with_gnu_ld" = x"yes"; then
61121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61129 ac_save_CXXFLAGS="$CXXFLAGS"
61130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61133 $as_echo_n "checking for sin in -lm... " >&6; }
61134 if ${ac_cv_lib_m_sin+:} false; then :
61135 $as_echo_n "(cached) " >&6
61136 else
61137 ac_check_lib_save_LIBS=$LIBS
61138 LIBS="-lm $LIBS"
61139 if test x$gcc_no_link = xyes; then
61140 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61143 /* end confdefs.h. */
61145 /* Override any GCC internal prototype to avoid an error.
61146 Use char because int might match the return type of a GCC
61147 builtin and then its argument prototype would still apply. */
61148 #ifdef __cplusplus
61149 extern "C"
61150 #endif
61151 char sin ();
61153 main ()
61155 return sin ();
61157 return 0;
61159 _ACEOF
61160 if ac_fn_c_try_link "$LINENO"; then :
61161 ac_cv_lib_m_sin=yes
61162 else
61163 ac_cv_lib_m_sin=no
61165 rm -f core conftest.err conftest.$ac_objext \
61166 conftest$ac_exeext conftest.$ac_ext
61167 LIBS=$ac_check_lib_save_LIBS
61169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61170 $as_echo "$ac_cv_lib_m_sin" >&6; }
61171 if test "x$ac_cv_lib_m_sin" = xyes; then :
61172 libm="-lm"
61175 ac_save_LIBS="$LIBS"
61176 LIBS="$LIBS $libm"
61180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61181 $as_echo_n "checking for isinf declaration... " >&6; }
61182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61183 if ${glibcxx_cv_func_isinf_use+:} false; then :
61184 $as_echo_n "(cached) " >&6
61185 else
61188 ac_ext=cpp
61189 ac_cpp='$CXXCPP $CPPFLAGS'
61190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61195 /* end confdefs.h. */
61196 #include <math.h>
61197 #ifdef HAVE_IEEEFP_H
61198 #include <ieeefp.h>
61199 #endif
61202 main ()
61204 isinf(0);
61206 return 0;
61208 _ACEOF
61209 if ac_fn_cxx_try_compile "$LINENO"; then :
61210 glibcxx_cv_func_isinf_use=yes
61211 else
61212 glibcxx_cv_func_isinf_use=no
61214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61215 ac_ext=c
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61229 for ac_func in isinf
61230 do :
61231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61232 if test "x$ac_cv_func_isinf" = xyes; then :
61233 cat >>confdefs.h <<_ACEOF
61234 #define HAVE_ISINF 1
61235 _ACEOF
61238 done
61240 else
61242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61243 $as_echo_n "checking for _isinf declaration... " >&6; }
61244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61245 if ${glibcxx_cv_func__isinf_use+:} false; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61259 #ifdef HAVE_IEEEFP_H
61260 #include <ieeefp.h>
61261 #endif
61264 main ()
61266 _isinf(0);
61268 return 0;
61270 _ACEOF
61271 if ac_fn_cxx_try_compile "$LINENO"; then :
61272 glibcxx_cv_func__isinf_use=yes
61273 else
61274 glibcxx_cv_func__isinf_use=no
61276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61277 ac_ext=c
61278 ac_cpp='$CPP $CPPFLAGS'
61279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61291 for ac_func in _isinf
61292 do :
61293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61294 if test "x$ac_cv_func__isinf" = xyes; then :
61295 cat >>confdefs.h <<_ACEOF
61296 #define HAVE__ISINF 1
61297 _ACEOF
61300 done
61309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61310 $as_echo_n "checking for isnan declaration... " >&6; }
61311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61312 if ${glibcxx_cv_func_isnan_use+:} false; then :
61313 $as_echo_n "(cached) " >&6
61314 else
61317 ac_ext=cpp
61318 ac_cpp='$CXXCPP $CPPFLAGS'
61319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61324 /* end confdefs.h. */
61325 #include <math.h>
61326 #ifdef HAVE_IEEEFP_H
61327 #include <ieeefp.h>
61328 #endif
61331 main ()
61333 isnan(0);
61335 return 0;
61337 _ACEOF
61338 if ac_fn_cxx_try_compile "$LINENO"; then :
61339 glibcxx_cv_func_isnan_use=yes
61340 else
61341 glibcxx_cv_func_isnan_use=no
61343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61344 ac_ext=c
61345 ac_cpp='$CPP $CPPFLAGS'
61346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61358 for ac_func in isnan
61359 do :
61360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61361 if test "x$ac_cv_func_isnan" = xyes; then :
61362 cat >>confdefs.h <<_ACEOF
61363 #define HAVE_ISNAN 1
61364 _ACEOF
61367 done
61369 else
61371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61372 $as_echo_n "checking for _isnan declaration... " >&6; }
61373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61374 if ${glibcxx_cv_func__isnan_use+:} false; then :
61375 $as_echo_n "(cached) " >&6
61376 else
61379 ac_ext=cpp
61380 ac_cpp='$CXXCPP $CPPFLAGS'
61381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61386 /* end confdefs.h. */
61387 #include <math.h>
61388 #ifdef HAVE_IEEEFP_H
61389 #include <ieeefp.h>
61390 #endif
61393 main ()
61395 _isnan(0);
61397 return 0;
61399 _ACEOF
61400 if ac_fn_cxx_try_compile "$LINENO"; then :
61401 glibcxx_cv_func__isnan_use=yes
61402 else
61403 glibcxx_cv_func__isnan_use=no
61405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61406 ac_ext=c
61407 ac_cpp='$CPP $CPPFLAGS'
61408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61420 for ac_func in _isnan
61421 do :
61422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61423 if test "x$ac_cv_func__isnan" = xyes; then :
61424 cat >>confdefs.h <<_ACEOF
61425 #define HAVE__ISNAN 1
61426 _ACEOF
61429 done
61438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61439 $as_echo_n "checking for finite declaration... " >&6; }
61440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61441 if ${glibcxx_cv_func_finite_use+:} false; then :
61442 $as_echo_n "(cached) " >&6
61443 else
61446 ac_ext=cpp
61447 ac_cpp='$CXXCPP $CPPFLAGS'
61448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61453 /* end confdefs.h. */
61454 #include <math.h>
61455 #ifdef HAVE_IEEEFP_H
61456 #include <ieeefp.h>
61457 #endif
61460 main ()
61462 finite(0);
61464 return 0;
61466 _ACEOF
61467 if ac_fn_cxx_try_compile "$LINENO"; then :
61468 glibcxx_cv_func_finite_use=yes
61469 else
61470 glibcxx_cv_func_finite_use=no
61472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61473 ac_ext=c
61474 ac_cpp='$CPP $CPPFLAGS'
61475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61487 for ac_func in finite
61488 do :
61489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61490 if test "x$ac_cv_func_finite" = xyes; then :
61491 cat >>confdefs.h <<_ACEOF
61492 #define HAVE_FINITE 1
61493 _ACEOF
61496 done
61498 else
61500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61501 $as_echo_n "checking for _finite declaration... " >&6; }
61502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61503 if ${glibcxx_cv_func__finite_use+:} false; then :
61504 $as_echo_n "(cached) " >&6
61505 else
61508 ac_ext=cpp
61509 ac_cpp='$CXXCPP $CPPFLAGS'
61510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61515 /* end confdefs.h. */
61516 #include <math.h>
61517 #ifdef HAVE_IEEEFP_H
61518 #include <ieeefp.h>
61519 #endif
61522 main ()
61524 _finite(0);
61526 return 0;
61528 _ACEOF
61529 if ac_fn_cxx_try_compile "$LINENO"; then :
61530 glibcxx_cv_func__finite_use=yes
61531 else
61532 glibcxx_cv_func__finite_use=no
61534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61535 ac_ext=c
61536 ac_cpp='$CPP $CPPFLAGS'
61537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61549 for ac_func in _finite
61550 do :
61551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61552 if test "x$ac_cv_func__finite" = xyes; then :
61553 cat >>confdefs.h <<_ACEOF
61554 #define HAVE__FINITE 1
61555 _ACEOF
61558 done
61567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61568 $as_echo_n "checking for sincos declaration... " >&6; }
61569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61570 if ${glibcxx_cv_func_sincos_use+:} false; then :
61571 $as_echo_n "(cached) " >&6
61572 else
61575 ac_ext=cpp
61576 ac_cpp='$CXXCPP $CPPFLAGS'
61577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61582 /* end confdefs.h. */
61583 #include <math.h>
61585 main ()
61587 sincos(0, 0, 0);
61589 return 0;
61591 _ACEOF
61592 if ac_fn_cxx_try_compile "$LINENO"; then :
61593 glibcxx_cv_func_sincos_use=yes
61594 else
61595 glibcxx_cv_func_sincos_use=no
61597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61598 ac_ext=c
61599 ac_cpp='$CPP $CPPFLAGS'
61600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61612 for ac_func in sincos
61613 do :
61614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61615 if test "x$ac_cv_func_sincos" = xyes; then :
61616 cat >>confdefs.h <<_ACEOF
61617 #define HAVE_SINCOS 1
61618 _ACEOF
61621 done
61623 else
61625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61626 $as_echo_n "checking for _sincos declaration... " >&6; }
61627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61628 if ${glibcxx_cv_func__sincos_use+:} false; then :
61629 $as_echo_n "(cached) " >&6
61630 else
61633 ac_ext=cpp
61634 ac_cpp='$CXXCPP $CPPFLAGS'
61635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61640 /* end confdefs.h. */
61641 #include <math.h>
61643 main ()
61645 _sincos(0, 0, 0);
61647 return 0;
61649 _ACEOF
61650 if ac_fn_cxx_try_compile "$LINENO"; then :
61651 glibcxx_cv_func__sincos_use=yes
61652 else
61653 glibcxx_cv_func__sincos_use=no
61655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61656 ac_ext=c
61657 ac_cpp='$CPP $CPPFLAGS'
61658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61670 for ac_func in _sincos
61671 do :
61672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61673 if test "x$ac_cv_func__sincos" = xyes; then :
61674 cat >>confdefs.h <<_ACEOF
61675 #define HAVE__SINCOS 1
61676 _ACEOF
61679 done
61688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61689 $as_echo_n "checking for fpclass declaration... " >&6; }
61690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61691 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61692 $as_echo_n "(cached) " >&6
61693 else
61696 ac_ext=cpp
61697 ac_cpp='$CXXCPP $CPPFLAGS'
61698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61703 /* end confdefs.h. */
61704 #include <math.h>
61705 #ifdef HAVE_IEEEFP_H
61706 #include <ieeefp.h>
61707 #endif
61710 main ()
61712 fpclass(0);
61714 return 0;
61716 _ACEOF
61717 if ac_fn_cxx_try_compile "$LINENO"; then :
61718 glibcxx_cv_func_fpclass_use=yes
61719 else
61720 glibcxx_cv_func_fpclass_use=no
61722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61723 ac_ext=c
61724 ac_cpp='$CPP $CPPFLAGS'
61725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61737 for ac_func in fpclass
61738 do :
61739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61740 if test "x$ac_cv_func_fpclass" = xyes; then :
61741 cat >>confdefs.h <<_ACEOF
61742 #define HAVE_FPCLASS 1
61743 _ACEOF
61746 done
61748 else
61750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61751 $as_echo_n "checking for _fpclass declaration... " >&6; }
61752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61753 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61754 $as_echo_n "(cached) " >&6
61755 else
61758 ac_ext=cpp
61759 ac_cpp='$CXXCPP $CPPFLAGS'
61760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61765 /* end confdefs.h. */
61766 #include <math.h>
61767 #ifdef HAVE_IEEEFP_H
61768 #include <ieeefp.h>
61769 #endif
61772 main ()
61774 _fpclass(0);
61776 return 0;
61778 _ACEOF
61779 if ac_fn_cxx_try_compile "$LINENO"; then :
61780 glibcxx_cv_func__fpclass_use=yes
61781 else
61782 glibcxx_cv_func__fpclass_use=no
61784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61785 ac_ext=c
61786 ac_cpp='$CPP $CPPFLAGS'
61787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61799 for ac_func in _fpclass
61800 do :
61801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61802 if test "x$ac_cv_func__fpclass" = xyes; then :
61803 cat >>confdefs.h <<_ACEOF
61804 #define HAVE__FPCLASS 1
61805 _ACEOF
61808 done
61817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61818 $as_echo_n "checking for qfpclass declaration... " >&6; }
61819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61820 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61821 $as_echo_n "(cached) " >&6
61822 else
61825 ac_ext=cpp
61826 ac_cpp='$CXXCPP $CPPFLAGS'
61827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61832 /* end confdefs.h. */
61833 #include <math.h>
61834 #ifdef HAVE_IEEEFP_H
61835 #include <ieeefp.h>
61836 #endif
61839 main ()
61841 qfpclass(0);
61843 return 0;
61845 _ACEOF
61846 if ac_fn_cxx_try_compile "$LINENO"; then :
61847 glibcxx_cv_func_qfpclass_use=yes
61848 else
61849 glibcxx_cv_func_qfpclass_use=no
61851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61852 ac_ext=c
61853 ac_cpp='$CPP $CPPFLAGS'
61854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61866 for ac_func in qfpclass
61867 do :
61868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61869 if test "x$ac_cv_func_qfpclass" = xyes; then :
61870 cat >>confdefs.h <<_ACEOF
61871 #define HAVE_QFPCLASS 1
61872 _ACEOF
61875 done
61877 else
61879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61882 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61883 $as_echo_n "(cached) " >&6
61884 else
61887 ac_ext=cpp
61888 ac_cpp='$CXXCPP $CPPFLAGS'
61889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61894 /* end confdefs.h. */
61895 #include <math.h>
61896 #ifdef HAVE_IEEEFP_H
61897 #include <ieeefp.h>
61898 #endif
61901 main ()
61903 _qfpclass(0);
61905 return 0;
61907 _ACEOF
61908 if ac_fn_cxx_try_compile "$LINENO"; then :
61909 glibcxx_cv_func__qfpclass_use=yes
61910 else
61911 glibcxx_cv_func__qfpclass_use=no
61913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61914 ac_ext=c
61915 ac_cpp='$CPP $CPPFLAGS'
61916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61928 for ac_func in _qfpclass
61929 do :
61930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61931 if test "x$ac_cv_func__qfpclass" = xyes; then :
61932 cat >>confdefs.h <<_ACEOF
61933 #define HAVE__QFPCLASS 1
61934 _ACEOF
61937 done
61946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61947 $as_echo_n "checking for hypot declaration... " >&6; }
61948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61949 if ${glibcxx_cv_func_hypot_use+:} false; then :
61950 $as_echo_n "(cached) " >&6
61951 else
61954 ac_ext=cpp
61955 ac_cpp='$CXXCPP $CPPFLAGS'
61956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61961 /* end confdefs.h. */
61962 #include <math.h>
61964 main ()
61966 hypot(0, 0);
61968 return 0;
61970 _ACEOF
61971 if ac_fn_cxx_try_compile "$LINENO"; then :
61972 glibcxx_cv_func_hypot_use=yes
61973 else
61974 glibcxx_cv_func_hypot_use=no
61976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61977 ac_ext=c
61978 ac_cpp='$CPP $CPPFLAGS'
61979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61991 for ac_func in hypot
61992 do :
61993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61994 if test "x$ac_cv_func_hypot" = xyes; then :
61995 cat >>confdefs.h <<_ACEOF
61996 #define HAVE_HYPOT 1
61997 _ACEOF
62000 done
62002 else
62004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62005 $as_echo_n "checking for _hypot declaration... " >&6; }
62006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62007 if ${glibcxx_cv_func__hypot_use+:} false; then :
62008 $as_echo_n "(cached) " >&6
62009 else
62012 ac_ext=cpp
62013 ac_cpp='$CXXCPP $CPPFLAGS'
62014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62019 /* end confdefs.h. */
62020 #include <math.h>
62022 main ()
62024 _hypot(0, 0);
62026 return 0;
62028 _ACEOF
62029 if ac_fn_cxx_try_compile "$LINENO"; then :
62030 glibcxx_cv_func__hypot_use=yes
62031 else
62032 glibcxx_cv_func__hypot_use=no
62034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62035 ac_ext=c
62036 ac_cpp='$CPP $CPPFLAGS'
62037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62049 for ac_func in _hypot
62050 do :
62051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62052 if test "x$ac_cv_func__hypot" = xyes; then :
62053 cat >>confdefs.h <<_ACEOF
62054 #define HAVE__HYPOT 1
62055 _ACEOF
62058 done
62067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62068 $as_echo_n "checking for float trig functions... " >&6; }
62069 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62070 $as_echo_n "(cached) " >&6
62071 else
62074 ac_ext=cpp
62075 ac_cpp='$CXXCPP $CPPFLAGS'
62076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62081 /* end confdefs.h. */
62082 #include <math.h>
62084 main ()
62086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62088 return 0;
62090 _ACEOF
62091 if ac_fn_cxx_try_compile "$LINENO"; then :
62092 glibcxx_cv_func_float_trig_use=yes
62093 else
62094 glibcxx_cv_func_float_trig_use=no
62096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62097 ac_ext=c
62098 ac_cpp='$CPP $CPPFLAGS'
62099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62109 do :
62110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62113 cat >>confdefs.h <<_ACEOF
62114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62115 _ACEOF
62118 done
62120 else
62121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62122 $as_echo_n "checking for _float trig functions... " >&6; }
62123 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62124 $as_echo_n "(cached) " >&6
62125 else
62128 ac_ext=cpp
62129 ac_cpp='$CXXCPP $CPPFLAGS'
62130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62135 /* end confdefs.h. */
62136 #include <math.h>
62138 main ()
62140 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62142 return 0;
62144 _ACEOF
62145 if ac_fn_cxx_try_compile "$LINENO"; then :
62146 glibcxx_cv_func__float_trig_use=yes
62147 else
62148 glibcxx_cv_func__float_trig_use=no
62150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62151 ac_ext=c
62152 ac_cpp='$CPP $CPPFLAGS'
62153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62160 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62161 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62162 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62163 do :
62164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62167 cat >>confdefs.h <<_ACEOF
62168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62169 _ACEOF
62172 done
62181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62182 $as_echo_n "checking for float round functions... " >&6; }
62183 if ${glibcxx_cv_func_float_round_use+:} false; then :
62184 $as_echo_n "(cached) " >&6
62185 else
62188 ac_ext=cpp
62189 ac_cpp='$CXXCPP $CPPFLAGS'
62190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62195 /* end confdefs.h. */
62196 #include <math.h>
62198 main ()
62200 ceilf (0); floorf (0);
62202 return 0;
62204 _ACEOF
62205 if ac_fn_cxx_try_compile "$LINENO"; then :
62206 glibcxx_cv_func_float_round_use=yes
62207 else
62208 glibcxx_cv_func_float_round_use=no
62210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62211 ac_ext=c
62212 ac_cpp='$CPP $CPPFLAGS'
62213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62220 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62221 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62222 for ac_func in ceilf floorf
62223 do :
62224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62227 cat >>confdefs.h <<_ACEOF
62228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62229 _ACEOF
62232 done
62234 else
62235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62236 $as_echo_n "checking for _float round functions... " >&6; }
62237 if ${glibcxx_cv_func__float_round_use+:} false; then :
62238 $as_echo_n "(cached) " >&6
62239 else
62242 ac_ext=cpp
62243 ac_cpp='$CXXCPP $CPPFLAGS'
62244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62249 /* end confdefs.h. */
62250 #include <math.h>
62252 main ()
62254 _ceilf (0); _floorf (0);
62256 return 0;
62258 _ACEOF
62259 if ac_fn_cxx_try_compile "$LINENO"; then :
62260 glibcxx_cv_func__float_round_use=yes
62261 else
62262 glibcxx_cv_func__float_round_use=no
62264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62265 ac_ext=c
62266 ac_cpp='$CPP $CPPFLAGS'
62267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62274 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62275 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62276 for ac_func in _ceilf _floorf
62277 do :
62278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62280 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62281 cat >>confdefs.h <<_ACEOF
62282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62283 _ACEOF
62286 done
62296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62297 $as_echo_n "checking for expf declaration... " >&6; }
62298 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62299 if ${glibcxx_cv_func_expf_use+:} false; then :
62300 $as_echo_n "(cached) " >&6
62301 else
62304 ac_ext=cpp
62305 ac_cpp='$CXXCPP $CPPFLAGS'
62306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62311 /* end confdefs.h. */
62312 #include <math.h>
62313 #ifdef HAVE_IEEEFP_H
62314 #include <ieeefp.h>
62315 #endif
62318 main ()
62320 expf(0);
62322 return 0;
62324 _ACEOF
62325 if ac_fn_cxx_try_compile "$LINENO"; then :
62326 glibcxx_cv_func_expf_use=yes
62327 else
62328 glibcxx_cv_func_expf_use=no
62330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62331 ac_ext=c
62332 ac_cpp='$CPP $CPPFLAGS'
62333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62342 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62344 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62345 for ac_func in expf
62346 do :
62347 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62348 if test "x$ac_cv_func_expf" = xyes; then :
62349 cat >>confdefs.h <<_ACEOF
62350 #define HAVE_EXPF 1
62351 _ACEOF
62354 done
62356 else
62358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62359 $as_echo_n "checking for _expf declaration... " >&6; }
62360 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62361 if ${glibcxx_cv_func__expf_use+:} false; then :
62362 $as_echo_n "(cached) " >&6
62363 else
62366 ac_ext=cpp
62367 ac_cpp='$CXXCPP $CPPFLAGS'
62368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62373 /* end confdefs.h. */
62374 #include <math.h>
62375 #ifdef HAVE_IEEEFP_H
62376 #include <ieeefp.h>
62377 #endif
62380 main ()
62382 _expf(0);
62384 return 0;
62386 _ACEOF
62387 if ac_fn_cxx_try_compile "$LINENO"; then :
62388 glibcxx_cv_func__expf_use=yes
62389 else
62390 glibcxx_cv_func__expf_use=no
62392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62393 ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62404 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62406 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62407 for ac_func in _expf
62408 do :
62409 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62410 if test "x$ac_cv_func__expf" = xyes; then :
62411 cat >>confdefs.h <<_ACEOF
62412 #define HAVE__EXPF 1
62413 _ACEOF
62416 done
62425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62426 $as_echo_n "checking for isnanf declaration... " >&6; }
62427 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62428 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62429 $as_echo_n "(cached) " >&6
62430 else
62433 ac_ext=cpp
62434 ac_cpp='$CXXCPP $CPPFLAGS'
62435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62440 /* end confdefs.h. */
62441 #include <math.h>
62442 #ifdef HAVE_IEEEFP_H
62443 #include <ieeefp.h>
62444 #endif
62447 main ()
62449 isnanf(0);
62451 return 0;
62453 _ACEOF
62454 if ac_fn_cxx_try_compile "$LINENO"; then :
62455 glibcxx_cv_func_isnanf_use=yes
62456 else
62457 glibcxx_cv_func_isnanf_use=no
62459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62460 ac_ext=c
62461 ac_cpp='$CPP $CPPFLAGS'
62462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62471 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62473 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62474 for ac_func in isnanf
62475 do :
62476 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62477 if test "x$ac_cv_func_isnanf" = xyes; then :
62478 cat >>confdefs.h <<_ACEOF
62479 #define HAVE_ISNANF 1
62480 _ACEOF
62483 done
62485 else
62487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62488 $as_echo_n "checking for _isnanf declaration... " >&6; }
62489 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62490 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62491 $as_echo_n "(cached) " >&6
62492 else
62495 ac_ext=cpp
62496 ac_cpp='$CXXCPP $CPPFLAGS'
62497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62502 /* end confdefs.h. */
62503 #include <math.h>
62504 #ifdef HAVE_IEEEFP_H
62505 #include <ieeefp.h>
62506 #endif
62509 main ()
62511 _isnanf(0);
62513 return 0;
62515 _ACEOF
62516 if ac_fn_cxx_try_compile "$LINENO"; then :
62517 glibcxx_cv_func__isnanf_use=yes
62518 else
62519 glibcxx_cv_func__isnanf_use=no
62521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62522 ac_ext=c
62523 ac_cpp='$CPP $CPPFLAGS'
62524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62533 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62535 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62536 for ac_func in _isnanf
62537 do :
62538 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62539 if test "x$ac_cv_func__isnanf" = xyes; then :
62540 cat >>confdefs.h <<_ACEOF
62541 #define HAVE__ISNANF 1
62542 _ACEOF
62545 done
62554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62555 $as_echo_n "checking for isinff declaration... " >&6; }
62556 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62557 if ${glibcxx_cv_func_isinff_use+:} false; then :
62558 $as_echo_n "(cached) " >&6
62559 else
62562 ac_ext=cpp
62563 ac_cpp='$CXXCPP $CPPFLAGS'
62564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62569 /* end confdefs.h. */
62570 #include <math.h>
62571 #ifdef HAVE_IEEEFP_H
62572 #include <ieeefp.h>
62573 #endif
62576 main ()
62578 isinff(0);
62580 return 0;
62582 _ACEOF
62583 if ac_fn_cxx_try_compile "$LINENO"; then :
62584 glibcxx_cv_func_isinff_use=yes
62585 else
62586 glibcxx_cv_func_isinff_use=no
62588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62589 ac_ext=c
62590 ac_cpp='$CPP $CPPFLAGS'
62591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62600 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62602 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62603 for ac_func in isinff
62604 do :
62605 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62606 if test "x$ac_cv_func_isinff" = xyes; then :
62607 cat >>confdefs.h <<_ACEOF
62608 #define HAVE_ISINFF 1
62609 _ACEOF
62612 done
62614 else
62616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62617 $as_echo_n "checking for _isinff declaration... " >&6; }
62618 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62619 if ${glibcxx_cv_func__isinff_use+:} false; then :
62620 $as_echo_n "(cached) " >&6
62621 else
62624 ac_ext=cpp
62625 ac_cpp='$CXXCPP $CPPFLAGS'
62626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62631 /* end confdefs.h. */
62632 #include <math.h>
62633 #ifdef HAVE_IEEEFP_H
62634 #include <ieeefp.h>
62635 #endif
62638 main ()
62640 _isinff(0);
62642 return 0;
62644 _ACEOF
62645 if ac_fn_cxx_try_compile "$LINENO"; then :
62646 glibcxx_cv_func__isinff_use=yes
62647 else
62648 glibcxx_cv_func__isinff_use=no
62650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62651 ac_ext=c
62652 ac_cpp='$CPP $CPPFLAGS'
62653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62662 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62664 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62665 for ac_func in _isinff
62666 do :
62667 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62668 if test "x$ac_cv_func__isinff" = xyes; then :
62669 cat >>confdefs.h <<_ACEOF
62670 #define HAVE__ISINFF 1
62671 _ACEOF
62674 done
62683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62684 $as_echo_n "checking for atan2f declaration... " >&6; }
62685 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62686 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62687 $as_echo_n "(cached) " >&6
62688 else
62691 ac_ext=cpp
62692 ac_cpp='$CXXCPP $CPPFLAGS'
62693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62698 /* end confdefs.h. */
62699 #include <math.h>
62701 main ()
62703 atan2f(0, 0);
62705 return 0;
62707 _ACEOF
62708 if ac_fn_cxx_try_compile "$LINENO"; then :
62709 glibcxx_cv_func_atan2f_use=yes
62710 else
62711 glibcxx_cv_func_atan2f_use=no
62713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62714 ac_ext=c
62715 ac_cpp='$CPP $CPPFLAGS'
62716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62725 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62727 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62728 for ac_func in atan2f
62729 do :
62730 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62731 if test "x$ac_cv_func_atan2f" = xyes; then :
62732 cat >>confdefs.h <<_ACEOF
62733 #define HAVE_ATAN2F 1
62734 _ACEOF
62737 done
62739 else
62741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62742 $as_echo_n "checking for _atan2f declaration... " >&6; }
62743 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62744 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62745 $as_echo_n "(cached) " >&6
62746 else
62749 ac_ext=cpp
62750 ac_cpp='$CXXCPP $CPPFLAGS'
62751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62756 /* end confdefs.h. */
62757 #include <math.h>
62759 main ()
62761 _atan2f(0, 0);
62763 return 0;
62765 _ACEOF
62766 if ac_fn_cxx_try_compile "$LINENO"; then :
62767 glibcxx_cv_func__atan2f_use=yes
62768 else
62769 glibcxx_cv_func__atan2f_use=no
62771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62772 ac_ext=c
62773 ac_cpp='$CPP $CPPFLAGS'
62774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62783 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62785 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62786 for ac_func in _atan2f
62787 do :
62788 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62789 if test "x$ac_cv_func__atan2f" = xyes; then :
62790 cat >>confdefs.h <<_ACEOF
62791 #define HAVE__ATAN2F 1
62792 _ACEOF
62795 done
62804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62805 $as_echo_n "checking for fabsf declaration... " >&6; }
62806 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62807 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62808 $as_echo_n "(cached) " >&6
62809 else
62812 ac_ext=cpp
62813 ac_cpp='$CXXCPP $CPPFLAGS'
62814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62819 /* end confdefs.h. */
62820 #include <math.h>
62821 #ifdef HAVE_IEEEFP_H
62822 #include <ieeefp.h>
62823 #endif
62826 main ()
62828 fabsf(0);
62830 return 0;
62832 _ACEOF
62833 if ac_fn_cxx_try_compile "$LINENO"; then :
62834 glibcxx_cv_func_fabsf_use=yes
62835 else
62836 glibcxx_cv_func_fabsf_use=no
62838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62839 ac_ext=c
62840 ac_cpp='$CPP $CPPFLAGS'
62841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62850 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62852 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62853 for ac_func in fabsf
62854 do :
62855 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62856 if test "x$ac_cv_func_fabsf" = xyes; then :
62857 cat >>confdefs.h <<_ACEOF
62858 #define HAVE_FABSF 1
62859 _ACEOF
62862 done
62864 else
62866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62867 $as_echo_n "checking for _fabsf declaration... " >&6; }
62868 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62869 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62870 $as_echo_n "(cached) " >&6
62871 else
62874 ac_ext=cpp
62875 ac_cpp='$CXXCPP $CPPFLAGS'
62876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62881 /* end confdefs.h. */
62882 #include <math.h>
62883 #ifdef HAVE_IEEEFP_H
62884 #include <ieeefp.h>
62885 #endif
62888 main ()
62890 _fabsf(0);
62892 return 0;
62894 _ACEOF
62895 if ac_fn_cxx_try_compile "$LINENO"; then :
62896 glibcxx_cv_func__fabsf_use=yes
62897 else
62898 glibcxx_cv_func__fabsf_use=no
62900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62901 ac_ext=c
62902 ac_cpp='$CPP $CPPFLAGS'
62903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62912 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62914 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62915 for ac_func in _fabsf
62916 do :
62917 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62918 if test "x$ac_cv_func__fabsf" = xyes; then :
62919 cat >>confdefs.h <<_ACEOF
62920 #define HAVE__FABSF 1
62921 _ACEOF
62924 done
62933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62934 $as_echo_n "checking for fmodf declaration... " >&6; }
62935 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62936 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62937 $as_echo_n "(cached) " >&6
62938 else
62941 ac_ext=cpp
62942 ac_cpp='$CXXCPP $CPPFLAGS'
62943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62948 /* end confdefs.h. */
62949 #include <math.h>
62951 main ()
62953 fmodf(0, 0);
62955 return 0;
62957 _ACEOF
62958 if ac_fn_cxx_try_compile "$LINENO"; then :
62959 glibcxx_cv_func_fmodf_use=yes
62960 else
62961 glibcxx_cv_func_fmodf_use=no
62963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62964 ac_ext=c
62965 ac_cpp='$CPP $CPPFLAGS'
62966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62975 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62977 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62978 for ac_func in fmodf
62979 do :
62980 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62981 if test "x$ac_cv_func_fmodf" = xyes; then :
62982 cat >>confdefs.h <<_ACEOF
62983 #define HAVE_FMODF 1
62984 _ACEOF
62987 done
62989 else
62991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62992 $as_echo_n "checking for _fmodf declaration... " >&6; }
62993 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62994 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62995 $as_echo_n "(cached) " >&6
62996 else
62999 ac_ext=cpp
63000 ac_cpp='$CXXCPP $CPPFLAGS'
63001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63006 /* end confdefs.h. */
63007 #include <math.h>
63009 main ()
63011 _fmodf(0, 0);
63013 return 0;
63015 _ACEOF
63016 if ac_fn_cxx_try_compile "$LINENO"; then :
63017 glibcxx_cv_func__fmodf_use=yes
63018 else
63019 glibcxx_cv_func__fmodf_use=no
63021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63022 ac_ext=c
63023 ac_cpp='$CPP $CPPFLAGS'
63024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63033 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63035 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63036 for ac_func in _fmodf
63037 do :
63038 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63039 if test "x$ac_cv_func__fmodf" = xyes; then :
63040 cat >>confdefs.h <<_ACEOF
63041 #define HAVE__FMODF 1
63042 _ACEOF
63045 done
63054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63055 $as_echo_n "checking for frexpf declaration... " >&6; }
63056 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63057 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63058 $as_echo_n "(cached) " >&6
63059 else
63062 ac_ext=cpp
63063 ac_cpp='$CXXCPP $CPPFLAGS'
63064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63069 /* end confdefs.h. */
63070 #include <math.h>
63072 main ()
63074 frexpf(0, 0);
63076 return 0;
63078 _ACEOF
63079 if ac_fn_cxx_try_compile "$LINENO"; then :
63080 glibcxx_cv_func_frexpf_use=yes
63081 else
63082 glibcxx_cv_func_frexpf_use=no
63084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63085 ac_ext=c
63086 ac_cpp='$CPP $CPPFLAGS'
63087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63096 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63098 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63099 for ac_func in frexpf
63100 do :
63101 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63102 if test "x$ac_cv_func_frexpf" = xyes; then :
63103 cat >>confdefs.h <<_ACEOF
63104 #define HAVE_FREXPF 1
63105 _ACEOF
63108 done
63110 else
63112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63113 $as_echo_n "checking for _frexpf declaration... " >&6; }
63114 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63115 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63116 $as_echo_n "(cached) " >&6
63117 else
63120 ac_ext=cpp
63121 ac_cpp='$CXXCPP $CPPFLAGS'
63122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63127 /* end confdefs.h. */
63128 #include <math.h>
63130 main ()
63132 _frexpf(0, 0);
63134 return 0;
63136 _ACEOF
63137 if ac_fn_cxx_try_compile "$LINENO"; then :
63138 glibcxx_cv_func__frexpf_use=yes
63139 else
63140 glibcxx_cv_func__frexpf_use=no
63142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63143 ac_ext=c
63144 ac_cpp='$CPP $CPPFLAGS'
63145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63154 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63156 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63157 for ac_func in _frexpf
63158 do :
63159 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63160 if test "x$ac_cv_func__frexpf" = xyes; then :
63161 cat >>confdefs.h <<_ACEOF
63162 #define HAVE__FREXPF 1
63163 _ACEOF
63166 done
63175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63176 $as_echo_n "checking for hypotf declaration... " >&6; }
63177 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63178 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63179 $as_echo_n "(cached) " >&6
63180 else
63183 ac_ext=cpp
63184 ac_cpp='$CXXCPP $CPPFLAGS'
63185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63190 /* end confdefs.h. */
63191 #include <math.h>
63193 main ()
63195 hypotf(0, 0);
63197 return 0;
63199 _ACEOF
63200 if ac_fn_cxx_try_compile "$LINENO"; then :
63201 glibcxx_cv_func_hypotf_use=yes
63202 else
63203 glibcxx_cv_func_hypotf_use=no
63205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63206 ac_ext=c
63207 ac_cpp='$CPP $CPPFLAGS'
63208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63217 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63219 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63220 for ac_func in hypotf
63221 do :
63222 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63223 if test "x$ac_cv_func_hypotf" = xyes; then :
63224 cat >>confdefs.h <<_ACEOF
63225 #define HAVE_HYPOTF 1
63226 _ACEOF
63229 done
63231 else
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63234 $as_echo_n "checking for _hypotf declaration... " >&6; }
63235 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63236 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63237 $as_echo_n "(cached) " >&6
63238 else
63241 ac_ext=cpp
63242 ac_cpp='$CXXCPP $CPPFLAGS'
63243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63248 /* end confdefs.h. */
63249 #include <math.h>
63251 main ()
63253 _hypotf(0, 0);
63255 return 0;
63257 _ACEOF
63258 if ac_fn_cxx_try_compile "$LINENO"; then :
63259 glibcxx_cv_func__hypotf_use=yes
63260 else
63261 glibcxx_cv_func__hypotf_use=no
63263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63264 ac_ext=c
63265 ac_cpp='$CPP $CPPFLAGS'
63266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63275 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63277 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63278 for ac_func in _hypotf
63279 do :
63280 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63281 if test "x$ac_cv_func__hypotf" = xyes; then :
63282 cat >>confdefs.h <<_ACEOF
63283 #define HAVE__HYPOTF 1
63284 _ACEOF
63287 done
63296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63297 $as_echo_n "checking for ldexpf declaration... " >&6; }
63298 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63299 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63300 $as_echo_n "(cached) " >&6
63301 else
63304 ac_ext=cpp
63305 ac_cpp='$CXXCPP $CPPFLAGS'
63306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63311 /* end confdefs.h. */
63312 #include <math.h>
63314 main ()
63316 ldexpf(0, 0);
63318 return 0;
63320 _ACEOF
63321 if ac_fn_cxx_try_compile "$LINENO"; then :
63322 glibcxx_cv_func_ldexpf_use=yes
63323 else
63324 glibcxx_cv_func_ldexpf_use=no
63326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63327 ac_ext=c
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63338 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63340 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63341 for ac_func in ldexpf
63342 do :
63343 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63344 if test "x$ac_cv_func_ldexpf" = xyes; then :
63345 cat >>confdefs.h <<_ACEOF
63346 #define HAVE_LDEXPF 1
63347 _ACEOF
63350 done
63352 else
63354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63355 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63356 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63357 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63358 $as_echo_n "(cached) " >&6
63359 else
63362 ac_ext=cpp
63363 ac_cpp='$CXXCPP $CPPFLAGS'
63364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63369 /* end confdefs.h. */
63370 #include <math.h>
63372 main ()
63374 _ldexpf(0, 0);
63376 return 0;
63378 _ACEOF
63379 if ac_fn_cxx_try_compile "$LINENO"; then :
63380 glibcxx_cv_func__ldexpf_use=yes
63381 else
63382 glibcxx_cv_func__ldexpf_use=no
63384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63385 ac_ext=c
63386 ac_cpp='$CPP $CPPFLAGS'
63387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63396 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63398 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63399 for ac_func in _ldexpf
63400 do :
63401 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63402 if test "x$ac_cv_func__ldexpf" = xyes; then :
63403 cat >>confdefs.h <<_ACEOF
63404 #define HAVE__LDEXPF 1
63405 _ACEOF
63408 done
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63418 $as_echo_n "checking for logf declaration... " >&6; }
63419 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63420 if ${glibcxx_cv_func_logf_use+:} false; then :
63421 $as_echo_n "(cached) " >&6
63422 else
63425 ac_ext=cpp
63426 ac_cpp='$CXXCPP $CPPFLAGS'
63427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63432 /* end confdefs.h. */
63433 #include <math.h>
63434 #ifdef HAVE_IEEEFP_H
63435 #include <ieeefp.h>
63436 #endif
63439 main ()
63441 logf(0);
63443 return 0;
63445 _ACEOF
63446 if ac_fn_cxx_try_compile "$LINENO"; then :
63447 glibcxx_cv_func_logf_use=yes
63448 else
63449 glibcxx_cv_func_logf_use=no
63451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63452 ac_ext=c
63453 ac_cpp='$CPP $CPPFLAGS'
63454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63463 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63465 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63466 for ac_func in logf
63467 do :
63468 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63469 if test "x$ac_cv_func_logf" = xyes; then :
63470 cat >>confdefs.h <<_ACEOF
63471 #define HAVE_LOGF 1
63472 _ACEOF
63475 done
63477 else
63479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63480 $as_echo_n "checking for _logf declaration... " >&6; }
63481 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63482 if ${glibcxx_cv_func__logf_use+:} false; then :
63483 $as_echo_n "(cached) " >&6
63484 else
63487 ac_ext=cpp
63488 ac_cpp='$CXXCPP $CPPFLAGS'
63489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63494 /* end confdefs.h. */
63495 #include <math.h>
63496 #ifdef HAVE_IEEEFP_H
63497 #include <ieeefp.h>
63498 #endif
63501 main ()
63503 _logf(0);
63505 return 0;
63507 _ACEOF
63508 if ac_fn_cxx_try_compile "$LINENO"; then :
63509 glibcxx_cv_func__logf_use=yes
63510 else
63511 glibcxx_cv_func__logf_use=no
63513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63514 ac_ext=c
63515 ac_cpp='$CPP $CPPFLAGS'
63516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63525 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63527 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63528 for ac_func in _logf
63529 do :
63530 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63531 if test "x$ac_cv_func__logf" = xyes; then :
63532 cat >>confdefs.h <<_ACEOF
63533 #define HAVE__LOGF 1
63534 _ACEOF
63537 done
63546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63547 $as_echo_n "checking for log10f declaration... " >&6; }
63548 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63549 if ${glibcxx_cv_func_log10f_use+:} false; then :
63550 $as_echo_n "(cached) " >&6
63551 else
63554 ac_ext=cpp
63555 ac_cpp='$CXXCPP $CPPFLAGS'
63556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63561 /* end confdefs.h. */
63562 #include <math.h>
63563 #ifdef HAVE_IEEEFP_H
63564 #include <ieeefp.h>
63565 #endif
63568 main ()
63570 log10f(0);
63572 return 0;
63574 _ACEOF
63575 if ac_fn_cxx_try_compile "$LINENO"; then :
63576 glibcxx_cv_func_log10f_use=yes
63577 else
63578 glibcxx_cv_func_log10f_use=no
63580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63581 ac_ext=c
63582 ac_cpp='$CPP $CPPFLAGS'
63583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63592 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63594 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63595 for ac_func in log10f
63596 do :
63597 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63598 if test "x$ac_cv_func_log10f" = xyes; then :
63599 cat >>confdefs.h <<_ACEOF
63600 #define HAVE_LOG10F 1
63601 _ACEOF
63604 done
63606 else
63608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63609 $as_echo_n "checking for _log10f declaration... " >&6; }
63610 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63611 if ${glibcxx_cv_func__log10f_use+:} false; then :
63612 $as_echo_n "(cached) " >&6
63613 else
63616 ac_ext=cpp
63617 ac_cpp='$CXXCPP $CPPFLAGS'
63618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63623 /* end confdefs.h. */
63624 #include <math.h>
63625 #ifdef HAVE_IEEEFP_H
63626 #include <ieeefp.h>
63627 #endif
63630 main ()
63632 _log10f(0);
63634 return 0;
63636 _ACEOF
63637 if ac_fn_cxx_try_compile "$LINENO"; then :
63638 glibcxx_cv_func__log10f_use=yes
63639 else
63640 glibcxx_cv_func__log10f_use=no
63642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63643 ac_ext=c
63644 ac_cpp='$CPP $CPPFLAGS'
63645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63654 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63656 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63657 for ac_func in _log10f
63658 do :
63659 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63660 if test "x$ac_cv_func__log10f" = xyes; then :
63661 cat >>confdefs.h <<_ACEOF
63662 #define HAVE__LOG10F 1
63663 _ACEOF
63666 done
63675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63676 $as_echo_n "checking for modff declaration... " >&6; }
63677 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63678 if ${glibcxx_cv_func_modff_use+:} false; then :
63679 $as_echo_n "(cached) " >&6
63680 else
63683 ac_ext=cpp
63684 ac_cpp='$CXXCPP $CPPFLAGS'
63685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63690 /* end confdefs.h. */
63691 #include <math.h>
63693 main ()
63695 modff(0, 0);
63697 return 0;
63699 _ACEOF
63700 if ac_fn_cxx_try_compile "$LINENO"; then :
63701 glibcxx_cv_func_modff_use=yes
63702 else
63703 glibcxx_cv_func_modff_use=no
63705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63706 ac_ext=c
63707 ac_cpp='$CPP $CPPFLAGS'
63708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63717 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63719 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63720 for ac_func in modff
63721 do :
63722 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63723 if test "x$ac_cv_func_modff" = xyes; then :
63724 cat >>confdefs.h <<_ACEOF
63725 #define HAVE_MODFF 1
63726 _ACEOF
63729 done
63731 else
63733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63734 $as_echo_n "checking for _modff declaration... " >&6; }
63735 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63736 if ${glibcxx_cv_func__modff_use+:} false; then :
63737 $as_echo_n "(cached) " >&6
63738 else
63741 ac_ext=cpp
63742 ac_cpp='$CXXCPP $CPPFLAGS'
63743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63748 /* end confdefs.h. */
63749 #include <math.h>
63751 main ()
63753 _modff(0, 0);
63755 return 0;
63757 _ACEOF
63758 if ac_fn_cxx_try_compile "$LINENO"; then :
63759 glibcxx_cv_func__modff_use=yes
63760 else
63761 glibcxx_cv_func__modff_use=no
63763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63764 ac_ext=c
63765 ac_cpp='$CPP $CPPFLAGS'
63766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63775 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63777 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63778 for ac_func in _modff
63779 do :
63780 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63781 if test "x$ac_cv_func__modff" = xyes; then :
63782 cat >>confdefs.h <<_ACEOF
63783 #define HAVE__MODFF 1
63784 _ACEOF
63787 done
63796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63797 $as_echo_n "checking for modf declaration... " >&6; }
63798 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63799 if ${glibcxx_cv_func_modf_use+:} false; then :
63800 $as_echo_n "(cached) " >&6
63801 else
63804 ac_ext=cpp
63805 ac_cpp='$CXXCPP $CPPFLAGS'
63806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63811 /* end confdefs.h. */
63812 #include <math.h>
63814 main ()
63816 modf(0, 0);
63818 return 0;
63820 _ACEOF
63821 if ac_fn_cxx_try_compile "$LINENO"; then :
63822 glibcxx_cv_func_modf_use=yes
63823 else
63824 glibcxx_cv_func_modf_use=no
63826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63827 ac_ext=c
63828 ac_cpp='$CPP $CPPFLAGS'
63829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63838 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63840 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63841 for ac_func in modf
63842 do :
63843 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63844 if test "x$ac_cv_func_modf" = xyes; then :
63845 cat >>confdefs.h <<_ACEOF
63846 #define HAVE_MODF 1
63847 _ACEOF
63850 done
63852 else
63854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63855 $as_echo_n "checking for _modf declaration... " >&6; }
63856 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63857 if ${glibcxx_cv_func__modf_use+:} false; then :
63858 $as_echo_n "(cached) " >&6
63859 else
63862 ac_ext=cpp
63863 ac_cpp='$CXXCPP $CPPFLAGS'
63864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63869 /* end confdefs.h. */
63870 #include <math.h>
63872 main ()
63874 _modf(0, 0);
63876 return 0;
63878 _ACEOF
63879 if ac_fn_cxx_try_compile "$LINENO"; then :
63880 glibcxx_cv_func__modf_use=yes
63881 else
63882 glibcxx_cv_func__modf_use=no
63884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63885 ac_ext=c
63886 ac_cpp='$CPP $CPPFLAGS'
63887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63896 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63898 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63899 for ac_func in _modf
63900 do :
63901 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63902 if test "x$ac_cv_func__modf" = xyes; then :
63903 cat >>confdefs.h <<_ACEOF
63904 #define HAVE__MODF 1
63905 _ACEOF
63908 done
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63918 $as_echo_n "checking for powf declaration... " >&6; }
63919 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63920 if ${glibcxx_cv_func_powf_use+:} false; then :
63921 $as_echo_n "(cached) " >&6
63922 else
63925 ac_ext=cpp
63926 ac_cpp='$CXXCPP $CPPFLAGS'
63927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63932 /* end confdefs.h. */
63933 #include <math.h>
63935 main ()
63937 powf(0, 0);
63939 return 0;
63941 _ACEOF
63942 if ac_fn_cxx_try_compile "$LINENO"; then :
63943 glibcxx_cv_func_powf_use=yes
63944 else
63945 glibcxx_cv_func_powf_use=no
63947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63948 ac_ext=c
63949 ac_cpp='$CPP $CPPFLAGS'
63950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63959 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63961 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63962 for ac_func in powf
63963 do :
63964 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63965 if test "x$ac_cv_func_powf" = xyes; then :
63966 cat >>confdefs.h <<_ACEOF
63967 #define HAVE_POWF 1
63968 _ACEOF
63971 done
63973 else
63975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63976 $as_echo_n "checking for _powf declaration... " >&6; }
63977 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63978 if ${glibcxx_cv_func__powf_use+:} false; then :
63979 $as_echo_n "(cached) " >&6
63980 else
63983 ac_ext=cpp
63984 ac_cpp='$CXXCPP $CPPFLAGS'
63985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63990 /* end confdefs.h. */
63991 #include <math.h>
63993 main ()
63995 _powf(0, 0);
63997 return 0;
63999 _ACEOF
64000 if ac_fn_cxx_try_compile "$LINENO"; then :
64001 glibcxx_cv_func__powf_use=yes
64002 else
64003 glibcxx_cv_func__powf_use=no
64005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64006 ac_ext=c
64007 ac_cpp='$CPP $CPPFLAGS'
64008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64017 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64019 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64020 for ac_func in _powf
64021 do :
64022 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64023 if test "x$ac_cv_func__powf" = xyes; then :
64024 cat >>confdefs.h <<_ACEOF
64025 #define HAVE__POWF 1
64026 _ACEOF
64029 done
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64039 $as_echo_n "checking for sqrtf declaration... " >&6; }
64040 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64041 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64042 $as_echo_n "(cached) " >&6
64043 else
64046 ac_ext=cpp
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64053 /* end confdefs.h. */
64054 #include <math.h>
64055 #ifdef HAVE_IEEEFP_H
64056 #include <ieeefp.h>
64057 #endif
64060 main ()
64062 sqrtf(0);
64064 return 0;
64066 _ACEOF
64067 if ac_fn_cxx_try_compile "$LINENO"; then :
64068 glibcxx_cv_func_sqrtf_use=yes
64069 else
64070 glibcxx_cv_func_sqrtf_use=no
64072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64073 ac_ext=c
64074 ac_cpp='$CPP $CPPFLAGS'
64075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64084 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64086 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64087 for ac_func in sqrtf
64088 do :
64089 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64090 if test "x$ac_cv_func_sqrtf" = xyes; then :
64091 cat >>confdefs.h <<_ACEOF
64092 #define HAVE_SQRTF 1
64093 _ACEOF
64096 done
64098 else
64100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64101 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64102 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64103 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64104 $as_echo_n "(cached) " >&6
64105 else
64108 ac_ext=cpp
64109 ac_cpp='$CXXCPP $CPPFLAGS'
64110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64115 /* end confdefs.h. */
64116 #include <math.h>
64117 #ifdef HAVE_IEEEFP_H
64118 #include <ieeefp.h>
64119 #endif
64122 main ()
64124 _sqrtf(0);
64126 return 0;
64128 _ACEOF
64129 if ac_fn_cxx_try_compile "$LINENO"; then :
64130 glibcxx_cv_func__sqrtf_use=yes
64131 else
64132 glibcxx_cv_func__sqrtf_use=no
64134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64135 ac_ext=c
64136 ac_cpp='$CPP $CPPFLAGS'
64137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64146 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64148 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64149 for ac_func in _sqrtf
64150 do :
64151 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64152 if test "x$ac_cv_func__sqrtf" = xyes; then :
64153 cat >>confdefs.h <<_ACEOF
64154 #define HAVE__SQRTF 1
64155 _ACEOF
64158 done
64167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64168 $as_echo_n "checking for sincosf declaration... " >&6; }
64169 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64170 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64171 $as_echo_n "(cached) " >&6
64172 else
64175 ac_ext=cpp
64176 ac_cpp='$CXXCPP $CPPFLAGS'
64177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64182 /* end confdefs.h. */
64183 #include <math.h>
64185 main ()
64187 sincosf(0, 0, 0);
64189 return 0;
64191 _ACEOF
64192 if ac_fn_cxx_try_compile "$LINENO"; then :
64193 glibcxx_cv_func_sincosf_use=yes
64194 else
64195 glibcxx_cv_func_sincosf_use=no
64197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64198 ac_ext=c
64199 ac_cpp='$CPP $CPPFLAGS'
64200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64209 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64211 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64212 for ac_func in sincosf
64213 do :
64214 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64215 if test "x$ac_cv_func_sincosf" = xyes; then :
64216 cat >>confdefs.h <<_ACEOF
64217 #define HAVE_SINCOSF 1
64218 _ACEOF
64221 done
64223 else
64225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64226 $as_echo_n "checking for _sincosf declaration... " >&6; }
64227 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64228 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64229 $as_echo_n "(cached) " >&6
64230 else
64233 ac_ext=cpp
64234 ac_cpp='$CXXCPP $CPPFLAGS'
64235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64240 /* end confdefs.h. */
64241 #include <math.h>
64243 main ()
64245 _sincosf(0, 0, 0);
64247 return 0;
64249 _ACEOF
64250 if ac_fn_cxx_try_compile "$LINENO"; then :
64251 glibcxx_cv_func__sincosf_use=yes
64252 else
64253 glibcxx_cv_func__sincosf_use=no
64255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64256 ac_ext=c
64257 ac_cpp='$CPP $CPPFLAGS'
64258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64267 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64269 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64270 for ac_func in _sincosf
64271 do :
64272 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64273 if test "x$ac_cv_func__sincosf" = xyes; then :
64274 cat >>confdefs.h <<_ACEOF
64275 #define HAVE__SINCOSF 1
64276 _ACEOF
64279 done
64288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64289 $as_echo_n "checking for finitef declaration... " >&6; }
64290 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64291 if ${glibcxx_cv_func_finitef_use+:} false; then :
64292 $as_echo_n "(cached) " >&6
64293 else
64296 ac_ext=cpp
64297 ac_cpp='$CXXCPP $CPPFLAGS'
64298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64303 /* end confdefs.h. */
64304 #include <math.h>
64305 #ifdef HAVE_IEEEFP_H
64306 #include <ieeefp.h>
64307 #endif
64310 main ()
64312 finitef(0);
64314 return 0;
64316 _ACEOF
64317 if ac_fn_cxx_try_compile "$LINENO"; then :
64318 glibcxx_cv_func_finitef_use=yes
64319 else
64320 glibcxx_cv_func_finitef_use=no
64322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64323 ac_ext=c
64324 ac_cpp='$CPP $CPPFLAGS'
64325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64334 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64336 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64337 for ac_func in finitef
64338 do :
64339 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64340 if test "x$ac_cv_func_finitef" = xyes; then :
64341 cat >>confdefs.h <<_ACEOF
64342 #define HAVE_FINITEF 1
64343 _ACEOF
64346 done
64348 else
64350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64351 $as_echo_n "checking for _finitef declaration... " >&6; }
64352 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64353 if ${glibcxx_cv_func__finitef_use+:} false; then :
64354 $as_echo_n "(cached) " >&6
64355 else
64358 ac_ext=cpp
64359 ac_cpp='$CXXCPP $CPPFLAGS'
64360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64365 /* end confdefs.h. */
64366 #include <math.h>
64367 #ifdef HAVE_IEEEFP_H
64368 #include <ieeefp.h>
64369 #endif
64372 main ()
64374 _finitef(0);
64376 return 0;
64378 _ACEOF
64379 if ac_fn_cxx_try_compile "$LINENO"; then :
64380 glibcxx_cv_func__finitef_use=yes
64381 else
64382 glibcxx_cv_func__finitef_use=no
64384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64385 ac_ext=c
64386 ac_cpp='$CPP $CPPFLAGS'
64387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64396 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64398 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64399 for ac_func in _finitef
64400 do :
64401 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64402 if test "x$ac_cv_func__finitef" = xyes; then :
64403 cat >>confdefs.h <<_ACEOF
64404 #define HAVE__FINITEF 1
64405 _ACEOF
64408 done
64417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64418 $as_echo_n "checking for long double trig functions... " >&6; }
64419 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64420 $as_echo_n "(cached) " >&6
64421 else
64424 ac_ext=cpp
64425 ac_cpp='$CXXCPP $CPPFLAGS'
64426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64431 /* end confdefs.h. */
64432 #include <math.h>
64434 main ()
64436 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64438 return 0;
64440 _ACEOF
64441 if ac_fn_cxx_try_compile "$LINENO"; then :
64442 glibcxx_cv_func_long_double_trig_use=yes
64443 else
64444 glibcxx_cv_func_long_double_trig_use=no
64446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64447 ac_ext=c
64448 ac_cpp='$CPP $CPPFLAGS'
64449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64456 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64457 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64458 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64459 do :
64460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64463 cat >>confdefs.h <<_ACEOF
64464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64465 _ACEOF
64468 done
64470 else
64471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64472 $as_echo_n "checking for _long double trig functions... " >&6; }
64473 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64474 $as_echo_n "(cached) " >&6
64475 else
64478 ac_ext=cpp
64479 ac_cpp='$CXXCPP $CPPFLAGS'
64480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64485 /* end confdefs.h. */
64486 #include <math.h>
64488 main ()
64490 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64492 return 0;
64494 _ACEOF
64495 if ac_fn_cxx_try_compile "$LINENO"; then :
64496 glibcxx_cv_func__long_double_trig_use=yes
64497 else
64498 glibcxx_cv_func__long_double_trig_use=no
64500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64501 ac_ext=c
64502 ac_cpp='$CPP $CPPFLAGS'
64503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64510 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64511 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64512 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64513 do :
64514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64517 cat >>confdefs.h <<_ACEOF
64518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64519 _ACEOF
64522 done
64531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64532 $as_echo_n "checking for long double round functions... " >&6; }
64533 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64534 $as_echo_n "(cached) " >&6
64535 else
64538 ac_ext=cpp
64539 ac_cpp='$CXXCPP $CPPFLAGS'
64540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64545 /* end confdefs.h. */
64546 #include <math.h>
64548 main ()
64550 ceill (0); floorl (0);
64552 return 0;
64554 _ACEOF
64555 if ac_fn_cxx_try_compile "$LINENO"; then :
64556 glibcxx_cv_func_long_double_round_use=yes
64557 else
64558 glibcxx_cv_func_long_double_round_use=no
64560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64561 ac_ext=c
64562 ac_cpp='$CPP $CPPFLAGS'
64563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64570 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64571 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64572 for ac_func in ceill floorl
64573 do :
64574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64577 cat >>confdefs.h <<_ACEOF
64578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64579 _ACEOF
64582 done
64584 else
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64586 $as_echo_n "checking for _long double round functions... " >&6; }
64587 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64588 $as_echo_n "(cached) " >&6
64589 else
64592 ac_ext=cpp
64593 ac_cpp='$CXXCPP $CPPFLAGS'
64594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64599 /* end confdefs.h. */
64600 #include <math.h>
64602 main ()
64604 _ceill (0); _floorl (0);
64606 return 0;
64608 _ACEOF
64609 if ac_fn_cxx_try_compile "$LINENO"; then :
64610 glibcxx_cv_func__long_double_round_use=yes
64611 else
64612 glibcxx_cv_func__long_double_round_use=no
64614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64615 ac_ext=c
64616 ac_cpp='$CPP $CPPFLAGS'
64617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64624 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64625 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64626 for ac_func in _ceill _floorl
64627 do :
64628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64630 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64631 cat >>confdefs.h <<_ACEOF
64632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64633 _ACEOF
64636 done
64646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64647 $as_echo_n "checking for isnanl declaration... " >&6; }
64648 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64649 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64650 $as_echo_n "(cached) " >&6
64651 else
64654 ac_ext=cpp
64655 ac_cpp='$CXXCPP $CPPFLAGS'
64656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64661 /* end confdefs.h. */
64662 #include <math.h>
64663 #ifdef HAVE_IEEEFP_H
64664 #include <ieeefp.h>
64665 #endif
64668 main ()
64670 isnanl(0);
64672 return 0;
64674 _ACEOF
64675 if ac_fn_cxx_try_compile "$LINENO"; then :
64676 glibcxx_cv_func_isnanl_use=yes
64677 else
64678 glibcxx_cv_func_isnanl_use=no
64680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64681 ac_ext=c
64682 ac_cpp='$CPP $CPPFLAGS'
64683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64692 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64694 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64695 for ac_func in isnanl
64696 do :
64697 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64698 if test "x$ac_cv_func_isnanl" = xyes; then :
64699 cat >>confdefs.h <<_ACEOF
64700 #define HAVE_ISNANL 1
64701 _ACEOF
64704 done
64706 else
64708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64709 $as_echo_n "checking for _isnanl declaration... " >&6; }
64710 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64711 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64712 $as_echo_n "(cached) " >&6
64713 else
64716 ac_ext=cpp
64717 ac_cpp='$CXXCPP $CPPFLAGS'
64718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64723 /* end confdefs.h. */
64724 #include <math.h>
64725 #ifdef HAVE_IEEEFP_H
64726 #include <ieeefp.h>
64727 #endif
64730 main ()
64732 _isnanl(0);
64734 return 0;
64736 _ACEOF
64737 if ac_fn_cxx_try_compile "$LINENO"; then :
64738 glibcxx_cv_func__isnanl_use=yes
64739 else
64740 glibcxx_cv_func__isnanl_use=no
64742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64743 ac_ext=c
64744 ac_cpp='$CPP $CPPFLAGS'
64745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64754 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64756 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64757 for ac_func in _isnanl
64758 do :
64759 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64760 if test "x$ac_cv_func__isnanl" = xyes; then :
64761 cat >>confdefs.h <<_ACEOF
64762 #define HAVE__ISNANL 1
64763 _ACEOF
64766 done
64775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64776 $as_echo_n "checking for isinfl declaration... " >&6; }
64777 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64778 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64779 $as_echo_n "(cached) " >&6
64780 else
64783 ac_ext=cpp
64784 ac_cpp='$CXXCPP $CPPFLAGS'
64785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64790 /* end confdefs.h. */
64791 #include <math.h>
64792 #ifdef HAVE_IEEEFP_H
64793 #include <ieeefp.h>
64794 #endif
64797 main ()
64799 isinfl(0);
64801 return 0;
64803 _ACEOF
64804 if ac_fn_cxx_try_compile "$LINENO"; then :
64805 glibcxx_cv_func_isinfl_use=yes
64806 else
64807 glibcxx_cv_func_isinfl_use=no
64809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64810 ac_ext=c
64811 ac_cpp='$CPP $CPPFLAGS'
64812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64821 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64823 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64824 for ac_func in isinfl
64825 do :
64826 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64827 if test "x$ac_cv_func_isinfl" = xyes; then :
64828 cat >>confdefs.h <<_ACEOF
64829 #define HAVE_ISINFL 1
64830 _ACEOF
64833 done
64835 else
64837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64838 $as_echo_n "checking for _isinfl declaration... " >&6; }
64839 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64840 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64841 $as_echo_n "(cached) " >&6
64842 else
64845 ac_ext=cpp
64846 ac_cpp='$CXXCPP $CPPFLAGS'
64847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64852 /* end confdefs.h. */
64853 #include <math.h>
64854 #ifdef HAVE_IEEEFP_H
64855 #include <ieeefp.h>
64856 #endif
64859 main ()
64861 _isinfl(0);
64863 return 0;
64865 _ACEOF
64866 if ac_fn_cxx_try_compile "$LINENO"; then :
64867 glibcxx_cv_func__isinfl_use=yes
64868 else
64869 glibcxx_cv_func__isinfl_use=no
64871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64872 ac_ext=c
64873 ac_cpp='$CPP $CPPFLAGS'
64874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64883 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64885 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64886 for ac_func in _isinfl
64887 do :
64888 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64889 if test "x$ac_cv_func__isinfl" = xyes; then :
64890 cat >>confdefs.h <<_ACEOF
64891 #define HAVE__ISINFL 1
64892 _ACEOF
64895 done
64904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64905 $as_echo_n "checking for atan2l declaration... " >&6; }
64906 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64907 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64908 $as_echo_n "(cached) " >&6
64909 else
64912 ac_ext=cpp
64913 ac_cpp='$CXXCPP $CPPFLAGS'
64914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64919 /* end confdefs.h. */
64920 #include <math.h>
64922 main ()
64924 atan2l(0, 0);
64926 return 0;
64928 _ACEOF
64929 if ac_fn_cxx_try_compile "$LINENO"; then :
64930 glibcxx_cv_func_atan2l_use=yes
64931 else
64932 glibcxx_cv_func_atan2l_use=no
64934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64935 ac_ext=c
64936 ac_cpp='$CPP $CPPFLAGS'
64937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64946 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64948 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64949 for ac_func in atan2l
64950 do :
64951 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64952 if test "x$ac_cv_func_atan2l" = xyes; then :
64953 cat >>confdefs.h <<_ACEOF
64954 #define HAVE_ATAN2L 1
64955 _ACEOF
64958 done
64960 else
64962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64963 $as_echo_n "checking for _atan2l declaration... " >&6; }
64964 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64965 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64966 $as_echo_n "(cached) " >&6
64967 else
64970 ac_ext=cpp
64971 ac_cpp='$CXXCPP $CPPFLAGS'
64972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64977 /* end confdefs.h. */
64978 #include <math.h>
64980 main ()
64982 _atan2l(0, 0);
64984 return 0;
64986 _ACEOF
64987 if ac_fn_cxx_try_compile "$LINENO"; then :
64988 glibcxx_cv_func__atan2l_use=yes
64989 else
64990 glibcxx_cv_func__atan2l_use=no
64992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64993 ac_ext=c
64994 ac_cpp='$CPP $CPPFLAGS'
64995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65004 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65006 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65007 for ac_func in _atan2l
65008 do :
65009 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65010 if test "x$ac_cv_func__atan2l" = xyes; then :
65011 cat >>confdefs.h <<_ACEOF
65012 #define HAVE__ATAN2L 1
65013 _ACEOF
65016 done
65025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65026 $as_echo_n "checking for expl declaration... " >&6; }
65027 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65028 if ${glibcxx_cv_func_expl_use+:} false; then :
65029 $as_echo_n "(cached) " >&6
65030 else
65033 ac_ext=cpp
65034 ac_cpp='$CXXCPP $CPPFLAGS'
65035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65040 /* end confdefs.h. */
65041 #include <math.h>
65042 #ifdef HAVE_IEEEFP_H
65043 #include <ieeefp.h>
65044 #endif
65047 main ()
65049 expl(0);
65051 return 0;
65053 _ACEOF
65054 if ac_fn_cxx_try_compile "$LINENO"; then :
65055 glibcxx_cv_func_expl_use=yes
65056 else
65057 glibcxx_cv_func_expl_use=no
65059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65060 ac_ext=c
65061 ac_cpp='$CPP $CPPFLAGS'
65062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65071 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65073 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65074 for ac_func in expl
65075 do :
65076 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65077 if test "x$ac_cv_func_expl" = xyes; then :
65078 cat >>confdefs.h <<_ACEOF
65079 #define HAVE_EXPL 1
65080 _ACEOF
65083 done
65085 else
65087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65088 $as_echo_n "checking for _expl declaration... " >&6; }
65089 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65090 if ${glibcxx_cv_func__expl_use+:} false; then :
65091 $as_echo_n "(cached) " >&6
65092 else
65095 ac_ext=cpp
65096 ac_cpp='$CXXCPP $CPPFLAGS'
65097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65102 /* end confdefs.h. */
65103 #include <math.h>
65104 #ifdef HAVE_IEEEFP_H
65105 #include <ieeefp.h>
65106 #endif
65109 main ()
65111 _expl(0);
65113 return 0;
65115 _ACEOF
65116 if ac_fn_cxx_try_compile "$LINENO"; then :
65117 glibcxx_cv_func__expl_use=yes
65118 else
65119 glibcxx_cv_func__expl_use=no
65121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65122 ac_ext=c
65123 ac_cpp='$CPP $CPPFLAGS'
65124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65133 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65135 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65136 for ac_func in _expl
65137 do :
65138 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65139 if test "x$ac_cv_func__expl" = xyes; then :
65140 cat >>confdefs.h <<_ACEOF
65141 #define HAVE__EXPL 1
65142 _ACEOF
65145 done
65154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65155 $as_echo_n "checking for fabsl declaration... " >&6; }
65156 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65157 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65158 $as_echo_n "(cached) " >&6
65159 else
65162 ac_ext=cpp
65163 ac_cpp='$CXXCPP $CPPFLAGS'
65164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65169 /* end confdefs.h. */
65170 #include <math.h>
65171 #ifdef HAVE_IEEEFP_H
65172 #include <ieeefp.h>
65173 #endif
65176 main ()
65178 fabsl(0);
65180 return 0;
65182 _ACEOF
65183 if ac_fn_cxx_try_compile "$LINENO"; then :
65184 glibcxx_cv_func_fabsl_use=yes
65185 else
65186 glibcxx_cv_func_fabsl_use=no
65188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65189 ac_ext=c
65190 ac_cpp='$CPP $CPPFLAGS'
65191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65200 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65202 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65203 for ac_func in fabsl
65204 do :
65205 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65206 if test "x$ac_cv_func_fabsl" = xyes; then :
65207 cat >>confdefs.h <<_ACEOF
65208 #define HAVE_FABSL 1
65209 _ACEOF
65212 done
65214 else
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65217 $as_echo_n "checking for _fabsl declaration... " >&6; }
65218 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65219 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65220 $as_echo_n "(cached) " >&6
65221 else
65224 ac_ext=cpp
65225 ac_cpp='$CXXCPP $CPPFLAGS'
65226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65231 /* end confdefs.h. */
65232 #include <math.h>
65233 #ifdef HAVE_IEEEFP_H
65234 #include <ieeefp.h>
65235 #endif
65238 main ()
65240 _fabsl(0);
65242 return 0;
65244 _ACEOF
65245 if ac_fn_cxx_try_compile "$LINENO"; then :
65246 glibcxx_cv_func__fabsl_use=yes
65247 else
65248 glibcxx_cv_func__fabsl_use=no
65250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65251 ac_ext=c
65252 ac_cpp='$CPP $CPPFLAGS'
65253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65262 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65264 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65265 for ac_func in _fabsl
65266 do :
65267 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65268 if test "x$ac_cv_func__fabsl" = xyes; then :
65269 cat >>confdefs.h <<_ACEOF
65270 #define HAVE__FABSL 1
65271 _ACEOF
65274 done
65283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65284 $as_echo_n "checking for fmodl declaration... " >&6; }
65285 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65286 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65287 $as_echo_n "(cached) " >&6
65288 else
65291 ac_ext=cpp
65292 ac_cpp='$CXXCPP $CPPFLAGS'
65293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65298 /* end confdefs.h. */
65299 #include <math.h>
65301 main ()
65303 fmodl(0, 0);
65305 return 0;
65307 _ACEOF
65308 if ac_fn_cxx_try_compile "$LINENO"; then :
65309 glibcxx_cv_func_fmodl_use=yes
65310 else
65311 glibcxx_cv_func_fmodl_use=no
65313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65314 ac_ext=c
65315 ac_cpp='$CPP $CPPFLAGS'
65316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65325 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65327 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65328 for ac_func in fmodl
65329 do :
65330 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65331 if test "x$ac_cv_func_fmodl" = xyes; then :
65332 cat >>confdefs.h <<_ACEOF
65333 #define HAVE_FMODL 1
65334 _ACEOF
65337 done
65339 else
65341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65342 $as_echo_n "checking for _fmodl declaration... " >&6; }
65343 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65344 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65345 $as_echo_n "(cached) " >&6
65346 else
65349 ac_ext=cpp
65350 ac_cpp='$CXXCPP $CPPFLAGS'
65351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65356 /* end confdefs.h. */
65357 #include <math.h>
65359 main ()
65361 _fmodl(0, 0);
65363 return 0;
65365 _ACEOF
65366 if ac_fn_cxx_try_compile "$LINENO"; then :
65367 glibcxx_cv_func__fmodl_use=yes
65368 else
65369 glibcxx_cv_func__fmodl_use=no
65371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65372 ac_ext=c
65373 ac_cpp='$CPP $CPPFLAGS'
65374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65383 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65385 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65386 for ac_func in _fmodl
65387 do :
65388 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65389 if test "x$ac_cv_func__fmodl" = xyes; then :
65390 cat >>confdefs.h <<_ACEOF
65391 #define HAVE__FMODL 1
65392 _ACEOF
65395 done
65404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65405 $as_echo_n "checking for frexpl declaration... " >&6; }
65406 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65407 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65408 $as_echo_n "(cached) " >&6
65409 else
65412 ac_ext=cpp
65413 ac_cpp='$CXXCPP $CPPFLAGS'
65414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65419 /* end confdefs.h. */
65420 #include <math.h>
65422 main ()
65424 frexpl(0, 0);
65426 return 0;
65428 _ACEOF
65429 if ac_fn_cxx_try_compile "$LINENO"; then :
65430 glibcxx_cv_func_frexpl_use=yes
65431 else
65432 glibcxx_cv_func_frexpl_use=no
65434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65435 ac_ext=c
65436 ac_cpp='$CPP $CPPFLAGS'
65437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65446 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65448 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65449 for ac_func in frexpl
65450 do :
65451 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65452 if test "x$ac_cv_func_frexpl" = xyes; then :
65453 cat >>confdefs.h <<_ACEOF
65454 #define HAVE_FREXPL 1
65455 _ACEOF
65458 done
65460 else
65462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65463 $as_echo_n "checking for _frexpl declaration... " >&6; }
65464 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65465 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65466 $as_echo_n "(cached) " >&6
65467 else
65470 ac_ext=cpp
65471 ac_cpp='$CXXCPP $CPPFLAGS'
65472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65477 /* end confdefs.h. */
65478 #include <math.h>
65480 main ()
65482 _frexpl(0, 0);
65484 return 0;
65486 _ACEOF
65487 if ac_fn_cxx_try_compile "$LINENO"; then :
65488 glibcxx_cv_func__frexpl_use=yes
65489 else
65490 glibcxx_cv_func__frexpl_use=no
65492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65493 ac_ext=c
65494 ac_cpp='$CPP $CPPFLAGS'
65495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65504 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65506 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65507 for ac_func in _frexpl
65508 do :
65509 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65510 if test "x$ac_cv_func__frexpl" = xyes; then :
65511 cat >>confdefs.h <<_ACEOF
65512 #define HAVE__FREXPL 1
65513 _ACEOF
65516 done
65525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65526 $as_echo_n "checking for hypotl declaration... " >&6; }
65527 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65528 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65529 $as_echo_n "(cached) " >&6
65530 else
65533 ac_ext=cpp
65534 ac_cpp='$CXXCPP $CPPFLAGS'
65535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65540 /* end confdefs.h. */
65541 #include <math.h>
65543 main ()
65545 hypotl(0, 0);
65547 return 0;
65549 _ACEOF
65550 if ac_fn_cxx_try_compile "$LINENO"; then :
65551 glibcxx_cv_func_hypotl_use=yes
65552 else
65553 glibcxx_cv_func_hypotl_use=no
65555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65556 ac_ext=c
65557 ac_cpp='$CPP $CPPFLAGS'
65558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65567 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65569 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65570 for ac_func in hypotl
65571 do :
65572 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65573 if test "x$ac_cv_func_hypotl" = xyes; then :
65574 cat >>confdefs.h <<_ACEOF
65575 #define HAVE_HYPOTL 1
65576 _ACEOF
65579 done
65581 else
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65584 $as_echo_n "checking for _hypotl declaration... " >&6; }
65585 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65586 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65587 $as_echo_n "(cached) " >&6
65588 else
65591 ac_ext=cpp
65592 ac_cpp='$CXXCPP $CPPFLAGS'
65593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65598 /* end confdefs.h. */
65599 #include <math.h>
65601 main ()
65603 _hypotl(0, 0);
65605 return 0;
65607 _ACEOF
65608 if ac_fn_cxx_try_compile "$LINENO"; then :
65609 glibcxx_cv_func__hypotl_use=yes
65610 else
65611 glibcxx_cv_func__hypotl_use=no
65613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65614 ac_ext=c
65615 ac_cpp='$CPP $CPPFLAGS'
65616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65625 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65627 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65628 for ac_func in _hypotl
65629 do :
65630 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65631 if test "x$ac_cv_func__hypotl" = xyes; then :
65632 cat >>confdefs.h <<_ACEOF
65633 #define HAVE__HYPOTL 1
65634 _ACEOF
65637 done
65646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65647 $as_echo_n "checking for ldexpl declaration... " >&6; }
65648 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65649 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65650 $as_echo_n "(cached) " >&6
65651 else
65654 ac_ext=cpp
65655 ac_cpp='$CXXCPP $CPPFLAGS'
65656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65661 /* end confdefs.h. */
65662 #include <math.h>
65664 main ()
65666 ldexpl(0, 0);
65668 return 0;
65670 _ACEOF
65671 if ac_fn_cxx_try_compile "$LINENO"; then :
65672 glibcxx_cv_func_ldexpl_use=yes
65673 else
65674 glibcxx_cv_func_ldexpl_use=no
65676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65677 ac_ext=c
65678 ac_cpp='$CPP $CPPFLAGS'
65679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65688 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65690 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65691 for ac_func in ldexpl
65692 do :
65693 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65694 if test "x$ac_cv_func_ldexpl" = xyes; then :
65695 cat >>confdefs.h <<_ACEOF
65696 #define HAVE_LDEXPL 1
65697 _ACEOF
65700 done
65702 else
65704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65705 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65706 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65707 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65708 $as_echo_n "(cached) " >&6
65709 else
65712 ac_ext=cpp
65713 ac_cpp='$CXXCPP $CPPFLAGS'
65714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65719 /* end confdefs.h. */
65720 #include <math.h>
65722 main ()
65724 _ldexpl(0, 0);
65726 return 0;
65728 _ACEOF
65729 if ac_fn_cxx_try_compile "$LINENO"; then :
65730 glibcxx_cv_func__ldexpl_use=yes
65731 else
65732 glibcxx_cv_func__ldexpl_use=no
65734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65735 ac_ext=c
65736 ac_cpp='$CPP $CPPFLAGS'
65737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65746 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65748 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65749 for ac_func in _ldexpl
65750 do :
65751 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65752 if test "x$ac_cv_func__ldexpl" = xyes; then :
65753 cat >>confdefs.h <<_ACEOF
65754 #define HAVE__LDEXPL 1
65755 _ACEOF
65758 done
65767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65768 $as_echo_n "checking for logl declaration... " >&6; }
65769 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65770 if ${glibcxx_cv_func_logl_use+:} false; then :
65771 $as_echo_n "(cached) " >&6
65772 else
65775 ac_ext=cpp
65776 ac_cpp='$CXXCPP $CPPFLAGS'
65777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65782 /* end confdefs.h. */
65783 #include <math.h>
65784 #ifdef HAVE_IEEEFP_H
65785 #include <ieeefp.h>
65786 #endif
65789 main ()
65791 logl(0);
65793 return 0;
65795 _ACEOF
65796 if ac_fn_cxx_try_compile "$LINENO"; then :
65797 glibcxx_cv_func_logl_use=yes
65798 else
65799 glibcxx_cv_func_logl_use=no
65801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65802 ac_ext=c
65803 ac_cpp='$CPP $CPPFLAGS'
65804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65813 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65815 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65816 for ac_func in logl
65817 do :
65818 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65819 if test "x$ac_cv_func_logl" = xyes; then :
65820 cat >>confdefs.h <<_ACEOF
65821 #define HAVE_LOGL 1
65822 _ACEOF
65825 done
65827 else
65829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65830 $as_echo_n "checking for _logl declaration... " >&6; }
65831 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65832 if ${glibcxx_cv_func__logl_use+:} false; then :
65833 $as_echo_n "(cached) " >&6
65834 else
65837 ac_ext=cpp
65838 ac_cpp='$CXXCPP $CPPFLAGS'
65839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65844 /* end confdefs.h. */
65845 #include <math.h>
65846 #ifdef HAVE_IEEEFP_H
65847 #include <ieeefp.h>
65848 #endif
65851 main ()
65853 _logl(0);
65855 return 0;
65857 _ACEOF
65858 if ac_fn_cxx_try_compile "$LINENO"; then :
65859 glibcxx_cv_func__logl_use=yes
65860 else
65861 glibcxx_cv_func__logl_use=no
65863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65864 ac_ext=c
65865 ac_cpp='$CPP $CPPFLAGS'
65866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65875 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65877 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65878 for ac_func in _logl
65879 do :
65880 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65881 if test "x$ac_cv_func__logl" = xyes; then :
65882 cat >>confdefs.h <<_ACEOF
65883 #define HAVE__LOGL 1
65884 _ACEOF
65887 done
65896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65897 $as_echo_n "checking for log10l declaration... " >&6; }
65898 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65899 if ${glibcxx_cv_func_log10l_use+:} false; then :
65900 $as_echo_n "(cached) " >&6
65901 else
65904 ac_ext=cpp
65905 ac_cpp='$CXXCPP $CPPFLAGS'
65906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65911 /* end confdefs.h. */
65912 #include <math.h>
65913 #ifdef HAVE_IEEEFP_H
65914 #include <ieeefp.h>
65915 #endif
65918 main ()
65920 log10l(0);
65922 return 0;
65924 _ACEOF
65925 if ac_fn_cxx_try_compile "$LINENO"; then :
65926 glibcxx_cv_func_log10l_use=yes
65927 else
65928 glibcxx_cv_func_log10l_use=no
65930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65931 ac_ext=c
65932 ac_cpp='$CPP $CPPFLAGS'
65933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65942 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65944 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65945 for ac_func in log10l
65946 do :
65947 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65948 if test "x$ac_cv_func_log10l" = xyes; then :
65949 cat >>confdefs.h <<_ACEOF
65950 #define HAVE_LOG10L 1
65951 _ACEOF
65954 done
65956 else
65958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65959 $as_echo_n "checking for _log10l declaration... " >&6; }
65960 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65961 if ${glibcxx_cv_func__log10l_use+:} false; then :
65962 $as_echo_n "(cached) " >&6
65963 else
65966 ac_ext=cpp
65967 ac_cpp='$CXXCPP $CPPFLAGS'
65968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65973 /* end confdefs.h. */
65974 #include <math.h>
65975 #ifdef HAVE_IEEEFP_H
65976 #include <ieeefp.h>
65977 #endif
65980 main ()
65982 _log10l(0);
65984 return 0;
65986 _ACEOF
65987 if ac_fn_cxx_try_compile "$LINENO"; then :
65988 glibcxx_cv_func__log10l_use=yes
65989 else
65990 glibcxx_cv_func__log10l_use=no
65992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65993 ac_ext=c
65994 ac_cpp='$CPP $CPPFLAGS'
65995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66004 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66006 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66007 for ac_func in _log10l
66008 do :
66009 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66010 if test "x$ac_cv_func__log10l" = xyes; then :
66011 cat >>confdefs.h <<_ACEOF
66012 #define HAVE__LOG10L 1
66013 _ACEOF
66016 done
66025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66026 $as_echo_n "checking for modfl declaration... " >&6; }
66027 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66028 if ${glibcxx_cv_func_modfl_use+:} false; then :
66029 $as_echo_n "(cached) " >&6
66030 else
66033 ac_ext=cpp
66034 ac_cpp='$CXXCPP $CPPFLAGS'
66035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66040 /* end confdefs.h. */
66041 #include <math.h>
66043 main ()
66045 modfl(0, 0);
66047 return 0;
66049 _ACEOF
66050 if ac_fn_cxx_try_compile "$LINENO"; then :
66051 glibcxx_cv_func_modfl_use=yes
66052 else
66053 glibcxx_cv_func_modfl_use=no
66055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66056 ac_ext=c
66057 ac_cpp='$CPP $CPPFLAGS'
66058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66067 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66069 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66070 for ac_func in modfl
66071 do :
66072 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66073 if test "x$ac_cv_func_modfl" = xyes; then :
66074 cat >>confdefs.h <<_ACEOF
66075 #define HAVE_MODFL 1
66076 _ACEOF
66079 done
66081 else
66083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66084 $as_echo_n "checking for _modfl declaration... " >&6; }
66085 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66086 if ${glibcxx_cv_func__modfl_use+:} false; then :
66087 $as_echo_n "(cached) " >&6
66088 else
66091 ac_ext=cpp
66092 ac_cpp='$CXXCPP $CPPFLAGS'
66093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66098 /* end confdefs.h. */
66099 #include <math.h>
66101 main ()
66103 _modfl(0, 0);
66105 return 0;
66107 _ACEOF
66108 if ac_fn_cxx_try_compile "$LINENO"; then :
66109 glibcxx_cv_func__modfl_use=yes
66110 else
66111 glibcxx_cv_func__modfl_use=no
66113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66114 ac_ext=c
66115 ac_cpp='$CPP $CPPFLAGS'
66116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66125 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66127 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66128 for ac_func in _modfl
66129 do :
66130 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66131 if test "x$ac_cv_func__modfl" = xyes; then :
66132 cat >>confdefs.h <<_ACEOF
66133 #define HAVE__MODFL 1
66134 _ACEOF
66137 done
66146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66147 $as_echo_n "checking for powl declaration... " >&6; }
66148 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66149 if ${glibcxx_cv_func_powl_use+:} false; then :
66150 $as_echo_n "(cached) " >&6
66151 else
66154 ac_ext=cpp
66155 ac_cpp='$CXXCPP $CPPFLAGS'
66156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66161 /* end confdefs.h. */
66162 #include <math.h>
66164 main ()
66166 powl(0, 0);
66168 return 0;
66170 _ACEOF
66171 if ac_fn_cxx_try_compile "$LINENO"; then :
66172 glibcxx_cv_func_powl_use=yes
66173 else
66174 glibcxx_cv_func_powl_use=no
66176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66177 ac_ext=c
66178 ac_cpp='$CPP $CPPFLAGS'
66179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66188 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66190 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66191 for ac_func in powl
66192 do :
66193 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66194 if test "x$ac_cv_func_powl" = xyes; then :
66195 cat >>confdefs.h <<_ACEOF
66196 #define HAVE_POWL 1
66197 _ACEOF
66200 done
66202 else
66204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66205 $as_echo_n "checking for _powl declaration... " >&6; }
66206 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66207 if ${glibcxx_cv_func__powl_use+:} false; then :
66208 $as_echo_n "(cached) " >&6
66209 else
66212 ac_ext=cpp
66213 ac_cpp='$CXXCPP $CPPFLAGS'
66214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66219 /* end confdefs.h. */
66220 #include <math.h>
66222 main ()
66224 _powl(0, 0);
66226 return 0;
66228 _ACEOF
66229 if ac_fn_cxx_try_compile "$LINENO"; then :
66230 glibcxx_cv_func__powl_use=yes
66231 else
66232 glibcxx_cv_func__powl_use=no
66234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66235 ac_ext=c
66236 ac_cpp='$CPP $CPPFLAGS'
66237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66246 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66248 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66249 for ac_func in _powl
66250 do :
66251 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66252 if test "x$ac_cv_func__powl" = xyes; then :
66253 cat >>confdefs.h <<_ACEOF
66254 #define HAVE__POWL 1
66255 _ACEOF
66258 done
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66268 $as_echo_n "checking for sqrtl declaration... " >&6; }
66269 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66270 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66271 $as_echo_n "(cached) " >&6
66272 else
66275 ac_ext=cpp
66276 ac_cpp='$CXXCPP $CPPFLAGS'
66277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66282 /* end confdefs.h. */
66283 #include <math.h>
66284 #ifdef HAVE_IEEEFP_H
66285 #include <ieeefp.h>
66286 #endif
66289 main ()
66291 sqrtl(0);
66293 return 0;
66295 _ACEOF
66296 if ac_fn_cxx_try_compile "$LINENO"; then :
66297 glibcxx_cv_func_sqrtl_use=yes
66298 else
66299 glibcxx_cv_func_sqrtl_use=no
66301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66302 ac_ext=c
66303 ac_cpp='$CPP $CPPFLAGS'
66304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66313 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66315 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66316 for ac_func in sqrtl
66317 do :
66318 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66319 if test "x$ac_cv_func_sqrtl" = xyes; then :
66320 cat >>confdefs.h <<_ACEOF
66321 #define HAVE_SQRTL 1
66322 _ACEOF
66325 done
66327 else
66329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66330 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66331 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66332 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66333 $as_echo_n "(cached) " >&6
66334 else
66337 ac_ext=cpp
66338 ac_cpp='$CXXCPP $CPPFLAGS'
66339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66344 /* end confdefs.h. */
66345 #include <math.h>
66346 #ifdef HAVE_IEEEFP_H
66347 #include <ieeefp.h>
66348 #endif
66351 main ()
66353 _sqrtl(0);
66355 return 0;
66357 _ACEOF
66358 if ac_fn_cxx_try_compile "$LINENO"; then :
66359 glibcxx_cv_func__sqrtl_use=yes
66360 else
66361 glibcxx_cv_func__sqrtl_use=no
66363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66364 ac_ext=c
66365 ac_cpp='$CPP $CPPFLAGS'
66366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66375 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66377 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66378 for ac_func in _sqrtl
66379 do :
66380 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66381 if test "x$ac_cv_func__sqrtl" = xyes; then :
66382 cat >>confdefs.h <<_ACEOF
66383 #define HAVE__SQRTL 1
66384 _ACEOF
66387 done
66396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66397 $as_echo_n "checking for sincosl declaration... " >&6; }
66398 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66399 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66400 $as_echo_n "(cached) " >&6
66401 else
66404 ac_ext=cpp
66405 ac_cpp='$CXXCPP $CPPFLAGS'
66406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66411 /* end confdefs.h. */
66412 #include <math.h>
66414 main ()
66416 sincosl(0, 0, 0);
66418 return 0;
66420 _ACEOF
66421 if ac_fn_cxx_try_compile "$LINENO"; then :
66422 glibcxx_cv_func_sincosl_use=yes
66423 else
66424 glibcxx_cv_func_sincosl_use=no
66426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66427 ac_ext=c
66428 ac_cpp='$CPP $CPPFLAGS'
66429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66438 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66440 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66441 for ac_func in sincosl
66442 do :
66443 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66444 if test "x$ac_cv_func_sincosl" = xyes; then :
66445 cat >>confdefs.h <<_ACEOF
66446 #define HAVE_SINCOSL 1
66447 _ACEOF
66450 done
66452 else
66454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66455 $as_echo_n "checking for _sincosl declaration... " >&6; }
66456 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66457 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66458 $as_echo_n "(cached) " >&6
66459 else
66462 ac_ext=cpp
66463 ac_cpp='$CXXCPP $CPPFLAGS'
66464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66469 /* end confdefs.h. */
66470 #include <math.h>
66472 main ()
66474 _sincosl(0, 0, 0);
66476 return 0;
66478 _ACEOF
66479 if ac_fn_cxx_try_compile "$LINENO"; then :
66480 glibcxx_cv_func__sincosl_use=yes
66481 else
66482 glibcxx_cv_func__sincosl_use=no
66484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66485 ac_ext=c
66486 ac_cpp='$CPP $CPPFLAGS'
66487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66496 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66498 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66499 for ac_func in _sincosl
66500 do :
66501 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66502 if test "x$ac_cv_func__sincosl" = xyes; then :
66503 cat >>confdefs.h <<_ACEOF
66504 #define HAVE__SINCOSL 1
66505 _ACEOF
66508 done
66517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66518 $as_echo_n "checking for finitel declaration... " >&6; }
66519 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66520 if ${glibcxx_cv_func_finitel_use+:} false; then :
66521 $as_echo_n "(cached) " >&6
66522 else
66525 ac_ext=cpp
66526 ac_cpp='$CXXCPP $CPPFLAGS'
66527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66532 /* end confdefs.h. */
66533 #include <math.h>
66534 #ifdef HAVE_IEEEFP_H
66535 #include <ieeefp.h>
66536 #endif
66539 main ()
66541 finitel(0);
66543 return 0;
66545 _ACEOF
66546 if ac_fn_cxx_try_compile "$LINENO"; then :
66547 glibcxx_cv_func_finitel_use=yes
66548 else
66549 glibcxx_cv_func_finitel_use=no
66551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66552 ac_ext=c
66553 ac_cpp='$CPP $CPPFLAGS'
66554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66563 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66565 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66566 for ac_func in finitel
66567 do :
66568 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66569 if test "x$ac_cv_func_finitel" = xyes; then :
66570 cat >>confdefs.h <<_ACEOF
66571 #define HAVE_FINITEL 1
66572 _ACEOF
66575 done
66577 else
66579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66580 $as_echo_n "checking for _finitel declaration... " >&6; }
66581 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66582 if ${glibcxx_cv_func__finitel_use+:} false; then :
66583 $as_echo_n "(cached) " >&6
66584 else
66587 ac_ext=cpp
66588 ac_cpp='$CXXCPP $CPPFLAGS'
66589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66594 /* end confdefs.h. */
66595 #include <math.h>
66596 #ifdef HAVE_IEEEFP_H
66597 #include <ieeefp.h>
66598 #endif
66601 main ()
66603 _finitel(0);
66605 return 0;
66607 _ACEOF
66608 if ac_fn_cxx_try_compile "$LINENO"; then :
66609 glibcxx_cv_func__finitel_use=yes
66610 else
66611 glibcxx_cv_func__finitel_use=no
66613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66614 ac_ext=c
66615 ac_cpp='$CPP $CPPFLAGS'
66616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66625 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66627 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66628 for ac_func in _finitel
66629 do :
66630 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66631 if test "x$ac_cv_func__finitel" = xyes; then :
66632 cat >>confdefs.h <<_ACEOF
66633 #define HAVE__FINITEL 1
66634 _ACEOF
66637 done
66645 LIBS="$ac_save_LIBS"
66646 CXXFLAGS="$ac_save_CXXFLAGS"
66649 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66650 ac_save_CXXFLAGS="$CXXFLAGS"
66651 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66655 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66656 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66657 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66658 $as_echo_n "(cached) " >&6
66659 else
66662 ac_ext=cpp
66663 ac_cpp='$CXXCPP $CPPFLAGS'
66664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66669 /* end confdefs.h. */
66670 #include <stdlib.h>
66672 main ()
66674 at_quick_exit(0);
66676 return 0;
66678 _ACEOF
66679 if ac_fn_cxx_try_compile "$LINENO"; then :
66680 glibcxx_cv_func_at_quick_exit_use=yes
66681 else
66682 glibcxx_cv_func_at_quick_exit_use=no
66684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66685 ac_ext=c
66686 ac_cpp='$CPP $CPPFLAGS'
66687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66696 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66697 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66698 for ac_func in at_quick_exit
66699 do :
66700 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66701 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66702 cat >>confdefs.h <<_ACEOF
66703 #define HAVE_AT_QUICK_EXIT 1
66704 _ACEOF
66707 done
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66713 $as_echo_n "checking for quick_exit declaration... " >&6; }
66714 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66715 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66716 $as_echo_n "(cached) " >&6
66717 else
66720 ac_ext=cpp
66721 ac_cpp='$CXXCPP $CPPFLAGS'
66722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66727 /* end confdefs.h. */
66728 #include <stdlib.h>
66730 main ()
66732 quick_exit(0);
66734 return 0;
66736 _ACEOF
66737 if ac_fn_cxx_try_compile "$LINENO"; then :
66738 glibcxx_cv_func_quick_exit_use=yes
66739 else
66740 glibcxx_cv_func_quick_exit_use=no
66742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66743 ac_ext=c
66744 ac_cpp='$CPP $CPPFLAGS'
66745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66754 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66755 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66756 for ac_func in quick_exit
66757 do :
66758 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66759 if test "x$ac_cv_func_quick_exit" = xyes; then :
66760 cat >>confdefs.h <<_ACEOF
66761 #define HAVE_QUICK_EXIT 1
66762 _ACEOF
66765 done
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66771 $as_echo_n "checking for strtold declaration... " >&6; }
66772 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66773 if ${glibcxx_cv_func_strtold_use+:} false; then :
66774 $as_echo_n "(cached) " >&6
66775 else
66778 ac_ext=cpp
66779 ac_cpp='$CXXCPP $CPPFLAGS'
66780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66785 /* end confdefs.h. */
66786 #include <stdlib.h>
66788 main ()
66790 strtold(0, 0);
66792 return 0;
66794 _ACEOF
66795 if ac_fn_cxx_try_compile "$LINENO"; then :
66796 glibcxx_cv_func_strtold_use=yes
66797 else
66798 glibcxx_cv_func_strtold_use=no
66800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66801 ac_ext=c
66802 ac_cpp='$CPP $CPPFLAGS'
66803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66812 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66813 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66814 for ac_func in strtold
66815 do :
66816 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66817 if test "x$ac_cv_func_strtold" = xyes; then :
66818 cat >>confdefs.h <<_ACEOF
66819 #define HAVE_STRTOLD 1
66820 _ACEOF
66823 done
66830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66831 $as_echo_n "checking for strtof declaration... " >&6; }
66832 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66833 if ${glibcxx_cv_func_strtof_use+:} false; then :
66834 $as_echo_n "(cached) " >&6
66835 else
66838 ac_ext=cpp
66839 ac_cpp='$CXXCPP $CPPFLAGS'
66840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66845 /* end confdefs.h. */
66846 #include <stdlib.h>
66848 main ()
66850 strtof(0, 0);
66852 return 0;
66854 _ACEOF
66855 if ac_fn_cxx_try_compile "$LINENO"; then :
66856 glibcxx_cv_func_strtof_use=yes
66857 else
66858 glibcxx_cv_func_strtof_use=no
66860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66861 ac_ext=c
66862 ac_cpp='$CPP $CPPFLAGS'
66863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66872 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66873 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66874 for ac_func in strtof
66875 do :
66876 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66877 if test "x$ac_cv_func_strtof" = xyes; then :
66878 cat >>confdefs.h <<_ACEOF
66879 #define HAVE_STRTOF 1
66880 _ACEOF
66883 done
66890 CXXFLAGS="$ac_save_CXXFLAGS"
66893 *-tpf)
66894 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66895 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66897 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66899 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66901 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66903 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66905 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66907 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66909 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66911 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66913 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66915 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66917 if test x"long_double_math_on_this_cpu" = x"yes"; then
66918 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66920 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66922 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66924 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66928 *-*vms*)
66929 # Check for available headers.
66930 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66932 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66933 ac_save_CXXFLAGS="$CXXFLAGS"
66934 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66937 $as_echo_n "checking for sin in -lm... " >&6; }
66938 if ${ac_cv_lib_m_sin+:} false; then :
66939 $as_echo_n "(cached) " >&6
66940 else
66941 ac_check_lib_save_LIBS=$LIBS
66942 LIBS="-lm $LIBS"
66943 if test x$gcc_no_link = xyes; then
66944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66947 /* end confdefs.h. */
66949 /* Override any GCC internal prototype to avoid an error.
66950 Use char because int might match the return type of a GCC
66951 builtin and then its argument prototype would still apply. */
66952 #ifdef __cplusplus
66953 extern "C"
66954 #endif
66955 char sin ();
66957 main ()
66959 return sin ();
66961 return 0;
66963 _ACEOF
66964 if ac_fn_c_try_link "$LINENO"; then :
66965 ac_cv_lib_m_sin=yes
66966 else
66967 ac_cv_lib_m_sin=no
66969 rm -f core conftest.err conftest.$ac_objext \
66970 conftest$ac_exeext conftest.$ac_ext
66971 LIBS=$ac_check_lib_save_LIBS
66973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66974 $as_echo "$ac_cv_lib_m_sin" >&6; }
66975 if test "x$ac_cv_lib_m_sin" = xyes; then :
66976 libm="-lm"
66979 ac_save_LIBS="$LIBS"
66980 LIBS="$LIBS $libm"
66984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66985 $as_echo_n "checking for isinf declaration... " >&6; }
66986 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66987 if ${glibcxx_cv_func_isinf_use+:} false; then :
66988 $as_echo_n "(cached) " >&6
66989 else
66992 ac_ext=cpp
66993 ac_cpp='$CXXCPP $CPPFLAGS'
66994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 #ifdef HAVE_IEEEFP_H
67002 #include <ieeefp.h>
67003 #endif
67006 main ()
67008 isinf(0);
67010 return 0;
67012 _ACEOF
67013 if ac_fn_cxx_try_compile "$LINENO"; then :
67014 glibcxx_cv_func_isinf_use=yes
67015 else
67016 glibcxx_cv_func_isinf_use=no
67018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67019 ac_ext=c
67020 ac_cpp='$CPP $CPPFLAGS'
67021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67030 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67032 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67033 for ac_func in isinf
67034 do :
67035 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67036 if test "x$ac_cv_func_isinf" = xyes; then :
67037 cat >>confdefs.h <<_ACEOF
67038 #define HAVE_ISINF 1
67039 _ACEOF
67042 done
67044 else
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67047 $as_echo_n "checking for _isinf declaration... " >&6; }
67048 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67049 if ${glibcxx_cv_func__isinf_use+:} false; then :
67050 $as_echo_n "(cached) " >&6
67051 else
67054 ac_ext=cpp
67055 ac_cpp='$CXXCPP $CPPFLAGS'
67056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67061 /* end confdefs.h. */
67062 #include <math.h>
67063 #ifdef HAVE_IEEEFP_H
67064 #include <ieeefp.h>
67065 #endif
67068 main ()
67070 _isinf(0);
67072 return 0;
67074 _ACEOF
67075 if ac_fn_cxx_try_compile "$LINENO"; then :
67076 glibcxx_cv_func__isinf_use=yes
67077 else
67078 glibcxx_cv_func__isinf_use=no
67080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67092 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67094 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67095 for ac_func in _isinf
67096 do :
67097 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67098 if test "x$ac_cv_func__isinf" = xyes; then :
67099 cat >>confdefs.h <<_ACEOF
67100 #define HAVE__ISINF 1
67101 _ACEOF
67104 done
67113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67114 $as_echo_n "checking for isnan declaration... " >&6; }
67115 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67116 if ${glibcxx_cv_func_isnan_use+:} false; then :
67117 $as_echo_n "(cached) " >&6
67118 else
67121 ac_ext=cpp
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67128 /* end confdefs.h. */
67129 #include <math.h>
67130 #ifdef HAVE_IEEEFP_H
67131 #include <ieeefp.h>
67132 #endif
67135 main ()
67137 isnan(0);
67139 return 0;
67141 _ACEOF
67142 if ac_fn_cxx_try_compile "$LINENO"; then :
67143 glibcxx_cv_func_isnan_use=yes
67144 else
67145 glibcxx_cv_func_isnan_use=no
67147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67148 ac_ext=c
67149 ac_cpp='$CPP $CPPFLAGS'
67150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67159 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67161 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67162 for ac_func in isnan
67163 do :
67164 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67165 if test "x$ac_cv_func_isnan" = xyes; then :
67166 cat >>confdefs.h <<_ACEOF
67167 #define HAVE_ISNAN 1
67168 _ACEOF
67171 done
67173 else
67175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67176 $as_echo_n "checking for _isnan declaration... " >&6; }
67177 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67178 if ${glibcxx_cv_func__isnan_use+:} false; then :
67179 $as_echo_n "(cached) " >&6
67180 else
67183 ac_ext=cpp
67184 ac_cpp='$CXXCPP $CPPFLAGS'
67185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67190 /* end confdefs.h. */
67191 #include <math.h>
67192 #ifdef HAVE_IEEEFP_H
67193 #include <ieeefp.h>
67194 #endif
67197 main ()
67199 _isnan(0);
67201 return 0;
67203 _ACEOF
67204 if ac_fn_cxx_try_compile "$LINENO"; then :
67205 glibcxx_cv_func__isnan_use=yes
67206 else
67207 glibcxx_cv_func__isnan_use=no
67209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67210 ac_ext=c
67211 ac_cpp='$CPP $CPPFLAGS'
67212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67221 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67223 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67224 for ac_func in _isnan
67225 do :
67226 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67227 if test "x$ac_cv_func__isnan" = xyes; then :
67228 cat >>confdefs.h <<_ACEOF
67229 #define HAVE__ISNAN 1
67230 _ACEOF
67233 done
67242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67243 $as_echo_n "checking for finite declaration... " >&6; }
67244 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67245 if ${glibcxx_cv_func_finite_use+:} false; then :
67246 $as_echo_n "(cached) " >&6
67247 else
67250 ac_ext=cpp
67251 ac_cpp='$CXXCPP $CPPFLAGS'
67252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67257 /* end confdefs.h. */
67258 #include <math.h>
67259 #ifdef HAVE_IEEEFP_H
67260 #include <ieeefp.h>
67261 #endif
67264 main ()
67266 finite(0);
67268 return 0;
67270 _ACEOF
67271 if ac_fn_cxx_try_compile "$LINENO"; then :
67272 glibcxx_cv_func_finite_use=yes
67273 else
67274 glibcxx_cv_func_finite_use=no
67276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67277 ac_ext=c
67278 ac_cpp='$CPP $CPPFLAGS'
67279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67288 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67290 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67291 for ac_func in finite
67292 do :
67293 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67294 if test "x$ac_cv_func_finite" = xyes; then :
67295 cat >>confdefs.h <<_ACEOF
67296 #define HAVE_FINITE 1
67297 _ACEOF
67300 done
67302 else
67304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67305 $as_echo_n "checking for _finite declaration... " >&6; }
67306 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67307 if ${glibcxx_cv_func__finite_use+:} false; then :
67308 $as_echo_n "(cached) " >&6
67309 else
67312 ac_ext=cpp
67313 ac_cpp='$CXXCPP $CPPFLAGS'
67314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67319 /* end confdefs.h. */
67320 #include <math.h>
67321 #ifdef HAVE_IEEEFP_H
67322 #include <ieeefp.h>
67323 #endif
67326 main ()
67328 _finite(0);
67330 return 0;
67332 _ACEOF
67333 if ac_fn_cxx_try_compile "$LINENO"; then :
67334 glibcxx_cv_func__finite_use=yes
67335 else
67336 glibcxx_cv_func__finite_use=no
67338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67339 ac_ext=c
67340 ac_cpp='$CPP $CPPFLAGS'
67341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67350 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67352 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67353 for ac_func in _finite
67354 do :
67355 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67356 if test "x$ac_cv_func__finite" = xyes; then :
67357 cat >>confdefs.h <<_ACEOF
67358 #define HAVE__FINITE 1
67359 _ACEOF
67362 done
67371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67372 $as_echo_n "checking for sincos declaration... " >&6; }
67373 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67374 if ${glibcxx_cv_func_sincos_use+:} false; then :
67375 $as_echo_n "(cached) " >&6
67376 else
67379 ac_ext=cpp
67380 ac_cpp='$CXXCPP $CPPFLAGS'
67381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67386 /* end confdefs.h. */
67387 #include <math.h>
67389 main ()
67391 sincos(0, 0, 0);
67393 return 0;
67395 _ACEOF
67396 if ac_fn_cxx_try_compile "$LINENO"; then :
67397 glibcxx_cv_func_sincos_use=yes
67398 else
67399 glibcxx_cv_func_sincos_use=no
67401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67402 ac_ext=c
67403 ac_cpp='$CPP $CPPFLAGS'
67404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67413 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67415 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67416 for ac_func in sincos
67417 do :
67418 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67419 if test "x$ac_cv_func_sincos" = xyes; then :
67420 cat >>confdefs.h <<_ACEOF
67421 #define HAVE_SINCOS 1
67422 _ACEOF
67425 done
67427 else
67429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67430 $as_echo_n "checking for _sincos declaration... " >&6; }
67431 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67432 if ${glibcxx_cv_func__sincos_use+:} false; then :
67433 $as_echo_n "(cached) " >&6
67434 else
67437 ac_ext=cpp
67438 ac_cpp='$CXXCPP $CPPFLAGS'
67439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67444 /* end confdefs.h. */
67445 #include <math.h>
67447 main ()
67449 _sincos(0, 0, 0);
67451 return 0;
67453 _ACEOF
67454 if ac_fn_cxx_try_compile "$LINENO"; then :
67455 glibcxx_cv_func__sincos_use=yes
67456 else
67457 glibcxx_cv_func__sincos_use=no
67459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67460 ac_ext=c
67461 ac_cpp='$CPP $CPPFLAGS'
67462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67471 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67473 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67474 for ac_func in _sincos
67475 do :
67476 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67477 if test "x$ac_cv_func__sincos" = xyes; then :
67478 cat >>confdefs.h <<_ACEOF
67479 #define HAVE__SINCOS 1
67480 _ACEOF
67483 done
67492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67493 $as_echo_n "checking for fpclass declaration... " >&6; }
67494 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67495 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67496 $as_echo_n "(cached) " >&6
67497 else
67500 ac_ext=cpp
67501 ac_cpp='$CXXCPP $CPPFLAGS'
67502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67507 /* end confdefs.h. */
67508 #include <math.h>
67509 #ifdef HAVE_IEEEFP_H
67510 #include <ieeefp.h>
67511 #endif
67514 main ()
67516 fpclass(0);
67518 return 0;
67520 _ACEOF
67521 if ac_fn_cxx_try_compile "$LINENO"; then :
67522 glibcxx_cv_func_fpclass_use=yes
67523 else
67524 glibcxx_cv_func_fpclass_use=no
67526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67527 ac_ext=c
67528 ac_cpp='$CPP $CPPFLAGS'
67529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67538 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67540 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67541 for ac_func in fpclass
67542 do :
67543 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67544 if test "x$ac_cv_func_fpclass" = xyes; then :
67545 cat >>confdefs.h <<_ACEOF
67546 #define HAVE_FPCLASS 1
67547 _ACEOF
67550 done
67552 else
67554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67555 $as_echo_n "checking for _fpclass declaration... " >&6; }
67556 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67557 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67558 $as_echo_n "(cached) " >&6
67559 else
67562 ac_ext=cpp
67563 ac_cpp='$CXXCPP $CPPFLAGS'
67564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67569 /* end confdefs.h. */
67570 #include <math.h>
67571 #ifdef HAVE_IEEEFP_H
67572 #include <ieeefp.h>
67573 #endif
67576 main ()
67578 _fpclass(0);
67580 return 0;
67582 _ACEOF
67583 if ac_fn_cxx_try_compile "$LINENO"; then :
67584 glibcxx_cv_func__fpclass_use=yes
67585 else
67586 glibcxx_cv_func__fpclass_use=no
67588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67589 ac_ext=c
67590 ac_cpp='$CPP $CPPFLAGS'
67591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67600 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67602 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67603 for ac_func in _fpclass
67604 do :
67605 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67606 if test "x$ac_cv_func__fpclass" = xyes; then :
67607 cat >>confdefs.h <<_ACEOF
67608 #define HAVE__FPCLASS 1
67609 _ACEOF
67612 done
67621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67622 $as_echo_n "checking for qfpclass declaration... " >&6; }
67623 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67624 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67625 $as_echo_n "(cached) " >&6
67626 else
67629 ac_ext=cpp
67630 ac_cpp='$CXXCPP $CPPFLAGS'
67631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67636 /* end confdefs.h. */
67637 #include <math.h>
67638 #ifdef HAVE_IEEEFP_H
67639 #include <ieeefp.h>
67640 #endif
67643 main ()
67645 qfpclass(0);
67647 return 0;
67649 _ACEOF
67650 if ac_fn_cxx_try_compile "$LINENO"; then :
67651 glibcxx_cv_func_qfpclass_use=yes
67652 else
67653 glibcxx_cv_func_qfpclass_use=no
67655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67656 ac_ext=c
67657 ac_cpp='$CPP $CPPFLAGS'
67658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67667 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67669 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67670 for ac_func in qfpclass
67671 do :
67672 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67673 if test "x$ac_cv_func_qfpclass" = xyes; then :
67674 cat >>confdefs.h <<_ACEOF
67675 #define HAVE_QFPCLASS 1
67676 _ACEOF
67679 done
67681 else
67683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67684 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67685 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67686 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67687 $as_echo_n "(cached) " >&6
67688 else
67691 ac_ext=cpp
67692 ac_cpp='$CXXCPP $CPPFLAGS'
67693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67698 /* end confdefs.h. */
67699 #include <math.h>
67700 #ifdef HAVE_IEEEFP_H
67701 #include <ieeefp.h>
67702 #endif
67705 main ()
67707 _qfpclass(0);
67709 return 0;
67711 _ACEOF
67712 if ac_fn_cxx_try_compile "$LINENO"; then :
67713 glibcxx_cv_func__qfpclass_use=yes
67714 else
67715 glibcxx_cv_func__qfpclass_use=no
67717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67718 ac_ext=c
67719 ac_cpp='$CPP $CPPFLAGS'
67720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67729 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67731 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67732 for ac_func in _qfpclass
67733 do :
67734 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67735 if test "x$ac_cv_func__qfpclass" = xyes; then :
67736 cat >>confdefs.h <<_ACEOF
67737 #define HAVE__QFPCLASS 1
67738 _ACEOF
67741 done
67750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67751 $as_echo_n "checking for hypot declaration... " >&6; }
67752 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67753 if ${glibcxx_cv_func_hypot_use+:} false; then :
67754 $as_echo_n "(cached) " >&6
67755 else
67758 ac_ext=cpp
67759 ac_cpp='$CXXCPP $CPPFLAGS'
67760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67765 /* end confdefs.h. */
67766 #include <math.h>
67768 main ()
67770 hypot(0, 0);
67772 return 0;
67774 _ACEOF
67775 if ac_fn_cxx_try_compile "$LINENO"; then :
67776 glibcxx_cv_func_hypot_use=yes
67777 else
67778 glibcxx_cv_func_hypot_use=no
67780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67781 ac_ext=c
67782 ac_cpp='$CPP $CPPFLAGS'
67783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67792 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67794 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67795 for ac_func in hypot
67796 do :
67797 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67798 if test "x$ac_cv_func_hypot" = xyes; then :
67799 cat >>confdefs.h <<_ACEOF
67800 #define HAVE_HYPOT 1
67801 _ACEOF
67804 done
67806 else
67808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67809 $as_echo_n "checking for _hypot declaration... " >&6; }
67810 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67811 if ${glibcxx_cv_func__hypot_use+:} false; then :
67812 $as_echo_n "(cached) " >&6
67813 else
67816 ac_ext=cpp
67817 ac_cpp='$CXXCPP $CPPFLAGS'
67818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67823 /* end confdefs.h. */
67824 #include <math.h>
67826 main ()
67828 _hypot(0, 0);
67830 return 0;
67832 _ACEOF
67833 if ac_fn_cxx_try_compile "$LINENO"; then :
67834 glibcxx_cv_func__hypot_use=yes
67835 else
67836 glibcxx_cv_func__hypot_use=no
67838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67839 ac_ext=c
67840 ac_cpp='$CPP $CPPFLAGS'
67841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67850 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67852 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67853 for ac_func in _hypot
67854 do :
67855 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67856 if test "x$ac_cv_func__hypot" = xyes; then :
67857 cat >>confdefs.h <<_ACEOF
67858 #define HAVE__HYPOT 1
67859 _ACEOF
67862 done
67871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67872 $as_echo_n "checking for float trig functions... " >&6; }
67873 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67874 $as_echo_n "(cached) " >&6
67875 else
67878 ac_ext=cpp
67879 ac_cpp='$CXXCPP $CPPFLAGS'
67880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67885 /* end confdefs.h. */
67886 #include <math.h>
67888 main ()
67890 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67892 return 0;
67894 _ACEOF
67895 if ac_fn_cxx_try_compile "$LINENO"; then :
67896 glibcxx_cv_func_float_trig_use=yes
67897 else
67898 glibcxx_cv_func_float_trig_use=no
67900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67901 ac_ext=c
67902 ac_cpp='$CPP $CPPFLAGS'
67903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67910 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67911 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67912 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67913 do :
67914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67917 cat >>confdefs.h <<_ACEOF
67918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67919 _ACEOF
67922 done
67924 else
67925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67926 $as_echo_n "checking for _float trig functions... " >&6; }
67927 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67928 $as_echo_n "(cached) " >&6
67929 else
67932 ac_ext=cpp
67933 ac_cpp='$CXXCPP $CPPFLAGS'
67934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67939 /* end confdefs.h. */
67940 #include <math.h>
67942 main ()
67944 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67946 return 0;
67948 _ACEOF
67949 if ac_fn_cxx_try_compile "$LINENO"; then :
67950 glibcxx_cv_func__float_trig_use=yes
67951 else
67952 glibcxx_cv_func__float_trig_use=no
67954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67955 ac_ext=c
67956 ac_cpp='$CPP $CPPFLAGS'
67957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67964 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67965 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67966 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67967 do :
67968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67971 cat >>confdefs.h <<_ACEOF
67972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67973 _ACEOF
67976 done
67985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67986 $as_echo_n "checking for float round functions... " >&6; }
67987 if ${glibcxx_cv_func_float_round_use+:} false; then :
67988 $as_echo_n "(cached) " >&6
67989 else
67992 ac_ext=cpp
67993 ac_cpp='$CXXCPP $CPPFLAGS'
67994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67999 /* end confdefs.h. */
68000 #include <math.h>
68002 main ()
68004 ceilf (0); floorf (0);
68006 return 0;
68008 _ACEOF
68009 if ac_fn_cxx_try_compile "$LINENO"; then :
68010 glibcxx_cv_func_float_round_use=yes
68011 else
68012 glibcxx_cv_func_float_round_use=no
68014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68015 ac_ext=c
68016 ac_cpp='$CPP $CPPFLAGS'
68017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68024 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68025 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68026 for ac_func in ceilf floorf
68027 do :
68028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68031 cat >>confdefs.h <<_ACEOF
68032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68033 _ACEOF
68036 done
68038 else
68039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68040 $as_echo_n "checking for _float round functions... " >&6; }
68041 if ${glibcxx_cv_func__float_round_use+:} false; then :
68042 $as_echo_n "(cached) " >&6
68043 else
68046 ac_ext=cpp
68047 ac_cpp='$CXXCPP $CPPFLAGS'
68048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68053 /* end confdefs.h. */
68054 #include <math.h>
68056 main ()
68058 _ceilf (0); _floorf (0);
68060 return 0;
68062 _ACEOF
68063 if ac_fn_cxx_try_compile "$LINENO"; then :
68064 glibcxx_cv_func__float_round_use=yes
68065 else
68066 glibcxx_cv_func__float_round_use=no
68068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68069 ac_ext=c
68070 ac_cpp='$CPP $CPPFLAGS'
68071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68078 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68079 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68080 for ac_func in _ceilf _floorf
68081 do :
68082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68085 cat >>confdefs.h <<_ACEOF
68086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68087 _ACEOF
68090 done
68100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68101 $as_echo_n "checking for expf declaration... " >&6; }
68102 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68103 if ${glibcxx_cv_func_expf_use+:} false; then :
68104 $as_echo_n "(cached) " >&6
68105 else
68108 ac_ext=cpp
68109 ac_cpp='$CXXCPP $CPPFLAGS'
68110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68115 /* end confdefs.h. */
68116 #include <math.h>
68117 #ifdef HAVE_IEEEFP_H
68118 #include <ieeefp.h>
68119 #endif
68122 main ()
68124 expf(0);
68126 return 0;
68128 _ACEOF
68129 if ac_fn_cxx_try_compile "$LINENO"; then :
68130 glibcxx_cv_func_expf_use=yes
68131 else
68132 glibcxx_cv_func_expf_use=no
68134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68135 ac_ext=c
68136 ac_cpp='$CPP $CPPFLAGS'
68137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68146 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68148 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68149 for ac_func in expf
68150 do :
68151 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68152 if test "x$ac_cv_func_expf" = xyes; then :
68153 cat >>confdefs.h <<_ACEOF
68154 #define HAVE_EXPF 1
68155 _ACEOF
68158 done
68160 else
68162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68163 $as_echo_n "checking for _expf declaration... " >&6; }
68164 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68165 if ${glibcxx_cv_func__expf_use+:} false; then :
68166 $as_echo_n "(cached) " >&6
68167 else
68170 ac_ext=cpp
68171 ac_cpp='$CXXCPP $CPPFLAGS'
68172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68177 /* end confdefs.h. */
68178 #include <math.h>
68179 #ifdef HAVE_IEEEFP_H
68180 #include <ieeefp.h>
68181 #endif
68184 main ()
68186 _expf(0);
68188 return 0;
68190 _ACEOF
68191 if ac_fn_cxx_try_compile "$LINENO"; then :
68192 glibcxx_cv_func__expf_use=yes
68193 else
68194 glibcxx_cv_func__expf_use=no
68196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68197 ac_ext=c
68198 ac_cpp='$CPP $CPPFLAGS'
68199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68208 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68210 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68211 for ac_func in _expf
68212 do :
68213 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68214 if test "x$ac_cv_func__expf" = xyes; then :
68215 cat >>confdefs.h <<_ACEOF
68216 #define HAVE__EXPF 1
68217 _ACEOF
68220 done
68229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68230 $as_echo_n "checking for isnanf declaration... " >&6; }
68231 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68232 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68233 $as_echo_n "(cached) " >&6
68234 else
68237 ac_ext=cpp
68238 ac_cpp='$CXXCPP $CPPFLAGS'
68239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68244 /* end confdefs.h. */
68245 #include <math.h>
68246 #ifdef HAVE_IEEEFP_H
68247 #include <ieeefp.h>
68248 #endif
68251 main ()
68253 isnanf(0);
68255 return 0;
68257 _ACEOF
68258 if ac_fn_cxx_try_compile "$LINENO"; then :
68259 glibcxx_cv_func_isnanf_use=yes
68260 else
68261 glibcxx_cv_func_isnanf_use=no
68263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68264 ac_ext=c
68265 ac_cpp='$CPP $CPPFLAGS'
68266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68275 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68277 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68278 for ac_func in isnanf
68279 do :
68280 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68281 if test "x$ac_cv_func_isnanf" = xyes; then :
68282 cat >>confdefs.h <<_ACEOF
68283 #define HAVE_ISNANF 1
68284 _ACEOF
68287 done
68289 else
68291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68292 $as_echo_n "checking for _isnanf declaration... " >&6; }
68293 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68294 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68295 $as_echo_n "(cached) " >&6
68296 else
68299 ac_ext=cpp
68300 ac_cpp='$CXXCPP $CPPFLAGS'
68301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68306 /* end confdefs.h. */
68307 #include <math.h>
68308 #ifdef HAVE_IEEEFP_H
68309 #include <ieeefp.h>
68310 #endif
68313 main ()
68315 _isnanf(0);
68317 return 0;
68319 _ACEOF
68320 if ac_fn_cxx_try_compile "$LINENO"; then :
68321 glibcxx_cv_func__isnanf_use=yes
68322 else
68323 glibcxx_cv_func__isnanf_use=no
68325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68326 ac_ext=c
68327 ac_cpp='$CPP $CPPFLAGS'
68328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68337 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68339 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68340 for ac_func in _isnanf
68341 do :
68342 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68343 if test "x$ac_cv_func__isnanf" = xyes; then :
68344 cat >>confdefs.h <<_ACEOF
68345 #define HAVE__ISNANF 1
68346 _ACEOF
68349 done
68358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68359 $as_echo_n "checking for isinff declaration... " >&6; }
68360 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68361 if ${glibcxx_cv_func_isinff_use+:} false; then :
68362 $as_echo_n "(cached) " >&6
68363 else
68366 ac_ext=cpp
68367 ac_cpp='$CXXCPP $CPPFLAGS'
68368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68373 /* end confdefs.h. */
68374 #include <math.h>
68375 #ifdef HAVE_IEEEFP_H
68376 #include <ieeefp.h>
68377 #endif
68380 main ()
68382 isinff(0);
68384 return 0;
68386 _ACEOF
68387 if ac_fn_cxx_try_compile "$LINENO"; then :
68388 glibcxx_cv_func_isinff_use=yes
68389 else
68390 glibcxx_cv_func_isinff_use=no
68392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68393 ac_ext=c
68394 ac_cpp='$CPP $CPPFLAGS'
68395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68404 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68406 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68407 for ac_func in isinff
68408 do :
68409 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68410 if test "x$ac_cv_func_isinff" = xyes; then :
68411 cat >>confdefs.h <<_ACEOF
68412 #define HAVE_ISINFF 1
68413 _ACEOF
68416 done
68418 else
68420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68421 $as_echo_n "checking for _isinff declaration... " >&6; }
68422 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68423 if ${glibcxx_cv_func__isinff_use+:} false; then :
68424 $as_echo_n "(cached) " >&6
68425 else
68428 ac_ext=cpp
68429 ac_cpp='$CXXCPP $CPPFLAGS'
68430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68435 /* end confdefs.h. */
68436 #include <math.h>
68437 #ifdef HAVE_IEEEFP_H
68438 #include <ieeefp.h>
68439 #endif
68442 main ()
68444 _isinff(0);
68446 return 0;
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func__isinff_use=yes
68451 else
68452 glibcxx_cv_func__isinff_use=no
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68466 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68468 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68469 for ac_func in _isinff
68470 do :
68471 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68472 if test "x$ac_cv_func__isinff" = xyes; then :
68473 cat >>confdefs.h <<_ACEOF
68474 #define HAVE__ISINFF 1
68475 _ACEOF
68478 done
68487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68488 $as_echo_n "checking for atan2f declaration... " >&6; }
68489 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68490 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68491 $as_echo_n "(cached) " >&6
68492 else
68495 ac_ext=cpp
68496 ac_cpp='$CXXCPP $CPPFLAGS'
68497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68502 /* end confdefs.h. */
68503 #include <math.h>
68505 main ()
68507 atan2f(0, 0);
68509 return 0;
68511 _ACEOF
68512 if ac_fn_cxx_try_compile "$LINENO"; then :
68513 glibcxx_cv_func_atan2f_use=yes
68514 else
68515 glibcxx_cv_func_atan2f_use=no
68517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68518 ac_ext=c
68519 ac_cpp='$CPP $CPPFLAGS'
68520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68529 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68531 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68532 for ac_func in atan2f
68533 do :
68534 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68535 if test "x$ac_cv_func_atan2f" = xyes; then :
68536 cat >>confdefs.h <<_ACEOF
68537 #define HAVE_ATAN2F 1
68538 _ACEOF
68541 done
68543 else
68545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68546 $as_echo_n "checking for _atan2f declaration... " >&6; }
68547 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68548 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68549 $as_echo_n "(cached) " >&6
68550 else
68553 ac_ext=cpp
68554 ac_cpp='$CXXCPP $CPPFLAGS'
68555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68560 /* end confdefs.h. */
68561 #include <math.h>
68563 main ()
68565 _atan2f(0, 0);
68567 return 0;
68569 _ACEOF
68570 if ac_fn_cxx_try_compile "$LINENO"; then :
68571 glibcxx_cv_func__atan2f_use=yes
68572 else
68573 glibcxx_cv_func__atan2f_use=no
68575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68576 ac_ext=c
68577 ac_cpp='$CPP $CPPFLAGS'
68578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68587 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68589 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68590 for ac_func in _atan2f
68591 do :
68592 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68593 if test "x$ac_cv_func__atan2f" = xyes; then :
68594 cat >>confdefs.h <<_ACEOF
68595 #define HAVE__ATAN2F 1
68596 _ACEOF
68599 done
68608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68609 $as_echo_n "checking for fabsf declaration... " >&6; }
68610 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68611 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68612 $as_echo_n "(cached) " >&6
68613 else
68616 ac_ext=cpp
68617 ac_cpp='$CXXCPP $CPPFLAGS'
68618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68623 /* end confdefs.h. */
68624 #include <math.h>
68625 #ifdef HAVE_IEEEFP_H
68626 #include <ieeefp.h>
68627 #endif
68630 main ()
68632 fabsf(0);
68634 return 0;
68636 _ACEOF
68637 if ac_fn_cxx_try_compile "$LINENO"; then :
68638 glibcxx_cv_func_fabsf_use=yes
68639 else
68640 glibcxx_cv_func_fabsf_use=no
68642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68643 ac_ext=c
68644 ac_cpp='$CPP $CPPFLAGS'
68645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68654 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68656 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68657 for ac_func in fabsf
68658 do :
68659 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68660 if test "x$ac_cv_func_fabsf" = xyes; then :
68661 cat >>confdefs.h <<_ACEOF
68662 #define HAVE_FABSF 1
68663 _ACEOF
68666 done
68668 else
68670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68671 $as_echo_n "checking for _fabsf declaration... " >&6; }
68672 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68673 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68674 $as_echo_n "(cached) " >&6
68675 else
68678 ac_ext=cpp
68679 ac_cpp='$CXXCPP $CPPFLAGS'
68680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68685 /* end confdefs.h. */
68686 #include <math.h>
68687 #ifdef HAVE_IEEEFP_H
68688 #include <ieeefp.h>
68689 #endif
68692 main ()
68694 _fabsf(0);
68696 return 0;
68698 _ACEOF
68699 if ac_fn_cxx_try_compile "$LINENO"; then :
68700 glibcxx_cv_func__fabsf_use=yes
68701 else
68702 glibcxx_cv_func__fabsf_use=no
68704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68705 ac_ext=c
68706 ac_cpp='$CPP $CPPFLAGS'
68707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68716 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68718 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68719 for ac_func in _fabsf
68720 do :
68721 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68722 if test "x$ac_cv_func__fabsf" = xyes; then :
68723 cat >>confdefs.h <<_ACEOF
68724 #define HAVE__FABSF 1
68725 _ACEOF
68728 done
68737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68738 $as_echo_n "checking for fmodf declaration... " >&6; }
68739 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68740 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68741 $as_echo_n "(cached) " >&6
68742 else
68745 ac_ext=cpp
68746 ac_cpp='$CXXCPP $CPPFLAGS'
68747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68752 /* end confdefs.h. */
68753 #include <math.h>
68755 main ()
68757 fmodf(0, 0);
68759 return 0;
68761 _ACEOF
68762 if ac_fn_cxx_try_compile "$LINENO"; then :
68763 glibcxx_cv_func_fmodf_use=yes
68764 else
68765 glibcxx_cv_func_fmodf_use=no
68767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68768 ac_ext=c
68769 ac_cpp='$CPP $CPPFLAGS'
68770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68779 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68781 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68782 for ac_func in fmodf
68783 do :
68784 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68785 if test "x$ac_cv_func_fmodf" = xyes; then :
68786 cat >>confdefs.h <<_ACEOF
68787 #define HAVE_FMODF 1
68788 _ACEOF
68791 done
68793 else
68795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68796 $as_echo_n "checking for _fmodf declaration... " >&6; }
68797 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68798 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68799 $as_echo_n "(cached) " >&6
68800 else
68803 ac_ext=cpp
68804 ac_cpp='$CXXCPP $CPPFLAGS'
68805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68810 /* end confdefs.h. */
68811 #include <math.h>
68813 main ()
68815 _fmodf(0, 0);
68817 return 0;
68819 _ACEOF
68820 if ac_fn_cxx_try_compile "$LINENO"; then :
68821 glibcxx_cv_func__fmodf_use=yes
68822 else
68823 glibcxx_cv_func__fmodf_use=no
68825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68826 ac_ext=c
68827 ac_cpp='$CPP $CPPFLAGS'
68828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68837 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68839 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68840 for ac_func in _fmodf
68841 do :
68842 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68843 if test "x$ac_cv_func__fmodf" = xyes; then :
68844 cat >>confdefs.h <<_ACEOF
68845 #define HAVE__FMODF 1
68846 _ACEOF
68849 done
68858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68859 $as_echo_n "checking for frexpf declaration... " >&6; }
68860 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68861 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68862 $as_echo_n "(cached) " >&6
68863 else
68866 ac_ext=cpp
68867 ac_cpp='$CXXCPP $CPPFLAGS'
68868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68873 /* end confdefs.h. */
68874 #include <math.h>
68876 main ()
68878 frexpf(0, 0);
68880 return 0;
68882 _ACEOF
68883 if ac_fn_cxx_try_compile "$LINENO"; then :
68884 glibcxx_cv_func_frexpf_use=yes
68885 else
68886 glibcxx_cv_func_frexpf_use=no
68888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68889 ac_ext=c
68890 ac_cpp='$CPP $CPPFLAGS'
68891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68900 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68902 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68903 for ac_func in frexpf
68904 do :
68905 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68906 if test "x$ac_cv_func_frexpf" = xyes; then :
68907 cat >>confdefs.h <<_ACEOF
68908 #define HAVE_FREXPF 1
68909 _ACEOF
68912 done
68914 else
68916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68917 $as_echo_n "checking for _frexpf declaration... " >&6; }
68918 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68919 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68920 $as_echo_n "(cached) " >&6
68921 else
68924 ac_ext=cpp
68925 ac_cpp='$CXXCPP $CPPFLAGS'
68926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68931 /* end confdefs.h. */
68932 #include <math.h>
68934 main ()
68936 _frexpf(0, 0);
68938 return 0;
68940 _ACEOF
68941 if ac_fn_cxx_try_compile "$LINENO"; then :
68942 glibcxx_cv_func__frexpf_use=yes
68943 else
68944 glibcxx_cv_func__frexpf_use=no
68946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68947 ac_ext=c
68948 ac_cpp='$CPP $CPPFLAGS'
68949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68958 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68960 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68961 for ac_func in _frexpf
68962 do :
68963 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68964 if test "x$ac_cv_func__frexpf" = xyes; then :
68965 cat >>confdefs.h <<_ACEOF
68966 #define HAVE__FREXPF 1
68967 _ACEOF
68970 done
68979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68980 $as_echo_n "checking for hypotf declaration... " >&6; }
68981 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68982 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68983 $as_echo_n "(cached) " >&6
68984 else
68987 ac_ext=cpp
68988 ac_cpp='$CXXCPP $CPPFLAGS'
68989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68994 /* end confdefs.h. */
68995 #include <math.h>
68997 main ()
68999 hypotf(0, 0);
69001 return 0;
69003 _ACEOF
69004 if ac_fn_cxx_try_compile "$LINENO"; then :
69005 glibcxx_cv_func_hypotf_use=yes
69006 else
69007 glibcxx_cv_func_hypotf_use=no
69009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69010 ac_ext=c
69011 ac_cpp='$CPP $CPPFLAGS'
69012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69021 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69023 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69024 for ac_func in hypotf
69025 do :
69026 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69027 if test "x$ac_cv_func_hypotf" = xyes; then :
69028 cat >>confdefs.h <<_ACEOF
69029 #define HAVE_HYPOTF 1
69030 _ACEOF
69033 done
69035 else
69037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69038 $as_echo_n "checking for _hypotf declaration... " >&6; }
69039 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69040 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69041 $as_echo_n "(cached) " >&6
69042 else
69045 ac_ext=cpp
69046 ac_cpp='$CXXCPP $CPPFLAGS'
69047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69052 /* end confdefs.h. */
69053 #include <math.h>
69055 main ()
69057 _hypotf(0, 0);
69059 return 0;
69061 _ACEOF
69062 if ac_fn_cxx_try_compile "$LINENO"; then :
69063 glibcxx_cv_func__hypotf_use=yes
69064 else
69065 glibcxx_cv_func__hypotf_use=no
69067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69068 ac_ext=c
69069 ac_cpp='$CPP $CPPFLAGS'
69070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69079 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69081 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69082 for ac_func in _hypotf
69083 do :
69084 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69085 if test "x$ac_cv_func__hypotf" = xyes; then :
69086 cat >>confdefs.h <<_ACEOF
69087 #define HAVE__HYPOTF 1
69088 _ACEOF
69091 done
69100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69101 $as_echo_n "checking for ldexpf declaration... " >&6; }
69102 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69103 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69104 $as_echo_n "(cached) " >&6
69105 else
69108 ac_ext=cpp
69109 ac_cpp='$CXXCPP $CPPFLAGS'
69110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69115 /* end confdefs.h. */
69116 #include <math.h>
69118 main ()
69120 ldexpf(0, 0);
69122 return 0;
69124 _ACEOF
69125 if ac_fn_cxx_try_compile "$LINENO"; then :
69126 glibcxx_cv_func_ldexpf_use=yes
69127 else
69128 glibcxx_cv_func_ldexpf_use=no
69130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69131 ac_ext=c
69132 ac_cpp='$CPP $CPPFLAGS'
69133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69142 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69144 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69145 for ac_func in ldexpf
69146 do :
69147 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69148 if test "x$ac_cv_func_ldexpf" = xyes; then :
69149 cat >>confdefs.h <<_ACEOF
69150 #define HAVE_LDEXPF 1
69151 _ACEOF
69154 done
69156 else
69158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69159 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69160 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69161 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69162 $as_echo_n "(cached) " >&6
69163 else
69166 ac_ext=cpp
69167 ac_cpp='$CXXCPP $CPPFLAGS'
69168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69173 /* end confdefs.h. */
69174 #include <math.h>
69176 main ()
69178 _ldexpf(0, 0);
69180 return 0;
69182 _ACEOF
69183 if ac_fn_cxx_try_compile "$LINENO"; then :
69184 glibcxx_cv_func__ldexpf_use=yes
69185 else
69186 glibcxx_cv_func__ldexpf_use=no
69188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69189 ac_ext=c
69190 ac_cpp='$CPP $CPPFLAGS'
69191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69200 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69202 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69203 for ac_func in _ldexpf
69204 do :
69205 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69206 if test "x$ac_cv_func__ldexpf" = xyes; then :
69207 cat >>confdefs.h <<_ACEOF
69208 #define HAVE__LDEXPF 1
69209 _ACEOF
69212 done
69221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69222 $as_echo_n "checking for logf declaration... " >&6; }
69223 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69224 if ${glibcxx_cv_func_logf_use+:} false; then :
69225 $as_echo_n "(cached) " >&6
69226 else
69229 ac_ext=cpp
69230 ac_cpp='$CXXCPP $CPPFLAGS'
69231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69236 /* end confdefs.h. */
69237 #include <math.h>
69238 #ifdef HAVE_IEEEFP_H
69239 #include <ieeefp.h>
69240 #endif
69243 main ()
69245 logf(0);
69247 return 0;
69249 _ACEOF
69250 if ac_fn_cxx_try_compile "$LINENO"; then :
69251 glibcxx_cv_func_logf_use=yes
69252 else
69253 glibcxx_cv_func_logf_use=no
69255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69256 ac_ext=c
69257 ac_cpp='$CPP $CPPFLAGS'
69258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69267 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69269 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69270 for ac_func in logf
69271 do :
69272 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69273 if test "x$ac_cv_func_logf" = xyes; then :
69274 cat >>confdefs.h <<_ACEOF
69275 #define HAVE_LOGF 1
69276 _ACEOF
69279 done
69281 else
69283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69284 $as_echo_n "checking for _logf declaration... " >&6; }
69285 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69286 if ${glibcxx_cv_func__logf_use+:} false; then :
69287 $as_echo_n "(cached) " >&6
69288 else
69291 ac_ext=cpp
69292 ac_cpp='$CXXCPP $CPPFLAGS'
69293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69298 /* end confdefs.h. */
69299 #include <math.h>
69300 #ifdef HAVE_IEEEFP_H
69301 #include <ieeefp.h>
69302 #endif
69305 main ()
69307 _logf(0);
69309 return 0;
69311 _ACEOF
69312 if ac_fn_cxx_try_compile "$LINENO"; then :
69313 glibcxx_cv_func__logf_use=yes
69314 else
69315 glibcxx_cv_func__logf_use=no
69317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69318 ac_ext=c
69319 ac_cpp='$CPP $CPPFLAGS'
69320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69329 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69331 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69332 for ac_func in _logf
69333 do :
69334 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69335 if test "x$ac_cv_func__logf" = xyes; then :
69336 cat >>confdefs.h <<_ACEOF
69337 #define HAVE__LOGF 1
69338 _ACEOF
69341 done
69350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69351 $as_echo_n "checking for log10f declaration... " >&6; }
69352 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69353 if ${glibcxx_cv_func_log10f_use+:} false; then :
69354 $as_echo_n "(cached) " >&6
69355 else
69358 ac_ext=cpp
69359 ac_cpp='$CXXCPP $CPPFLAGS'
69360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69365 /* end confdefs.h. */
69366 #include <math.h>
69367 #ifdef HAVE_IEEEFP_H
69368 #include <ieeefp.h>
69369 #endif
69372 main ()
69374 log10f(0);
69376 return 0;
69378 _ACEOF
69379 if ac_fn_cxx_try_compile "$LINENO"; then :
69380 glibcxx_cv_func_log10f_use=yes
69381 else
69382 glibcxx_cv_func_log10f_use=no
69384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69385 ac_ext=c
69386 ac_cpp='$CPP $CPPFLAGS'
69387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69396 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69398 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69399 for ac_func in log10f
69400 do :
69401 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69402 if test "x$ac_cv_func_log10f" = xyes; then :
69403 cat >>confdefs.h <<_ACEOF
69404 #define HAVE_LOG10F 1
69405 _ACEOF
69408 done
69410 else
69412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69413 $as_echo_n "checking for _log10f declaration... " >&6; }
69414 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69415 if ${glibcxx_cv_func__log10f_use+:} false; then :
69416 $as_echo_n "(cached) " >&6
69417 else
69420 ac_ext=cpp
69421 ac_cpp='$CXXCPP $CPPFLAGS'
69422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69427 /* end confdefs.h. */
69428 #include <math.h>
69429 #ifdef HAVE_IEEEFP_H
69430 #include <ieeefp.h>
69431 #endif
69434 main ()
69436 _log10f(0);
69438 return 0;
69440 _ACEOF
69441 if ac_fn_cxx_try_compile "$LINENO"; then :
69442 glibcxx_cv_func__log10f_use=yes
69443 else
69444 glibcxx_cv_func__log10f_use=no
69446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69447 ac_ext=c
69448 ac_cpp='$CPP $CPPFLAGS'
69449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69458 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69460 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69461 for ac_func in _log10f
69462 do :
69463 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69464 if test "x$ac_cv_func__log10f" = xyes; then :
69465 cat >>confdefs.h <<_ACEOF
69466 #define HAVE__LOG10F 1
69467 _ACEOF
69470 done
69479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69480 $as_echo_n "checking for modff declaration... " >&6; }
69481 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69482 if ${glibcxx_cv_func_modff_use+:} false; then :
69483 $as_echo_n "(cached) " >&6
69484 else
69487 ac_ext=cpp
69488 ac_cpp='$CXXCPP $CPPFLAGS'
69489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69494 /* end confdefs.h. */
69495 #include <math.h>
69497 main ()
69499 modff(0, 0);
69501 return 0;
69503 _ACEOF
69504 if ac_fn_cxx_try_compile "$LINENO"; then :
69505 glibcxx_cv_func_modff_use=yes
69506 else
69507 glibcxx_cv_func_modff_use=no
69509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69510 ac_ext=c
69511 ac_cpp='$CPP $CPPFLAGS'
69512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69521 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69523 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69524 for ac_func in modff
69525 do :
69526 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69527 if test "x$ac_cv_func_modff" = xyes; then :
69528 cat >>confdefs.h <<_ACEOF
69529 #define HAVE_MODFF 1
69530 _ACEOF
69533 done
69535 else
69537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69538 $as_echo_n "checking for _modff declaration... " >&6; }
69539 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69540 if ${glibcxx_cv_func__modff_use+:} false; then :
69541 $as_echo_n "(cached) " >&6
69542 else
69545 ac_ext=cpp
69546 ac_cpp='$CXXCPP $CPPFLAGS'
69547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69552 /* end confdefs.h. */
69553 #include <math.h>
69555 main ()
69557 _modff(0, 0);
69559 return 0;
69561 _ACEOF
69562 if ac_fn_cxx_try_compile "$LINENO"; then :
69563 glibcxx_cv_func__modff_use=yes
69564 else
69565 glibcxx_cv_func__modff_use=no
69567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69568 ac_ext=c
69569 ac_cpp='$CPP $CPPFLAGS'
69570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69579 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69581 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69582 for ac_func in _modff
69583 do :
69584 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69585 if test "x$ac_cv_func__modff" = xyes; then :
69586 cat >>confdefs.h <<_ACEOF
69587 #define HAVE__MODFF 1
69588 _ACEOF
69591 done
69600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69601 $as_echo_n "checking for modf declaration... " >&6; }
69602 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69603 if ${glibcxx_cv_func_modf_use+:} false; then :
69604 $as_echo_n "(cached) " >&6
69605 else
69608 ac_ext=cpp
69609 ac_cpp='$CXXCPP $CPPFLAGS'
69610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69615 /* end confdefs.h. */
69616 #include <math.h>
69618 main ()
69620 modf(0, 0);
69622 return 0;
69624 _ACEOF
69625 if ac_fn_cxx_try_compile "$LINENO"; then :
69626 glibcxx_cv_func_modf_use=yes
69627 else
69628 glibcxx_cv_func_modf_use=no
69630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69631 ac_ext=c
69632 ac_cpp='$CPP $CPPFLAGS'
69633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69642 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69644 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69645 for ac_func in modf
69646 do :
69647 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69648 if test "x$ac_cv_func_modf" = xyes; then :
69649 cat >>confdefs.h <<_ACEOF
69650 #define HAVE_MODF 1
69651 _ACEOF
69654 done
69656 else
69658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69659 $as_echo_n "checking for _modf declaration... " >&6; }
69660 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69661 if ${glibcxx_cv_func__modf_use+:} false; then :
69662 $as_echo_n "(cached) " >&6
69663 else
69666 ac_ext=cpp
69667 ac_cpp='$CXXCPP $CPPFLAGS'
69668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69673 /* end confdefs.h. */
69674 #include <math.h>
69676 main ()
69678 _modf(0, 0);
69680 return 0;
69682 _ACEOF
69683 if ac_fn_cxx_try_compile "$LINENO"; then :
69684 glibcxx_cv_func__modf_use=yes
69685 else
69686 glibcxx_cv_func__modf_use=no
69688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69689 ac_ext=c
69690 ac_cpp='$CPP $CPPFLAGS'
69691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69700 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69702 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69703 for ac_func in _modf
69704 do :
69705 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69706 if test "x$ac_cv_func__modf" = xyes; then :
69707 cat >>confdefs.h <<_ACEOF
69708 #define HAVE__MODF 1
69709 _ACEOF
69712 done
69721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69722 $as_echo_n "checking for powf declaration... " >&6; }
69723 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69724 if ${glibcxx_cv_func_powf_use+:} false; then :
69725 $as_echo_n "(cached) " >&6
69726 else
69729 ac_ext=cpp
69730 ac_cpp='$CXXCPP $CPPFLAGS'
69731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69736 /* end confdefs.h. */
69737 #include <math.h>
69739 main ()
69741 powf(0, 0);
69743 return 0;
69745 _ACEOF
69746 if ac_fn_cxx_try_compile "$LINENO"; then :
69747 glibcxx_cv_func_powf_use=yes
69748 else
69749 glibcxx_cv_func_powf_use=no
69751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69752 ac_ext=c
69753 ac_cpp='$CPP $CPPFLAGS'
69754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69763 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69765 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69766 for ac_func in powf
69767 do :
69768 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69769 if test "x$ac_cv_func_powf" = xyes; then :
69770 cat >>confdefs.h <<_ACEOF
69771 #define HAVE_POWF 1
69772 _ACEOF
69775 done
69777 else
69779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69780 $as_echo_n "checking for _powf declaration... " >&6; }
69781 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69782 if ${glibcxx_cv_func__powf_use+:} false; then :
69783 $as_echo_n "(cached) " >&6
69784 else
69787 ac_ext=cpp
69788 ac_cpp='$CXXCPP $CPPFLAGS'
69789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69794 /* end confdefs.h. */
69795 #include <math.h>
69797 main ()
69799 _powf(0, 0);
69801 return 0;
69803 _ACEOF
69804 if ac_fn_cxx_try_compile "$LINENO"; then :
69805 glibcxx_cv_func__powf_use=yes
69806 else
69807 glibcxx_cv_func__powf_use=no
69809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69810 ac_ext=c
69811 ac_cpp='$CPP $CPPFLAGS'
69812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69821 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69823 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69824 for ac_func in _powf
69825 do :
69826 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69827 if test "x$ac_cv_func__powf" = xyes; then :
69828 cat >>confdefs.h <<_ACEOF
69829 #define HAVE__POWF 1
69830 _ACEOF
69833 done
69842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69843 $as_echo_n "checking for sqrtf declaration... " >&6; }
69844 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69845 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69846 $as_echo_n "(cached) " >&6
69847 else
69850 ac_ext=cpp
69851 ac_cpp='$CXXCPP $CPPFLAGS'
69852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69857 /* end confdefs.h. */
69858 #include <math.h>
69859 #ifdef HAVE_IEEEFP_H
69860 #include <ieeefp.h>
69861 #endif
69864 main ()
69866 sqrtf(0);
69868 return 0;
69870 _ACEOF
69871 if ac_fn_cxx_try_compile "$LINENO"; then :
69872 glibcxx_cv_func_sqrtf_use=yes
69873 else
69874 glibcxx_cv_func_sqrtf_use=no
69876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69877 ac_ext=c
69878 ac_cpp='$CPP $CPPFLAGS'
69879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69888 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69890 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69891 for ac_func in sqrtf
69892 do :
69893 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69894 if test "x$ac_cv_func_sqrtf" = xyes; then :
69895 cat >>confdefs.h <<_ACEOF
69896 #define HAVE_SQRTF 1
69897 _ACEOF
69900 done
69902 else
69904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69905 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69906 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69907 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69908 $as_echo_n "(cached) " >&6
69909 else
69912 ac_ext=cpp
69913 ac_cpp='$CXXCPP $CPPFLAGS'
69914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69919 /* end confdefs.h. */
69920 #include <math.h>
69921 #ifdef HAVE_IEEEFP_H
69922 #include <ieeefp.h>
69923 #endif
69926 main ()
69928 _sqrtf(0);
69930 return 0;
69932 _ACEOF
69933 if ac_fn_cxx_try_compile "$LINENO"; then :
69934 glibcxx_cv_func__sqrtf_use=yes
69935 else
69936 glibcxx_cv_func__sqrtf_use=no
69938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69939 ac_ext=c
69940 ac_cpp='$CPP $CPPFLAGS'
69941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69950 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69952 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69953 for ac_func in _sqrtf
69954 do :
69955 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69956 if test "x$ac_cv_func__sqrtf" = xyes; then :
69957 cat >>confdefs.h <<_ACEOF
69958 #define HAVE__SQRTF 1
69959 _ACEOF
69962 done
69971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69972 $as_echo_n "checking for sincosf declaration... " >&6; }
69973 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69974 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69975 $as_echo_n "(cached) " >&6
69976 else
69979 ac_ext=cpp
69980 ac_cpp='$CXXCPP $CPPFLAGS'
69981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69986 /* end confdefs.h. */
69987 #include <math.h>
69989 main ()
69991 sincosf(0, 0, 0);
69993 return 0;
69995 _ACEOF
69996 if ac_fn_cxx_try_compile "$LINENO"; then :
69997 glibcxx_cv_func_sincosf_use=yes
69998 else
69999 glibcxx_cv_func_sincosf_use=no
70001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70002 ac_ext=c
70003 ac_cpp='$CPP $CPPFLAGS'
70004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70013 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70015 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70016 for ac_func in sincosf
70017 do :
70018 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70019 if test "x$ac_cv_func_sincosf" = xyes; then :
70020 cat >>confdefs.h <<_ACEOF
70021 #define HAVE_SINCOSF 1
70022 _ACEOF
70025 done
70027 else
70029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70030 $as_echo_n "checking for _sincosf declaration... " >&6; }
70031 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70032 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70033 $as_echo_n "(cached) " >&6
70034 else
70037 ac_ext=cpp
70038 ac_cpp='$CXXCPP $CPPFLAGS'
70039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70044 /* end confdefs.h. */
70045 #include <math.h>
70047 main ()
70049 _sincosf(0, 0, 0);
70051 return 0;
70053 _ACEOF
70054 if ac_fn_cxx_try_compile "$LINENO"; then :
70055 glibcxx_cv_func__sincosf_use=yes
70056 else
70057 glibcxx_cv_func__sincosf_use=no
70059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70060 ac_ext=c
70061 ac_cpp='$CPP $CPPFLAGS'
70062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70071 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70073 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70074 for ac_func in _sincosf
70075 do :
70076 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70077 if test "x$ac_cv_func__sincosf" = xyes; then :
70078 cat >>confdefs.h <<_ACEOF
70079 #define HAVE__SINCOSF 1
70080 _ACEOF
70083 done
70092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70093 $as_echo_n "checking for finitef declaration... " >&6; }
70094 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70095 if ${glibcxx_cv_func_finitef_use+:} false; then :
70096 $as_echo_n "(cached) " >&6
70097 else
70100 ac_ext=cpp
70101 ac_cpp='$CXXCPP $CPPFLAGS'
70102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70107 /* end confdefs.h. */
70108 #include <math.h>
70109 #ifdef HAVE_IEEEFP_H
70110 #include <ieeefp.h>
70111 #endif
70114 main ()
70116 finitef(0);
70118 return 0;
70120 _ACEOF
70121 if ac_fn_cxx_try_compile "$LINENO"; then :
70122 glibcxx_cv_func_finitef_use=yes
70123 else
70124 glibcxx_cv_func_finitef_use=no
70126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70127 ac_ext=c
70128 ac_cpp='$CPP $CPPFLAGS'
70129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70138 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70140 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70141 for ac_func in finitef
70142 do :
70143 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70144 if test "x$ac_cv_func_finitef" = xyes; then :
70145 cat >>confdefs.h <<_ACEOF
70146 #define HAVE_FINITEF 1
70147 _ACEOF
70150 done
70152 else
70154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70155 $as_echo_n "checking for _finitef declaration... " >&6; }
70156 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70157 if ${glibcxx_cv_func__finitef_use+:} false; then :
70158 $as_echo_n "(cached) " >&6
70159 else
70162 ac_ext=cpp
70163 ac_cpp='$CXXCPP $CPPFLAGS'
70164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70169 /* end confdefs.h. */
70170 #include <math.h>
70171 #ifdef HAVE_IEEEFP_H
70172 #include <ieeefp.h>
70173 #endif
70176 main ()
70178 _finitef(0);
70180 return 0;
70182 _ACEOF
70183 if ac_fn_cxx_try_compile "$LINENO"; then :
70184 glibcxx_cv_func__finitef_use=yes
70185 else
70186 glibcxx_cv_func__finitef_use=no
70188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70189 ac_ext=c
70190 ac_cpp='$CPP $CPPFLAGS'
70191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70200 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70202 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70203 for ac_func in _finitef
70204 do :
70205 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70206 if test "x$ac_cv_func__finitef" = xyes; then :
70207 cat >>confdefs.h <<_ACEOF
70208 #define HAVE__FINITEF 1
70209 _ACEOF
70212 done
70221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70222 $as_echo_n "checking for long double trig functions... " >&6; }
70223 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70224 $as_echo_n "(cached) " >&6
70225 else
70228 ac_ext=cpp
70229 ac_cpp='$CXXCPP $CPPFLAGS'
70230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70235 /* end confdefs.h. */
70236 #include <math.h>
70238 main ()
70240 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70242 return 0;
70244 _ACEOF
70245 if ac_fn_cxx_try_compile "$LINENO"; then :
70246 glibcxx_cv_func_long_double_trig_use=yes
70247 else
70248 glibcxx_cv_func_long_double_trig_use=no
70250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70251 ac_ext=c
70252 ac_cpp='$CPP $CPPFLAGS'
70253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70260 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70261 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70262 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70263 do :
70264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70267 cat >>confdefs.h <<_ACEOF
70268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70269 _ACEOF
70272 done
70274 else
70275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70276 $as_echo_n "checking for _long double trig functions... " >&6; }
70277 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70278 $as_echo_n "(cached) " >&6
70279 else
70282 ac_ext=cpp
70283 ac_cpp='$CXXCPP $CPPFLAGS'
70284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70289 /* end confdefs.h. */
70290 #include <math.h>
70292 main ()
70294 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70296 return 0;
70298 _ACEOF
70299 if ac_fn_cxx_try_compile "$LINENO"; then :
70300 glibcxx_cv_func__long_double_trig_use=yes
70301 else
70302 glibcxx_cv_func__long_double_trig_use=no
70304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70305 ac_ext=c
70306 ac_cpp='$CPP $CPPFLAGS'
70307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70314 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70315 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70316 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70317 do :
70318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70321 cat >>confdefs.h <<_ACEOF
70322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70323 _ACEOF
70326 done
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70336 $as_echo_n "checking for long double round functions... " >&6; }
70337 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70338 $as_echo_n "(cached) " >&6
70339 else
70342 ac_ext=cpp
70343 ac_cpp='$CXXCPP $CPPFLAGS'
70344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70349 /* end confdefs.h. */
70350 #include <math.h>
70352 main ()
70354 ceill (0); floorl (0);
70356 return 0;
70358 _ACEOF
70359 if ac_fn_cxx_try_compile "$LINENO"; then :
70360 glibcxx_cv_func_long_double_round_use=yes
70361 else
70362 glibcxx_cv_func_long_double_round_use=no
70364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70365 ac_ext=c
70366 ac_cpp='$CPP $CPPFLAGS'
70367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70374 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70375 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70376 for ac_func in ceill floorl
70377 do :
70378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70380 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70381 cat >>confdefs.h <<_ACEOF
70382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70383 _ACEOF
70386 done
70388 else
70389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70390 $as_echo_n "checking for _long double round functions... " >&6; }
70391 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70392 $as_echo_n "(cached) " >&6
70393 else
70396 ac_ext=cpp
70397 ac_cpp='$CXXCPP $CPPFLAGS'
70398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70403 /* end confdefs.h. */
70404 #include <math.h>
70406 main ()
70408 _ceill (0); _floorl (0);
70410 return 0;
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414 glibcxx_cv_func__long_double_round_use=yes
70415 else
70416 glibcxx_cv_func__long_double_round_use=no
70418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70419 ac_ext=c
70420 ac_cpp='$CPP $CPPFLAGS'
70421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70428 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70429 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70430 for ac_func in _ceill _floorl
70431 do :
70432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70435 cat >>confdefs.h <<_ACEOF
70436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70437 _ACEOF
70440 done
70450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70451 $as_echo_n "checking for isnanl declaration... " >&6; }
70452 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70453 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70454 $as_echo_n "(cached) " >&6
70455 else
70458 ac_ext=cpp
70459 ac_cpp='$CXXCPP $CPPFLAGS'
70460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70465 /* end confdefs.h. */
70466 #include <math.h>
70467 #ifdef HAVE_IEEEFP_H
70468 #include <ieeefp.h>
70469 #endif
70472 main ()
70474 isnanl(0);
70476 return 0;
70478 _ACEOF
70479 if ac_fn_cxx_try_compile "$LINENO"; then :
70480 glibcxx_cv_func_isnanl_use=yes
70481 else
70482 glibcxx_cv_func_isnanl_use=no
70484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70485 ac_ext=c
70486 ac_cpp='$CPP $CPPFLAGS'
70487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70496 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70498 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70499 for ac_func in isnanl
70500 do :
70501 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70502 if test "x$ac_cv_func_isnanl" = xyes; then :
70503 cat >>confdefs.h <<_ACEOF
70504 #define HAVE_ISNANL 1
70505 _ACEOF
70508 done
70510 else
70512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70513 $as_echo_n "checking for _isnanl declaration... " >&6; }
70514 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70515 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70516 $as_echo_n "(cached) " >&6
70517 else
70520 ac_ext=cpp
70521 ac_cpp='$CXXCPP $CPPFLAGS'
70522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70527 /* end confdefs.h. */
70528 #include <math.h>
70529 #ifdef HAVE_IEEEFP_H
70530 #include <ieeefp.h>
70531 #endif
70534 main ()
70536 _isnanl(0);
70538 return 0;
70540 _ACEOF
70541 if ac_fn_cxx_try_compile "$LINENO"; then :
70542 glibcxx_cv_func__isnanl_use=yes
70543 else
70544 glibcxx_cv_func__isnanl_use=no
70546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70547 ac_ext=c
70548 ac_cpp='$CPP $CPPFLAGS'
70549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70558 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70560 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70561 for ac_func in _isnanl
70562 do :
70563 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70564 if test "x$ac_cv_func__isnanl" = xyes; then :
70565 cat >>confdefs.h <<_ACEOF
70566 #define HAVE__ISNANL 1
70567 _ACEOF
70570 done
70579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70580 $as_echo_n "checking for isinfl declaration... " >&6; }
70581 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70582 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70583 $as_echo_n "(cached) " >&6
70584 else
70587 ac_ext=cpp
70588 ac_cpp='$CXXCPP $CPPFLAGS'
70589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70594 /* end confdefs.h. */
70595 #include <math.h>
70596 #ifdef HAVE_IEEEFP_H
70597 #include <ieeefp.h>
70598 #endif
70601 main ()
70603 isinfl(0);
70605 return 0;
70607 _ACEOF
70608 if ac_fn_cxx_try_compile "$LINENO"; then :
70609 glibcxx_cv_func_isinfl_use=yes
70610 else
70611 glibcxx_cv_func_isinfl_use=no
70613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70614 ac_ext=c
70615 ac_cpp='$CPP $CPPFLAGS'
70616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70625 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70627 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70628 for ac_func in isinfl
70629 do :
70630 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70631 if test "x$ac_cv_func_isinfl" = xyes; then :
70632 cat >>confdefs.h <<_ACEOF
70633 #define HAVE_ISINFL 1
70634 _ACEOF
70637 done
70639 else
70641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70642 $as_echo_n "checking for _isinfl declaration... " >&6; }
70643 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70644 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70645 $as_echo_n "(cached) " >&6
70646 else
70649 ac_ext=cpp
70650 ac_cpp='$CXXCPP $CPPFLAGS'
70651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70656 /* end confdefs.h. */
70657 #include <math.h>
70658 #ifdef HAVE_IEEEFP_H
70659 #include <ieeefp.h>
70660 #endif
70663 main ()
70665 _isinfl(0);
70667 return 0;
70669 _ACEOF
70670 if ac_fn_cxx_try_compile "$LINENO"; then :
70671 glibcxx_cv_func__isinfl_use=yes
70672 else
70673 glibcxx_cv_func__isinfl_use=no
70675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70676 ac_ext=c
70677 ac_cpp='$CPP $CPPFLAGS'
70678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70687 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70689 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70690 for ac_func in _isinfl
70691 do :
70692 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70693 if test "x$ac_cv_func__isinfl" = xyes; then :
70694 cat >>confdefs.h <<_ACEOF
70695 #define HAVE__ISINFL 1
70696 _ACEOF
70699 done
70708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70709 $as_echo_n "checking for atan2l declaration... " >&6; }
70710 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70711 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70712 $as_echo_n "(cached) " >&6
70713 else
70716 ac_ext=cpp
70717 ac_cpp='$CXXCPP $CPPFLAGS'
70718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70723 /* end confdefs.h. */
70724 #include <math.h>
70726 main ()
70728 atan2l(0, 0);
70730 return 0;
70732 _ACEOF
70733 if ac_fn_cxx_try_compile "$LINENO"; then :
70734 glibcxx_cv_func_atan2l_use=yes
70735 else
70736 glibcxx_cv_func_atan2l_use=no
70738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70739 ac_ext=c
70740 ac_cpp='$CPP $CPPFLAGS'
70741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70750 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70752 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70753 for ac_func in atan2l
70754 do :
70755 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70756 if test "x$ac_cv_func_atan2l" = xyes; then :
70757 cat >>confdefs.h <<_ACEOF
70758 #define HAVE_ATAN2L 1
70759 _ACEOF
70762 done
70764 else
70766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70767 $as_echo_n "checking for _atan2l declaration... " >&6; }
70768 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70769 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70770 $as_echo_n "(cached) " >&6
70771 else
70774 ac_ext=cpp
70775 ac_cpp='$CXXCPP $CPPFLAGS'
70776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70781 /* end confdefs.h. */
70782 #include <math.h>
70784 main ()
70786 _atan2l(0, 0);
70788 return 0;
70790 _ACEOF
70791 if ac_fn_cxx_try_compile "$LINENO"; then :
70792 glibcxx_cv_func__atan2l_use=yes
70793 else
70794 glibcxx_cv_func__atan2l_use=no
70796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70797 ac_ext=c
70798 ac_cpp='$CPP $CPPFLAGS'
70799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70808 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70810 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70811 for ac_func in _atan2l
70812 do :
70813 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70814 if test "x$ac_cv_func__atan2l" = xyes; then :
70815 cat >>confdefs.h <<_ACEOF
70816 #define HAVE__ATAN2L 1
70817 _ACEOF
70820 done
70829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70830 $as_echo_n "checking for expl declaration... " >&6; }
70831 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70832 if ${glibcxx_cv_func_expl_use+:} false; then :
70833 $as_echo_n "(cached) " >&6
70834 else
70837 ac_ext=cpp
70838 ac_cpp='$CXXCPP $CPPFLAGS'
70839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70844 /* end confdefs.h. */
70845 #include <math.h>
70846 #ifdef HAVE_IEEEFP_H
70847 #include <ieeefp.h>
70848 #endif
70851 main ()
70853 expl(0);
70855 return 0;
70857 _ACEOF
70858 if ac_fn_cxx_try_compile "$LINENO"; then :
70859 glibcxx_cv_func_expl_use=yes
70860 else
70861 glibcxx_cv_func_expl_use=no
70863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70864 ac_ext=c
70865 ac_cpp='$CPP $CPPFLAGS'
70866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70875 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70877 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70878 for ac_func in expl
70879 do :
70880 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70881 if test "x$ac_cv_func_expl" = xyes; then :
70882 cat >>confdefs.h <<_ACEOF
70883 #define HAVE_EXPL 1
70884 _ACEOF
70887 done
70889 else
70891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70892 $as_echo_n "checking for _expl declaration... " >&6; }
70893 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70894 if ${glibcxx_cv_func__expl_use+:} false; then :
70895 $as_echo_n "(cached) " >&6
70896 else
70899 ac_ext=cpp
70900 ac_cpp='$CXXCPP $CPPFLAGS'
70901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70906 /* end confdefs.h. */
70907 #include <math.h>
70908 #ifdef HAVE_IEEEFP_H
70909 #include <ieeefp.h>
70910 #endif
70913 main ()
70915 _expl(0);
70917 return 0;
70919 _ACEOF
70920 if ac_fn_cxx_try_compile "$LINENO"; then :
70921 glibcxx_cv_func__expl_use=yes
70922 else
70923 glibcxx_cv_func__expl_use=no
70925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70926 ac_ext=c
70927 ac_cpp='$CPP $CPPFLAGS'
70928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70937 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70939 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70940 for ac_func in _expl
70941 do :
70942 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70943 if test "x$ac_cv_func__expl" = xyes; then :
70944 cat >>confdefs.h <<_ACEOF
70945 #define HAVE__EXPL 1
70946 _ACEOF
70949 done
70958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70959 $as_echo_n "checking for fabsl declaration... " >&6; }
70960 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70961 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70962 $as_echo_n "(cached) " >&6
70963 else
70966 ac_ext=cpp
70967 ac_cpp='$CXXCPP $CPPFLAGS'
70968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70973 /* end confdefs.h. */
70974 #include <math.h>
70975 #ifdef HAVE_IEEEFP_H
70976 #include <ieeefp.h>
70977 #endif
70980 main ()
70982 fabsl(0);
70984 return 0;
70986 _ACEOF
70987 if ac_fn_cxx_try_compile "$LINENO"; then :
70988 glibcxx_cv_func_fabsl_use=yes
70989 else
70990 glibcxx_cv_func_fabsl_use=no
70992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70993 ac_ext=c
70994 ac_cpp='$CPP $CPPFLAGS'
70995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71004 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71006 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71007 for ac_func in fabsl
71008 do :
71009 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71010 if test "x$ac_cv_func_fabsl" = xyes; then :
71011 cat >>confdefs.h <<_ACEOF
71012 #define HAVE_FABSL 1
71013 _ACEOF
71016 done
71018 else
71020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71021 $as_echo_n "checking for _fabsl declaration... " >&6; }
71022 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71023 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71024 $as_echo_n "(cached) " >&6
71025 else
71028 ac_ext=cpp
71029 ac_cpp='$CXXCPP $CPPFLAGS'
71030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71035 /* end confdefs.h. */
71036 #include <math.h>
71037 #ifdef HAVE_IEEEFP_H
71038 #include <ieeefp.h>
71039 #endif
71042 main ()
71044 _fabsl(0);
71046 return 0;
71048 _ACEOF
71049 if ac_fn_cxx_try_compile "$LINENO"; then :
71050 glibcxx_cv_func__fabsl_use=yes
71051 else
71052 glibcxx_cv_func__fabsl_use=no
71054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71055 ac_ext=c
71056 ac_cpp='$CPP $CPPFLAGS'
71057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71066 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71068 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71069 for ac_func in _fabsl
71070 do :
71071 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71072 if test "x$ac_cv_func__fabsl" = xyes; then :
71073 cat >>confdefs.h <<_ACEOF
71074 #define HAVE__FABSL 1
71075 _ACEOF
71078 done
71087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71088 $as_echo_n "checking for fmodl declaration... " >&6; }
71089 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71090 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71091 $as_echo_n "(cached) " >&6
71092 else
71095 ac_ext=cpp
71096 ac_cpp='$CXXCPP $CPPFLAGS'
71097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71102 /* end confdefs.h. */
71103 #include <math.h>
71105 main ()
71107 fmodl(0, 0);
71109 return 0;
71111 _ACEOF
71112 if ac_fn_cxx_try_compile "$LINENO"; then :
71113 glibcxx_cv_func_fmodl_use=yes
71114 else
71115 glibcxx_cv_func_fmodl_use=no
71117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71118 ac_ext=c
71119 ac_cpp='$CPP $CPPFLAGS'
71120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71129 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71131 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71132 for ac_func in fmodl
71133 do :
71134 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71135 if test "x$ac_cv_func_fmodl" = xyes; then :
71136 cat >>confdefs.h <<_ACEOF
71137 #define HAVE_FMODL 1
71138 _ACEOF
71141 done
71143 else
71145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71146 $as_echo_n "checking for _fmodl declaration... " >&6; }
71147 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71148 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71149 $as_echo_n "(cached) " >&6
71150 else
71153 ac_ext=cpp
71154 ac_cpp='$CXXCPP $CPPFLAGS'
71155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71160 /* end confdefs.h. */
71161 #include <math.h>
71163 main ()
71165 _fmodl(0, 0);
71167 return 0;
71169 _ACEOF
71170 if ac_fn_cxx_try_compile "$LINENO"; then :
71171 glibcxx_cv_func__fmodl_use=yes
71172 else
71173 glibcxx_cv_func__fmodl_use=no
71175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71176 ac_ext=c
71177 ac_cpp='$CPP $CPPFLAGS'
71178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71187 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71189 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71190 for ac_func in _fmodl
71191 do :
71192 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71193 if test "x$ac_cv_func__fmodl" = xyes; then :
71194 cat >>confdefs.h <<_ACEOF
71195 #define HAVE__FMODL 1
71196 _ACEOF
71199 done
71208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71209 $as_echo_n "checking for frexpl declaration... " >&6; }
71210 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71211 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71212 $as_echo_n "(cached) " >&6
71213 else
71216 ac_ext=cpp
71217 ac_cpp='$CXXCPP $CPPFLAGS'
71218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71223 /* end confdefs.h. */
71224 #include <math.h>
71226 main ()
71228 frexpl(0, 0);
71230 return 0;
71232 _ACEOF
71233 if ac_fn_cxx_try_compile "$LINENO"; then :
71234 glibcxx_cv_func_frexpl_use=yes
71235 else
71236 glibcxx_cv_func_frexpl_use=no
71238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71239 ac_ext=c
71240 ac_cpp='$CPP $CPPFLAGS'
71241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71250 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71252 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71253 for ac_func in frexpl
71254 do :
71255 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71256 if test "x$ac_cv_func_frexpl" = xyes; then :
71257 cat >>confdefs.h <<_ACEOF
71258 #define HAVE_FREXPL 1
71259 _ACEOF
71262 done
71264 else
71266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71267 $as_echo_n "checking for _frexpl declaration... " >&6; }
71268 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71269 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71270 $as_echo_n "(cached) " >&6
71271 else
71274 ac_ext=cpp
71275 ac_cpp='$CXXCPP $CPPFLAGS'
71276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71281 /* end confdefs.h. */
71282 #include <math.h>
71284 main ()
71286 _frexpl(0, 0);
71288 return 0;
71290 _ACEOF
71291 if ac_fn_cxx_try_compile "$LINENO"; then :
71292 glibcxx_cv_func__frexpl_use=yes
71293 else
71294 glibcxx_cv_func__frexpl_use=no
71296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71297 ac_ext=c
71298 ac_cpp='$CPP $CPPFLAGS'
71299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71308 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71310 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71311 for ac_func in _frexpl
71312 do :
71313 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71314 if test "x$ac_cv_func__frexpl" = xyes; then :
71315 cat >>confdefs.h <<_ACEOF
71316 #define HAVE__FREXPL 1
71317 _ACEOF
71320 done
71329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71330 $as_echo_n "checking for hypotl declaration... " >&6; }
71331 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71332 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71333 $as_echo_n "(cached) " >&6
71334 else
71337 ac_ext=cpp
71338 ac_cpp='$CXXCPP $CPPFLAGS'
71339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71344 /* end confdefs.h. */
71345 #include <math.h>
71347 main ()
71349 hypotl(0, 0);
71351 return 0;
71353 _ACEOF
71354 if ac_fn_cxx_try_compile "$LINENO"; then :
71355 glibcxx_cv_func_hypotl_use=yes
71356 else
71357 glibcxx_cv_func_hypotl_use=no
71359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71360 ac_ext=c
71361 ac_cpp='$CPP $CPPFLAGS'
71362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71371 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71373 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71374 for ac_func in hypotl
71375 do :
71376 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71377 if test "x$ac_cv_func_hypotl" = xyes; then :
71378 cat >>confdefs.h <<_ACEOF
71379 #define HAVE_HYPOTL 1
71380 _ACEOF
71383 done
71385 else
71387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71388 $as_echo_n "checking for _hypotl declaration... " >&6; }
71389 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71390 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71391 $as_echo_n "(cached) " >&6
71392 else
71395 ac_ext=cpp
71396 ac_cpp='$CXXCPP $CPPFLAGS'
71397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71402 /* end confdefs.h. */
71403 #include <math.h>
71405 main ()
71407 _hypotl(0, 0);
71409 return 0;
71411 _ACEOF
71412 if ac_fn_cxx_try_compile "$LINENO"; then :
71413 glibcxx_cv_func__hypotl_use=yes
71414 else
71415 glibcxx_cv_func__hypotl_use=no
71417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71418 ac_ext=c
71419 ac_cpp='$CPP $CPPFLAGS'
71420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71429 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71431 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71432 for ac_func in _hypotl
71433 do :
71434 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71435 if test "x$ac_cv_func__hypotl" = xyes; then :
71436 cat >>confdefs.h <<_ACEOF
71437 #define HAVE__HYPOTL 1
71438 _ACEOF
71441 done
71450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71451 $as_echo_n "checking for ldexpl declaration... " >&6; }
71452 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71453 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71454 $as_echo_n "(cached) " >&6
71455 else
71458 ac_ext=cpp
71459 ac_cpp='$CXXCPP $CPPFLAGS'
71460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71465 /* end confdefs.h. */
71466 #include <math.h>
71468 main ()
71470 ldexpl(0, 0);
71472 return 0;
71474 _ACEOF
71475 if ac_fn_cxx_try_compile "$LINENO"; then :
71476 glibcxx_cv_func_ldexpl_use=yes
71477 else
71478 glibcxx_cv_func_ldexpl_use=no
71480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71481 ac_ext=c
71482 ac_cpp='$CPP $CPPFLAGS'
71483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71492 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71494 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71495 for ac_func in ldexpl
71496 do :
71497 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71498 if test "x$ac_cv_func_ldexpl" = xyes; then :
71499 cat >>confdefs.h <<_ACEOF
71500 #define HAVE_LDEXPL 1
71501 _ACEOF
71504 done
71506 else
71508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71509 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71510 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71511 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71512 $as_echo_n "(cached) " >&6
71513 else
71516 ac_ext=cpp
71517 ac_cpp='$CXXCPP $CPPFLAGS'
71518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71523 /* end confdefs.h. */
71524 #include <math.h>
71526 main ()
71528 _ldexpl(0, 0);
71530 return 0;
71532 _ACEOF
71533 if ac_fn_cxx_try_compile "$LINENO"; then :
71534 glibcxx_cv_func__ldexpl_use=yes
71535 else
71536 glibcxx_cv_func__ldexpl_use=no
71538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71539 ac_ext=c
71540 ac_cpp='$CPP $CPPFLAGS'
71541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71550 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71552 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71553 for ac_func in _ldexpl
71554 do :
71555 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71556 if test "x$ac_cv_func__ldexpl" = xyes; then :
71557 cat >>confdefs.h <<_ACEOF
71558 #define HAVE__LDEXPL 1
71559 _ACEOF
71562 done
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71572 $as_echo_n "checking for logl declaration... " >&6; }
71573 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71574 if ${glibcxx_cv_func_logl_use+:} false; then :
71575 $as_echo_n "(cached) " >&6
71576 else
71579 ac_ext=cpp
71580 ac_cpp='$CXXCPP $CPPFLAGS'
71581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71586 /* end confdefs.h. */
71587 #include <math.h>
71588 #ifdef HAVE_IEEEFP_H
71589 #include <ieeefp.h>
71590 #endif
71593 main ()
71595 logl(0);
71597 return 0;
71599 _ACEOF
71600 if ac_fn_cxx_try_compile "$LINENO"; then :
71601 glibcxx_cv_func_logl_use=yes
71602 else
71603 glibcxx_cv_func_logl_use=no
71605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71606 ac_ext=c
71607 ac_cpp='$CPP $CPPFLAGS'
71608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71617 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71619 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71620 for ac_func in logl
71621 do :
71622 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71623 if test "x$ac_cv_func_logl" = xyes; then :
71624 cat >>confdefs.h <<_ACEOF
71625 #define HAVE_LOGL 1
71626 _ACEOF
71629 done
71631 else
71633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71634 $as_echo_n "checking for _logl declaration... " >&6; }
71635 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71636 if ${glibcxx_cv_func__logl_use+:} false; then :
71637 $as_echo_n "(cached) " >&6
71638 else
71641 ac_ext=cpp
71642 ac_cpp='$CXXCPP $CPPFLAGS'
71643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71648 /* end confdefs.h. */
71649 #include <math.h>
71650 #ifdef HAVE_IEEEFP_H
71651 #include <ieeefp.h>
71652 #endif
71655 main ()
71657 _logl(0);
71659 return 0;
71661 _ACEOF
71662 if ac_fn_cxx_try_compile "$LINENO"; then :
71663 glibcxx_cv_func__logl_use=yes
71664 else
71665 glibcxx_cv_func__logl_use=no
71667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71668 ac_ext=c
71669 ac_cpp='$CPP $CPPFLAGS'
71670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71679 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71681 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71682 for ac_func in _logl
71683 do :
71684 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71685 if test "x$ac_cv_func__logl" = xyes; then :
71686 cat >>confdefs.h <<_ACEOF
71687 #define HAVE__LOGL 1
71688 _ACEOF
71691 done
71700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71701 $as_echo_n "checking for log10l declaration... " >&6; }
71702 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71703 if ${glibcxx_cv_func_log10l_use+:} false; then :
71704 $as_echo_n "(cached) " >&6
71705 else
71708 ac_ext=cpp
71709 ac_cpp='$CXXCPP $CPPFLAGS'
71710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71715 /* end confdefs.h. */
71716 #include <math.h>
71717 #ifdef HAVE_IEEEFP_H
71718 #include <ieeefp.h>
71719 #endif
71722 main ()
71724 log10l(0);
71726 return 0;
71728 _ACEOF
71729 if ac_fn_cxx_try_compile "$LINENO"; then :
71730 glibcxx_cv_func_log10l_use=yes
71731 else
71732 glibcxx_cv_func_log10l_use=no
71734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71735 ac_ext=c
71736 ac_cpp='$CPP $CPPFLAGS'
71737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71746 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71748 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71749 for ac_func in log10l
71750 do :
71751 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71752 if test "x$ac_cv_func_log10l" = xyes; then :
71753 cat >>confdefs.h <<_ACEOF
71754 #define HAVE_LOG10L 1
71755 _ACEOF
71758 done
71760 else
71762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71763 $as_echo_n "checking for _log10l declaration... " >&6; }
71764 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71765 if ${glibcxx_cv_func__log10l_use+:} false; then :
71766 $as_echo_n "(cached) " >&6
71767 else
71770 ac_ext=cpp
71771 ac_cpp='$CXXCPP $CPPFLAGS'
71772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71777 /* end confdefs.h. */
71778 #include <math.h>
71779 #ifdef HAVE_IEEEFP_H
71780 #include <ieeefp.h>
71781 #endif
71784 main ()
71786 _log10l(0);
71788 return 0;
71790 _ACEOF
71791 if ac_fn_cxx_try_compile "$LINENO"; then :
71792 glibcxx_cv_func__log10l_use=yes
71793 else
71794 glibcxx_cv_func__log10l_use=no
71796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71797 ac_ext=c
71798 ac_cpp='$CPP $CPPFLAGS'
71799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71808 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71810 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71811 for ac_func in _log10l
71812 do :
71813 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71814 if test "x$ac_cv_func__log10l" = xyes; then :
71815 cat >>confdefs.h <<_ACEOF
71816 #define HAVE__LOG10L 1
71817 _ACEOF
71820 done
71829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71830 $as_echo_n "checking for modfl declaration... " >&6; }
71831 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71832 if ${glibcxx_cv_func_modfl_use+:} false; then :
71833 $as_echo_n "(cached) " >&6
71834 else
71837 ac_ext=cpp
71838 ac_cpp='$CXXCPP $CPPFLAGS'
71839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71844 /* end confdefs.h. */
71845 #include <math.h>
71847 main ()
71849 modfl(0, 0);
71851 return 0;
71853 _ACEOF
71854 if ac_fn_cxx_try_compile "$LINENO"; then :
71855 glibcxx_cv_func_modfl_use=yes
71856 else
71857 glibcxx_cv_func_modfl_use=no
71859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71860 ac_ext=c
71861 ac_cpp='$CPP $CPPFLAGS'
71862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71871 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71873 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71874 for ac_func in modfl
71875 do :
71876 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71877 if test "x$ac_cv_func_modfl" = xyes; then :
71878 cat >>confdefs.h <<_ACEOF
71879 #define HAVE_MODFL 1
71880 _ACEOF
71883 done
71885 else
71887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71888 $as_echo_n "checking for _modfl declaration... " >&6; }
71889 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71890 if ${glibcxx_cv_func__modfl_use+:} false; then :
71891 $as_echo_n "(cached) " >&6
71892 else
71895 ac_ext=cpp
71896 ac_cpp='$CXXCPP $CPPFLAGS'
71897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71902 /* end confdefs.h. */
71903 #include <math.h>
71905 main ()
71907 _modfl(0, 0);
71909 return 0;
71911 _ACEOF
71912 if ac_fn_cxx_try_compile "$LINENO"; then :
71913 glibcxx_cv_func__modfl_use=yes
71914 else
71915 glibcxx_cv_func__modfl_use=no
71917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71918 ac_ext=c
71919 ac_cpp='$CPP $CPPFLAGS'
71920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71929 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71931 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71932 for ac_func in _modfl
71933 do :
71934 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71935 if test "x$ac_cv_func__modfl" = xyes; then :
71936 cat >>confdefs.h <<_ACEOF
71937 #define HAVE__MODFL 1
71938 _ACEOF
71941 done
71950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71951 $as_echo_n "checking for powl declaration... " >&6; }
71952 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71953 if ${glibcxx_cv_func_powl_use+:} false; then :
71954 $as_echo_n "(cached) " >&6
71955 else
71958 ac_ext=cpp
71959 ac_cpp='$CXXCPP $CPPFLAGS'
71960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71965 /* end confdefs.h. */
71966 #include <math.h>
71968 main ()
71970 powl(0, 0);
71972 return 0;
71974 _ACEOF
71975 if ac_fn_cxx_try_compile "$LINENO"; then :
71976 glibcxx_cv_func_powl_use=yes
71977 else
71978 glibcxx_cv_func_powl_use=no
71980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71981 ac_ext=c
71982 ac_cpp='$CPP $CPPFLAGS'
71983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71992 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71994 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71995 for ac_func in powl
71996 do :
71997 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71998 if test "x$ac_cv_func_powl" = xyes; then :
71999 cat >>confdefs.h <<_ACEOF
72000 #define HAVE_POWL 1
72001 _ACEOF
72004 done
72006 else
72008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72009 $as_echo_n "checking for _powl declaration... " >&6; }
72010 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72011 if ${glibcxx_cv_func__powl_use+:} false; then :
72012 $as_echo_n "(cached) " >&6
72013 else
72016 ac_ext=cpp
72017 ac_cpp='$CXXCPP $CPPFLAGS'
72018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72023 /* end confdefs.h. */
72024 #include <math.h>
72026 main ()
72028 _powl(0, 0);
72030 return 0;
72032 _ACEOF
72033 if ac_fn_cxx_try_compile "$LINENO"; then :
72034 glibcxx_cv_func__powl_use=yes
72035 else
72036 glibcxx_cv_func__powl_use=no
72038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72039 ac_ext=c
72040 ac_cpp='$CPP $CPPFLAGS'
72041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72050 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72052 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72053 for ac_func in _powl
72054 do :
72055 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72056 if test "x$ac_cv_func__powl" = xyes; then :
72057 cat >>confdefs.h <<_ACEOF
72058 #define HAVE__POWL 1
72059 _ACEOF
72062 done
72071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72072 $as_echo_n "checking for sqrtl declaration... " >&6; }
72073 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72074 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72075 $as_echo_n "(cached) " >&6
72076 else
72079 ac_ext=cpp
72080 ac_cpp='$CXXCPP $CPPFLAGS'
72081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72086 /* end confdefs.h. */
72087 #include <math.h>
72088 #ifdef HAVE_IEEEFP_H
72089 #include <ieeefp.h>
72090 #endif
72093 main ()
72095 sqrtl(0);
72097 return 0;
72099 _ACEOF
72100 if ac_fn_cxx_try_compile "$LINENO"; then :
72101 glibcxx_cv_func_sqrtl_use=yes
72102 else
72103 glibcxx_cv_func_sqrtl_use=no
72105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72106 ac_ext=c
72107 ac_cpp='$CPP $CPPFLAGS'
72108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72117 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72119 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72120 for ac_func in sqrtl
72121 do :
72122 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72123 if test "x$ac_cv_func_sqrtl" = xyes; then :
72124 cat >>confdefs.h <<_ACEOF
72125 #define HAVE_SQRTL 1
72126 _ACEOF
72129 done
72131 else
72133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72134 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72135 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72136 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72137 $as_echo_n "(cached) " >&6
72138 else
72141 ac_ext=cpp
72142 ac_cpp='$CXXCPP $CPPFLAGS'
72143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72148 /* end confdefs.h. */
72149 #include <math.h>
72150 #ifdef HAVE_IEEEFP_H
72151 #include <ieeefp.h>
72152 #endif
72155 main ()
72157 _sqrtl(0);
72159 return 0;
72161 _ACEOF
72162 if ac_fn_cxx_try_compile "$LINENO"; then :
72163 glibcxx_cv_func__sqrtl_use=yes
72164 else
72165 glibcxx_cv_func__sqrtl_use=no
72167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72168 ac_ext=c
72169 ac_cpp='$CPP $CPPFLAGS'
72170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72179 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72181 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72182 for ac_func in _sqrtl
72183 do :
72184 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72185 if test "x$ac_cv_func__sqrtl" = xyes; then :
72186 cat >>confdefs.h <<_ACEOF
72187 #define HAVE__SQRTL 1
72188 _ACEOF
72191 done
72200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72201 $as_echo_n "checking for sincosl declaration... " >&6; }
72202 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72203 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72204 $as_echo_n "(cached) " >&6
72205 else
72208 ac_ext=cpp
72209 ac_cpp='$CXXCPP $CPPFLAGS'
72210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72215 /* end confdefs.h. */
72216 #include <math.h>
72218 main ()
72220 sincosl(0, 0, 0);
72222 return 0;
72224 _ACEOF
72225 if ac_fn_cxx_try_compile "$LINENO"; then :
72226 glibcxx_cv_func_sincosl_use=yes
72227 else
72228 glibcxx_cv_func_sincosl_use=no
72230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72231 ac_ext=c
72232 ac_cpp='$CPP $CPPFLAGS'
72233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72242 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72244 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72245 for ac_func in sincosl
72246 do :
72247 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72248 if test "x$ac_cv_func_sincosl" = xyes; then :
72249 cat >>confdefs.h <<_ACEOF
72250 #define HAVE_SINCOSL 1
72251 _ACEOF
72254 done
72256 else
72258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72259 $as_echo_n "checking for _sincosl declaration... " >&6; }
72260 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72261 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72262 $as_echo_n "(cached) " >&6
72263 else
72266 ac_ext=cpp
72267 ac_cpp='$CXXCPP $CPPFLAGS'
72268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72273 /* end confdefs.h. */
72274 #include <math.h>
72276 main ()
72278 _sincosl(0, 0, 0);
72280 return 0;
72282 _ACEOF
72283 if ac_fn_cxx_try_compile "$LINENO"; then :
72284 glibcxx_cv_func__sincosl_use=yes
72285 else
72286 glibcxx_cv_func__sincosl_use=no
72288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72289 ac_ext=c
72290 ac_cpp='$CPP $CPPFLAGS'
72291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72300 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72302 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72303 for ac_func in _sincosl
72304 do :
72305 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72306 if test "x$ac_cv_func__sincosl" = xyes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define HAVE__SINCOSL 1
72309 _ACEOF
72312 done
72321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72322 $as_echo_n "checking for finitel declaration... " >&6; }
72323 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72324 if ${glibcxx_cv_func_finitel_use+:} false; then :
72325 $as_echo_n "(cached) " >&6
72326 else
72329 ac_ext=cpp
72330 ac_cpp='$CXXCPP $CPPFLAGS'
72331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72336 /* end confdefs.h. */
72337 #include <math.h>
72338 #ifdef HAVE_IEEEFP_H
72339 #include <ieeefp.h>
72340 #endif
72343 main ()
72345 finitel(0);
72347 return 0;
72349 _ACEOF
72350 if ac_fn_cxx_try_compile "$LINENO"; then :
72351 glibcxx_cv_func_finitel_use=yes
72352 else
72353 glibcxx_cv_func_finitel_use=no
72355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72356 ac_ext=c
72357 ac_cpp='$CPP $CPPFLAGS'
72358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72367 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72369 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72370 for ac_func in finitel
72371 do :
72372 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72373 if test "x$ac_cv_func_finitel" = xyes; then :
72374 cat >>confdefs.h <<_ACEOF
72375 #define HAVE_FINITEL 1
72376 _ACEOF
72379 done
72381 else
72383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72384 $as_echo_n "checking for _finitel declaration... " >&6; }
72385 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72386 if ${glibcxx_cv_func__finitel_use+:} false; then :
72387 $as_echo_n "(cached) " >&6
72388 else
72391 ac_ext=cpp
72392 ac_cpp='$CXXCPP $CPPFLAGS'
72393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72398 /* end confdefs.h. */
72399 #include <math.h>
72400 #ifdef HAVE_IEEEFP_H
72401 #include <ieeefp.h>
72402 #endif
72405 main ()
72407 _finitel(0);
72409 return 0;
72411 _ACEOF
72412 if ac_fn_cxx_try_compile "$LINENO"; then :
72413 glibcxx_cv_func__finitel_use=yes
72414 else
72415 glibcxx_cv_func__finitel_use=no
72417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72418 ac_ext=c
72419 ac_cpp='$CPP $CPPFLAGS'
72420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72429 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72431 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72432 for ac_func in _finitel
72433 do :
72434 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72435 if test "x$ac_cv_func__finitel" = xyes; then :
72436 cat >>confdefs.h <<_ACEOF
72437 #define HAVE__FINITEL 1
72438 _ACEOF
72441 done
72449 LIBS="$ac_save_LIBS"
72450 CXXFLAGS="$ac_save_CXXFLAGS"
72453 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72454 ac_save_CXXFLAGS="$CXXFLAGS"
72455 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72459 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72460 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72461 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72462 $as_echo_n "(cached) " >&6
72463 else
72466 ac_ext=cpp
72467 ac_cpp='$CXXCPP $CPPFLAGS'
72468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72473 /* end confdefs.h. */
72474 #include <stdlib.h>
72476 main ()
72478 at_quick_exit(0);
72480 return 0;
72482 _ACEOF
72483 if ac_fn_cxx_try_compile "$LINENO"; then :
72484 glibcxx_cv_func_at_quick_exit_use=yes
72485 else
72486 glibcxx_cv_func_at_quick_exit_use=no
72488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72489 ac_ext=c
72490 ac_cpp='$CPP $CPPFLAGS'
72491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72500 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72501 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72502 for ac_func in at_quick_exit
72503 do :
72504 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72505 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72506 cat >>confdefs.h <<_ACEOF
72507 #define HAVE_AT_QUICK_EXIT 1
72508 _ACEOF
72511 done
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72517 $as_echo_n "checking for quick_exit declaration... " >&6; }
72518 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72519 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72520 $as_echo_n "(cached) " >&6
72521 else
72524 ac_ext=cpp
72525 ac_cpp='$CXXCPP $CPPFLAGS'
72526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72531 /* end confdefs.h. */
72532 #include <stdlib.h>
72534 main ()
72536 quick_exit(0);
72538 return 0;
72540 _ACEOF
72541 if ac_fn_cxx_try_compile "$LINENO"; then :
72542 glibcxx_cv_func_quick_exit_use=yes
72543 else
72544 glibcxx_cv_func_quick_exit_use=no
72546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72547 ac_ext=c
72548 ac_cpp='$CPP $CPPFLAGS'
72549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72558 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72559 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72560 for ac_func in quick_exit
72561 do :
72562 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72563 if test "x$ac_cv_func_quick_exit" = xyes; then :
72564 cat >>confdefs.h <<_ACEOF
72565 #define HAVE_QUICK_EXIT 1
72566 _ACEOF
72569 done
72574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72575 $as_echo_n "checking for strtold declaration... " >&6; }
72576 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72577 if ${glibcxx_cv_func_strtold_use+:} false; then :
72578 $as_echo_n "(cached) " >&6
72579 else
72582 ac_ext=cpp
72583 ac_cpp='$CXXCPP $CPPFLAGS'
72584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72589 /* end confdefs.h. */
72590 #include <stdlib.h>
72592 main ()
72594 strtold(0, 0);
72596 return 0;
72598 _ACEOF
72599 if ac_fn_cxx_try_compile "$LINENO"; then :
72600 glibcxx_cv_func_strtold_use=yes
72601 else
72602 glibcxx_cv_func_strtold_use=no
72604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72605 ac_ext=c
72606 ac_cpp='$CPP $CPPFLAGS'
72607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72616 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72617 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72618 for ac_func in strtold
72619 do :
72620 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72621 if test "x$ac_cv_func_strtold" = xyes; then :
72622 cat >>confdefs.h <<_ACEOF
72623 #define HAVE_STRTOLD 1
72624 _ACEOF
72627 done
72634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72635 $as_echo_n "checking for strtof declaration... " >&6; }
72636 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72637 if ${glibcxx_cv_func_strtof_use+:} false; then :
72638 $as_echo_n "(cached) " >&6
72639 else
72642 ac_ext=cpp
72643 ac_cpp='$CXXCPP $CPPFLAGS'
72644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72649 /* end confdefs.h. */
72650 #include <stdlib.h>
72652 main ()
72654 strtof(0, 0);
72656 return 0;
72658 _ACEOF
72659 if ac_fn_cxx_try_compile "$LINENO"; then :
72660 glibcxx_cv_func_strtof_use=yes
72661 else
72662 glibcxx_cv_func_strtof_use=no
72664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72665 ac_ext=c
72666 ac_cpp='$CPP $CPPFLAGS'
72667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72676 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72677 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72678 for ac_func in strtof
72679 do :
72680 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72681 if test "x$ac_cv_func_strtof" = xyes; then :
72682 cat >>confdefs.h <<_ACEOF
72683 #define HAVE_STRTOF 1
72684 _ACEOF
72687 done
72694 CXXFLAGS="$ac_save_CXXFLAGS"
72697 *-vxworks*)
72698 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72700 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72702 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72704 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72706 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72708 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72710 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72712 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72714 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72716 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72718 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72720 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72722 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72724 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72726 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72728 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72730 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72732 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72734 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72736 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72743 $as_echo_n "checking for acosl declaration... " >&6; }
72744 if ${glibcxx_cv_func_acosl_use+:} false; then :
72745 $as_echo_n "(cached) " >&6
72746 else
72749 ac_ext=c
72750 ac_cpp='$CPP $CPPFLAGS'
72751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72756 /* end confdefs.h. */
72758 #include <math.h>
72759 #ifdef HAVE_IEEEFP_H
72760 # include <ieeefp.h>
72761 #endif
72762 #undef acosl
72765 main ()
72768 void (*f)(void) = (void (*)(void))acosl;
72771 return 0;
72773 _ACEOF
72774 if ac_fn_c_try_compile "$LINENO"; then :
72775 glibcxx_cv_func_acosl_use=yes
72777 else
72778 glibcxx_cv_func_acosl_use=no
72780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72783 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72784 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72785 cat >>confdefs.h <<_ACEOF
72786 #define HAVE_ACOSL 1
72787 _ACEOF
72793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72794 $as_echo_n "checking for asinl declaration... " >&6; }
72795 if ${glibcxx_cv_func_asinl_use+:} false; then :
72796 $as_echo_n "(cached) " >&6
72797 else
72800 ac_ext=c
72801 ac_cpp='$CPP $CPPFLAGS'
72802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72807 /* end confdefs.h. */
72809 #include <math.h>
72810 #ifdef HAVE_IEEEFP_H
72811 # include <ieeefp.h>
72812 #endif
72813 #undef asinl
72816 main ()
72819 void (*f)(void) = (void (*)(void))asinl;
72822 return 0;
72824 _ACEOF
72825 if ac_fn_c_try_compile "$LINENO"; then :
72826 glibcxx_cv_func_asinl_use=yes
72828 else
72829 glibcxx_cv_func_asinl_use=no
72831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72834 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72835 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72836 cat >>confdefs.h <<_ACEOF
72837 #define HAVE_ASINL 1
72838 _ACEOF
72844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72845 $as_echo_n "checking for atan2l declaration... " >&6; }
72846 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72847 $as_echo_n "(cached) " >&6
72848 else
72851 ac_ext=c
72852 ac_cpp='$CPP $CPPFLAGS'
72853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72858 /* end confdefs.h. */
72860 #include <math.h>
72861 #ifdef HAVE_IEEEFP_H
72862 # include <ieeefp.h>
72863 #endif
72864 #undef atan2l
72867 main ()
72870 void (*f)(void) = (void (*)(void))atan2l;
72873 return 0;
72875 _ACEOF
72876 if ac_fn_c_try_compile "$LINENO"; then :
72877 glibcxx_cv_func_atan2l_use=yes
72879 else
72880 glibcxx_cv_func_atan2l_use=no
72882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72885 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72886 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72887 cat >>confdefs.h <<_ACEOF
72888 #define HAVE_ATAN2L 1
72889 _ACEOF
72895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72896 $as_echo_n "checking for atanl declaration... " >&6; }
72897 if ${glibcxx_cv_func_atanl_use+:} false; then :
72898 $as_echo_n "(cached) " >&6
72899 else
72902 ac_ext=c
72903 ac_cpp='$CPP $CPPFLAGS'
72904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72909 /* end confdefs.h. */
72911 #include <math.h>
72912 #ifdef HAVE_IEEEFP_H
72913 # include <ieeefp.h>
72914 #endif
72915 #undef atanl
72918 main ()
72921 void (*f)(void) = (void (*)(void))atanl;
72924 return 0;
72926 _ACEOF
72927 if ac_fn_c_try_compile "$LINENO"; then :
72928 glibcxx_cv_func_atanl_use=yes
72930 else
72931 glibcxx_cv_func_atanl_use=no
72933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72936 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72937 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72938 cat >>confdefs.h <<_ACEOF
72939 #define HAVE_ATANL 1
72940 _ACEOF
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72947 $as_echo_n "checking for ceill declaration... " >&6; }
72948 if ${glibcxx_cv_func_ceill_use+:} false; then :
72949 $as_echo_n "(cached) " >&6
72950 else
72953 ac_ext=c
72954 ac_cpp='$CPP $CPPFLAGS'
72955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72960 /* end confdefs.h. */
72962 #include <math.h>
72963 #ifdef HAVE_IEEEFP_H
72964 # include <ieeefp.h>
72965 #endif
72966 #undef ceill
72969 main ()
72972 void (*f)(void) = (void (*)(void))ceill;
72975 return 0;
72977 _ACEOF
72978 if ac_fn_c_try_compile "$LINENO"; then :
72979 glibcxx_cv_func_ceill_use=yes
72981 else
72982 glibcxx_cv_func_ceill_use=no
72984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72987 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72988 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72989 cat >>confdefs.h <<_ACEOF
72990 #define HAVE_CEILL 1
72991 _ACEOF
72997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72998 $as_echo_n "checking for cosl declaration... " >&6; }
72999 if ${glibcxx_cv_func_cosl_use+:} false; then :
73000 $as_echo_n "(cached) " >&6
73001 else
73004 ac_ext=c
73005 ac_cpp='$CPP $CPPFLAGS'
73006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73011 /* end confdefs.h. */
73013 #include <math.h>
73014 #ifdef HAVE_IEEEFP_H
73015 # include <ieeefp.h>
73016 #endif
73017 #undef cosl
73020 main ()
73023 void (*f)(void) = (void (*)(void))cosl;
73026 return 0;
73028 _ACEOF
73029 if ac_fn_c_try_compile "$LINENO"; then :
73030 glibcxx_cv_func_cosl_use=yes
73032 else
73033 glibcxx_cv_func_cosl_use=no
73035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73038 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73039 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73040 cat >>confdefs.h <<_ACEOF
73041 #define HAVE_COSL 1
73042 _ACEOF
73048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73049 $as_echo_n "checking for coshl declaration... " >&6; }
73050 if ${glibcxx_cv_func_coshl_use+:} false; then :
73051 $as_echo_n "(cached) " >&6
73052 else
73055 ac_ext=c
73056 ac_cpp='$CPP $CPPFLAGS'
73057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73062 /* end confdefs.h. */
73064 #include <math.h>
73065 #ifdef HAVE_IEEEFP_H
73066 # include <ieeefp.h>
73067 #endif
73068 #undef coshl
73071 main ()
73074 void (*f)(void) = (void (*)(void))coshl;
73077 return 0;
73079 _ACEOF
73080 if ac_fn_c_try_compile "$LINENO"; then :
73081 glibcxx_cv_func_coshl_use=yes
73083 else
73084 glibcxx_cv_func_coshl_use=no
73086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73089 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73090 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73091 cat >>confdefs.h <<_ACEOF
73092 #define HAVE_COSHL 1
73093 _ACEOF
73099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73100 $as_echo_n "checking for expl declaration... " >&6; }
73101 if ${glibcxx_cv_func_expl_use+:} false; then :
73102 $as_echo_n "(cached) " >&6
73103 else
73106 ac_ext=c
73107 ac_cpp='$CPP $CPPFLAGS'
73108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73113 /* end confdefs.h. */
73115 #include <math.h>
73116 #ifdef HAVE_IEEEFP_H
73117 # include <ieeefp.h>
73118 #endif
73119 #undef expl
73122 main ()
73125 void (*f)(void) = (void (*)(void))expl;
73128 return 0;
73130 _ACEOF
73131 if ac_fn_c_try_compile "$LINENO"; then :
73132 glibcxx_cv_func_expl_use=yes
73134 else
73135 glibcxx_cv_func_expl_use=no
73137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73140 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73141 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73142 cat >>confdefs.h <<_ACEOF
73143 #define HAVE_EXPL 1
73144 _ACEOF
73150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73151 $as_echo_n "checking for fabsl declaration... " >&6; }
73152 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73153 $as_echo_n "(cached) " >&6
73154 else
73157 ac_ext=c
73158 ac_cpp='$CPP $CPPFLAGS'
73159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73164 /* end confdefs.h. */
73166 #include <math.h>
73167 #ifdef HAVE_IEEEFP_H
73168 # include <ieeefp.h>
73169 #endif
73170 #undef fabsl
73173 main ()
73176 void (*f)(void) = (void (*)(void))fabsl;
73179 return 0;
73181 _ACEOF
73182 if ac_fn_c_try_compile "$LINENO"; then :
73183 glibcxx_cv_func_fabsl_use=yes
73185 else
73186 glibcxx_cv_func_fabsl_use=no
73188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73191 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73192 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73193 cat >>confdefs.h <<_ACEOF
73194 #define HAVE_FABSL 1
73195 _ACEOF
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73202 $as_echo_n "checking for floorl declaration... " >&6; }
73203 if ${glibcxx_cv_func_floorl_use+:} false; then :
73204 $as_echo_n "(cached) " >&6
73205 else
73208 ac_ext=c
73209 ac_cpp='$CPP $CPPFLAGS'
73210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73215 /* end confdefs.h. */
73217 #include <math.h>
73218 #ifdef HAVE_IEEEFP_H
73219 # include <ieeefp.h>
73220 #endif
73221 #undef floorl
73224 main ()
73227 void (*f)(void) = (void (*)(void))floorl;
73230 return 0;
73232 _ACEOF
73233 if ac_fn_c_try_compile "$LINENO"; then :
73234 glibcxx_cv_func_floorl_use=yes
73236 else
73237 glibcxx_cv_func_floorl_use=no
73239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73242 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73243 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73244 cat >>confdefs.h <<_ACEOF
73245 #define HAVE_FLOORL 1
73246 _ACEOF
73252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73253 $as_echo_n "checking for fmodl declaration... " >&6; }
73254 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73255 $as_echo_n "(cached) " >&6
73256 else
73259 ac_ext=c
73260 ac_cpp='$CPP $CPPFLAGS'
73261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73266 /* end confdefs.h. */
73268 #include <math.h>
73269 #ifdef HAVE_IEEEFP_H
73270 # include <ieeefp.h>
73271 #endif
73272 #undef fmodl
73275 main ()
73278 void (*f)(void) = (void (*)(void))fmodl;
73281 return 0;
73283 _ACEOF
73284 if ac_fn_c_try_compile "$LINENO"; then :
73285 glibcxx_cv_func_fmodl_use=yes
73287 else
73288 glibcxx_cv_func_fmodl_use=no
73290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73293 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73294 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73295 cat >>confdefs.h <<_ACEOF
73296 #define HAVE_FMODL 1
73297 _ACEOF
73303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73304 $as_echo_n "checking for frexpl declaration... " >&6; }
73305 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73306 $as_echo_n "(cached) " >&6
73307 else
73310 ac_ext=c
73311 ac_cpp='$CPP $CPPFLAGS'
73312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73317 /* end confdefs.h. */
73319 #include <math.h>
73320 #ifdef HAVE_IEEEFP_H
73321 # include <ieeefp.h>
73322 #endif
73323 #undef frexpl
73326 main ()
73329 void (*f)(void) = (void (*)(void))frexpl;
73332 return 0;
73334 _ACEOF
73335 if ac_fn_c_try_compile "$LINENO"; then :
73336 glibcxx_cv_func_frexpl_use=yes
73338 else
73339 glibcxx_cv_func_frexpl_use=no
73341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73344 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73345 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73346 cat >>confdefs.h <<_ACEOF
73347 #define HAVE_FREXPL 1
73348 _ACEOF
73354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73355 $as_echo_n "checking for ldexpl declaration... " >&6; }
73356 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73357 $as_echo_n "(cached) " >&6
73358 else
73361 ac_ext=c
73362 ac_cpp='$CPP $CPPFLAGS'
73363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73368 /* end confdefs.h. */
73370 #include <math.h>
73371 #ifdef HAVE_IEEEFP_H
73372 # include <ieeefp.h>
73373 #endif
73374 #undef ldexpl
73377 main ()
73380 void (*f)(void) = (void (*)(void))ldexpl;
73383 return 0;
73385 _ACEOF
73386 if ac_fn_c_try_compile "$LINENO"; then :
73387 glibcxx_cv_func_ldexpl_use=yes
73389 else
73390 glibcxx_cv_func_ldexpl_use=no
73392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73395 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73396 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73397 cat >>confdefs.h <<_ACEOF
73398 #define HAVE_LDEXPL 1
73399 _ACEOF
73405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73406 $as_echo_n "checking for log10l declaration... " >&6; }
73407 if ${glibcxx_cv_func_log10l_use+:} false; then :
73408 $as_echo_n "(cached) " >&6
73409 else
73412 ac_ext=c
73413 ac_cpp='$CPP $CPPFLAGS'
73414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73419 /* end confdefs.h. */
73421 #include <math.h>
73422 #ifdef HAVE_IEEEFP_H
73423 # include <ieeefp.h>
73424 #endif
73425 #undef log10l
73428 main ()
73431 void (*f)(void) = (void (*)(void))log10l;
73434 return 0;
73436 _ACEOF
73437 if ac_fn_c_try_compile "$LINENO"; then :
73438 glibcxx_cv_func_log10l_use=yes
73440 else
73441 glibcxx_cv_func_log10l_use=no
73443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73446 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73447 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73448 cat >>confdefs.h <<_ACEOF
73449 #define HAVE_LOG10L 1
73450 _ACEOF
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73457 $as_echo_n "checking for logl declaration... " >&6; }
73458 if ${glibcxx_cv_func_logl_use+:} false; then :
73459 $as_echo_n "(cached) " >&6
73460 else
73463 ac_ext=c
73464 ac_cpp='$CPP $CPPFLAGS'
73465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73470 /* end confdefs.h. */
73472 #include <math.h>
73473 #ifdef HAVE_IEEEFP_H
73474 # include <ieeefp.h>
73475 #endif
73476 #undef logl
73479 main ()
73482 void (*f)(void) = (void (*)(void))logl;
73485 return 0;
73487 _ACEOF
73488 if ac_fn_c_try_compile "$LINENO"; then :
73489 glibcxx_cv_func_logl_use=yes
73491 else
73492 glibcxx_cv_func_logl_use=no
73494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73497 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73498 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73499 cat >>confdefs.h <<_ACEOF
73500 #define HAVE_LOGL 1
73501 _ACEOF
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73508 $as_echo_n "checking for modfl declaration... " >&6; }
73509 if ${glibcxx_cv_func_modfl_use+:} false; then :
73510 $as_echo_n "(cached) " >&6
73511 else
73514 ac_ext=c
73515 ac_cpp='$CPP $CPPFLAGS'
73516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73521 /* end confdefs.h. */
73523 #include <math.h>
73524 #ifdef HAVE_IEEEFP_H
73525 # include <ieeefp.h>
73526 #endif
73527 #undef modfl
73530 main ()
73533 void (*f)(void) = (void (*)(void))modfl;
73536 return 0;
73538 _ACEOF
73539 if ac_fn_c_try_compile "$LINENO"; then :
73540 glibcxx_cv_func_modfl_use=yes
73542 else
73543 glibcxx_cv_func_modfl_use=no
73545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73548 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73549 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73550 cat >>confdefs.h <<_ACEOF
73551 #define HAVE_MODFL 1
73552 _ACEOF
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73559 $as_echo_n "checking for powl declaration... " >&6; }
73560 if ${glibcxx_cv_func_powl_use+:} false; then :
73561 $as_echo_n "(cached) " >&6
73562 else
73565 ac_ext=c
73566 ac_cpp='$CPP $CPPFLAGS'
73567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73572 /* end confdefs.h. */
73574 #include <math.h>
73575 #ifdef HAVE_IEEEFP_H
73576 # include <ieeefp.h>
73577 #endif
73578 #undef powl
73581 main ()
73584 void (*f)(void) = (void (*)(void))powl;
73587 return 0;
73589 _ACEOF
73590 if ac_fn_c_try_compile "$LINENO"; then :
73591 glibcxx_cv_func_powl_use=yes
73593 else
73594 glibcxx_cv_func_powl_use=no
73596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73599 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73600 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73601 cat >>confdefs.h <<_ACEOF
73602 #define HAVE_POWL 1
73603 _ACEOF
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73610 $as_echo_n "checking for sinl declaration... " >&6; }
73611 if ${glibcxx_cv_func_sinl_use+:} false; then :
73612 $as_echo_n "(cached) " >&6
73613 else
73616 ac_ext=c
73617 ac_cpp='$CPP $CPPFLAGS'
73618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73623 /* end confdefs.h. */
73625 #include <math.h>
73626 #ifdef HAVE_IEEEFP_H
73627 # include <ieeefp.h>
73628 #endif
73629 #undef sinl
73632 main ()
73635 void (*f)(void) = (void (*)(void))sinl;
73638 return 0;
73640 _ACEOF
73641 if ac_fn_c_try_compile "$LINENO"; then :
73642 glibcxx_cv_func_sinl_use=yes
73644 else
73645 glibcxx_cv_func_sinl_use=no
73647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73650 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73651 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73652 cat >>confdefs.h <<_ACEOF
73653 #define HAVE_SINL 1
73654 _ACEOF
73660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73661 $as_echo_n "checking for sinhl declaration... " >&6; }
73662 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73663 $as_echo_n "(cached) " >&6
73664 else
73667 ac_ext=c
73668 ac_cpp='$CPP $CPPFLAGS'
73669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73674 /* end confdefs.h. */
73676 #include <math.h>
73677 #ifdef HAVE_IEEEFP_H
73678 # include <ieeefp.h>
73679 #endif
73680 #undef sinhl
73683 main ()
73686 void (*f)(void) = (void (*)(void))sinhl;
73689 return 0;
73691 _ACEOF
73692 if ac_fn_c_try_compile "$LINENO"; then :
73693 glibcxx_cv_func_sinhl_use=yes
73695 else
73696 glibcxx_cv_func_sinhl_use=no
73698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73701 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73702 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73703 cat >>confdefs.h <<_ACEOF
73704 #define HAVE_SINHL 1
73705 _ACEOF
73711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73712 $as_echo_n "checking for sqrtl declaration... " >&6; }
73713 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73714 $as_echo_n "(cached) " >&6
73715 else
73718 ac_ext=c
73719 ac_cpp='$CPP $CPPFLAGS'
73720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73725 /* end confdefs.h. */
73727 #include <math.h>
73728 #ifdef HAVE_IEEEFP_H
73729 # include <ieeefp.h>
73730 #endif
73731 #undef sqrtl
73734 main ()
73737 void (*f)(void) = (void (*)(void))sqrtl;
73740 return 0;
73742 _ACEOF
73743 if ac_fn_c_try_compile "$LINENO"; then :
73744 glibcxx_cv_func_sqrtl_use=yes
73746 else
73747 glibcxx_cv_func_sqrtl_use=no
73749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73752 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73753 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73754 cat >>confdefs.h <<_ACEOF
73755 #define HAVE_SQRTL 1
73756 _ACEOF
73762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73763 $as_echo_n "checking for tanl declaration... " >&6; }
73764 if ${glibcxx_cv_func_tanl_use+:} false; then :
73765 $as_echo_n "(cached) " >&6
73766 else
73769 ac_ext=c
73770 ac_cpp='$CPP $CPPFLAGS'
73771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73776 /* end confdefs.h. */
73778 #include <math.h>
73779 #ifdef HAVE_IEEEFP_H
73780 # include <ieeefp.h>
73781 #endif
73782 #undef tanl
73785 main ()
73788 void (*f)(void) = (void (*)(void))tanl;
73791 return 0;
73793 _ACEOF
73794 if ac_fn_c_try_compile "$LINENO"; then :
73795 glibcxx_cv_func_tanl_use=yes
73797 else
73798 glibcxx_cv_func_tanl_use=no
73800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73803 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73804 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73805 cat >>confdefs.h <<_ACEOF
73806 #define HAVE_TANL 1
73807 _ACEOF
73813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73814 $as_echo_n "checking for tanhl declaration... " >&6; }
73815 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73816 $as_echo_n "(cached) " >&6
73817 else
73820 ac_ext=c
73821 ac_cpp='$CPP $CPPFLAGS'
73822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73827 /* end confdefs.h. */
73829 #include <math.h>
73830 #ifdef HAVE_IEEEFP_H
73831 # include <ieeefp.h>
73832 #endif
73833 #undef tanhl
73836 main ()
73839 void (*f)(void) = (void (*)(void))tanhl;
73842 return 0;
73844 _ACEOF
73845 if ac_fn_c_try_compile "$LINENO"; then :
73846 glibcxx_cv_func_tanhl_use=yes
73848 else
73849 glibcxx_cv_func_tanhl_use=no
73851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73854 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73855 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73856 cat >>confdefs.h <<_ACEOF
73857 #define HAVE_TANHL 1
73858 _ACEOF
73864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73865 $as_echo_n "checking for hypotl declaration... " >&6; }
73866 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73867 $as_echo_n "(cached) " >&6
73868 else
73871 ac_ext=c
73872 ac_cpp='$CPP $CPPFLAGS'
73873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73878 /* end confdefs.h. */
73880 #include <math.h>
73881 #ifdef HAVE_IEEEFP_H
73882 # include <ieeefp.h>
73883 #endif
73884 #undef hypotl
73887 main ()
73890 void (*f)(void) = (void (*)(void))hypotl;
73893 return 0;
73895 _ACEOF
73896 if ac_fn_c_try_compile "$LINENO"; then :
73897 glibcxx_cv_func_hypotl_use=yes
73899 else
73900 glibcxx_cv_func_hypotl_use=no
73902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73905 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73906 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73907 cat >>confdefs.h <<_ACEOF
73908 #define HAVE_HYPOTL 1
73909 _ACEOF
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73916 $as_echo_n "checking for ldexpf declaration... " >&6; }
73917 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73918 $as_echo_n "(cached) " >&6
73919 else
73922 ac_ext=c
73923 ac_cpp='$CPP $CPPFLAGS'
73924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73929 /* end confdefs.h. */
73931 #include <math.h>
73932 #ifdef HAVE_IEEEFP_H
73933 # include <ieeefp.h>
73934 #endif
73935 #undef ldexpf
73938 main ()
73941 void (*f)(void) = (void (*)(void))ldexpf;
73944 return 0;
73946 _ACEOF
73947 if ac_fn_c_try_compile "$LINENO"; then :
73948 glibcxx_cv_func_ldexpf_use=yes
73950 else
73951 glibcxx_cv_func_ldexpf_use=no
73953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73956 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73957 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73958 cat >>confdefs.h <<_ACEOF
73959 #define HAVE_LDEXPF 1
73960 _ACEOF
73966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73967 $as_echo_n "checking for modff declaration... " >&6; }
73968 if ${glibcxx_cv_func_modff_use+:} false; then :
73969 $as_echo_n "(cached) " >&6
73970 else
73973 ac_ext=c
73974 ac_cpp='$CPP $CPPFLAGS'
73975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73980 /* end confdefs.h. */
73982 #include <math.h>
73983 #ifdef HAVE_IEEEFP_H
73984 # include <ieeefp.h>
73985 #endif
73986 #undef modff
73989 main ()
73992 void (*f)(void) = (void (*)(void))modff;
73995 return 0;
73997 _ACEOF
73998 if ac_fn_c_try_compile "$LINENO"; then :
73999 glibcxx_cv_func_modff_use=yes
74001 else
74002 glibcxx_cv_func_modff_use=no
74004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74007 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74008 if test "x$glibcxx_cv_func_modff_use" = xyes; then
74009 cat >>confdefs.h <<_ACEOF
74010 #define HAVE_MODFF 1
74011 _ACEOF
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74018 $as_echo_n "checking for hypotf declaration... " >&6; }
74019 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74020 $as_echo_n "(cached) " >&6
74021 else
74024 ac_ext=c
74025 ac_cpp='$CPP $CPPFLAGS'
74026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74031 /* end confdefs.h. */
74033 #include <math.h>
74034 #ifdef HAVE_IEEEFP_H
74035 # include <ieeefp.h>
74036 #endif
74037 #undef hypotf
74040 main ()
74043 void (*f)(void) = (void (*)(void))hypotf;
74046 return 0;
74048 _ACEOF
74049 if ac_fn_c_try_compile "$LINENO"; then :
74050 glibcxx_cv_func_hypotf_use=yes
74052 else
74053 glibcxx_cv_func_hypotf_use=no
74055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74058 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74059 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
74060 cat >>confdefs.h <<_ACEOF
74061 #define HAVE_HYPOTF 1
74062 _ACEOF
74068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74069 $as_echo_n "checking for frexpf declaration... " >&6; }
74070 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74071 $as_echo_n "(cached) " >&6
74072 else
74075 ac_ext=c
74076 ac_cpp='$CPP $CPPFLAGS'
74077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74082 /* end confdefs.h. */
74084 #include <math.h>
74085 #ifdef HAVE_IEEEFP_H
74086 # include <ieeefp.h>
74087 #endif
74088 #undef frexpf
74091 main ()
74094 void (*f)(void) = (void (*)(void))frexpf;
74097 return 0;
74099 _ACEOF
74100 if ac_fn_c_try_compile "$LINENO"; then :
74101 glibcxx_cv_func_frexpf_use=yes
74103 else
74104 glibcxx_cv_func_frexpf_use=no
74106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74109 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74110 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74111 cat >>confdefs.h <<_ACEOF
74112 #define HAVE_FREXPF 1
74113 _ACEOF
74121 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74123 esac
74127 # At some point, we should differentiate between architectures
74128 # like x86, which have long double versions, and alpha/powerpc/etc.,
74129 # which don't. For the time being, punt.
74130 if test x"long_double_math_on_this_cpu" = x"yes"; then
74131 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74133 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74135 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74137 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74139 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74141 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74143 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74145 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74147 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74149 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74151 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74153 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74155 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74157 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74159 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74161 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74163 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74165 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74167 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74169 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74171 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74173 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74175 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74180 # Check for _Unwind_GetIPInfo.
74183 # Check whether --with-system-libunwind was given.
74184 if test "${with_system_libunwind+set}" = set; then :
74185 withval=$with_system_libunwind;
74188 # If system-libunwind was not specifically set, pick a default setting.
74189 if test x$with_system_libunwind = x; then
74190 case ${target} in
74191 ia64-*-hpux*) with_system_libunwind=yes ;;
74192 *) with_system_libunwind=no ;;
74193 esac
74195 # Based on system-libunwind and target, do we have ipinfo?
74196 if test x$with_system_libunwind = xyes; then
74197 case ${target} in
74198 ia64-*-*) have_unwind_getipinfo=no ;;
74199 *) have_unwind_getipinfo=yes ;;
74200 esac
74201 else
74202 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74204 case ${target} in
74205 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74206 *) have_unwind_getipinfo=yes ;;
74207 esac
74211 if test x$have_unwind_getipinfo = xyes; then
74213 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74218 # Check whether --enable-linux-futex was given.
74219 if test "${enable_linux_futex+set}" = set; then :
74220 enableval=$enable_linux_futex;
74221 case "$enableval" in
74222 yes|no|default) ;;
74223 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74224 esac
74226 else
74227 enable_linux_futex=default
74231 case "$target" in
74232 *-linux* | *-uclinux*)
74233 case "$enable_linux_futex" in
74234 default)
74235 # If headers don't have gettid/futex syscalls definition, then
74236 # default to no, otherwise there will be compile time failures.
74237 # Otherwise, default to yes. If we don't detect we are
74238 # compiled/linked against NPTL and not cross-compiling, check
74239 # if programs are run by default against NPTL and if not, issue
74240 # a warning.
74241 enable_linux_futex=no
74242 if test x$gcc_no_link = xyes; then
74243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74246 /* end confdefs.h. */
74247 #include <sys/syscall.h>
74248 #include <unistd.h>
74249 int lk;
74251 main ()
74253 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74255 return 0;
74257 _ACEOF
74258 if ac_fn_c_try_link "$LINENO"; then :
74259 save_LIBS="$LIBS"
74260 LIBS="-lpthread $LIBS"
74261 if test x$gcc_no_link = xyes; then
74262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74265 /* end confdefs.h. */
74266 #ifndef _GNU_SOURCE
74267 #define _GNU_SOURCE 1
74268 #endif
74269 #include <pthread.h>
74270 pthread_t th; void *status;
74272 main ()
74274 pthread_tryjoin_np (th, &status);
74276 return 0;
74278 _ACEOF
74279 if ac_fn_c_try_link "$LINENO"; then :
74280 enable_linux_futex=yes
74281 else
74282 if test x$cross_compiling = xno; then
74283 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74284 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74286 If so, please configure with --disable-linux-futex" >&5
74287 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74288 If so, please configure with --disable-linux-futex" >&2;}
74291 enable_linux_futex=yes
74293 rm -f core conftest.err conftest.$ac_objext \
74294 conftest$ac_exeext conftest.$ac_ext
74295 LIBS="$save_LIBS"
74297 rm -f core conftest.err conftest.$ac_objext \
74298 conftest$ac_exeext conftest.$ac_ext
74300 yes)
74301 if test x$gcc_no_link = xyes; then
74302 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74305 /* end confdefs.h. */
74306 #include <sys/syscall.h>
74307 #include <unistd.h>
74308 int lk;
74310 main ()
74312 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74314 return 0;
74316 _ACEOF
74317 if ac_fn_c_try_link "$LINENO"; then :
74319 else
74320 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74322 rm -f core conftest.err conftest.$ac_objext \
74323 conftest$ac_exeext conftest.$ac_ext
74325 esac
74328 enable_linux_futex=no
74330 esac
74331 if test x$enable_linux_futex = xyes; then
74333 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74338 if test "$is_hosted" = yes; then
74339 # TODO: remove this and change src/c++11/compatibility-atomic-c++0x.cc to
74340 # use <stdint.h> instead of <gstdint.h>.
74343 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74345 acx_cv_header_stdint=stddef.h
74346 acx_cv_header_stdint_kind="(already complete)"
74347 for i in stdint.h $inttype_headers; do
74348 unset ac_cv_type_uintptr_t
74349 unset ac_cv_type_uintmax_t
74350 unset ac_cv_type_int_least32_t
74351 unset ac_cv_type_int_fast32_t
74352 unset ac_cv_type_uint64_t
74353 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74354 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74355 #include <$i>
74357 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74358 acx_cv_header_stdint=$i
74359 else
74360 continue
74363 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74364 #include <$i>
74366 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74368 else
74369 acx_cv_header_stdint_kind="(mostly complete)"
74372 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74373 #include <$i>
74375 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74377 else
74378 acx_cv_header_stdint_kind="(mostly complete)"
74381 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74382 #include <$i>
74384 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74386 else
74387 acx_cv_header_stdint_kind="(mostly complete)"
74390 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74391 #include <$i>
74393 if test "x$ac_cv_type_uint64_t" = xyes; then :
74395 else
74396 acx_cv_header_stdint_kind="(lacks uint64_t)"
74399 break
74400 done
74401 if test "$acx_cv_header_stdint" = stddef.h; then
74402 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74403 for i in stdint.h $inttype_headers; do
74404 unset ac_cv_type_uintptr_t
74405 unset ac_cv_type_uint32_t
74406 unset ac_cv_type_uint64_t
74407 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74408 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74409 #include <$i>
74411 if test "x$ac_cv_type_uint32_t" = xyes; then :
74412 acx_cv_header_stdint=$i
74413 else
74414 continue
74417 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74418 #include <$i>
74420 if test "x$ac_cv_type_uint64_t" = xyes; then :
74424 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74425 #include <$i>
74427 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74431 break
74432 done
74434 if test "$acx_cv_header_stdint" = stddef.h; then
74435 acx_cv_header_stdint_kind="(u_intXX_t style)"
74436 for i in sys/types.h $inttype_headers; do
74437 unset ac_cv_type_u_int32_t
74438 unset ac_cv_type_u_int64_t
74439 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74440 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74441 #include <$i>
74443 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74444 acx_cv_header_stdint=$i
74445 else
74446 continue
74449 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74450 #include <$i>
74452 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74456 break
74457 done
74459 if test "$acx_cv_header_stdint" = stddef.h; then
74460 acx_cv_header_stdint_kind="(using manual detection)"
74463 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74464 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74465 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74466 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74467 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74469 # ----------------- Summarize what we found so far
74471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74472 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74474 case `$as_basename -- include/gstdint.h ||
74475 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74476 Xinclude/gstdint.h : 'X\(//\)$' \| \
74477 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74478 $as_echo X/include/gstdint.h |
74479 sed '/^.*\/\([^/][^/]*\)\/*$/{
74480 s//\1/
74483 /^X\/\(\/\/\)$/{
74484 s//\1/
74487 /^X\/\(\/\).*/{
74488 s//\1/
74491 s/.*/./; q'` in
74492 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74493 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74494 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74495 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74496 *) ;;
74497 esac
74499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74500 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74502 # ----------------- done included file, check C basic types --------
74504 # Lacking an uintptr_t? Test size of void *
74505 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74506 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74509 # This bug is HP SR number 8606223364.
74510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74511 $as_echo_n "checking size of void *... " >&6; }
74512 if ${ac_cv_sizeof_void_p+:} false; then :
74513 $as_echo_n "(cached) " >&6
74514 else
74515 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74517 else
74518 if test "$ac_cv_type_void_p" = yes; then
74519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74521 as_fn_error 77 "cannot compute sizeof (void *)
74522 See \`config.log' for more details" "$LINENO" 5; }
74523 else
74524 ac_cv_sizeof_void_p=0
74529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74530 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74534 cat >>confdefs.h <<_ACEOF
74535 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74536 _ACEOF
74539 esac
74541 # Lacking an uint64_t? Test size of long
74542 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74543 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74544 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74545 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74546 # This bug is HP SR number 8606223364.
74547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74548 $as_echo_n "checking size of long... " >&6; }
74549 if ${ac_cv_sizeof_long+:} false; then :
74550 $as_echo_n "(cached) " >&6
74551 else
74552 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74554 else
74555 if test "$ac_cv_type_long" = yes; then
74556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74558 as_fn_error 77 "cannot compute sizeof (long)
74559 See \`config.log' for more details" "$LINENO" 5; }
74560 else
74561 ac_cv_sizeof_long=0
74566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74567 $as_echo "$ac_cv_sizeof_long" >&6; }
74571 cat >>confdefs.h <<_ACEOF
74572 #define SIZEOF_LONG $ac_cv_sizeof_long
74573 _ACEOF
74576 esac
74578 if test $acx_cv_header_stdint = stddef.h; then
74579 # Lacking a good header? Test size of everything and deduce all types.
74580 # The cast to long int works around a bug in the HP C Compiler
74581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74583 # This bug is HP SR number 8606223364.
74584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74585 $as_echo_n "checking size of int... " >&6; }
74586 if ${ac_cv_sizeof_int+:} false; then :
74587 $as_echo_n "(cached) " >&6
74588 else
74589 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74591 else
74592 if test "$ac_cv_type_int" = yes; then
74593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74595 as_fn_error 77 "cannot compute sizeof (int)
74596 See \`config.log' for more details" "$LINENO" 5; }
74597 else
74598 ac_cv_sizeof_int=0
74603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74604 $as_echo "$ac_cv_sizeof_int" >&6; }
74608 cat >>confdefs.h <<_ACEOF
74609 #define SIZEOF_INT $ac_cv_sizeof_int
74610 _ACEOF
74613 # The cast to long int works around a bug in the HP C Compiler
74614 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74615 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74616 # This bug is HP SR number 8606223364.
74617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74618 $as_echo_n "checking size of short... " >&6; }
74619 if ${ac_cv_sizeof_short+:} false; then :
74620 $as_echo_n "(cached) " >&6
74621 else
74622 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74624 else
74625 if test "$ac_cv_type_short" = yes; then
74626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74628 as_fn_error 77 "cannot compute sizeof (short)
74629 See \`config.log' for more details" "$LINENO" 5; }
74630 else
74631 ac_cv_sizeof_short=0
74636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74637 $as_echo "$ac_cv_sizeof_short" >&6; }
74641 cat >>confdefs.h <<_ACEOF
74642 #define SIZEOF_SHORT $ac_cv_sizeof_short
74643 _ACEOF
74646 # The cast to long int works around a bug in the HP C Compiler
74647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74649 # This bug is HP SR number 8606223364.
74650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74651 $as_echo_n "checking size of char... " >&6; }
74652 if ${ac_cv_sizeof_char+:} false; then :
74653 $as_echo_n "(cached) " >&6
74654 else
74655 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74657 else
74658 if test "$ac_cv_type_char" = yes; then
74659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74661 as_fn_error 77 "cannot compute sizeof (char)
74662 See \`config.log' for more details" "$LINENO" 5; }
74663 else
74664 ac_cv_sizeof_char=0
74669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74670 $as_echo "$ac_cv_sizeof_char" >&6; }
74674 cat >>confdefs.h <<_ACEOF
74675 #define SIZEOF_CHAR $ac_cv_sizeof_char
74676 _ACEOF
74680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74681 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74682 case "$ac_cv_sizeof_char" in
74683 1) acx_cv_type_int8_t=char ;;
74684 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74685 esac
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74687 $as_echo "$acx_cv_type_int8_t" >&6; }
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74690 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74691 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74692 2:*) acx_cv_type_int16_t=int ;;
74693 *:2) acx_cv_type_int16_t=short ;;
74694 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74695 esac
74696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74697 $as_echo "$acx_cv_type_int16_t" >&6; }
74699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74700 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74701 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74702 4:*) acx_cv_type_int32_t=int ;;
74703 *:4) acx_cv_type_int32_t=long ;;
74704 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74705 esac
74706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74707 $as_echo "$acx_cv_type_int32_t" >&6; }
74710 # These tests are here to make the output prettier
74712 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74713 case "$ac_cv_sizeof_long" in
74714 8) acx_cv_type_int64_t=long ;;
74715 esac
74716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74717 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74719 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74722 # Now we can use the above types
74724 if test "$ac_cv_type_uintptr_t" != yes; then
74725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74726 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74727 case $ac_cv_sizeof_void_p in
74728 2) acx_cv_type_intptr_t=int16_t ;;
74729 4) acx_cv_type_intptr_t=int32_t ;;
74730 8) acx_cv_type_intptr_t=int64_t ;;
74731 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74732 esac
74733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74734 $as_echo "$acx_cv_type_intptr_t" >&6; }
74737 # ----------------- done all checks, emit header -------------
74738 ac_config_commands="$ac_config_commands include/gstdint.h"
74745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74746 $as_echo_n "checking for GNU c++filt... " >&6; }
74747 if ${ac_cv_path_CXXFILT+:} false; then :
74748 $as_echo_n "(cached) " >&6
74749 else
74750 if test -z "$CXXFILT"; then
74751 ac_path_CXXFILT_found=false
74752 # Loop through the user's path and test for each of PROGNAME-LIST
74753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74754 for as_dir in $PATH
74756 IFS=$as_save_IFS
74757 test -z "$as_dir" && as_dir=.
74758 for ac_prog in c++filt gc++filt; do
74759 for ac_exec_ext in '' $ac_executable_extensions; do
74760 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74761 as_fn_executable_p "$ac_path_CXXFILT" || continue
74762 # Check for GNU $ac_path_CXXFILT
74763 case `"$ac_path_CXXFILT" --version 2>&1` in
74764 *GNU*)
74765 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74766 esac
74768 $ac_path_CXXFILT_found && break 3
74769 done
74770 done
74771 done
74772 IFS=$as_save_IFS
74773 if test -z "$ac_cv_path_CXXFILT"; then
74776 else
74777 ac_cv_path_CXXFILT=$CXXFILT
74781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74782 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74783 CXXFILT=$ac_cv_path_CXXFILT
74787 # Check whether --enable-symvers was given.
74788 if test "${enable_symvers+set}" = set; then :
74789 enableval=$enable_symvers;
74790 case "$enableval" in
74791 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74792 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74793 esac
74795 else
74796 enable_symvers=yes
74801 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74802 # don't know enough about $LD to do tricks...
74804 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74805 # with extern "C++" in version scripts.
74808 # Turn a 'yes' into a suitable default.
74809 if test x$enable_symvers = xyes ; then
74810 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74811 enable_symvers=no
74812 else
74813 if test $with_gnu_ld = yes ; then
74814 case ${target_os} in
74815 hpux*)
74816 enable_symvers=no ;;
74818 enable_symvers=gnu ;;
74819 esac
74820 else
74821 case ${target_os} in
74822 darwin*)
74823 enable_symvers=darwin ;;
74824 # Sun symbol versioning exists since Solaris 2.5.
74825 solaris2.[5-9]* | solaris2.1[0-9]*)
74826 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74827 # version scripts, so disable symbol versioning if none can be
74828 # found.
74829 if test -z "$ac_cv_path_CXXFILT"; then
74830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74831 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74833 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74835 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74836 enable_symvers=no
74837 else
74838 enable_symvers=sun
74842 enable_symvers=no ;;
74843 esac
74848 # Check to see if 'darwin' or 'darwin-export' can win.
74849 if test x$enable_symvers = xdarwin-export ; then
74850 enable_symvers=darwin
74853 # Check if 'sun' was requested on non-Solaris 2 platforms.
74854 if test x$enable_symvers = xsun ; then
74855 case ${target_os} in
74856 solaris2*)
74857 # All fine.
74860 # Unlikely to work.
74861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74862 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74864 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74866 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74867 enable_symvers=no
74869 esac
74872 # Check to see if 'gnu' can win.
74873 if test $enable_symvers = gnu ||
74874 test $enable_symvers = gnu-versioned-namespace ||
74875 test $enable_symvers = sun; then
74876 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74878 $as_echo_n "checking for shared libgcc... " >&6; }
74879 ac_save_CFLAGS="$CFLAGS"
74880 CFLAGS=' -lgcc_s'
74881 if test x$gcc_no_link = xyes; then
74882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74885 /* end confdefs.h. */
74888 main ()
74890 return 0;
74892 return 0;
74894 _ACEOF
74895 if ac_fn_c_try_link "$LINENO"; then :
74896 glibcxx_shared_libgcc=yes
74897 else
74898 glibcxx_shared_libgcc=no
74900 rm -f core conftest.err conftest.$ac_objext \
74901 conftest$ac_exeext conftest.$ac_ext
74902 CFLAGS="$ac_save_CFLAGS"
74903 if test $glibcxx_shared_libgcc = no; then
74904 cat > conftest.c <<EOF
74905 int main (void) { return 0; }
74907 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74908 -shared -shared-libgcc -o conftest.so \
74909 conftest.c -v 2>&1 >/dev/null \
74910 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74911 rm -f conftest.c conftest.so
74912 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74913 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74914 if test x$gcc_no_link = xyes; then
74915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74918 /* end confdefs.h. */
74921 main ()
74923 return 0;
74925 return 0;
74927 _ACEOF
74928 if ac_fn_c_try_link "$LINENO"; then :
74929 glibcxx_shared_libgcc=yes
74931 rm -f core conftest.err conftest.$ac_objext \
74932 conftest$ac_exeext conftest.$ac_ext
74933 CFLAGS="$ac_save_CFLAGS"
74936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74937 $as_echo "$glibcxx_shared_libgcc" >&6; }
74939 # For GNU ld, we need at least this version. The format is described in
74940 # GLIBCXX_CHECK_LINKER_FEATURES above.
74941 glibcxx_min_gnu_ld_version=21400
74943 # If no shared libgcc, can't win.
74944 if test $glibcxx_shared_libgcc != yes; then
74945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74946 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74948 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74950 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74951 enable_symvers=no
74952 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74953 : All interesting versions of Sun ld support sun style symbol versioning.
74954 elif test $with_gnu_ld != yes ; then
74955 # just fail for now
74956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74957 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74959 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74961 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74962 enable_symvers=no
74963 elif test $glibcxx_ld_is_gold = yes ; then
74964 : All versions of gold support symbol versioning.
74965 elif test $glibcxx_ld_is_mold = yes ; then
74966 : All versions of mold support symbol versioning.
74967 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74968 # The right tools, the right setup, but too old. Fallbacks?
74969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74970 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74972 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74974 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74976 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74978 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74979 enable_symvers=no
74983 # For libtool versioning info, format is CURRENT:REVISION:AGE
74984 libtool_VERSION=6:30:0
74986 # Everything parsed; figure out what files and settings to use.
74987 case $enable_symvers in
74989 SYMVER_FILE=config/abi/pre/none.ver
74991 gnu)
74992 SYMVER_FILE=config/abi/pre/gnu.ver
74994 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74997 gnu-versioned-namespace)
74998 libtool_VERSION=8:0:0
74999 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
75001 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
75004 darwin)
75005 SYMVER_FILE=config/abi/pre/gnu.ver
75007 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75010 sun)
75011 SYMVER_FILE=config/abi/pre/gnu.ver
75013 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75016 esac
75018 if test x$enable_symvers != xno ; then
75020 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75025 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75026 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75027 $as_echo_n "(cached) " >&6
75028 else
75030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75031 /* end confdefs.h. */
75032 void foo (void); __asm (".symver foo, bar@SYMVER");
75034 main ()
75038 return 0;
75040 _ACEOF
75041 if ac_fn_c_try_compile "$LINENO"; then :
75042 glibcxx_cv_have_as_symver_directive=yes
75043 else
75044 glibcxx_cv_have_as_symver_directive=no
75046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75049 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75050 if test $glibcxx_cv_have_as_symver_directive = yes; then
75052 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75063 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75064 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75066 if test $enable_symvers != no ; then
75067 case ${target_os} in
75068 # The Solaris 2 runtime linker doesn't support the GNU extension of
75069 # binding the same symbol to different versions
75070 solaris2*)
75072 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75075 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75078 esac
75081 # Now, set up compatibility support, if any.
75082 # In addition, need this to deal with std::size_t mangling in
75083 # src/compatibility.cc. In a perfect world, could use
75084 # typeid(std::size_t).name()[0] to do direct substitution.
75085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75086 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75087 ac_save_CFLAGS="$CFLAGS"
75088 CFLAGS="-Werror"
75089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75090 /* end confdefs.h. */
75093 main ()
75095 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75097 return 0;
75099 _ACEOF
75100 if ac_fn_c_try_compile "$LINENO"; then :
75101 glibcxx_size_t_is_i=yes
75102 else
75103 glibcxx_size_t_is_i=no
75105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75106 CFLAGS=$ac_save_CFLAGS
75107 if test "$glibcxx_size_t_is_i" = yes; then
75109 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75113 $as_echo "$glibcxx_size_t_is_i" >&6; }
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75116 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75117 ac_save_CFLAGS="$CFLAGS"
75118 CFLAGS="-Werror"
75119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75120 /* end confdefs.h. */
75123 main ()
75125 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75127 return 0;
75129 _ACEOF
75130 if ac_fn_c_try_compile "$LINENO"; then :
75131 glibcxx_ptrdiff_t_is_i=yes
75132 else
75133 glibcxx_ptrdiff_t_is_i=no
75135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75136 CFLAGS=$ac_save_CFLAGS
75137 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75139 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75143 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75148 # Check whether --enable-libstdcxx-visibility was given.
75149 if test "${enable_libstdcxx_visibility+set}" = set; then :
75150 enableval=$enable_libstdcxx_visibility;
75151 case "$enableval" in
75152 yes|no) ;;
75153 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75154 esac
75156 else
75157 enable_libstdcxx_visibility=yes
75162 if test x$enable_libstdcxx_visibility = xyes ; then
75163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75164 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75165 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75166 $as_echo_n "(cached) " >&6
75167 else
75169 save_CFLAGS="$CFLAGS"
75170 CFLAGS="$CFLAGS -Werror"
75171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75172 /* end confdefs.h. */
75173 void __attribute__((visibility("hidden"))) foo(void) { }
75175 main ()
75179 return 0;
75181 _ACEOF
75182 if ac_fn_c_try_compile "$LINENO"; then :
75183 glibcxx_cv_have_attribute_visibility=yes
75184 else
75185 glibcxx_cv_have_attribute_visibility=no
75187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75188 CFLAGS="$save_CFLAGS"
75190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75191 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75192 if test $glibcxx_cv_have_attribute_visibility = no; then
75193 enable_libstdcxx_visibility=no
75198 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75199 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75203 # Check whether --enable-libstdcxx-dual-abi was given.
75204 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75205 enableval=$enable_libstdcxx_dual_abi;
75206 case "$enableval" in
75207 yes|no) ;;
75208 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75209 esac
75211 else
75212 enable_libstdcxx_dual_abi=yes
75216 if test x$enable_symvers = xgnu-versioned-namespace; then
75217 # gnu-versioned-namespace is incompatible with the dual ABI.
75218 enable_libstdcxx_dual_abi="no"
75220 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75221 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75222 $as_echo "$as_me: dual ABI is disabled" >&6;}
75223 default_libstdcxx_abi="gcc4-compatible"
75228 if test x$enable_libstdcxx_dual_abi = xyes; then
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75230 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75232 # Check whether --with-default-libstdcxx-abi was given.
75233 if test "${with_default_libstdcxx_abi+set}" = set; then :
75234 withval=$with_default_libstdcxx_abi; case "$withval" in
75235 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75236 new|cxx11) default_libstdcxx_abi="new" ;;
75237 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75238 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75239 esac
75241 else
75242 default_libstdcxx_abi="new"
75245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75246 $as_echo "${default_libstdcxx_abi}" >&6; }
75248 if test $default_libstdcxx_abi = "new"; then
75249 glibcxx_cxx11_abi=1
75250 glibcxx_cxx98_abi=0
75251 else
75252 glibcxx_cxx11_abi=0
75253 glibcxx_cxx98_abi=1
75259 ac_ldbl_compat=no
75260 ac_ldbl_alt128_compat=no
75261 ac_ldbl_ieee128_default=no
75262 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75263 LONG_DOUBLE_128_FLAGS=
75264 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
75265 case "$target" in
75266 powerpc*-*-linux* | \
75267 sparc*-*-linux* | \
75268 s390*-*-linux* | \
75269 alpha*-*-linux*)
75270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75271 /* end confdefs.h. */
75274 main ()
75277 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75278 #error no need for long double compatibility
75279 #endif
75282 return 0;
75284 _ACEOF
75285 if ac_fn_c_try_compile "$LINENO"; then :
75286 ac_ldbl_compat=yes
75287 else
75288 ac_ldbl_compat=no
75290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75291 if test "$ac_ldbl_compat" = yes; then
75293 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75295 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75296 case "$target" in
75297 powerpc*-*-linux*)
75298 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
75299 # Check for IEEE128 support in libm:
75300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
75301 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
75302 if ${ac_cv_lib_m___frexpieee128+:} false; then :
75303 $as_echo_n "(cached) " >&6
75304 else
75305 ac_check_lib_save_LIBS=$LIBS
75306 LIBS="-lm $LIBS"
75307 if test x$gcc_no_link = xyes; then
75308 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75311 /* end confdefs.h. */
75313 /* Override any GCC internal prototype to avoid an error.
75314 Use char because int might match the return type of a GCC
75315 builtin and then its argument prototype would still apply. */
75316 #ifdef __cplusplus
75317 extern "C"
75318 #endif
75319 char __frexpieee128 ();
75321 main ()
75323 return __frexpieee128 ();
75325 return 0;
75327 _ACEOF
75328 if ac_fn_c_try_link "$LINENO"; then :
75329 ac_cv_lib_m___frexpieee128=yes
75330 else
75331 ac_cv_lib_m___frexpieee128=no
75333 rm -f core conftest.err conftest.$ac_objext \
75334 conftest$ac_exeext conftest.$ac_ext
75335 LIBS=$ac_check_lib_save_LIBS
75337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
75338 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75339 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75340 ac_ldbl_ieee128_in_libc=yes
75341 else
75342 ac_ldbl_ieee128_in_libc=no
75345 if test $ac_ldbl_ieee128_in_libc = yes; then
75346 # Determine which long double format is the compiler's default:
75347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75348 /* end confdefs.h. */
75351 main ()
75354 #ifndef __LONG_DOUBLE_IEEE128__
75355 #error compiler defaults to ibm128
75356 #endif
75359 return 0;
75361 _ACEOF
75362 if ac_fn_c_try_compile "$LINENO"; then :
75363 ac_ldbl_ieee128_default=yes
75364 else
75365 ac_ldbl_ieee128_default=no
75367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75368 # Library objects should use default long double format.
75369 if test "$ac_ldbl_ieee128_default" = yes; then
75370 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75371 # Except for the ones that explicitly use these flags:
75372 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75373 else
75374 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75375 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75378 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75380 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75381 ac_ldbl_alt128_compat=yes
75382 else
75383 ac_ldbl_alt128_compat=no
75386 esac
75388 esac
75395 # Check if assembler supports disabling hardware capability support.
75397 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75399 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75400 # with a different meaning.
75401 case ${target_os} in
75402 solaris2*)
75403 ac_save_CFLAGS="$CFLAGS"
75404 CFLAGS="$CFLAGS -Wa,-nH"
75406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75407 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75409 /* end confdefs.h. */
75412 main ()
75414 return 0;
75416 return 0;
75418 _ACEOF
75419 if ac_fn_c_try_compile "$LINENO"; then :
75420 ac_hwcap_flags=yes
75421 else
75422 ac_hwcap_flags=no
75424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75425 if test "$ac_hwcap_flags" = "yes"; then
75426 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75429 $as_echo "$ac_hwcap_flags" >&6; }
75431 CFLAGS="$ac_save_CFLAGS"
75433 esac
75438 # Check if assembler supports rdrand opcode.
75440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75441 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75442 if ${ac_cv_x86_rdrand+:} false; then :
75443 $as_echo_n "(cached) " >&6
75444 else
75446 ac_cv_x86_rdrand=no
75447 case "$target" in
75448 i?86-*-* | \
75449 x86_64-*-*)
75450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75451 /* end confdefs.h. */
75454 main ()
75456 asm("rdrand %eax");
75458 return 0;
75460 _ACEOF
75461 if ac_fn_c_try_compile "$LINENO"; then :
75462 ac_cv_x86_rdrand=yes
75463 else
75464 ac_cv_x86_rdrand=no
75466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75467 esac
75470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75471 $as_echo "$ac_cv_x86_rdrand" >&6; }
75472 if test $ac_cv_x86_rdrand = yes; then
75474 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75478 # Check if assembler supports rdseed opcode.
75480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75481 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75482 if ${ac_cv_x86_rdseed+:} false; then :
75483 $as_echo_n "(cached) " >&6
75484 else
75486 ac_cv_x86_rdseed=no
75487 case "$target" in
75488 i?86-*-* | \
75489 x86_64-*-*)
75490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75491 /* end confdefs.h. */
75494 main ()
75496 asm("rdseed %eax");
75498 return 0;
75500 _ACEOF
75501 if ac_fn_c_try_compile "$LINENO"; then :
75502 ac_cv_x86_rdseed=yes
75503 else
75504 ac_cv_x86_rdseed=no
75506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75507 esac
75510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75511 $as_echo "$ac_cv_x86_rdseed" >&6; }
75512 if test $ac_cv_x86_rdseed = yes; then
75514 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75519 # Check for other random number APIs
75523 ac_ext=cpp
75524 ac_cpp='$CXXCPP $CPPFLAGS'
75525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
75530 $as_echo_n "checking for getentropy... " >&6; }
75531 if ${glibcxx_cv_getentropy+:} false; then :
75532 $as_echo_n "(cached) " >&6
75533 else
75535 if test x$gcc_no_link = xyes; then
75536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75537 /* end confdefs.h. */
75538 #include <unistd.h>
75540 main ()
75542 unsigned i;
75543 ::getentropy(&i, sizeof(i));
75545 return 0;
75547 _ACEOF
75548 if ac_fn_cxx_try_compile "$LINENO"; then :
75549 glibcxx_cv_getentropy=yes
75550 else
75551 glibcxx_cv_getentropy=no
75553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75554 else
75555 if test x$gcc_no_link = xyes; then
75556 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75559 /* end confdefs.h. */
75560 #include <unistd.h>
75562 main ()
75564 unsigned i;
75565 ::getentropy(&i, sizeof(i));
75567 return 0;
75569 _ACEOF
75570 if ac_fn_cxx_try_link "$LINENO"; then :
75571 glibcxx_cv_getentropy=yes
75572 else
75573 glibcxx_cv_getentropy=no
75575 rm -f core conftest.err conftest.$ac_objext \
75576 conftest$ac_exeext conftest.$ac_ext
75580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
75581 $as_echo "$glibcxx_cv_getentropy" >&6; }
75583 if test $glibcxx_cv_getentropy = yes; then
75585 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
75588 ac_ext=c
75589 ac_cpp='$CPP $CPPFLAGS'
75590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75598 ac_ext=cpp
75599 ac_cpp='$CXXCPP $CPPFLAGS'
75600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
75605 $as_echo_n "checking for arc4random... " >&6; }
75606 if ${glibcxx_cv_arc4random+:} false; then :
75607 $as_echo_n "(cached) " >&6
75608 else
75610 if test x$gcc_no_link = xyes; then
75611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75612 /* end confdefs.h. */
75613 #include <stdlib.h>
75615 main ()
75617 unsigned i = ::arc4random();
75619 return 0;
75621 _ACEOF
75622 if ac_fn_cxx_try_compile "$LINENO"; then :
75623 glibcxx_cv_arc4random=yes
75624 else
75625 glibcxx_cv_arc4random=no
75627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75628 else
75629 if test x$gcc_no_link = xyes; then
75630 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75633 /* end confdefs.h. */
75634 #include <stdlib.h>
75636 main ()
75638 unsigned i = ::arc4random();
75640 return 0;
75642 _ACEOF
75643 if ac_fn_cxx_try_link "$LINENO"; then :
75644 glibcxx_cv_arc4random=yes
75645 else
75646 glibcxx_cv_arc4random=no
75648 rm -f core conftest.err conftest.$ac_objext \
75649 conftest$ac_exeext conftest.$ac_ext
75653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
75654 $as_echo "$glibcxx_cv_arc4random" >&6; }
75656 if test $glibcxx_cv_arc4random = yes; then
75658 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
75661 ac_ext=c
75662 ac_cpp='$CPP $CPPFLAGS'
75663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75669 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75671 # Do checks for resource limit functions.
75674 ac_ext=cpp
75675 ac_cpp='$CXXCPP $CPPFLAGS'
75676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75680 setrlimit_have_headers=yes
75681 for ac_header in unistd.h sys/time.h sys/resource.h
75682 do :
75683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75684 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75686 cat >>confdefs.h <<_ACEOF
75687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75688 _ACEOF
75690 else
75691 setrlimit_have_headers=no
75694 done
75696 # If don't have the headers, then we can't run the tests now, and we
75697 # won't be seeing any of these during testsuite compilation.
75698 if test $setrlimit_have_headers = yes; then
75699 # Can't do these in a loop, else the resulting syntax is wrong.
75701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75702 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75704 /* end confdefs.h. */
75705 #include <unistd.h>
75706 #include <sys/time.h>
75707 #include <sys/resource.h>
75710 main ()
75712 int f = RLIMIT_DATA ;
75714 return 0;
75716 _ACEOF
75717 if ac_fn_cxx_try_compile "$LINENO"; then :
75718 glibcxx_mresult=1
75719 else
75720 glibcxx_mresult=0
75722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75724 cat >>confdefs.h <<_ACEOF
75725 #define HAVE_LIMIT_DATA $glibcxx_mresult
75726 _ACEOF
75728 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75730 $as_echo "$res" >&6; }
75733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75734 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75736 /* end confdefs.h. */
75737 #include <unistd.h>
75738 #include <sys/time.h>
75739 #include <sys/resource.h>
75742 main ()
75744 int f = RLIMIT_RSS ;
75746 return 0;
75748 _ACEOF
75749 if ac_fn_cxx_try_compile "$LINENO"; then :
75750 glibcxx_mresult=1
75751 else
75752 glibcxx_mresult=0
75754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75756 cat >>confdefs.h <<_ACEOF
75757 #define HAVE_LIMIT_RSS $glibcxx_mresult
75758 _ACEOF
75760 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75762 $as_echo "$res" >&6; }
75765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75766 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75768 /* end confdefs.h. */
75769 #include <unistd.h>
75770 #include <sys/time.h>
75771 #include <sys/resource.h>
75774 main ()
75776 int f = RLIMIT_VMEM ;
75778 return 0;
75780 _ACEOF
75781 if ac_fn_cxx_try_compile "$LINENO"; then :
75782 glibcxx_mresult=1
75783 else
75784 glibcxx_mresult=0
75786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75788 cat >>confdefs.h <<_ACEOF
75789 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75790 _ACEOF
75792 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75794 $as_echo "$res" >&6; }
75797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75798 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75800 /* end confdefs.h. */
75801 #include <unistd.h>
75802 #include <sys/time.h>
75803 #include <sys/resource.h>
75806 main ()
75808 int f = RLIMIT_AS ;
75810 return 0;
75812 _ACEOF
75813 if ac_fn_cxx_try_compile "$LINENO"; then :
75814 glibcxx_mresult=1
75815 else
75816 glibcxx_mresult=0
75818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75820 cat >>confdefs.h <<_ACEOF
75821 #define HAVE_LIMIT_AS $glibcxx_mresult
75822 _ACEOF
75824 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75826 $as_echo "$res" >&6; }
75829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75830 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75832 /* end confdefs.h. */
75833 #include <unistd.h>
75834 #include <sys/time.h>
75835 #include <sys/resource.h>
75838 main ()
75840 int f = RLIMIT_FSIZE ;
75842 return 0;
75844 _ACEOF
75845 if ac_fn_cxx_try_compile "$LINENO"; then :
75846 glibcxx_mresult=1
75847 else
75848 glibcxx_mresult=0
75850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75852 cat >>confdefs.h <<_ACEOF
75853 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75854 _ACEOF
75856 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75858 $as_echo "$res" >&6; }
75861 # Check for rlimit, setrlimit.
75862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75863 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75864 if ${glibcxx_cv_setrlimit+:} false; then :
75865 $as_echo_n "(cached) " >&6
75866 else
75868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75869 /* end confdefs.h. */
75870 #include <unistd.h>
75871 #include <sys/time.h>
75872 #include <sys/resource.h>
75875 main ()
75877 struct rlimit r;
75878 setrlimit(0, &r);
75880 return 0;
75882 _ACEOF
75883 if ac_fn_cxx_try_compile "$LINENO"; then :
75884 glibcxx_cv_setrlimit=yes
75885 else
75886 glibcxx_cv_setrlimit=no
75888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
75892 $as_echo "$glibcxx_cv_setrlimit" >&6; }
75894 if test $glibcxx_cv_setrlimit = yes; then
75896 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75900 ac_ext=c
75901 ac_cpp='$CPP $CPPFLAGS'
75902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75908 if $GLIBCXX_IS_NATIVE ; then
75909 # Look for setenv, so that extended locale tests can be performed.
75911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75912 $as_echo_n "checking for setenv declaration... " >&6; }
75913 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75914 if ${glibcxx_cv_func_setenv_use+:} false; then :
75915 $as_echo_n "(cached) " >&6
75916 else
75919 ac_ext=cpp
75920 ac_cpp='$CXXCPP $CPPFLAGS'
75921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75926 /* end confdefs.h. */
75927 #include <stdlib.h>
75929 main ()
75931 setenv(0, 0, 0);
75933 return 0;
75935 _ACEOF
75936 if ac_fn_cxx_try_compile "$LINENO"; then :
75937 glibcxx_cv_func_setenv_use=yes
75938 else
75939 glibcxx_cv_func_setenv_use=no
75941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75942 ac_ext=c
75943 ac_cpp='$CPP $CPPFLAGS'
75944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75953 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75954 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75955 for ac_func in setenv
75956 do :
75957 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75958 if test "x$ac_cv_func_setenv" = xyes; then :
75959 cat >>confdefs.h <<_ACEOF
75960 #define HAVE_SETENV 1
75961 _ACEOF
75964 done
75970 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75971 test $enable_symvers != no; then
75972 case "$host" in
75973 *-*-cygwin*)
75974 enable_abi_check=no ;;
75976 enable_abi_check=yes ;;
75977 esac
75978 else
75979 # Only build this as native, since automake does not understand
75980 # CXX_FOR_BUILD.
75981 enable_abi_check=no
75984 # Export file names for ABI checking.
75985 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75987 baseline_subdir_switch="$abi_baseline_subdir_switch"
75991 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75993 # Check whether --enable-libstdcxx-threads was given.
75994 if test "${enable_libstdcxx_threads+set}" = set; then :
75995 enableval=$enable_libstdcxx_threads;
75996 case "$enableval" in
75997 yes|no) ;;
75998 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75999 esac
76001 else
76002 enable_libstdcxx_threads=auto
76007 if test x$enable_libstdcxx_threads = xauto ||
76008 test x$enable_libstdcxx_threads = xyes; then
76011 ac_ext=cpp
76012 ac_cpp='$CXXCPP $CPPFLAGS'
76013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76018 ac_save_CXXFLAGS="$CXXFLAGS"
76019 CXXFLAGS="$CXXFLAGS -fno-exceptions \
76020 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
76022 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
76023 case $target_thread_file in
76024 posix)
76025 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
76026 esac
76028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
76029 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
76031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76032 /* end confdefs.h. */
76033 #include <unistd.h>
76035 main ()
76038 // In case of POSIX threads check _POSIX_TIMEOUTS.
76039 #if (defined(_PTHREADS) \
76040 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
76041 #error
76042 #endif
76045 return 0;
76047 _ACEOF
76048 if ac_fn_cxx_try_compile "$LINENO"; then :
76049 ac_gthread_use_mutex_timedlock=1
76050 else
76051 ac_gthread_use_mutex_timedlock=0
76053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76056 cat >>confdefs.h <<_ACEOF
76057 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
76058 _ACEOF
76061 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
76062 else res_mutex_timedlock=no ; fi
76063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
76064 $as_echo "$res_mutex_timedlock" >&6; }
76066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
76067 $as_echo_n "checking for gthreads library... " >&6; }
76069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76070 /* end confdefs.h. */
76071 #include "gthr.h"
76073 main ()
76076 #ifndef __GTHREADS_CXX0X
76077 #error
76078 #endif
76081 return 0;
76083 _ACEOF
76084 if ac_fn_cxx_try_compile "$LINENO"; then :
76085 ac_has_gthreads=yes
76086 else
76087 ac_has_gthreads=no
76089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76090 else
76091 ac_has_gthreads=no
76094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
76095 $as_echo "$ac_has_gthreads" >&6; }
76097 if test x"$ac_has_gthreads" = x"yes"; then
76099 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
76102 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
76103 # but only do so if we're using pthread in the gthread library.
76104 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
76105 # but the pthread library is not there by default and the gthread library
76106 # does not use it.
76107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76108 /* end confdefs.h. */
76109 #include "gthr.h"
76111 main ()
76114 #if (!defined(_PTHREADS))
76115 #error
76116 #endif
76119 return 0;
76121 _ACEOF
76122 if ac_fn_cxx_try_compile "$LINENO"; then :
76123 ac_gthread_use_pthreads=yes
76124 else
76125 ac_gthread_use_pthreads=no
76127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76128 if test x"$ac_gthread_use_pthreads" = x"yes"; then
76129 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
76131 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
76133 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76140 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
76141 if test "x$ac_cv_header_semaphore_h" = xyes; then :
76143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
76144 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
76145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76146 /* end confdefs.h. */
76148 #include <unistd.h>
76149 #include <semaphore.h>
76150 #include <limits.h>
76153 main ()
76156 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
76157 # error "POSIX Timeouts option not supported"
76158 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
76159 # error "POSIX Semaphores option not supported"
76160 #else
76161 #if defined SEM_VALUE_MAX
76162 constexpr int sem_value_max = SEM_VALUE_MAX;
76163 #elif defined _POSIX_SEM_VALUE_MAX
76164 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
76165 #else
76166 # error "SEM_VALUE_MAX not available"
76167 #endif
76168 sem_t sem;
76169 sem_init(&sem, 0, sem_value_max);
76170 struct timespec ts = { 0 };
76171 sem_timedwait(&sem, &ts);
76172 #endif
76175 return 0;
76177 _ACEOF
76178 if ac_fn_cxx_try_compile "$LINENO"; then :
76179 ac_have_posix_semaphore=yes
76180 else
76181 ac_have_posix_semaphore=no
76183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76184 else
76185 ac_have_posix_semaphore=no
76190 if test $ac_have_posix_semaphore = yes ; then
76192 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
76195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
76196 $as_echo "$ac_have_posix_semaphore" >&6; }
76198 CXXFLAGS="$ac_save_CXXFLAGS"
76199 ac_ext=c
76200 ac_cpp='$CPP $CPPFLAGS'
76201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76207 # For Filesystem TS.
76208 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76209 do :
76210 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76211 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76213 cat >>confdefs.h <<_ACEOF
76214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76215 _ACEOF
76219 done
76222 # Check whether --enable-libstdcxx-filesystem-ts was given.
76223 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76224 enableval=$enable_libstdcxx_filesystem_ts;
76225 case "$enableval" in
76226 yes|no|auto) ;;
76227 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76228 esac
76230 else
76231 enable_libstdcxx_filesystem_ts=auto
76236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76237 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76238 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76239 enable_libstdcxx_filesystem_ts=no
76241 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76242 case "${target_os}" in
76243 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76244 enable_libstdcxx_filesystem_ts=yes
76246 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76247 enable_libstdcxx_filesystem_ts=yes
76249 rtems*)
76250 enable_libstdcxx_filesystem_ts=yes
76252 solaris*)
76253 enable_libstdcxx_filesystem_ts=yes
76255 mingw*)
76256 enable_libstdcxx_filesystem_ts=yes
76259 enable_libstdcxx_filesystem_ts=no
76261 esac
76263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76264 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76268 ac_ext=cpp
76269 ac_cpp='$CXXCPP $CPPFLAGS'
76270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76274 ac_save_CXXFLAGS="$CXXFLAGS"
76275 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76277 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76278 if ${glibcxx_cv_dirent_d_type+:} false; then :
76279 $as_echo_n "(cached) " >&6
76280 else
76281 if test x$gcc_no_link = xyes; then
76282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76283 /* end confdefs.h. */
76284 #include <dirent.h>
76286 main ()
76289 struct dirent d;
76290 if (sizeof d.d_type) return 0;
76293 return 0;
76295 _ACEOF
76296 if ac_fn_cxx_try_compile "$LINENO"; then :
76297 glibcxx_cv_dirent_d_type=yes
76298 else
76299 glibcxx_cv_dirent_d_type=no
76301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76302 else
76303 if test x$gcc_no_link = xyes; then
76304 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76307 /* end confdefs.h. */
76308 #include <dirent.h>
76310 main ()
76313 struct dirent d;
76314 if (sizeof d.d_type) return 0;
76317 return 0;
76319 _ACEOF
76320 if ac_fn_cxx_try_link "$LINENO"; then :
76321 glibcxx_cv_dirent_d_type=yes
76322 else
76323 glibcxx_cv_dirent_d_type=no
76325 rm -f core conftest.err conftest.$ac_objext \
76326 conftest$ac_exeext conftest.$ac_ext
76330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76331 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76332 if test $glibcxx_cv_dirent_d_type = yes; then
76334 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76338 $as_echo_n "checking for realpath... " >&6; }
76339 if ${glibcxx_cv_realpath+:} false; then :
76340 $as_echo_n "(cached) " >&6
76341 else
76342 if test x$gcc_no_link = xyes; then
76343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76344 /* end confdefs.h. */
76346 #include <limits.h>
76347 #include <stdlib.h>
76348 #include <unistd.h>
76351 main ()
76354 #if _XOPEN_VERSION < 500
76355 #error
76356 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76357 char *tmp = realpath((const char*)NULL, (char*)NULL);
76358 #else
76359 #error
76360 #endif
76363 return 0;
76365 _ACEOF
76366 if ac_fn_cxx_try_compile "$LINENO"; then :
76367 glibcxx_cv_realpath=yes
76368 else
76369 glibcxx_cv_realpath=no
76371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76372 else
76373 if test x$gcc_no_link = xyes; then
76374 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76377 /* end confdefs.h. */
76379 #include <limits.h>
76380 #include <stdlib.h>
76381 #include <unistd.h>
76384 main ()
76387 #if _XOPEN_VERSION < 500
76388 #error
76389 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76390 char *tmp = realpath((const char*)NULL, (char*)NULL);
76391 #else
76392 #error
76393 #endif
76396 return 0;
76398 _ACEOF
76399 if ac_fn_cxx_try_link "$LINENO"; then :
76400 glibcxx_cv_realpath=yes
76401 else
76402 glibcxx_cv_realpath=no
76404 rm -f core conftest.err conftest.$ac_objext \
76405 conftest$ac_exeext conftest.$ac_ext
76409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76410 $as_echo "$glibcxx_cv_realpath" >&6; }
76411 if test $glibcxx_cv_realpath = yes; then
76413 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76417 $as_echo_n "checking for utimensat... " >&6; }
76418 if ${glibcxx_cv_utimensat+:} false; then :
76419 $as_echo_n "(cached) " >&6
76420 else
76421 if test x$gcc_no_link = xyes; then
76422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76423 /* end confdefs.h. */
76425 #include <fcntl.h>
76426 #include <sys/stat.h>
76429 main ()
76432 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76433 int i = utimensat(AT_FDCWD, "path", ts, 0);
76436 return 0;
76438 _ACEOF
76439 if ac_fn_cxx_try_compile "$LINENO"; then :
76440 glibcxx_cv_utimensat=yes
76441 else
76442 glibcxx_cv_utimensat=no
76444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76445 else
76446 if test x$gcc_no_link = xyes; then
76447 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76450 /* end confdefs.h. */
76452 #include <fcntl.h>
76453 #include <sys/stat.h>
76456 main ()
76459 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76460 int i = utimensat(AT_FDCWD, "path", ts, 0);
76463 return 0;
76465 _ACEOF
76466 if ac_fn_cxx_try_link "$LINENO"; then :
76467 glibcxx_cv_utimensat=yes
76468 else
76469 glibcxx_cv_utimensat=no
76471 rm -f core conftest.err conftest.$ac_objext \
76472 conftest$ac_exeext conftest.$ac_ext
76476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76477 $as_echo "$glibcxx_cv_utimensat" >&6; }
76478 if test $glibcxx_cv_utimensat = yes; then
76480 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76484 $as_echo_n "checking for utime... " >&6; }
76485 if ${glibcxx_cv_utime+:} false; then :
76486 $as_echo_n "(cached) " >&6
76487 else
76488 if test x$gcc_no_link = xyes; then
76489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76490 /* end confdefs.h. */
76492 #include <utime.h>
76495 main ()
76498 struct utimbuf t = { 1, 1 };
76499 int i = utime("path", &t);
76502 return 0;
76504 _ACEOF
76505 if ac_fn_cxx_try_compile "$LINENO"; then :
76506 glibcxx_cv_utime=yes
76507 else
76508 glibcxx_cv_utime=no
76510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76511 else
76512 if test x$gcc_no_link = xyes; then
76513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76516 /* end confdefs.h. */
76518 #include <utime.h>
76521 main ()
76524 struct utimbuf t = { 1, 1 };
76525 int i = utime("path", &t);
76528 return 0;
76530 _ACEOF
76531 if ac_fn_cxx_try_link "$LINENO"; then :
76532 glibcxx_cv_utime=yes
76533 else
76534 glibcxx_cv_utime=no
76536 rm -f core conftest.err conftest.$ac_objext \
76537 conftest$ac_exeext conftest.$ac_ext
76541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76542 $as_echo "$glibcxx_cv_utime" >&6; }
76543 if test $glibcxx_cv_utime = yes; then
76545 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76549 $as_echo_n "checking for lstat... " >&6; }
76550 if ${glibcxx_cv_lstat+:} false; then :
76551 $as_echo_n "(cached) " >&6
76552 else
76553 if test x$gcc_no_link = xyes; then
76554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76555 /* end confdefs.h. */
76556 #include <sys/stat.h>
76558 main ()
76561 struct stat st;
76562 int i = lstat("path", &st);
76565 return 0;
76567 _ACEOF
76568 if ac_fn_cxx_try_compile "$LINENO"; then :
76569 glibcxx_cv_lstat=yes
76570 else
76571 glibcxx_cv_lstat=no
76573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76574 else
76575 if test x$gcc_no_link = xyes; then
76576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76579 /* end confdefs.h. */
76580 #include <sys/stat.h>
76582 main ()
76585 struct stat st;
76586 int i = lstat("path", &st);
76589 return 0;
76591 _ACEOF
76592 if ac_fn_cxx_try_link "$LINENO"; then :
76593 glibcxx_cv_lstat=yes
76594 else
76595 glibcxx_cv_lstat=no
76597 rm -f core conftest.err conftest.$ac_objext \
76598 conftest$ac_exeext conftest.$ac_ext
76602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76603 $as_echo "$glibcxx_cv_lstat" >&6; }
76604 if test $glibcxx_cv_lstat = yes; then
76606 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76610 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76611 if ${glibcxx_cv_st_mtim+:} false; then :
76612 $as_echo_n "(cached) " >&6
76613 else
76614 if test x$gcc_no_link = xyes; then
76615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76616 /* end confdefs.h. */
76617 #include <sys/stat.h>
76619 main ()
76622 struct stat st;
76623 return st.st_mtim.tv_nsec;
76626 return 0;
76628 _ACEOF
76629 if ac_fn_cxx_try_compile "$LINENO"; then :
76630 glibcxx_cv_st_mtim=yes
76631 else
76632 glibcxx_cv_st_mtim=no
76634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76635 else
76636 if test x$gcc_no_link = xyes; then
76637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76640 /* end confdefs.h. */
76641 #include <sys/stat.h>
76643 main ()
76646 struct stat st;
76647 return st.st_mtim.tv_nsec;
76650 return 0;
76652 _ACEOF
76653 if ac_fn_cxx_try_link "$LINENO"; then :
76654 glibcxx_cv_st_mtim=yes
76655 else
76656 glibcxx_cv_st_mtim=no
76658 rm -f core conftest.err conftest.$ac_objext \
76659 conftest$ac_exeext conftest.$ac_ext
76663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76664 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76665 if test $glibcxx_cv_st_mtim = yes; then
76667 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76671 $as_echo_n "checking for fchmod... " >&6; }
76672 if ${glibcxx_cv_fchmod+:} false; then :
76673 $as_echo_n "(cached) " >&6
76674 else
76675 if test x$gcc_no_link = xyes; then
76676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76677 /* end confdefs.h. */
76678 #include <sys/stat.h>
76680 main ()
76682 fchmod(1, S_IWUSR);
76684 return 0;
76686 _ACEOF
76687 if ac_fn_cxx_try_compile "$LINENO"; then :
76688 glibcxx_cv_fchmod=yes
76689 else
76690 glibcxx_cv_fchmod=no
76692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76693 else
76694 if test x$gcc_no_link = xyes; then
76695 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76698 /* end confdefs.h. */
76699 #include <sys/stat.h>
76701 main ()
76703 fchmod(1, S_IWUSR);
76705 return 0;
76707 _ACEOF
76708 if ac_fn_cxx_try_link "$LINENO"; then :
76709 glibcxx_cv_fchmod=yes
76710 else
76711 glibcxx_cv_fchmod=no
76713 rm -f core conftest.err conftest.$ac_objext \
76714 conftest$ac_exeext conftest.$ac_ext
76718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76719 $as_echo "$glibcxx_cv_fchmod" >&6; }
76720 if test $glibcxx_cv_fchmod = yes; then
76722 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76726 $as_echo_n "checking for fchmodat... " >&6; }
76727 if ${glibcxx_cv_fchmodat+:} false; then :
76728 $as_echo_n "(cached) " >&6
76729 else
76730 if test x$gcc_no_link = xyes; then
76731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76732 /* end confdefs.h. */
76734 #include <fcntl.h>
76735 #include <sys/stat.h>
76738 main ()
76740 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76742 return 0;
76744 _ACEOF
76745 if ac_fn_cxx_try_compile "$LINENO"; then :
76746 glibcxx_cv_fchmodat=yes
76747 else
76748 glibcxx_cv_fchmodat=no
76750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76751 else
76752 if test x$gcc_no_link = xyes; then
76753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76756 /* end confdefs.h. */
76758 #include <fcntl.h>
76759 #include <sys/stat.h>
76762 main ()
76764 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76766 return 0;
76768 _ACEOF
76769 if ac_fn_cxx_try_link "$LINENO"; then :
76770 glibcxx_cv_fchmodat=yes
76771 else
76772 glibcxx_cv_fchmodat=no
76774 rm -f core conftest.err conftest.$ac_objext \
76775 conftest$ac_exeext conftest.$ac_ext
76779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76780 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76781 if test $glibcxx_cv_fchmodat = yes; then
76783 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76787 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76788 if ${glibcxx_cv_sendfile+:} false; then :
76789 $as_echo_n "(cached) " >&6
76790 else
76791 case "${target_os}" in
76792 gnu* | linux* | solaris* | uclinux*)
76793 if test x$gcc_no_link = xyes; then
76794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76795 /* end confdefs.h. */
76796 #include <sys/sendfile.h>
76798 main ()
76800 sendfile(1, 2, (off_t*)0, sizeof 1);
76802 return 0;
76804 _ACEOF
76805 if ac_fn_cxx_try_compile "$LINENO"; then :
76806 glibcxx_cv_sendfile=yes
76807 else
76808 glibcxx_cv_sendfile=no
76810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76811 else
76812 if test x$gcc_no_link = xyes; then
76813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76816 /* end confdefs.h. */
76817 #include <sys/sendfile.h>
76819 main ()
76821 sendfile(1, 2, (off_t*)0, sizeof 1);
76823 return 0;
76825 _ACEOF
76826 if ac_fn_cxx_try_link "$LINENO"; then :
76827 glibcxx_cv_sendfile=yes
76828 else
76829 glibcxx_cv_sendfile=no
76831 rm -f core conftest.err conftest.$ac_objext \
76832 conftest$ac_exeext conftest.$ac_ext
76836 glibcxx_cv_sendfile=no
76838 esac
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76842 $as_echo "$glibcxx_cv_sendfile" >&6; }
76843 if test $glibcxx_cv_sendfile = yes; then
76845 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76849 $as_echo_n "checking for link... " >&6; }
76850 if ${glibcxx_cv_link+:} false; then :
76851 $as_echo_n "(cached) " >&6
76852 else
76853 if test x$gcc_no_link = xyes; then
76854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76855 /* end confdefs.h. */
76856 #include <unistd.h>
76858 main ()
76860 link("", "");
76862 return 0;
76864 _ACEOF
76865 if ac_fn_cxx_try_compile "$LINENO"; then :
76866 glibcxx_cv_link=yes
76867 else
76868 glibcxx_cv_link=no
76870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76871 else
76872 if test x$gcc_no_link = xyes; then
76873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76876 /* end confdefs.h. */
76877 #include <unistd.h>
76879 main ()
76881 link("", "");
76883 return 0;
76885 _ACEOF
76886 if ac_fn_cxx_try_link "$LINENO"; then :
76887 glibcxx_cv_link=yes
76888 else
76889 glibcxx_cv_link=no
76891 rm -f core conftest.err conftest.$ac_objext \
76892 conftest$ac_exeext conftest.$ac_ext
76896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76897 $as_echo "$glibcxx_cv_link" >&6; }
76898 if test $glibcxx_cv_link = yes; then
76900 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76904 $as_echo_n "checking for readlink... " >&6; }
76905 if ${glibcxx_cv_readlink+:} false; then :
76906 $as_echo_n "(cached) " >&6
76907 else
76908 if test x$gcc_no_link = xyes; then
76909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76910 /* end confdefs.h. */
76911 #include <unistd.h>
76913 main ()
76915 char buf[32]; readlink("", buf, sizeof(buf));
76917 return 0;
76919 _ACEOF
76920 if ac_fn_cxx_try_compile "$LINENO"; then :
76921 glibcxx_cv_readlink=yes
76922 else
76923 glibcxx_cv_readlink=no
76925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76926 else
76927 if test x$gcc_no_link = xyes; then
76928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76932 #include <unistd.h>
76934 main ()
76936 char buf[32]; readlink("", buf, sizeof(buf));
76938 return 0;
76940 _ACEOF
76941 if ac_fn_cxx_try_link "$LINENO"; then :
76942 glibcxx_cv_readlink=yes
76943 else
76944 glibcxx_cv_readlink=no
76946 rm -f core conftest.err conftest.$ac_objext \
76947 conftest$ac_exeext conftest.$ac_ext
76951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76952 $as_echo "$glibcxx_cv_readlink" >&6; }
76953 if test $glibcxx_cv_readlink = yes; then
76955 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76959 $as_echo_n "checking for symlink... " >&6; }
76960 if ${glibcxx_cv_symlink+:} false; then :
76961 $as_echo_n "(cached) " >&6
76962 else
76963 if test x$gcc_no_link = xyes; then
76964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76965 /* end confdefs.h. */
76966 #include <unistd.h>
76968 main ()
76970 symlink("", "");
76972 return 0;
76974 _ACEOF
76975 if ac_fn_cxx_try_compile "$LINENO"; then :
76976 glibcxx_cv_symlink=yes
76977 else
76978 glibcxx_cv_symlink=no
76980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76981 else
76982 if test x$gcc_no_link = xyes; then
76983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76986 /* end confdefs.h. */
76987 #include <unistd.h>
76989 main ()
76991 symlink("", "");
76993 return 0;
76995 _ACEOF
76996 if ac_fn_cxx_try_link "$LINENO"; then :
76997 glibcxx_cv_symlink=yes
76998 else
76999 glibcxx_cv_symlink=no
77001 rm -f core conftest.err conftest.$ac_objext \
77002 conftest$ac_exeext conftest.$ac_ext
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
77007 $as_echo "$glibcxx_cv_symlink" >&6; }
77008 if test $glibcxx_cv_symlink = yes; then
77010 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
77013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
77014 $as_echo_n "checking for truncate... " >&6; }
77015 if ${glibcxx_cv_truncate+:} false; then :
77016 $as_echo_n "(cached) " >&6
77017 else
77018 if test x$gcc_no_link = xyes; then
77019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77020 /* end confdefs.h. */
77021 #include <unistd.h>
77023 main ()
77025 truncate("", 99);
77027 return 0;
77029 _ACEOF
77030 if ac_fn_cxx_try_compile "$LINENO"; then :
77031 glibcxx_cv_truncate=yes
77032 else
77033 glibcxx_cv_truncate=no
77035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77036 else
77037 if test x$gcc_no_link = xyes; then
77038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77041 /* end confdefs.h. */
77042 #include <unistd.h>
77044 main ()
77046 truncate("", 99);
77048 return 0;
77050 _ACEOF
77051 if ac_fn_cxx_try_link "$LINENO"; then :
77052 glibcxx_cv_truncate=yes
77053 else
77054 glibcxx_cv_truncate=no
77056 rm -f core conftest.err conftest.$ac_objext \
77057 conftest$ac_exeext conftest.$ac_ext
77061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
77062 $as_echo "$glibcxx_cv_truncate" >&6; }
77063 if test $glibcxx_cv_truncate = yes; then
77065 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
77068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
77069 $as_echo_n "checking for fdopendir... " >&6; }
77070 if ${glibcxx_cv_fdopendir+:} false; then :
77071 $as_echo_n "(cached) " >&6
77072 else
77073 if test x$gcc_no_link = xyes; then
77074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77075 /* end confdefs.h. */
77076 #include <dirent.h>
77078 main ()
77080 ::DIR* dir = ::fdopendir(1);
77082 return 0;
77084 _ACEOF
77085 if ac_fn_cxx_try_compile "$LINENO"; then :
77086 glibcxx_cv_fdopendir=yes
77087 else
77088 glibcxx_cv_fdopendir=no
77090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77091 else
77092 if test x$gcc_no_link = xyes; then
77093 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77096 /* end confdefs.h. */
77097 #include <dirent.h>
77099 main ()
77101 ::DIR* dir = ::fdopendir(1);
77103 return 0;
77105 _ACEOF
77106 if ac_fn_cxx_try_link "$LINENO"; then :
77107 glibcxx_cv_fdopendir=yes
77108 else
77109 glibcxx_cv_fdopendir=no
77111 rm -f core conftest.err conftest.$ac_objext \
77112 conftest$ac_exeext conftest.$ac_ext
77116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
77117 $as_echo "$glibcxx_cv_fdopendir" >&6; }
77118 if test $glibcxx_cv_fdopendir = yes; then
77120 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
77123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
77124 $as_echo_n "checking for dirfd... " >&6; }
77125 if ${glibcxx_cv_dirfd+:} false; then :
77126 $as_echo_n "(cached) " >&6
77127 else
77128 if test x$gcc_no_link = xyes; then
77129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77130 /* end confdefs.h. */
77131 #include <dirent.h>
77133 main ()
77135 int fd = ::dirfd((::DIR*)0);
77137 return 0;
77139 _ACEOF
77140 if ac_fn_cxx_try_compile "$LINENO"; then :
77141 glibcxx_cv_dirfd=yes
77142 else
77143 glibcxx_cv_dirfd=no
77145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77146 else
77147 if test x$gcc_no_link = xyes; then
77148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77151 /* end confdefs.h. */
77152 #include <dirent.h>
77154 main ()
77156 int fd = ::dirfd((::DIR*)0);
77158 return 0;
77160 _ACEOF
77161 if ac_fn_cxx_try_link "$LINENO"; then :
77162 glibcxx_cv_dirfd=yes
77163 else
77164 glibcxx_cv_dirfd=no
77166 rm -f core conftest.err conftest.$ac_objext \
77167 conftest$ac_exeext conftest.$ac_ext
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
77172 $as_echo "$glibcxx_cv_dirfd" >&6; }
77173 if test $glibcxx_cv_dirfd = yes; then
77175 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
77178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
77179 $as_echo_n "checking for unlinkat... " >&6; }
77180 if ${glibcxx_cv_unlinkat+:} false; then :
77181 $as_echo_n "(cached) " >&6
77182 else
77183 if test x$gcc_no_link = xyes; then
77184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77185 /* end confdefs.h. */
77186 #include <fcntl.h>
77187 #include <unistd.h>
77189 main ()
77191 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
77193 return 0;
77195 _ACEOF
77196 if ac_fn_cxx_try_compile "$LINENO"; then :
77197 glibcxx_cv_unlinkat=yes
77198 else
77199 glibcxx_cv_unlinkat=no
77201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77202 else
77203 if test x$gcc_no_link = xyes; then
77204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77207 /* end confdefs.h. */
77208 #include <fcntl.h>
77209 #include <unistd.h>
77211 main ()
77213 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
77215 return 0;
77217 _ACEOF
77218 if ac_fn_cxx_try_link "$LINENO"; then :
77219 glibcxx_cv_unlinkat=yes
77220 else
77221 glibcxx_cv_unlinkat=no
77223 rm -f core conftest.err conftest.$ac_objext \
77224 conftest$ac_exeext conftest.$ac_ext
77228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
77229 $as_echo "$glibcxx_cv_unlinkat" >&6; }
77230 if test $glibcxx_cv_unlinkat = yes; then
77232 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
77235 CXXFLAGS="$ac_save_CXXFLAGS"
77236 ac_ext=c
77237 ac_cpp='$CPP $CPPFLAGS'
77238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77245 # Check whether --enable-libstdcxx-backtrace was given.
77246 if test "${enable_libstdcxx_backtrace+set}" = set; then :
77247 enableval=$enable_libstdcxx_backtrace;
77248 case "$enableval" in
77249 yes|no|auto) ;;
77250 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
77251 esac
77253 else
77254 enable_libstdcxx_backtrace=auto
77259 # Most of this is adapted from libsanitizer/configure.ac
77261 BACKTRACE_CPPFLAGS=
77263 # libbacktrace only needs atomics for int, which we've already tested
77264 if test "$glibcxx_cv_atomic_int" = "yes"; then
77265 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
77268 # Test for __sync support.
77269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
77270 $as_echo_n "checking __sync extensions... " >&6; }
77271 if ${glibcxx_cv_sys_sync+:} false; then :
77272 $as_echo_n "(cached) " >&6
77273 else
77274 if test x$gcc_no_link = xyes; then
77275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77276 /* end confdefs.h. */
77277 int i;
77279 main ()
77281 __sync_bool_compare_and_swap (&i, i, i);
77282 __sync_lock_test_and_set (&i, 1);
77283 __sync_lock_release (&i);
77285 return 0;
77287 _ACEOF
77288 if ac_fn_c_try_compile "$LINENO"; then :
77289 glibcxx_cv_sys_sync=yes
77290 else
77291 glibcxx_cv_sys_sync=no
77293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77294 else
77295 if test x$gcc_no_link = xyes; then
77296 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77299 /* end confdefs.h. */
77300 int i;
77302 main ()
77304 __sync_bool_compare_and_swap (&i, i, i);
77305 __sync_lock_test_and_set (&i, 1);
77306 __sync_lock_release (&i);
77308 return 0;
77310 _ACEOF
77311 if ac_fn_c_try_link "$LINENO"; then :
77312 glibcxx_cv_sys_sync=yes
77313 else
77314 glibcxx_cv_sys_sync=no
77316 rm -f core conftest.err conftest.$ac_objext \
77317 conftest$ac_exeext conftest.$ac_ext
77321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
77322 $as_echo "$glibcxx_cv_sys_sync" >&6; }
77323 if test "$glibcxx_cv_sys_sync" = "yes"; then
77324 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
77327 # Check for dl_iterate_phdr.
77328 for ac_header in link.h
77329 do :
77330 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
77331 if test "x$ac_cv_header_link_h" = xyes; then :
77332 cat >>confdefs.h <<_ACEOF
77333 #define HAVE_LINK_H 1
77334 _ACEOF
77338 done
77340 if test "$ac_cv_header_link_h" = "no"; then
77341 have_dl_iterate_phdr=no
77342 else
77343 # When built as a GCC target library, we can't do a link test.
77344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77345 /* end confdefs.h. */
77346 #include <link.h>
77348 _ACEOF
77349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
77350 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
77351 have_dl_iterate_phdr=yes
77352 else
77353 have_dl_iterate_phdr=no
77355 rm -f conftest*
77358 if test "$have_dl_iterate_phdr" = "yes"; then
77359 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
77362 # Check for the fcntl function.
77363 if test -n "${with_target_subdir}"; then
77364 case "${host}" in
77365 *-*-mingw*) have_fcntl=no ;;
77366 *) have_fcntl=yes ;;
77367 esac
77368 else
77369 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
77370 if test "x$ac_cv_func_fcntl" = xyes; then :
77371 have_fcntl=yes
77372 else
77373 have_fcntl=no
77377 if test "$have_fcntl" = "yes"; then
77378 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
77381 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
77382 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
77383 ac_have_decl=1
77384 else
77385 ac_have_decl=0
77388 cat >>confdefs.h <<_ACEOF
77389 #define HAVE_DECL_STRNLEN $ac_have_decl
77390 _ACEOF
77393 # Check for getexecname function.
77394 if test -n "${with_target_subdir}"; then
77395 case "${host}" in
77396 *-*-solaris2*) have_getexecname=yes ;;
77397 *) have_getexecname=no ;;
77398 esac
77399 else
77400 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
77401 if test "x$ac_cv_func_getexecname" = xyes; then :
77402 have_getexecname=yes
77403 else
77404 have_getexecname=no
77408 if test "$have_getexecname" = "yes"; then
77409 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
77412 # The library needs to be able to read the executable itself. Compile
77413 # a file to determine the executable format. The awk script
77414 # filetype.awk prints out the file type.
77415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
77416 $as_echo_n "checking output filetype... " >&6; }
77417 if ${glibcxx_cv_sys_filetype+:} false; then :
77418 $as_echo_n "(cached) " >&6
77419 else
77420 filetype=
77421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77422 /* end confdefs.h. */
77423 int i;
77425 main ()
77427 int j;
77429 return 0;
77431 _ACEOF
77432 if ac_fn_c_try_compile "$LINENO"; then :
77433 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
77434 else
77435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77437 as_fn_error $? "compiler failed
77438 See \`config.log' for more details" "$LINENO" 5; }
77440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77441 glibcxx_cv_sys_filetype=$filetype
77443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
77444 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
77446 # Match the file type to decide what files to compile.
77447 FORMAT_FILE=
77448 case "$glibcxx_cv_sys_filetype" in
77449 elf*) FORMAT_FILE="elf.lo" ;;
77450 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
77451 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
77452 FORMAT_FILE="unknown.lo"
77453 enable_libstdcxx_backtrace=no
77455 esac
77458 # ELF defines.
77459 elfsize=
77460 case "$glibcxx_cv_sys_filetype" in
77461 elf32) elfsize=32 ;;
77462 elf64) elfsize=64 ;;
77463 esac
77464 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
77466 ALLOC_FILE=alloc.lo
77468 VIEW_FILE=read.lo
77471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
77472 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
77473 if test "$enable_libstdcxx_backtrace" == "auto"; then
77474 enable_libstdcxx_backtrace=no
77476 if test "$enable_libstdcxx_backtrace" == "yes"; then
77477 BACKTRACE_SUPPORTED=1
77478 BACKTRACE_USES_MALLOC=1
77479 if test "$ac_has_gthreads" = "yes"; then
77480 BACKTRACE_SUPPORTS_THREADS=1
77481 else
77482 BACKTRACE_SUPPORTS_THREADS=0
77489 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
77491 else
77492 BACKTRACE_SUPPORTED=0
77493 BACKTRACE_USES_MALLOC=0
77494 BACKTRACE_SUPPORTS_THREADS=0
77496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
77497 $as_echo "$enable_libstdcxx_backtrace" >&6; }
77501 # For Networking TS.
77502 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
77503 do :
77504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77505 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
77506 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
77507 cat >>confdefs.h <<_ACEOF
77508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77509 _ACEOF
77513 done
77515 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
77517 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
77521 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
77523 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
77527 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
77528 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
77530 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
77536 # For Transactional Memory TS
77538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
77539 $as_echo_n "checking how size_t is mangled... " >&6; }
77540 if ${glibcxx_cv_size_t_mangling+:} false; then :
77541 $as_echo_n "(cached) " >&6
77542 else
77544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77545 /* end confdefs.h. */
77548 main ()
77550 extern __SIZE_TYPE__ x; extern unsigned long x;
77552 return 0;
77554 _ACEOF
77555 if ac_fn_c_try_compile "$LINENO"; then :
77556 glibcxx_cv_size_t_mangling=m
77557 else
77559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77560 /* end confdefs.h. */
77563 main ()
77565 extern __SIZE_TYPE__ x; extern unsigned int x;
77567 return 0;
77569 _ACEOF
77570 if ac_fn_c_try_compile "$LINENO"; then :
77571 glibcxx_cv_size_t_mangling=j
77572 else
77574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77575 /* end confdefs.h. */
77578 main ()
77580 extern __SIZE_TYPE__ x; extern unsigned long long x;
77582 return 0;
77584 _ACEOF
77585 if ac_fn_c_try_compile "$LINENO"; then :
77586 glibcxx_cv_size_t_mangling=y
77587 else
77589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77590 /* end confdefs.h. */
77593 main ()
77595 extern __SIZE_TYPE__ x; extern unsigned short x;
77597 return 0;
77599 _ACEOF
77600 if ac_fn_c_try_compile "$LINENO"; then :
77601 glibcxx_cv_size_t_mangling=t
77602 else
77604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77605 /* end confdefs.h. */
77608 main ()
77610 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77612 return 0;
77614 _ACEOF
77615 if ac_fn_c_try_compile "$LINENO"; then :
77616 glibcxx_cv_size_t_mangling=u6uint20
77617 else
77618 glibcxx_cv_size_t_mangling=x
77620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77636 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77637 if test $glibcxx_cv_size_t_mangling = x; then
77638 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77641 cat >>confdefs.h <<_ACEOF
77642 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77643 _ACEOF
77647 # Check which release added std::exception_ptr for the target
77649 if test $enable_symvers != no; then
77650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77651 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77652 case ${target} in
77653 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77654 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77655 ac_exception_ptr_since_gcc46=yes
77658 # If the value of this macro changes then we will need to hardcode
77659 # yes/no here for additional targets based on the original value.
77660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77661 /* end confdefs.h. */
77664 main ()
77667 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77668 # error atomic int not always lock free
77669 #endif
77672 return 0;
77674 _ACEOF
77675 if ac_fn_c_try_compile "$LINENO"; then :
77676 ac_exception_ptr_since_gcc46=yes
77677 else
77678 ac_exception_ptr_since_gcc46=no
77680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77682 esac
77683 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77685 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77688 $as_echo "4.6.0" >&6; }
77689 else
77690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77691 $as_echo "7.1.0" >&6; }
77696 # Define documentation rules conditionally.
77698 # See if makeinfo has been installed and is modern enough
77699 # that we can use it.
77701 # Extract the first word of "makeinfo", so it can be a program name with args.
77702 set dummy makeinfo; ac_word=$2
77703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77704 $as_echo_n "checking for $ac_word... " >&6; }
77705 if ${ac_cv_prog_MAKEINFO+:} false; then :
77706 $as_echo_n "(cached) " >&6
77707 else
77708 if test -n "$MAKEINFO"; then
77709 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77710 else
77711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77712 for as_dir in $PATH
77714 IFS=$as_save_IFS
77715 test -z "$as_dir" && as_dir=.
77716 for ac_exec_ext in '' $ac_executable_extensions; do
77717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77718 ac_cv_prog_MAKEINFO="makeinfo"
77719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77720 break 2
77722 done
77723 done
77724 IFS=$as_save_IFS
77728 MAKEINFO=$ac_cv_prog_MAKEINFO
77729 if test -n "$MAKEINFO"; then
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77731 $as_echo "$MAKEINFO" >&6; }
77732 else
77733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77734 $as_echo "no" >&6; }
77738 if test -n "$MAKEINFO"; then
77739 # Found it, now check the version.
77740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77741 $as_echo_n "checking for modern makeinfo... " >&6; }
77742 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77743 $as_echo_n "(cached) " >&6
77744 else
77745 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77746 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77748 case $ac_prog_version in
77749 '') gcc_cv_prog_makeinfo_modern=no;;
77750 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77751 *) gcc_cv_prog_makeinfo_modern=no;;
77752 esac
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77756 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77757 else
77758 gcc_cv_prog_makeinfo_modern=no
77760 if test $gcc_cv_prog_makeinfo_modern = no; then
77761 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77764 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77765 BUILD_INFO_TRUE=
77766 BUILD_INFO_FALSE='#'
77767 else
77768 BUILD_INFO_TRUE='#'
77769 BUILD_INFO_FALSE=
77773 # Check for doxygen
77774 # Extract the first word of "doxygen", so it can be a program name with args.
77775 set dummy doxygen; ac_word=$2
77776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77777 $as_echo_n "checking for $ac_word... " >&6; }
77778 if ${ac_cv_prog_DOXYGEN+:} false; then :
77779 $as_echo_n "(cached) " >&6
77780 else
77781 if test -n "$DOXYGEN"; then
77782 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77783 else
77784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77785 for as_dir in $PATH
77787 IFS=$as_save_IFS
77788 test -z "$as_dir" && as_dir=.
77789 for ac_exec_ext in '' $ac_executable_extensions; do
77790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77791 ac_cv_prog_DOXYGEN="yes"
77792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77793 break 2
77795 done
77796 done
77797 IFS=$as_save_IFS
77799 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77802 DOXYGEN=$ac_cv_prog_DOXYGEN
77803 if test -n "$DOXYGEN"; then
77804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77805 $as_echo "$DOXYGEN" >&6; }
77806 else
77807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77808 $as_echo "no" >&6; }
77812 # Extract the first word of "dot", so it can be a program name with args.
77813 set dummy dot; ac_word=$2
77814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77815 $as_echo_n "checking for $ac_word... " >&6; }
77816 if ${ac_cv_prog_DOT+:} false; then :
77817 $as_echo_n "(cached) " >&6
77818 else
77819 if test -n "$DOT"; then
77820 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77821 else
77822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77823 for as_dir in $PATH
77825 IFS=$as_save_IFS
77826 test -z "$as_dir" && as_dir=.
77827 for ac_exec_ext in '' $ac_executable_extensions; do
77828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77829 ac_cv_prog_DOT="yes"
77830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77831 break 2
77833 done
77834 done
77835 IFS=$as_save_IFS
77837 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77840 DOT=$ac_cv_prog_DOT
77841 if test -n "$DOT"; then
77842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77843 $as_echo "$DOT" >&6; }
77844 else
77845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77846 $as_echo "no" >&6; }
77851 # Check for docbook
77852 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77853 set dummy xmlcatalog; ac_word=$2
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77855 $as_echo_n "checking for $ac_word... " >&6; }
77856 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77857 $as_echo_n "(cached) " >&6
77858 else
77859 if test -n "$XMLCATALOG"; then
77860 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77861 else
77862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77863 for as_dir in $PATH
77865 IFS=$as_save_IFS
77866 test -z "$as_dir" && as_dir=.
77867 for ac_exec_ext in '' $ac_executable_extensions; do
77868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77869 ac_cv_prog_XMLCATALOG="yes"
77870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77871 break 2
77873 done
77874 done
77875 IFS=$as_save_IFS
77877 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77880 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77881 if test -n "$XMLCATALOG"; then
77882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77883 $as_echo "$XMLCATALOG" >&6; }
77884 else
77885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77886 $as_echo "no" >&6; }
77890 # Extract the first word of "xsltproc", so it can be a program name with args.
77891 set dummy xsltproc; ac_word=$2
77892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77893 $as_echo_n "checking for $ac_word... " >&6; }
77894 if ${ac_cv_prog_XSLTPROC+:} false; then :
77895 $as_echo_n "(cached) " >&6
77896 else
77897 if test -n "$XSLTPROC"; then
77898 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77899 else
77900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77901 for as_dir in $PATH
77903 IFS=$as_save_IFS
77904 test -z "$as_dir" && as_dir=.
77905 for ac_exec_ext in '' $ac_executable_extensions; do
77906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77907 ac_cv_prog_XSLTPROC="yes"
77908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77909 break 2
77911 done
77912 done
77913 IFS=$as_save_IFS
77915 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77918 XSLTPROC=$ac_cv_prog_XSLTPROC
77919 if test -n "$XSLTPROC"; then
77920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77921 $as_echo "$XSLTPROC" >&6; }
77922 else
77923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77924 $as_echo "no" >&6; }
77928 # Extract the first word of "xmllint", so it can be a program name with args.
77929 set dummy xmllint; ac_word=$2
77930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77931 $as_echo_n "checking for $ac_word... " >&6; }
77932 if ${ac_cv_prog_XMLLINT+:} false; then :
77933 $as_echo_n "(cached) " >&6
77934 else
77935 if test -n "$XMLLINT"; then
77936 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77937 else
77938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77939 for as_dir in $PATH
77941 IFS=$as_save_IFS
77942 test -z "$as_dir" && as_dir=.
77943 for ac_exec_ext in '' $ac_executable_extensions; do
77944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77945 ac_cv_prog_XMLLINT="yes"
77946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77947 break 2
77949 done
77950 done
77951 IFS=$as_save_IFS
77953 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77956 XMLLINT=$ac_cv_prog_XMLLINT
77957 if test -n "$XMLLINT"; then
77958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77959 $as_echo "$XMLLINT" >&6; }
77960 else
77961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77962 $as_echo "no" >&6; }
77968 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77971 $as_echo_n "checking for local stylesheet directory... " >&6; }
77972 glibcxx_local_stylesheets=no
77973 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77974 then
77975 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77976 glibcxx_local_stylesheets=yes
77977 else
77978 for dir in \
77979 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77980 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77981 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77982 /usr/share/xml/docbook/stylesheet/nwalsh/current
77984 if test -d $dir; then
77985 glibcxx_local_stylesheets=yes
77986 XSL_STYLE_DIR=$dir
77987 break
77989 done
77991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77992 $as_echo "$glibcxx_local_stylesheets" >&6; }
77994 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77996 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77997 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78000 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78001 glibcxx_stylesheets=no
78002 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
78003 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
78004 glibcxx_stylesheets=yes
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78008 $as_echo "$glibcxx_stylesheets" >&6; }
78010 else
78011 glibcxx_stylesheets=no
78014 # Check for epub3 dependencies.
78015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78016 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78017 glibcxx_epub_stylesheets=no
78018 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78019 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78020 glibcxx_epub_stylesheets=yes
78023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
78024 $as_echo "$glibcxx_epub_stylesheets" >&6; }
78025 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
78026 BUILD_EPUB_TRUE=
78027 BUILD_EPUB_FALSE='#'
78028 else
78029 BUILD_EPUB_TRUE='#'
78030 BUILD_EPUB_FALSE=
78036 # Check for xml/html dependencies.
78037 if test $ac_cv_prog_DOXYGEN = "yes" &&
78038 test $ac_cv_prog_DOT = "yes" &&
78039 test $ac_cv_prog_XSLTPROC = "yes" &&
78040 test $ac_cv_prog_XMLLINT = "yes" &&
78041 test $glibcxx_stylesheets = "yes"; then
78042 BUILD_XML_TRUE=
78043 BUILD_XML_FALSE='#'
78044 else
78045 BUILD_XML_TRUE='#'
78046 BUILD_XML_FALSE=
78050 if test $ac_cv_prog_DOXYGEN = "yes" &&
78051 test $ac_cv_prog_DOT = "yes" &&
78052 test $ac_cv_prog_XSLTPROC = "yes" &&
78053 test $ac_cv_prog_XMLLINT = "yes" &&
78054 test $glibcxx_stylesheets = "yes"; then
78055 BUILD_HTML_TRUE=
78056 BUILD_HTML_FALSE='#'
78057 else
78058 BUILD_HTML_TRUE='#'
78059 BUILD_HTML_FALSE=
78063 # Check for man dependencies.
78064 if test $ac_cv_prog_DOXYGEN = "yes" &&
78065 test $ac_cv_prog_DOT = "yes"; then
78066 BUILD_MAN_TRUE=
78067 BUILD_MAN_FALSE='#'
78068 else
78069 BUILD_MAN_TRUE='#'
78070 BUILD_MAN_FALSE=
78074 # Check for pdf dependencies.
78075 # Extract the first word of "dblatex", so it can be a program name with args.
78076 set dummy dblatex; ac_word=$2
78077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78078 $as_echo_n "checking for $ac_word... " >&6; }
78079 if ${ac_cv_prog_DBLATEX+:} false; then :
78080 $as_echo_n "(cached) " >&6
78081 else
78082 if test -n "$DBLATEX"; then
78083 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
78084 else
78085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78086 for as_dir in $PATH
78088 IFS=$as_save_IFS
78089 test -z "$as_dir" && as_dir=.
78090 for ac_exec_ext in '' $ac_executable_extensions; do
78091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
78092 ac_cv_prog_DBLATEX="yes"
78093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78094 break 2
78096 done
78097 done
78098 IFS=$as_save_IFS
78100 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
78103 DBLATEX=$ac_cv_prog_DBLATEX
78104 if test -n "$DBLATEX"; then
78105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
78106 $as_echo "$DBLATEX" >&6; }
78107 else
78108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78109 $as_echo "no" >&6; }
78113 # Extract the first word of "pdflatex", so it can be a program name with args.
78114 set dummy pdflatex; ac_word=$2
78115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78116 $as_echo_n "checking for $ac_word... " >&6; }
78117 if ${ac_cv_prog_PDFLATEX+:} false; then :
78118 $as_echo_n "(cached) " >&6
78119 else
78120 if test -n "$PDFLATEX"; then
78121 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
78122 else
78123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78124 for as_dir in $PATH
78126 IFS=$as_save_IFS
78127 test -z "$as_dir" && as_dir=.
78128 for ac_exec_ext in '' $ac_executable_extensions; do
78129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
78130 ac_cv_prog_PDFLATEX="yes"
78131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78132 break 2
78134 done
78135 done
78136 IFS=$as_save_IFS
78138 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
78141 PDFLATEX=$ac_cv_prog_PDFLATEX
78142 if test -n "$PDFLATEX"; then
78143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
78144 $as_echo "$PDFLATEX" >&6; }
78145 else
78146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78147 $as_echo "no" >&6; }
78151 if test $ac_cv_prog_DOXYGEN = "yes" &&
78152 test $ac_cv_prog_DOT = "yes" &&
78153 test $ac_cv_prog_XSLTPROC = "yes" &&
78154 test $ac_cv_prog_XMLLINT = "yes" &&
78155 test $ac_cv_prog_DBLATEX = "yes" &&
78156 test $ac_cv_prog_PDFLATEX = "yes"; then
78157 BUILD_PDF_TRUE=
78158 BUILD_PDF_FALSE='#'
78159 else
78160 BUILD_PDF_TRUE='#'
78161 BUILD_PDF_FALSE=
78165 case "$build" in
78166 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
78167 * ) glibcxx_include_dir_notparallel=no ;;
78168 esac
78169 if test $glibcxx_include_dir_notparallel = "yes"; then
78170 INCLUDE_DIR_NOTPARALLEL_TRUE=
78171 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
78172 else
78173 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
78174 INCLUDE_DIR_NOTPARALLEL_FALSE=
78178 # Propagate the target-specific source directories through the build chain.
78179 ATOMICITY_SRCDIR=config/${atomicity_dir}
78180 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
78181 ATOMIC_FLAGS=${atomic_flags}
78182 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
78183 OS_INC_SRCDIR=config/${os_include_dir}
78184 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
78185 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
78186 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
78187 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
78198 # Conditionalize the makefile for this target machine.
78199 tmake_file_=
78200 for f in ${tmake_file}
78202 if test -f ${srcdir}/config/$f
78203 then
78204 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
78206 done
78207 tmake_file="${tmake_file_}"
78210 # Add CET specific flags if Intel CET is enabled.
78211 # Check whether --enable-cet was given.
78212 if test "${enable_cet+set}" = set; then :
78213 enableval=$enable_cet;
78214 case "$enableval" in
78215 yes|no|auto) ;;
78216 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
78217 esac
78219 else
78220 enable_cet=auto
78224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
78225 $as_echo_n "checking for CET support... " >&6; }
78227 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
78228 case "$host" in
78229 i[34567]86-*-linux* | x86_64-*-linux*)
78230 case "$enable_cet" in
78231 auto)
78232 # Check if target supports multi-byte NOPs
78233 # and if compiler and assembler support CET insn.
78234 cet_save_CFLAGS="$CFLAGS"
78235 CFLAGS="$CFLAGS -fcf-protection"
78236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78237 /* end confdefs.h. */
78240 main ()
78243 #if !defined(__SSE2__)
78244 #error target does not support multi-byte NOPs
78245 #else
78246 asm ("setssbsy");
78247 #endif
78250 return 0;
78252 _ACEOF
78253 if ac_fn_c_try_compile "$LINENO"; then :
78254 enable_cet=yes
78255 else
78256 enable_cet=no
78258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78259 CFLAGS="$cet_save_CFLAGS"
78261 yes)
78262 # Check if assembler supports CET.
78263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78264 /* end confdefs.h. */
78267 main ()
78269 asm ("setssbsy");
78271 return 0;
78273 _ACEOF
78274 if ac_fn_c_try_compile "$LINENO"; then :
78276 else
78277 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
78279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78281 esac
78284 enable_cet=no
78286 esac
78287 if test x$enable_cet = xyes; then
78288 CET_FLAGS="-fcf-protection -mshstk"
78289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
78290 $as_echo "yes" >&6; }
78291 else
78292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78293 $as_echo "no" >&6; }
78296 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
78297 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
78301 # Determine cross-compile flags and AM_CONDITIONALs.
78302 #AC_SUBST(GLIBCXX_IS_NATIVE)
78303 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
78304 if test $is_hosted = yes; then
78305 GLIBCXX_HOSTED_TRUE=
78306 GLIBCXX_HOSTED_FALSE='#'
78307 else
78308 GLIBCXX_HOSTED_TRUE='#'
78309 GLIBCXX_HOSTED_FALSE=
78313 if test $enable_libstdcxx_pch = yes; then
78314 GLIBCXX_BUILD_PCH_TRUE=
78315 GLIBCXX_BUILD_PCH_FALSE='#'
78316 else
78317 GLIBCXX_BUILD_PCH_TRUE='#'
78318 GLIBCXX_BUILD_PCH_FALSE=
78322 if test $enable_float128 = yes; then
78323 ENABLE_FLOAT128_TRUE=
78324 ENABLE_FLOAT128_FALSE='#'
78325 else
78326 ENABLE_FLOAT128_TRUE='#'
78327 ENABLE_FLOAT128_FALSE=
78331 if test $enable_libstdcxx_allocator_flag = new; then
78332 ENABLE_ALLOCATOR_NEW_TRUE=
78333 ENABLE_ALLOCATOR_NEW_FALSE='#'
78334 else
78335 ENABLE_ALLOCATOR_NEW_TRUE='#'
78336 ENABLE_ALLOCATOR_NEW_FALSE=
78340 if test $enable_cheaders = c; then
78341 GLIBCXX_C_HEADERS_C_TRUE=
78342 GLIBCXX_C_HEADERS_C_FALSE='#'
78343 else
78344 GLIBCXX_C_HEADERS_C_TRUE='#'
78345 GLIBCXX_C_HEADERS_C_FALSE=
78349 if test $enable_cheaders = c_std; then
78350 GLIBCXX_C_HEADERS_C_STD_TRUE=
78351 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
78352 else
78353 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
78354 GLIBCXX_C_HEADERS_C_STD_FALSE=
78358 if test $enable_cheaders = c_global; then
78359 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
78360 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
78361 else
78362 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
78363 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
78367 if test $c_compatibility = yes; then
78368 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
78369 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
78370 else
78371 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
78372 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
78376 if test $enable_libstdcxx_debug = yes; then
78377 GLIBCXX_BUILD_DEBUG_TRUE=
78378 GLIBCXX_BUILD_DEBUG_FALSE='#'
78379 else
78380 GLIBCXX_BUILD_DEBUG_TRUE='#'
78381 GLIBCXX_BUILD_DEBUG_FALSE=
78385 if test $enable_extern_template = yes; then
78386 ENABLE_EXTERN_TEMPLATE_TRUE=
78387 ENABLE_EXTERN_TEMPLATE_FALSE='#'
78388 else
78389 ENABLE_EXTERN_TEMPLATE_TRUE='#'
78390 ENABLE_EXTERN_TEMPLATE_FALSE=
78394 if test $python_mod_dir != no; then
78395 ENABLE_PYTHONDIR_TRUE=
78396 ENABLE_PYTHONDIR_FALSE='#'
78397 else
78398 ENABLE_PYTHONDIR_TRUE='#'
78399 ENABLE_PYTHONDIR_FALSE=
78403 if test $enable_werror = yes; then
78404 ENABLE_WERROR_TRUE=
78405 ENABLE_WERROR_FALSE='#'
78406 else
78407 ENABLE_WERROR_TRUE='#'
78408 ENABLE_WERROR_FALSE=
78412 if test $enable_vtable_verify = yes; then
78413 ENABLE_VTABLE_VERIFY_TRUE=
78414 ENABLE_VTABLE_VERIFY_FALSE='#'
78415 else
78416 ENABLE_VTABLE_VERIFY_TRUE='#'
78417 ENABLE_VTABLE_VERIFY_FALSE=
78421 if test $enable_symvers != no; then
78422 ENABLE_SYMVERS_TRUE=
78423 ENABLE_SYMVERS_FALSE='#'
78424 else
78425 ENABLE_SYMVERS_TRUE='#'
78426 ENABLE_SYMVERS_FALSE=
78430 if test $enable_symvers = gnu; then
78431 ENABLE_SYMVERS_GNU_TRUE=
78432 ENABLE_SYMVERS_GNU_FALSE='#'
78433 else
78434 ENABLE_SYMVERS_GNU_TRUE='#'
78435 ENABLE_SYMVERS_GNU_FALSE=
78439 if test $enable_symvers = gnu-versioned-namespace; then
78440 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
78441 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
78442 else
78443 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
78444 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
78448 if test $enable_symvers = darwin; then
78449 ENABLE_SYMVERS_DARWIN_TRUE=
78450 ENABLE_SYMVERS_DARWIN_FALSE='#'
78451 else
78452 ENABLE_SYMVERS_DARWIN_TRUE='#'
78453 ENABLE_SYMVERS_DARWIN_FALSE=
78457 if test $enable_symvers = sun; then
78458 ENABLE_SYMVERS_SUN_TRUE=
78459 ENABLE_SYMVERS_SUN_FALSE='#'
78460 else
78461 ENABLE_SYMVERS_SUN_TRUE='#'
78462 ENABLE_SYMVERS_SUN_FALSE=
78466 if test $enable_libstdcxx_visibility = yes; then
78467 ENABLE_VISIBILITY_TRUE=
78468 ENABLE_VISIBILITY_FALSE='#'
78469 else
78470 ENABLE_VISIBILITY_TRUE='#'
78471 ENABLE_VISIBILITY_FALSE=
78475 if test $enable_libstdcxx_dual_abi = yes; then
78476 ENABLE_DUAL_ABI_TRUE=
78477 ENABLE_DUAL_ABI_FALSE='#'
78478 else
78479 ENABLE_DUAL_ABI_TRUE='#'
78480 ENABLE_DUAL_ABI_FALSE=
78484 if test $glibcxx_cxx11_abi = 1; then
78485 ENABLE_CXX11_ABI_TRUE=
78486 ENABLE_CXX11_ABI_FALSE='#'
78487 else
78488 ENABLE_CXX11_ABI_TRUE='#'
78489 ENABLE_CXX11_ABI_FALSE=
78493 if test $ac_ldbl_compat = yes; then
78494 GLIBCXX_LDBL_COMPAT_TRUE=
78495 GLIBCXX_LDBL_COMPAT_FALSE='#'
78496 else
78497 GLIBCXX_LDBL_COMPAT_TRUE='#'
78498 GLIBCXX_LDBL_COMPAT_FALSE=
78502 if test $ac_ldbl_alt128_compat = yes; then
78503 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
78504 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
78505 else
78506 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
78507 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
78511 if test $enable_libstdcxx_filesystem_ts = yes; then
78512 ENABLE_FILESYSTEM_TS_TRUE=
78513 ENABLE_FILESYSTEM_TS_FALSE='#'
78514 else
78515 ENABLE_FILESYSTEM_TS_TRUE='#'
78516 ENABLE_FILESYSTEM_TS_FALSE=
78520 if test "$enable_libstdcxx_backtrace" != no; then
78521 ENABLE_BACKTRACE_TRUE=
78522 ENABLE_BACKTRACE_FALSE='#'
78523 else
78524 ENABLE_BACKTRACE_TRUE='#'
78525 ENABLE_BACKTRACE_FALSE=
78531 cat >confcache <<\_ACEOF
78532 # This file is a shell script that caches the results of configure
78533 # tests run on this system so they can be shared between configure
78534 # scripts and configure runs, see configure's option --config-cache.
78535 # It is not useful on other systems. If it contains results you don't
78536 # want to keep, you may remove or edit it.
78538 # config.status only pays attention to the cache file if you give it
78539 # the --recheck option to rerun configure.
78541 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78542 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78543 # following values.
78545 _ACEOF
78547 # The following way of writing the cache mishandles newlines in values,
78548 # but we know of no workaround that is simple, portable, and efficient.
78549 # So, we kill variables containing newlines.
78550 # Ultrix sh set writes to stderr and can't be redirected directly,
78551 # and sets the high bit in the cache file unless we assign to the vars.
78553 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78554 eval ac_val=\$$ac_var
78555 case $ac_val in #(
78556 *${as_nl}*)
78557 case $ac_var in #(
78558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78560 esac
78561 case $ac_var in #(
78562 _ | IFS | as_nl) ;; #(
78563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78564 *) { eval $ac_var=; unset $ac_var;} ;;
78565 esac ;;
78566 esac
78567 done
78569 (set) 2>&1 |
78570 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78571 *${as_nl}ac_space=\ *)
78572 # `set' does not quote correctly, so add quotes: double-quote
78573 # substitution turns \\\\ into \\, and sed turns \\ into \.
78574 sed -n \
78575 "s/'/'\\\\''/g;
78576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78577 ;; #(
78579 # `set' quotes correctly as required by POSIX, so do not add quotes.
78580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78582 esac |
78583 sort
78585 sed '
78586 /^ac_cv_env_/b end
78587 t clear
78588 :clear
78589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78590 t end
78591 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78592 :end' >>confcache
78593 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78594 if test -w "$cache_file"; then
78595 if test "x$cache_file" != "x/dev/null"; then
78596 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78597 $as_echo "$as_me: updating cache $cache_file" >&6;}
78598 if test ! -f "$cache_file" || test -h "$cache_file"; then
78599 cat confcache >"$cache_file"
78600 else
78601 case $cache_file in #(
78602 */* | ?:*)
78603 mv -f confcache "$cache_file"$$ &&
78604 mv -f "$cache_file"$$ "$cache_file" ;; #(
78606 mv -f confcache "$cache_file" ;;
78607 esac
78610 else
78611 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78612 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78615 rm -f confcache
78617 if test ${multilib} = yes; then
78618 multilib_arg="--enable-multilib"
78619 else
78620 multilib_arg=
78623 # Export all the install information.
78625 glibcxx_toolexecdir=no
78626 glibcxx_toolexeclibdir=no
78627 glibcxx_prefixdir=$prefix
78629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78630 $as_echo_n "checking for gxx-include-dir... " >&6; }
78632 # Check whether --with-gxx-include-dir was given.
78633 if test "${with_gxx_include_dir+set}" = set; then :
78634 withval=$with_gxx_include_dir; case "$withval" in
78635 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78636 no) gxx_include_dir=no ;;
78637 *) gxx_include_dir=$withval ;;
78638 esac
78639 else
78640 gxx_include_dir=no
78643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78644 $as_echo "$gxx_include_dir" >&6; }
78646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78647 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78648 # Check whether --enable-version-specific-runtime-libs was given.
78649 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78650 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78651 yes) version_specific_libs=yes ;;
78652 no) version_specific_libs=no ;;
78653 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78654 esac
78655 else
78656 version_specific_libs=no
78659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78660 $as_echo "$version_specific_libs" >&6; }
78663 # Check whether --with-toolexeclibdir was given.
78664 if test "${with_toolexeclibdir+set}" = set; then :
78665 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78669 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78671 esac
78672 else
78673 with_toolexeclibdir=no
78678 # Default case for install directory for include files.
78679 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78680 gxx_include_dir='include/c++/${gcc_version}'
78681 if test -n "$with_cross_host" &&
78682 test x"$with_cross_host" != x"no"; then
78683 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78684 else
78685 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78689 # Version-specific runtime libs processing.
78690 if test $version_specific_libs = yes; then
78691 # Need the gcc compiler version to know where to install libraries
78692 # and header files if --enable-version-specific-runtime-libs option
78693 # is selected. FIXME: these variables are misnamed, there are
78694 # no executables installed in _toolexecdir or _toolexeclibdir.
78695 if test x"$gxx_include_dir" = x"no"; then
78696 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78698 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78699 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78702 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78703 # Install a library built with a cross compiler in tooldir, not libdir.
78704 if test x"$glibcxx_toolexecdir" = x"no"; then
78705 if test -n "$with_cross_host" &&
78706 test x"$with_cross_host" != x"no"; then
78707 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78708 case ${with_toolexeclibdir} in
78710 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78713 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78715 esac
78716 else
78717 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78718 glibcxx_toolexeclibdir='${libdir}'
78720 multi_os_directory=`$CXX -print-multi-os-directory`
78721 case $multi_os_directory in
78722 .) ;; # Avoid trailing /.
78723 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78724 esac
78727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78728 $as_echo_n "checking for install location... " >&6; }
78729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78730 $as_echo "$gxx_include_dir" >&6; }
78738 # Export all the include and flag information to Makefiles.
78740 # Used for every C++ compile we perform.
78741 GLIBCXX_INCLUDES="\
78742 -I$glibcxx_builddir/include/$host_alias \
78743 -I$glibcxx_builddir/include \
78744 -I$glibcxx_srcdir/libsupc++"
78746 # For Canadian crosses, pick this up too.
78747 if test $CANADIAN = yes; then
78748 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78751 # Stuff in the actual top level. Currently only used by libsupc++ to
78752 # get unwind* headers from the libgcc dir.
78753 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78754 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78756 # Now, export this to all the little Makefiles....
78761 # Optimization flags that are probably a good idea for thrill-seekers. Just
78762 # uncomment the lines below and make, everything else is ready to go...
78763 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78764 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78767 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78771 # Determine what GCC version number to use in filesystem paths.
78773 get_gcc_base_ver="cat"
78775 # Check whether --with-gcc-major-version-only was given.
78776 if test "${with_gcc_major_version_only+set}" = set; then :
78777 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78778 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78786 ac_config_files="$ac_config_files Makefile"
78788 ac_config_files="$ac_config_files scripts/testsuite_flags"
78790 ac_config_files="$ac_config_files scripts/extract_symvers"
78792 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78794 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
78797 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78798 # that multilib installs will end up installed in the correct place.
78799 # The testsuite needs it for multilib-aware ABI baseline files.
78800 # To work around this not being passed down from config-ml.in ->
78801 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78802 # append it here. Only modify Makefiles that have just been created.
78804 # Also, get rid of this simulated-VPATH thing that automake does.
78805 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 src/libbacktrace/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78808 ac_config_commands="$ac_config_commands generate-headers"
78811 cat >confcache <<\_ACEOF
78812 # This file is a shell script that caches the results of configure
78813 # tests run on this system so they can be shared between configure
78814 # scripts and configure runs, see configure's option --config-cache.
78815 # It is not useful on other systems. If it contains results you don't
78816 # want to keep, you may remove or edit it.
78818 # config.status only pays attention to the cache file if you give it
78819 # the --recheck option to rerun configure.
78821 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78822 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78823 # following values.
78825 _ACEOF
78827 # The following way of writing the cache mishandles newlines in values,
78828 # but we know of no workaround that is simple, portable, and efficient.
78829 # So, we kill variables containing newlines.
78830 # Ultrix sh set writes to stderr and can't be redirected directly,
78831 # and sets the high bit in the cache file unless we assign to the vars.
78833 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78834 eval ac_val=\$$ac_var
78835 case $ac_val in #(
78836 *${as_nl}*)
78837 case $ac_var in #(
78838 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78840 esac
78841 case $ac_var in #(
78842 _ | IFS | as_nl) ;; #(
78843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78844 *) { eval $ac_var=; unset $ac_var;} ;;
78845 esac ;;
78846 esac
78847 done
78849 (set) 2>&1 |
78850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78851 *${as_nl}ac_space=\ *)
78852 # `set' does not quote correctly, so add quotes: double-quote
78853 # substitution turns \\\\ into \\, and sed turns \\ into \.
78854 sed -n \
78855 "s/'/'\\\\''/g;
78856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78857 ;; #(
78859 # `set' quotes correctly as required by POSIX, so do not add quotes.
78860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78862 esac |
78863 sort
78865 sed '
78866 /^ac_cv_env_/b end
78867 t clear
78868 :clear
78869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78870 t end
78871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78872 :end' >>confcache
78873 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78874 if test -w "$cache_file"; then
78875 if test "x$cache_file" != "x/dev/null"; then
78876 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78877 $as_echo "$as_me: updating cache $cache_file" >&6;}
78878 if test ! -f "$cache_file" || test -h "$cache_file"; then
78879 cat confcache >"$cache_file"
78880 else
78881 case $cache_file in #(
78882 */* | ?:*)
78883 mv -f confcache "$cache_file"$$ &&
78884 mv -f "$cache_file"$$ "$cache_file" ;; #(
78886 mv -f confcache "$cache_file" ;;
78887 esac
78890 else
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78892 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78895 rm -f confcache
78897 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78898 # Let make expand exec_prefix.
78899 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78901 DEFS=-DHAVE_CONFIG_H
78903 ac_libobjs=
78904 ac_ltlibobjs=
78906 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78907 # 1. Remove the extension, and $U if already installed.
78908 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78909 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78910 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78911 # will be set to the directory where LIBOBJS objects are built.
78912 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78913 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78914 done
78915 LIBOBJS=$ac_libobjs
78917 LTLIBOBJS=$ac_ltlibobjs
78920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78921 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78922 if test -n "$am_sleep_pid"; then
78923 # Hide warnings about reused PIDs.
78924 wait $am_sleep_pid 2>/dev/null
78926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78927 $as_echo "done" >&6; }
78928 if test -n "$EXEEXT"; then
78929 am__EXEEXT_TRUE=
78930 am__EXEEXT_FALSE='#'
78931 else
78932 am__EXEEXT_TRUE='#'
78933 am__EXEEXT_FALSE=
78936 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78937 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78940 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78941 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78944 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78945 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78948 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78949 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78952 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78953 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78956 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78957 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78960 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78961 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78964 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78965 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78968 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78969 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78972 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78973 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78976 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78977 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78980 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78981 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78984 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78985 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78988 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78989 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78992 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78993 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78996 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78997 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79000 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79001 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79004 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79005 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79008 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79009 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79012 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79013 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79016 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79017 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
79018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79020 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79021 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
79022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79024 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79025 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
79026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79028 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79029 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79032 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
79033 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
79034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79036 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
79037 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
79038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79040 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
79041 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
79042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79044 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79045 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
79046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79048 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79049 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
79050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79052 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79053 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
79054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79056 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79057 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
79058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79060 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79061 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
79062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79064 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79065 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
79066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79068 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
79069 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
79070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79073 : "${CONFIG_STATUS=./config.status}"
79074 ac_write_fail=0
79075 ac_clean_files_save=$ac_clean_files
79076 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79077 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79078 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79079 as_write_fail=0
79080 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79081 #! $SHELL
79082 # Generated by $as_me.
79083 # Run this file to recreate the current configuration.
79084 # Compiler output produced by configure, useful for debugging
79085 # configure, is in config.log if it exists.
79087 debug=false
79088 ac_cs_recheck=false
79089 ac_cs_silent=false
79091 SHELL=\${CONFIG_SHELL-$SHELL}
79092 export SHELL
79093 _ASEOF
79094 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79095 ## -------------------- ##
79096 ## M4sh Initialization. ##
79097 ## -------------------- ##
79099 # Be more Bourne compatible
79100 DUALCASE=1; export DUALCASE # for MKS sh
79101 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79102 emulate sh
79103 NULLCMD=:
79104 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79105 # is contrary to our usage. Disable this feature.
79106 alias -g '${1+"$@"}'='"$@"'
79107 setopt NO_GLOB_SUBST
79108 else
79109 case `(set -o) 2>/dev/null` in #(
79110 *posix*) :
79111 set -o posix ;; #(
79112 *) :
79114 esac
79118 as_nl='
79120 export as_nl
79121 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79122 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79123 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79125 # Prefer a ksh shell builtin over an external printf program on Solaris,
79126 # but without wasting forks for bash or zsh.
79127 if test -z "$BASH_VERSION$ZSH_VERSION" \
79128 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79129 as_echo='print -r --'
79130 as_echo_n='print -rn --'
79131 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79132 as_echo='printf %s\n'
79133 as_echo_n='printf %s'
79134 else
79135 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79136 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79137 as_echo_n='/usr/ucb/echo -n'
79138 else
79139 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79140 as_echo_n_body='eval
79141 arg=$1;
79142 case $arg in #(
79143 *"$as_nl"*)
79144 expr "X$arg" : "X\\(.*\\)$as_nl";
79145 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79146 esac;
79147 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79149 export as_echo_n_body
79150 as_echo_n='sh -c $as_echo_n_body as_echo'
79152 export as_echo_body
79153 as_echo='sh -c $as_echo_body as_echo'
79156 # The user is always right.
79157 if test "${PATH_SEPARATOR+set}" != set; then
79158 PATH_SEPARATOR=:
79159 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79160 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79161 PATH_SEPARATOR=';'
79166 # IFS
79167 # We need space, tab and new line, in precisely that order. Quoting is
79168 # there to prevent editors from complaining about space-tab.
79169 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79170 # splitting by setting IFS to empty value.)
79171 IFS=" "" $as_nl"
79173 # Find who we are. Look in the path if we contain no directory separator.
79174 as_myself=
79175 case $0 in #((
79176 *[\\/]* ) as_myself=$0 ;;
79177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79178 for as_dir in $PATH
79180 IFS=$as_save_IFS
79181 test -z "$as_dir" && as_dir=.
79182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79183 done
79184 IFS=$as_save_IFS
79187 esac
79188 # We did not find ourselves, most probably we were run as `sh COMMAND'
79189 # in which case we are not to be found in the path.
79190 if test "x$as_myself" = x; then
79191 as_myself=$0
79193 if test ! -f "$as_myself"; then
79194 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79195 exit 1
79198 # Unset variables that we do not need and which cause bugs (e.g. in
79199 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79200 # suppresses any "Segmentation fault" message there. '((' could
79201 # trigger a bug in pdksh 5.2.14.
79202 for as_var in BASH_ENV ENV MAIL MAILPATH
79203 do eval test x\${$as_var+set} = xset \
79204 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79205 done
79206 PS1='$ '
79207 PS2='> '
79208 PS4='+ '
79210 # NLS nuisances.
79211 LC_ALL=C
79212 export LC_ALL
79213 LANGUAGE=C
79214 export LANGUAGE
79216 # CDPATH.
79217 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79220 # as_fn_error STATUS ERROR [LINENO LOG_FD]
79221 # ----------------------------------------
79222 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79223 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79224 # script with STATUS, using 1 if that was 0.
79225 as_fn_error ()
79227 as_status=$1; test $as_status -eq 0 && as_status=1
79228 if test "$4"; then
79229 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79230 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
79232 $as_echo "$as_me: error: $2" >&2
79233 as_fn_exit $as_status
79234 } # as_fn_error
79237 # as_fn_set_status STATUS
79238 # -----------------------
79239 # Set $? to STATUS, without forking.
79240 as_fn_set_status ()
79242 return $1
79243 } # as_fn_set_status
79245 # as_fn_exit STATUS
79246 # -----------------
79247 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79248 as_fn_exit ()
79250 set +e
79251 as_fn_set_status $1
79252 exit $1
79253 } # as_fn_exit
79255 # as_fn_unset VAR
79256 # ---------------
79257 # Portably unset VAR.
79258 as_fn_unset ()
79260 { eval $1=; unset $1;}
79262 as_unset=as_fn_unset
79263 # as_fn_append VAR VALUE
79264 # ----------------------
79265 # Append the text in VALUE to the end of the definition contained in VAR. Take
79266 # advantage of any shell optimizations that allow amortized linear growth over
79267 # repeated appends, instead of the typical quadratic growth present in naive
79268 # implementations.
79269 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79270 eval 'as_fn_append ()
79272 eval $1+=\$2
79274 else
79275 as_fn_append ()
79277 eval $1=\$$1\$2
79279 fi # as_fn_append
79281 # as_fn_arith ARG...
79282 # ------------------
79283 # Perform arithmetic evaluation on the ARGs, and store the result in the
79284 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79285 # must be portable across $(()) and expr.
79286 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79287 eval 'as_fn_arith ()
79289 as_val=$(( $* ))
79291 else
79292 as_fn_arith ()
79294 as_val=`expr "$@" || test $? -eq 1`
79296 fi # as_fn_arith
79299 if expr a : '\(a\)' >/dev/null 2>&1 &&
79300 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79301 as_expr=expr
79302 else
79303 as_expr=false
79306 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79307 as_basename=basename
79308 else
79309 as_basename=false
79312 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79313 as_dirname=dirname
79314 else
79315 as_dirname=false
79318 as_me=`$as_basename -- "$0" ||
79319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
79320 X"$0" : 'X\(//\)$' \| \
79321 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
79322 $as_echo X/"$0" |
79323 sed '/^.*\/\([^/][^/]*\)\/*$/{
79324 s//\1/
79327 /^X\/\(\/\/\)$/{
79328 s//\1/
79331 /^X\/\(\/\).*/{
79332 s//\1/
79335 s/.*/./; q'`
79337 # Avoid depending upon Character Ranges.
79338 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79339 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79340 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
79341 as_cr_digits='0123456789'
79342 as_cr_alnum=$as_cr_Letters$as_cr_digits
79344 ECHO_C= ECHO_N= ECHO_T=
79345 case `echo -n x` in #(((((
79346 -n*)
79347 case `echo 'xy\c'` in
79348 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
79349 xy) ECHO_C='\c';;
79350 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
79351 ECHO_T=' ';;
79352 esac;;
79354 ECHO_N='-n';;
79355 esac
79357 rm -f conf$$ conf$$.exe conf$$.file
79358 if test -d conf$$.dir; then
79359 rm -f conf$$.dir/conf$$.file
79360 else
79361 rm -f conf$$.dir
79362 mkdir conf$$.dir 2>/dev/null
79364 if (echo >conf$$.file) 2>/dev/null; then
79365 if ln -s conf$$.file conf$$ 2>/dev/null; then
79366 as_ln_s='ln -s'
79367 # ... but there are two gotchas:
79368 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
79369 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
79370 # In both cases, we have to default to `cp -pR'.
79371 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
79372 as_ln_s='cp -pR'
79373 elif ln conf$$.file conf$$ 2>/dev/null; then
79374 as_ln_s=ln
79375 else
79376 as_ln_s='cp -pR'
79378 else
79379 as_ln_s='cp -pR'
79381 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
79382 rmdir conf$$.dir 2>/dev/null
79385 # as_fn_mkdir_p
79386 # -------------
79387 # Create "$as_dir" as a directory, including parents if necessary.
79388 as_fn_mkdir_p ()
79391 case $as_dir in #(
79392 -*) as_dir=./$as_dir;;
79393 esac
79394 test -d "$as_dir" || eval $as_mkdir_p || {
79395 as_dirs=
79396 while :; do
79397 case $as_dir in #(
79398 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
79399 *) as_qdir=$as_dir;;
79400 esac
79401 as_dirs="'$as_qdir' $as_dirs"
79402 as_dir=`$as_dirname -- "$as_dir" ||
79403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79404 X"$as_dir" : 'X\(//\)[^/]' \| \
79405 X"$as_dir" : 'X\(//\)$' \| \
79406 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
79407 $as_echo X"$as_dir" |
79408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79409 s//\1/
79412 /^X\(\/\/\)[^/].*/{
79413 s//\1/
79416 /^X\(\/\/\)$/{
79417 s//\1/
79420 /^X\(\/\).*/{
79421 s//\1/
79424 s/.*/./; q'`
79425 test -d "$as_dir" && break
79426 done
79427 test -z "$as_dirs" || eval "mkdir $as_dirs"
79428 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
79431 } # as_fn_mkdir_p
79432 if mkdir -p . 2>/dev/null; then
79433 as_mkdir_p='mkdir -p "$as_dir"'
79434 else
79435 test -d ./-p && rmdir ./-p
79436 as_mkdir_p=false
79440 # as_fn_executable_p FILE
79441 # -----------------------
79442 # Test if FILE is an executable regular file.
79443 as_fn_executable_p ()
79445 test -f "$1" && test -x "$1"
79446 } # as_fn_executable_p
79447 as_test_x='test -x'
79448 as_executable_p=as_fn_executable_p
79450 # Sed expression to map a string onto a valid CPP name.
79451 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
79453 # Sed expression to map a string onto a valid variable name.
79454 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
79457 exec 6>&1
79458 ## ----------------------------------- ##
79459 ## Main body of $CONFIG_STATUS script. ##
79460 ## ----------------------------------- ##
79461 _ASEOF
79462 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
79464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79465 # Save the log message, to keep $0 and so on meaningful, and to
79466 # report actual input values of CONFIG_FILES etc. instead of their
79467 # values after options handling.
79468 ac_log="
79469 This file was extended by package-unused $as_me version-unused, which was
79470 generated by GNU Autoconf 2.69. Invocation command line was
79472 CONFIG_FILES = $CONFIG_FILES
79473 CONFIG_HEADERS = $CONFIG_HEADERS
79474 CONFIG_LINKS = $CONFIG_LINKS
79475 CONFIG_COMMANDS = $CONFIG_COMMANDS
79476 $ $0 $@
79478 on `(hostname || uname -n) 2>/dev/null | sed 1q`
79481 _ACEOF
79483 case $ac_config_files in *"
79484 "*) set x $ac_config_files; shift; ac_config_files=$*;;
79485 esac
79487 case $ac_config_headers in *"
79488 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
79489 esac
79492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79493 # Files that config.status was made for.
79494 config_files="$ac_config_files"
79495 config_headers="$ac_config_headers"
79496 config_commands="$ac_config_commands"
79498 _ACEOF
79500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79501 ac_cs_usage="\
79502 \`$as_me' instantiates files and other configuration actions
79503 from templates according to the current configuration. Unless the files
79504 and actions are specified as TAGs, all are instantiated by default.
79506 Usage: $0 [OPTION]... [TAG]...
79508 -h, --help print this help, then exit
79509 -V, --version print version number and configuration settings, then exit
79510 --config print configuration, then exit
79511 -q, --quiet, --silent
79512 do not print progress messages
79513 -d, --debug don't remove temporary files
79514 --recheck update $as_me by reconfiguring in the same conditions
79515 --file=FILE[:TEMPLATE]
79516 instantiate the configuration file FILE
79517 --header=FILE[:TEMPLATE]
79518 instantiate the configuration header FILE
79520 Configuration files:
79521 $config_files
79523 Configuration headers:
79524 $config_headers
79526 Configuration commands:
79527 $config_commands
79529 Report bugs to the package provider."
79531 _ACEOF
79532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79533 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
79534 ac_cs_version="\\
79535 package-unused config.status version-unused
79536 configured by $0, generated by GNU Autoconf 2.69,
79537 with options \\"\$ac_cs_config\\"
79539 Copyright (C) 2012 Free Software Foundation, Inc.
79540 This config.status script is free software; the Free Software Foundation
79541 gives unlimited permission to copy, distribute and modify it."
79543 ac_pwd='$ac_pwd'
79544 srcdir='$srcdir'
79545 INSTALL='$INSTALL'
79546 MKDIR_P='$MKDIR_P'
79547 AWK='$AWK'
79548 test -n "\$AWK" || AWK=awk
79549 _ACEOF
79551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79552 # The default lists apply if the user does not specify any file.
79553 ac_need_defaults=:
79554 while test $# != 0
79556 case $1 in
79557 --*=?*)
79558 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79559 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
79560 ac_shift=:
79562 --*=)
79563 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79564 ac_optarg=
79565 ac_shift=:
79568 ac_option=$1
79569 ac_optarg=$2
79570 ac_shift=shift
79572 esac
79574 case $ac_option in
79575 # Handling of the options.
79576 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79577 ac_cs_recheck=: ;;
79578 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79579 $as_echo "$ac_cs_version"; exit ;;
79580 --config | --confi | --conf | --con | --co | --c )
79581 $as_echo "$ac_cs_config"; exit ;;
79582 --debug | --debu | --deb | --de | --d | -d )
79583 debug=: ;;
79584 --file | --fil | --fi | --f )
79585 $ac_shift
79586 case $ac_optarg in
79587 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79588 '') as_fn_error $? "missing file argument" ;;
79589 esac
79590 as_fn_append CONFIG_FILES " '$ac_optarg'"
79591 ac_need_defaults=false;;
79592 --header | --heade | --head | --hea )
79593 $ac_shift
79594 case $ac_optarg in
79595 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79596 esac
79597 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79598 ac_need_defaults=false;;
79599 --he | --h)
79600 # Conflict between --help and --header
79601 as_fn_error $? "ambiguous option: \`$1'
79602 Try \`$0 --help' for more information.";;
79603 --help | --hel | -h )
79604 $as_echo "$ac_cs_usage"; exit ;;
79605 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79606 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79607 ac_cs_silent=: ;;
79609 # This is an error.
79610 -*) as_fn_error $? "unrecognized option: \`$1'
79611 Try \`$0 --help' for more information." ;;
79613 *) as_fn_append ac_config_targets " $1"
79614 ac_need_defaults=false ;;
79616 esac
79617 shift
79618 done
79620 ac_configure_extra_args=
79622 if $ac_cs_silent; then
79623 exec 6>/dev/null
79624 ac_configure_extra_args="$ac_configure_extra_args --silent"
79627 _ACEOF
79628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79629 if \$ac_cs_recheck; then
79630 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79631 shift
79632 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79633 CONFIG_SHELL='$SHELL'
79634 export CONFIG_SHELL
79635 exec "\$@"
79638 _ACEOF
79639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79640 exec 5>>config.log
79642 echo
79643 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79644 ## Running $as_me. ##
79645 _ASBOX
79646 $as_echo "$ac_log"
79647 } >&5
79649 _ACEOF
79650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79652 # INIT-COMMANDS
79655 srcdir="$srcdir"
79656 host="$host"
79657 target="$target"
79658 with_multisubdir="$with_multisubdir"
79659 with_multisrctop="$with_multisrctop"
79660 with_target_subdir="$with_target_subdir"
79661 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79662 multi_basedir="$multi_basedir"
79663 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79664 CC="$CC"
79665 CXX="$CXX"
79666 GFORTRAN="$GFORTRAN"
79667 GDC="$GDC"
79670 # The HP-UX ksh and POSIX shell print the target directory to stdout
79671 # if CDPATH is set.
79672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79674 sed_quote_subst='$sed_quote_subst'
79675 double_quote_subst='$double_quote_subst'
79676 delay_variable_subst='$delay_variable_subst'
79677 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79678 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79679 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79680 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79681 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79682 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79683 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79684 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79685 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79686 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79687 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79688 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79689 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79690 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79691 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79692 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79693 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79694 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79695 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79696 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79697 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79698 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79699 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79700 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79701 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79702 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79703 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79704 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79705 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79706 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79707 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79708 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79709 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79710 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79711 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79712 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79713 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79714 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79715 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79716 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79717 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79718 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79719 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79720 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79721 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79722 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79723 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79724 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79725 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"`'
79726 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79727 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79728 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79729 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79730 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79731 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79732 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79733 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79734 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79735 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79736 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79737 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79738 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79739 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79740 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79741 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79742 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79743 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79744 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79745 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79746 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79747 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79748 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79749 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79750 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79751 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79752 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79753 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79754 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79755 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79756 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79757 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79758 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79759 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79760 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79761 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79762 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79763 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79764 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79765 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79766 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79767 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79768 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79769 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79770 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79771 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79772 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79773 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79774 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79775 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79776 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79777 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79778 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79779 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79780 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79781 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79782 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79783 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79784 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79785 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79786 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79787 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79788 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79789 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79790 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79791 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79792 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79793 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79794 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79795 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79796 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79797 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79798 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79799 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79800 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79801 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79802 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79803 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79804 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79805 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79806 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79807 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79808 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79809 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79810 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79811 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79812 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79813 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79814 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79815 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79816 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79817 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79818 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79819 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79820 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79821 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79822 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79823 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79824 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79825 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79826 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79827 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79828 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79829 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79830 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79831 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79832 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79833 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79834 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79835 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79836 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79837 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79838 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79839 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79840 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79841 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79842 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79843 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79844 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79845 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79846 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79847 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79848 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79849 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79850 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79851 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79853 LTCC='$LTCC'
79854 LTCFLAGS='$LTCFLAGS'
79855 compiler='$compiler_DEFAULT'
79857 # A function that is used when there is no print builtin or printf.
79858 func_fallback_echo ()
79860 eval 'cat <<_LTECHO_EOF
79862 _LTECHO_EOF'
79865 # Quote evaled strings.
79866 for var in SHELL \
79867 ECHO \
79868 SED \
79869 GREP \
79870 EGREP \
79871 FGREP \
79872 LD \
79873 NM \
79874 LN_S \
79875 lt_SP2NL \
79876 lt_NL2SP \
79877 reload_flag \
79878 OBJDUMP \
79879 deplibs_check_method \
79880 file_magic_cmd \
79881 AR \
79882 AR_FLAGS \
79883 STRIP \
79884 RANLIB \
79885 CC \
79886 CFLAGS \
79887 compiler \
79888 lt_cv_sys_global_symbol_pipe \
79889 lt_cv_sys_global_symbol_to_cdecl \
79890 lt_cv_sys_global_symbol_to_c_name_address \
79891 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79892 lt_prog_compiler_no_builtin_flag \
79893 lt_prog_compiler_wl \
79894 lt_prog_compiler_pic \
79895 lt_prog_compiler_static \
79896 lt_cv_prog_compiler_c_o \
79897 need_locks \
79898 DSYMUTIL \
79899 NMEDIT \
79900 LIPO \
79901 OTOOL \
79902 OTOOL64 \
79903 shrext_cmds \
79904 export_dynamic_flag_spec \
79905 whole_archive_flag_spec \
79906 compiler_needs_object \
79907 with_gnu_ld \
79908 allow_undefined_flag \
79909 no_undefined_flag \
79910 hardcode_libdir_flag_spec \
79911 hardcode_libdir_flag_spec_ld \
79912 hardcode_libdir_separator \
79913 fix_srcfile_path \
79914 exclude_expsyms \
79915 include_expsyms \
79916 file_list_spec \
79917 variables_saved_for_relink \
79918 libname_spec \
79919 library_names_spec \
79920 soname_spec \
79921 install_override_mode \
79922 finish_eval \
79923 old_striplib \
79924 striplib \
79925 compiler_lib_search_dirs \
79926 predep_objects \
79927 postdep_objects \
79928 predeps \
79929 postdeps \
79930 compiler_lib_search_path \
79931 LD_CXX \
79932 reload_flag_CXX \
79933 compiler_CXX \
79934 lt_prog_compiler_no_builtin_flag_CXX \
79935 lt_prog_compiler_wl_CXX \
79936 lt_prog_compiler_pic_CXX \
79937 lt_prog_compiler_static_CXX \
79938 lt_cv_prog_compiler_c_o_CXX \
79939 export_dynamic_flag_spec_CXX \
79940 whole_archive_flag_spec_CXX \
79941 compiler_needs_object_CXX \
79942 with_gnu_ld_CXX \
79943 allow_undefined_flag_CXX \
79944 no_undefined_flag_CXX \
79945 hardcode_libdir_flag_spec_CXX \
79946 hardcode_libdir_flag_spec_ld_CXX \
79947 hardcode_libdir_separator_CXX \
79948 fix_srcfile_path_CXX \
79949 exclude_expsyms_CXX \
79950 include_expsyms_CXX \
79951 file_list_spec_CXX \
79952 compiler_lib_search_dirs_CXX \
79953 predep_objects_CXX \
79954 postdep_objects_CXX \
79955 predeps_CXX \
79956 postdeps_CXX \
79957 compiler_lib_search_path_CXX; do
79958 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79959 *[\\\\\\\`\\"\\\$]*)
79960 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79963 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79965 esac
79966 done
79968 # Double-quote double-evaled strings.
79969 for var in reload_cmds \
79970 old_postinstall_cmds \
79971 old_postuninstall_cmds \
79972 old_archive_cmds \
79973 extract_expsyms_cmds \
79974 old_archive_from_new_cmds \
79975 old_archive_from_expsyms_cmds \
79976 archive_cmds \
79977 archive_expsym_cmds \
79978 module_cmds \
79979 module_expsym_cmds \
79980 export_symbols_cmds \
79981 prelink_cmds \
79982 postinstall_cmds \
79983 postuninstall_cmds \
79984 finish_cmds \
79985 sys_lib_search_path_spec \
79986 sys_lib_dlsearch_path_spec \
79987 reload_cmds_CXX \
79988 old_archive_cmds_CXX \
79989 old_archive_from_new_cmds_CXX \
79990 old_archive_from_expsyms_cmds_CXX \
79991 archive_cmds_CXX \
79992 archive_expsym_cmds_CXX \
79993 module_cmds_CXX \
79994 module_expsym_cmds_CXX \
79995 export_symbols_cmds_CXX \
79996 prelink_cmds_CXX; do
79997 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79998 *[\\\\\\\`\\"\\\$]*)
79999 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80002 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80004 esac
80005 done
80007 ac_aux_dir='$ac_aux_dir'
80008 xsi_shell='$xsi_shell'
80009 lt_shell_append='$lt_shell_append'
80011 # See if we are running on zsh, and set the options which allow our
80012 # commands through without removal of \ escapes INIT.
80013 if test -n "\${ZSH_VERSION+set}" ; then
80014 setopt NO_GLOB_SUBST
80018 PACKAGE='$PACKAGE'
80019 VERSION='$VERSION'
80020 TIMESTAMP='$TIMESTAMP'
80021 RM='$RM'
80022 ofile='$ofile'
80029 GCC="$GCC"
80030 CC="$CC"
80031 acx_cv_header_stdint="$acx_cv_header_stdint"
80032 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80033 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80034 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80035 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80036 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80037 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80038 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80039 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80040 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80041 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80042 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80043 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80044 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80047 _ACEOF
80049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80051 # Handling of arguments.
80052 for ac_config_target in $ac_config_targets
80054 case $ac_config_target in
80055 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80056 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80057 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80058 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80059 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80060 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80061 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80062 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80063 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
80064 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80065 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80066 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80067 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80068 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80069 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
80070 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
80071 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
80072 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
80073 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80074 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80075 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80076 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80077 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80079 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80080 esac
80081 done
80084 # If the user did not use the arguments to specify the items to instantiate,
80085 # then the envvar interface is used. Set only those that are not.
80086 # We use the long form for the default assignment because of an extremely
80087 # bizarre bug on SunOS 4.1.3.
80088 if $ac_need_defaults; then
80089 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80090 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80091 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80094 # Have a temporary directory for convenience. Make it in the build tree
80095 # simply because there is no reason against having it here, and in addition,
80096 # creating and moving files from /tmp can sometimes cause problems.
80097 # Hook for its removal unless debugging.
80098 # Note that there is a small window in which the directory will not be cleaned:
80099 # after its creation but before its name has been assigned to `$tmp'.
80100 $debug ||
80102 tmp= ac_tmp=
80103 trap 'exit_status=$?
80104 : "${ac_tmp:=$tmp}"
80105 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
80107 trap 'as_fn_exit 1' 1 2 13 15
80109 # Create a (secure) tmp directory for tmp files.
80112 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80113 test -d "$tmp"
80114 } ||
80116 tmp=./conf$$-$RANDOM
80117 (umask 077 && mkdir "$tmp")
80118 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
80119 ac_tmp=$tmp
80121 # Set up the scripts for CONFIG_FILES section.
80122 # No need to generate them if there are no CONFIG_FILES.
80123 # This happens for instance with `./config.status config.h'.
80124 if test -n "$CONFIG_FILES"; then
80127 ac_cr=`echo X | tr X '\015'`
80128 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80129 # But we know of no other shell where ac_cr would be empty at this
80130 # point, so we can use a bashism as a fallback.
80131 if test "x$ac_cr" = x; then
80132 eval ac_cr=\$\'\\r\'
80134 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80135 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80136 ac_cs_awk_cr='\\r'
80137 else
80138 ac_cs_awk_cr=$ac_cr
80141 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
80142 _ACEOF
80146 echo "cat >conf$$subs.awk <<_ACEOF" &&
80147 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80148 echo "_ACEOF"
80149 } >conf$$subs.sh ||
80150 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80151 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
80152 ac_delim='%!_!# '
80153 for ac_last_try in false false false false false :; do
80154 . ./conf$$subs.sh ||
80155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80157 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80158 if test $ac_delim_n = $ac_delim_num; then
80159 break
80160 elif $ac_last_try; then
80161 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
80162 else
80163 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80165 done
80166 rm -f conf$$subs.sh
80168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80169 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
80170 _ACEOF
80171 sed -n '
80173 s/^/S["/; s/!.*/"]=/
80176 s/^[^!]*!//
80177 :repl
80178 t repl
80179 s/'"$ac_delim"'$//
80180 t delim
80183 s/\(.\{148\}\)..*/\1/
80184 t more1
80185 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80188 b repl
80189 :more1
80190 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80193 s/.\{148\}//
80194 t nl
80195 :delim
80197 s/\(.\{148\}\)..*/\1/
80198 t more2
80199 s/["\\]/\\&/g; s/^/"/; s/$/"/
80202 :more2
80203 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80206 s/.\{148\}//
80207 t delim
80208 ' <conf$$subs.awk | sed '
80209 /^[^""]/{
80211 s/\n//
80213 ' >>$CONFIG_STATUS || ac_write_fail=1
80214 rm -f conf$$subs.awk
80215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80216 _ACAWK
80217 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
80218 for (key in S) S_is_set[key] = 1
80219 FS = "\a"
80223 line = $ 0
80224 nfields = split(line, field, "@")
80225 substed = 0
80226 len = length(field[1])
80227 for (i = 2; i < nfields; i++) {
80228 key = field[i]
80229 keylen = length(key)
80230 if (S_is_set[key]) {
80231 value = S[key]
80232 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80233 len += length(value) + length(field[++i])
80234 substed = 1
80235 } else
80236 len += 1 + keylen
80239 print line
80242 _ACAWK
80243 _ACEOF
80244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80245 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80246 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80247 else
80249 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
80250 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
80251 _ACEOF
80253 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
80254 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
80255 # trailing colons and then remove the whole line if VPATH becomes empty
80256 # (actually we leave an empty line to preserve line numbers).
80257 if test "x$srcdir" = x.; then
80258 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
80260 s///
80261 s/^/:/
80262 s/[ ]*$/:/
80263 s/:\$(srcdir):/:/g
80264 s/:\${srcdir}:/:/g
80265 s/:@srcdir@:/:/g
80266 s/^:*//
80267 s/:*$//
80269 s/\(=[ ]*\).*/\1/
80271 s/\n//
80272 s/^[^=]*=[ ]*$//
80276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80277 fi # test -n "$CONFIG_FILES"
80279 # Set up the scripts for CONFIG_HEADERS section.
80280 # No need to generate them if there are no CONFIG_HEADERS.
80281 # This happens for instance with `./config.status Makefile'.
80282 if test -n "$CONFIG_HEADERS"; then
80283 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
80284 BEGIN {
80285 _ACEOF
80287 # Transform confdefs.h into an awk script `defines.awk', embedded as
80288 # here-document in config.status, that substitutes the proper values into
80289 # config.h.in to produce config.h.
80291 # Create a delimiter string that does not exist in confdefs.h, to ease
80292 # handling of long lines.
80293 ac_delim='%!_!# '
80294 for ac_last_try in false false :; do
80295 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
80296 if test -z "$ac_tt"; then
80297 break
80298 elif $ac_last_try; then
80299 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
80300 else
80301 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80303 done
80305 # For the awk script, D is an array of macro values keyed by name,
80306 # likewise P contains macro parameters if any. Preserve backslash
80307 # newline sequences.
80309 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80310 sed -n '
80311 s/.\{148\}/&'"$ac_delim"'/g
80312 t rset
80313 :rset
80314 s/^[ ]*#[ ]*define[ ][ ]*/ /
80315 t def
80317 :def
80318 s/\\$//
80319 t bsnl
80320 s/["\\]/\\&/g
80321 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80322 D["\1"]=" \3"/p
80323 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80325 :bsnl
80326 s/["\\]/\\&/g
80327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80328 D["\1"]=" \3\\\\\\n"\\/p
80329 t cont
80330 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
80331 t cont
80333 :cont
80335 s/.\{148\}/&'"$ac_delim"'/g
80336 t clear
80337 :clear
80338 s/\\$//
80339 t bsnlc
80340 s/["\\]/\\&/g; s/^/"/; s/$/"/p
80342 :bsnlc
80343 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
80344 b cont
80345 ' <confdefs.h | sed '
80346 s/'"$ac_delim"'/"\\\
80347 "/g' >>$CONFIG_STATUS || ac_write_fail=1
80349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80350 for (key in D) D_is_set[key] = 1
80351 FS = "\a"
80353 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
80354 line = \$ 0
80355 split(line, arg, " ")
80356 if (arg[1] == "#") {
80357 defundef = arg[2]
80358 mac1 = arg[3]
80359 } else {
80360 defundef = substr(arg[1], 2)
80361 mac1 = arg[2]
80363 split(mac1, mac2, "(") #)
80364 macro = mac2[1]
80365 prefix = substr(line, 1, index(line, defundef) - 1)
80366 if (D_is_set[macro]) {
80367 # Preserve the white space surrounding the "#".
80368 print prefix "define", macro P[macro] D[macro]
80369 next
80370 } else {
80371 # Replace #undef with comments. This is necessary, for example,
80372 # in the case of _POSIX_SOURCE, which is predefined and required
80373 # on some systems where configure will not decide to define it.
80374 if (defundef == "undef") {
80375 print "/*", prefix defundef, macro, "*/"
80376 next
80380 { print }
80381 _ACAWK
80382 _ACEOF
80383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80384 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
80385 fi # test -n "$CONFIG_HEADERS"
80388 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
80389 shift
80390 for ac_tag
80392 case $ac_tag in
80393 :[FHLC]) ac_mode=$ac_tag; continue;;
80394 esac
80395 case $ac_mode$ac_tag in
80396 :[FHL]*:*);;
80397 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
80398 :[FH]-) ac_tag=-:-;;
80399 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
80400 esac
80401 ac_save_IFS=$IFS
80402 IFS=:
80403 set x $ac_tag
80404 IFS=$ac_save_IFS
80405 shift
80406 ac_file=$1
80407 shift
80409 case $ac_mode in
80410 :L) ac_source=$1;;
80411 :[FH])
80412 ac_file_inputs=
80413 for ac_f
80415 case $ac_f in
80416 -) ac_f="$ac_tmp/stdin";;
80417 *) # Look for the file first in the build tree, then in the source tree
80418 # (if the path is not absolute). The absolute path cannot be DOS-style,
80419 # because $ac_f cannot contain `:'.
80420 test -f "$ac_f" ||
80421 case $ac_f in
80422 [\\/$]*) false;;
80423 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
80424 esac ||
80425 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
80426 esac
80427 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
80428 as_fn_append ac_file_inputs " '$ac_f'"
80429 done
80431 # Let's still pretend it is `configure' which instantiates (i.e., don't
80432 # use $as_me), people would be surprised to read:
80433 # /* config.h. Generated by config.status. */
80434 configure_input='Generated from '`
80435 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
80436 `' by configure.'
80437 if test x"$ac_file" != x-; then
80438 configure_input="$ac_file. $configure_input"
80439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
80440 $as_echo "$as_me: creating $ac_file" >&6;}
80442 # Neutralize special characters interpreted by sed in replacement strings.
80443 case $configure_input in #(
80444 *\&* | *\|* | *\\* )
80445 ac_sed_conf_input=`$as_echo "$configure_input" |
80446 sed 's/[\\\\&|]/\\\\&/g'`;; #(
80447 *) ac_sed_conf_input=$configure_input;;
80448 esac
80450 case $ac_tag in
80451 *:-:* | *:-) cat >"$ac_tmp/stdin" \
80452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
80453 esac
80455 esac
80457 ac_dir=`$as_dirname -- "$ac_file" ||
80458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80459 X"$ac_file" : 'X\(//\)[^/]' \| \
80460 X"$ac_file" : 'X\(//\)$' \| \
80461 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
80462 $as_echo X"$ac_file" |
80463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80464 s//\1/
80467 /^X\(\/\/\)[^/].*/{
80468 s//\1/
80471 /^X\(\/\/\)$/{
80472 s//\1/
80475 /^X\(\/\).*/{
80476 s//\1/
80479 s/.*/./; q'`
80480 as_dir="$ac_dir"; as_fn_mkdir_p
80481 ac_builddir=.
80483 case "$ac_dir" in
80484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
80486 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
80487 # A ".." for each directory in $ac_dir_suffix.
80488 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
80489 case $ac_top_builddir_sub in
80490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
80491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
80492 esac ;;
80493 esac
80494 ac_abs_top_builddir=$ac_pwd
80495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
80496 # for backward compatibility:
80497 ac_top_builddir=$ac_top_build_prefix
80499 case $srcdir in
80500 .) # We are building in place.
80501 ac_srcdir=.
80502 ac_top_srcdir=$ac_top_builddir_sub
80503 ac_abs_top_srcdir=$ac_pwd ;;
80504 [\\/]* | ?:[\\/]* ) # Absolute name.
80505 ac_srcdir=$srcdir$ac_dir_suffix;
80506 ac_top_srcdir=$srcdir
80507 ac_abs_top_srcdir=$srcdir ;;
80508 *) # Relative name.
80509 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
80510 ac_top_srcdir=$ac_top_build_prefix$srcdir
80511 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
80512 esac
80513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
80516 case $ac_mode in
80519 # CONFIG_FILE
80522 case $INSTALL in
80523 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
80524 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
80525 esac
80526 ac_MKDIR_P=$MKDIR_P
80527 case $MKDIR_P in
80528 [\\/$]* | ?:[\\/]* ) ;;
80529 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
80530 esac
80531 _ACEOF
80533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80534 # If the template does not know about datarootdir, expand it.
80535 # FIXME: This hack should be removed a few years after 2.60.
80536 ac_datarootdir_hack=; ac_datarootdir_seen=
80537 ac_sed_dataroot='
80538 /datarootdir/ {
80542 /@datadir@/p
80543 /@docdir@/p
80544 /@infodir@/p
80545 /@localedir@/p
80546 /@mandir@/p'
80547 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
80548 *datarootdir*) ac_datarootdir_seen=yes;;
80549 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
80550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
80551 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
80552 _ACEOF
80553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80554 ac_datarootdir_hack='
80555 s&@datadir@&$datadir&g
80556 s&@docdir@&$docdir&g
80557 s&@infodir@&$infodir&g
80558 s&@localedir@&$localedir&g
80559 s&@mandir@&$mandir&g
80560 s&\\\${datarootdir}&$datarootdir&g' ;;
80561 esac
80562 _ACEOF
80564 # Neutralize VPATH when `$srcdir' = `.'.
80565 # Shell code in configure.ac might set extrasub.
80566 # FIXME: do we really want to maintain this feature?
80567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80568 ac_sed_extra="$ac_vpsub
80569 $extrasub
80570 _ACEOF
80571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80573 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
80574 s|@configure_input@|$ac_sed_conf_input|;t t
80575 s&@top_builddir@&$ac_top_builddir_sub&;t t
80576 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80577 s&@srcdir@&$ac_srcdir&;t t
80578 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80579 s&@top_srcdir@&$ac_top_srcdir&;t t
80580 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80581 s&@builddir@&$ac_builddir&;t t
80582 s&@abs_builddir@&$ac_abs_builddir&;t t
80583 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80584 s&@INSTALL@&$ac_INSTALL&;t t
80585 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80586 $ac_datarootdir_hack
80588 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80589 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80591 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80592 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80593 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80594 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80596 which seems to be undefined. Please make sure it is defined" >&5
80597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80598 which seems to be undefined. Please make sure it is defined" >&2;}
80600 rm -f "$ac_tmp/stdin"
80601 case $ac_file in
80602 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80603 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80604 esac \
80605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80609 # CONFIG_HEADER
80611 if test x"$ac_file" != x-; then
80613 $as_echo "/* $configure_input */" \
80614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80615 } >"$ac_tmp/config.h" \
80616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80617 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80619 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80620 else
80621 rm -f "$ac_file"
80622 mv "$ac_tmp/config.h" "$ac_file" \
80623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80625 else
80626 $as_echo "/* $configure_input */" \
80627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80628 || as_fn_error $? "could not create -" "$LINENO" 5
80630 # Compute "$ac_file"'s index in $config_headers.
80631 _am_arg="$ac_file"
80632 _am_stamp_count=1
80633 for _am_header in $config_headers :; do
80634 case $_am_header in
80635 $_am_arg | $_am_arg:* )
80636 break ;;
80638 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80639 esac
80640 done
80641 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80642 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80643 X"$_am_arg" : 'X\(//\)[^/]' \| \
80644 X"$_am_arg" : 'X\(//\)$' \| \
80645 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80646 $as_echo X"$_am_arg" |
80647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80648 s//\1/
80651 /^X\(\/\/\)[^/].*/{
80652 s//\1/
80655 /^X\(\/\/\)$/{
80656 s//\1/
80659 /^X\(\/\).*/{
80660 s//\1/
80663 s/.*/./; q'`/stamp-h$_am_stamp_count
80666 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80667 $as_echo "$as_me: executing $ac_file commands" >&6;}
80669 esac
80672 case $ac_file$ac_mode in
80673 "default-1":C)
80674 # Only add multilib support code if we just rebuilt the top-level
80675 # Makefile.
80676 case " $CONFIG_FILES " in
80677 *" Makefile "*)
80678 ac_file=Makefile . ${multi_basedir}/config-ml.in
80680 esac ;;
80681 "libtool":C)
80683 # See if we are running on zsh, and set the options which allow our
80684 # commands through without removal of \ escapes.
80685 if test -n "${ZSH_VERSION+set}" ; then
80686 setopt NO_GLOB_SUBST
80689 cfgfile="${ofile}T"
80690 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80691 $RM "$cfgfile"
80693 cat <<_LT_EOF >> "$cfgfile"
80694 #! $SHELL
80696 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80697 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80698 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80699 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80701 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80702 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80703 # Written by Gordon Matzigkeit, 1996
80705 # This file is part of GNU Libtool.
80707 # GNU Libtool is free software; you can redistribute it and/or
80708 # modify it under the terms of the GNU General Public License as
80709 # published by the Free Software Foundation; either version 2 of
80710 # the License, or (at your option) any later version.
80712 # As a special exception to the GNU General Public License,
80713 # if you distribute this file as part of a program or library that
80714 # is built using GNU Libtool, you may include this file under the
80715 # same distribution terms that you use for the rest of that program.
80717 # GNU Libtool is distributed in the hope that it will be useful,
80718 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80719 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80720 # GNU General Public License for more details.
80722 # You should have received a copy of the GNU General Public License
80723 # along with GNU Libtool; see the file COPYING. If not, a copy
80724 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80725 # obtained by writing to the Free Software Foundation, Inc.,
80726 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80729 # The names of the tagged configurations supported by this script.
80730 available_tags="CXX "
80732 # ### BEGIN LIBTOOL CONFIG
80734 # Which release of libtool.m4 was used?
80735 macro_version=$macro_version
80736 macro_revision=$macro_revision
80738 # Whether or not to build shared libraries.
80739 build_libtool_libs=$enable_shared
80741 # Whether or not to build static libraries.
80742 build_old_libs=$enable_static
80744 # What type of objects to build.
80745 pic_mode=$pic_mode
80747 # Whether or not to optimize for fast installation.
80748 fast_install=$enable_fast_install
80750 # Shell to use when invoking shell scripts.
80751 SHELL=$lt_SHELL
80753 # An echo program that protects backslashes.
80754 ECHO=$lt_ECHO
80756 # The host system.
80757 host_alias=$host_alias
80758 host=$host
80759 host_os=$host_os
80761 # The build system.
80762 build_alias=$build_alias
80763 build=$build
80764 build_os=$build_os
80766 # A sed program that does not truncate output.
80767 SED=$lt_SED
80769 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80770 Xsed="\$SED -e 1s/^X//"
80772 # A grep program that handles long lines.
80773 GREP=$lt_GREP
80775 # An ERE matcher.
80776 EGREP=$lt_EGREP
80778 # A literal string matcher.
80779 FGREP=$lt_FGREP
80781 # A BSD- or MS-compatible name lister.
80782 NM=$lt_NM
80784 # Whether we need soft or hard links.
80785 LN_S=$lt_LN_S
80787 # What is the maximum length of a command?
80788 max_cmd_len=$max_cmd_len
80790 # Object file suffix (normally "o").
80791 objext=$ac_objext
80793 # Executable file suffix (normally "").
80794 exeext=$exeext
80796 # whether the shell understands "unset".
80797 lt_unset=$lt_unset
80799 # turn spaces into newlines.
80800 SP2NL=$lt_lt_SP2NL
80802 # turn newlines into spaces.
80803 NL2SP=$lt_lt_NL2SP
80805 # An object symbol dumper.
80806 OBJDUMP=$lt_OBJDUMP
80808 # Method to check whether dependent libraries are shared objects.
80809 deplibs_check_method=$lt_deplibs_check_method
80811 # Command to use when deplibs_check_method == "file_magic".
80812 file_magic_cmd=$lt_file_magic_cmd
80814 # The archiver.
80815 AR=$lt_AR
80816 AR_FLAGS=$lt_AR_FLAGS
80818 # A symbol stripping program.
80819 STRIP=$lt_STRIP
80821 # Commands used to install an old-style archive.
80822 RANLIB=$lt_RANLIB
80823 old_postinstall_cmds=$lt_old_postinstall_cmds
80824 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80826 # Whether to use a lock for old archive extraction.
80827 lock_old_archive_extraction=$lock_old_archive_extraction
80829 # A C compiler.
80830 LTCC=$lt_CC
80832 # LTCC compiler flags.
80833 LTCFLAGS=$lt_CFLAGS
80835 # Take the output of nm and produce a listing of raw symbols and C names.
80836 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80838 # Transform the output of nm in a proper C declaration.
80839 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80841 # Transform the output of nm in a C name address pair.
80842 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80844 # Transform the output of nm in a C name address pair when lib prefix is needed.
80845 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80847 # The name of the directory that contains temporary libtool files.
80848 objdir=$objdir
80850 # Used to examine libraries when file_magic_cmd begins with "file".
80851 MAGIC_CMD=$MAGIC_CMD
80853 # Must we lock files when doing compilation?
80854 need_locks=$lt_need_locks
80856 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80857 DSYMUTIL=$lt_DSYMUTIL
80859 # Tool to change global to local symbols on Mac OS X.
80860 NMEDIT=$lt_NMEDIT
80862 # Tool to manipulate fat objects and archives on Mac OS X.
80863 LIPO=$lt_LIPO
80865 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80866 OTOOL=$lt_OTOOL
80868 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80869 OTOOL64=$lt_OTOOL64
80871 # Old archive suffix (normally "a").
80872 libext=$libext
80874 # Shared library suffix (normally ".so").
80875 shrext_cmds=$lt_shrext_cmds
80877 # The commands to extract the exported symbol list from a shared archive.
80878 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80880 # Variables whose values should be saved in libtool wrapper scripts and
80881 # restored at link time.
80882 variables_saved_for_relink=$lt_variables_saved_for_relink
80884 # Do we need the "lib" prefix for modules?
80885 need_lib_prefix=$need_lib_prefix
80887 # Do we need a version for libraries?
80888 need_version=$need_version
80890 # Library versioning type.
80891 version_type=$version_type
80893 # Shared library runtime path variable.
80894 runpath_var=$runpath_var
80896 # Shared library path variable.
80897 shlibpath_var=$shlibpath_var
80899 # Is shlibpath searched before the hard-coded library search path?
80900 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80902 # Format of library name prefix.
80903 libname_spec=$lt_libname_spec
80905 # List of archive names. First name is the real one, the rest are links.
80906 # The last name is the one that the linker finds with -lNAME
80907 library_names_spec=$lt_library_names_spec
80909 # The coded name of the library, if different from the real name.
80910 soname_spec=$lt_soname_spec
80912 # Permission mode override for installation of shared libraries.
80913 install_override_mode=$lt_install_override_mode
80915 # Command to use after installation of a shared archive.
80916 postinstall_cmds=$lt_postinstall_cmds
80918 # Command to use after uninstallation of a shared archive.
80919 postuninstall_cmds=$lt_postuninstall_cmds
80921 # Commands used to finish a libtool library installation in a directory.
80922 finish_cmds=$lt_finish_cmds
80924 # As "finish_cmds", except a single script fragment to be evaled but
80925 # not shown.
80926 finish_eval=$lt_finish_eval
80928 # Whether we should hardcode library paths into libraries.
80929 hardcode_into_libs=$hardcode_into_libs
80931 # Compile-time system search path for libraries.
80932 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80934 # Run-time system search path for libraries.
80935 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80937 # Whether dlopen is supported.
80938 dlopen_support=$enable_dlopen
80940 # Whether dlopen of programs is supported.
80941 dlopen_self=$enable_dlopen_self
80943 # Whether dlopen of statically linked programs is supported.
80944 dlopen_self_static=$enable_dlopen_self_static
80946 # Commands to strip libraries.
80947 old_striplib=$lt_old_striplib
80948 striplib=$lt_striplib
80951 # The linker used to build libraries.
80952 LD=$lt_LD
80954 # How to create reloadable object files.
80955 reload_flag=$lt_reload_flag
80956 reload_cmds=$lt_reload_cmds
80958 # Commands used to build an old-style archive.
80959 old_archive_cmds=$lt_old_archive_cmds
80961 # A language specific compiler.
80962 CC=$lt_compiler
80964 # Is the compiler the GNU compiler?
80965 with_gcc=$GCC
80967 # Compiler flag to turn off builtin functions.
80968 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80970 # How to pass a linker flag through the compiler.
80971 wl=$lt_lt_prog_compiler_wl
80973 # Additional compiler flags for building library objects.
80974 pic_flag=$lt_lt_prog_compiler_pic
80976 # Compiler flag to prevent dynamic linking.
80977 link_static_flag=$lt_lt_prog_compiler_static
80979 # Does compiler simultaneously support -c and -o options?
80980 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80982 # Whether or not to add -lc for building shared libraries.
80983 build_libtool_need_lc=$archive_cmds_need_lc
80985 # Whether or not to disallow shared libs when runtime libs are static.
80986 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80988 # Compiler flag to allow reflexive dlopens.
80989 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80991 # Compiler flag to generate shared objects directly from archives.
80992 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80994 # Whether the compiler copes with passing no objects directly.
80995 compiler_needs_object=$lt_compiler_needs_object
80997 # Create an old-style archive from a shared archive.
80998 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81000 # Create a temporary old-style archive to link instead of a shared archive.
81001 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81003 # Commands used to build a shared archive.
81004 archive_cmds=$lt_archive_cmds
81005 archive_expsym_cmds=$lt_archive_expsym_cmds
81007 # Commands used to build a loadable module if different from building
81008 # a shared archive.
81009 module_cmds=$lt_module_cmds
81010 module_expsym_cmds=$lt_module_expsym_cmds
81012 # Whether we are building with GNU ld or not.
81013 with_gnu_ld=$lt_with_gnu_ld
81015 # Flag that allows shared libraries with undefined symbols to be built.
81016 allow_undefined_flag=$lt_allow_undefined_flag
81018 # Flag that enforces no undefined symbols.
81019 no_undefined_flag=$lt_no_undefined_flag
81021 # Flag to hardcode \$libdir into a binary during linking.
81022 # This must work even if \$libdir does not exist
81023 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81025 # If ld is used when linking, flag to hardcode \$libdir into a binary
81026 # during linking. This must work even if \$libdir does not exist.
81027 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81029 # Whether we need a single "-rpath" flag with a separated argument.
81030 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81032 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81033 # DIR into the resulting binary.
81034 hardcode_direct=$hardcode_direct
81036 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81037 # DIR into the resulting binary and the resulting library dependency is
81038 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81039 # library is relocated.
81040 hardcode_direct_absolute=$hardcode_direct_absolute
81042 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81043 # into the resulting binary.
81044 hardcode_minus_L=$hardcode_minus_L
81046 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81047 # into the resulting binary.
81048 hardcode_shlibpath_var=$hardcode_shlibpath_var
81050 # Set to "yes" if building a shared library automatically hardcodes DIR
81051 # into the library and all subsequent libraries and executables linked
81052 # against it.
81053 hardcode_automatic=$hardcode_automatic
81055 # Set to yes if linker adds runtime paths of dependent libraries
81056 # to runtime path list.
81057 inherit_rpath=$inherit_rpath
81059 # Whether libtool must link a program against all its dependency libraries.
81060 link_all_deplibs=$link_all_deplibs
81062 # Fix the shell variable \$srcfile for the compiler.
81063 fix_srcfile_path=$lt_fix_srcfile_path
81065 # Set to "yes" if exported symbols are required.
81066 always_export_symbols=$always_export_symbols
81068 # The commands to list exported symbols.
81069 export_symbols_cmds=$lt_export_symbols_cmds
81071 # Symbols that should not be listed in the preloaded symbols.
81072 exclude_expsyms=$lt_exclude_expsyms
81074 # Symbols that must always be exported.
81075 include_expsyms=$lt_include_expsyms
81077 # Commands necessary for linking programs (against libraries) with templates.
81078 prelink_cmds=$lt_prelink_cmds
81080 # Specify filename containing input files.
81081 file_list_spec=$lt_file_list_spec
81083 # How to hardcode a shared library path into an executable.
81084 hardcode_action=$hardcode_action
81086 # The directories searched by this compiler when creating a shared library.
81087 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81089 # Dependencies to place before and after the objects being linked to
81090 # create a shared library.
81091 predep_objects=$lt_predep_objects
81092 postdep_objects=$lt_postdep_objects
81093 predeps=$lt_predeps
81094 postdeps=$lt_postdeps
81096 # The library search path used internally by the compiler when linking
81097 # a shared library.
81098 compiler_lib_search_path=$lt_compiler_lib_search_path
81100 # ### END LIBTOOL CONFIG
81102 _LT_EOF
81104 case $host_os in
81105 aix3*)
81106 cat <<\_LT_EOF >> "$cfgfile"
81107 # AIX sometimes has problems with the GCC collect2 program. For some
81108 # reason, if we set the COLLECT_NAMES environment variable, the problems
81109 # vanish in a puff of smoke.
81110 if test "X${COLLECT_NAMES+set}" != Xset; then
81111 COLLECT_NAMES=
81112 export COLLECT_NAMES
81114 _LT_EOF
81116 esac
81119 ltmain="$ac_aux_dir/ltmain.sh"
81122 # We use sed instead of cat because bash on DJGPP gets confused if
81123 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81124 # text mode, it properly converts lines to CR/LF. This bash problem
81125 # is reportedly fixed, but why not run on old versions too?
81126 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81127 || (rm -f "$cfgfile"; exit 1)
81129 case $xsi_shell in
81130 yes)
81131 cat << \_LT_EOF >> "$cfgfile"
81133 # func_dirname file append nondir_replacement
81134 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81135 # otherwise set result to NONDIR_REPLACEMENT.
81136 func_dirname ()
81138 case ${1} in
81139 */*) func_dirname_result="${1%/*}${2}" ;;
81140 * ) func_dirname_result="${3}" ;;
81141 esac
81144 # func_basename file
81145 func_basename ()
81147 func_basename_result="${1##*/}"
81150 # func_dirname_and_basename file append nondir_replacement
81151 # perform func_basename and func_dirname in a single function
81152 # call:
81153 # dirname: Compute the dirname of FILE. If nonempty,
81154 # add APPEND to the result, otherwise set result
81155 # to NONDIR_REPLACEMENT.
81156 # value returned in "$func_dirname_result"
81157 # basename: Compute filename of FILE.
81158 # value retuned in "$func_basename_result"
81159 # Implementation must be kept synchronized with func_dirname
81160 # and func_basename. For efficiency, we do not delegate to
81161 # those functions but instead duplicate the functionality here.
81162 func_dirname_and_basename ()
81164 case ${1} in
81165 */*) func_dirname_result="${1%/*}${2}" ;;
81166 * ) func_dirname_result="${3}" ;;
81167 esac
81168 func_basename_result="${1##*/}"
81171 # func_stripname prefix suffix name
81172 # strip PREFIX and SUFFIX off of NAME.
81173 # PREFIX and SUFFIX must not contain globbing or regex special
81174 # characters, hashes, percent signs, but SUFFIX may contain a leading
81175 # dot (in which case that matches only a dot).
81176 func_stripname ()
81178 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81179 # positional parameters, so assign one to ordinary parameter first.
81180 func_stripname_result=${3}
81181 func_stripname_result=${func_stripname_result#"${1}"}
81182 func_stripname_result=${func_stripname_result%"${2}"}
81185 # func_opt_split
81186 func_opt_split ()
81188 func_opt_split_opt=${1%%=*}
81189 func_opt_split_arg=${1#*=}
81192 # func_lo2o object
81193 func_lo2o ()
81195 case ${1} in
81196 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81197 *) func_lo2o_result=${1} ;;
81198 esac
81201 # func_xform libobj-or-source
81202 func_xform ()
81204 func_xform_result=${1%.*}.lo
81207 # func_arith arithmetic-term...
81208 func_arith ()
81210 func_arith_result=$(( $* ))
81213 # func_len string
81214 # STRING may not start with a hyphen.
81215 func_len ()
81217 func_len_result=${#1}
81220 _LT_EOF
81222 *) # Bourne compatible functions.
81223 cat << \_LT_EOF >> "$cfgfile"
81225 # func_dirname file append nondir_replacement
81226 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81227 # otherwise set result to NONDIR_REPLACEMENT.
81228 func_dirname ()
81230 # Extract subdirectory from the argument.
81231 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81232 if test "X$func_dirname_result" = "X${1}"; then
81233 func_dirname_result="${3}"
81234 else
81235 func_dirname_result="$func_dirname_result${2}"
81239 # func_basename file
81240 func_basename ()
81242 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81246 # func_stripname prefix suffix name
81247 # strip PREFIX and SUFFIX off of NAME.
81248 # PREFIX and SUFFIX must not contain globbing or regex special
81249 # characters, hashes, percent signs, but SUFFIX may contain a leading
81250 # dot (in which case that matches only a dot).
81251 # func_strip_suffix prefix name
81252 func_stripname ()
81254 case ${2} in
81255 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81256 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81257 esac
81260 # sed scripts:
81261 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81262 my_sed_long_arg='1s/^-[^=]*=//'
81264 # func_opt_split
81265 func_opt_split ()
81267 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81268 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81271 # func_lo2o object
81272 func_lo2o ()
81274 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81277 # func_xform libobj-or-source
81278 func_xform ()
81280 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81283 # func_arith arithmetic-term...
81284 func_arith ()
81286 func_arith_result=`expr "$@"`
81289 # func_len string
81290 # STRING may not start with a hyphen.
81291 func_len ()
81293 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81296 _LT_EOF
81297 esac
81299 case $lt_shell_append in
81300 yes)
81301 cat << \_LT_EOF >> "$cfgfile"
81303 # func_append var value
81304 # Append VALUE to the end of shell variable VAR.
81305 func_append ()
81307 eval "$1+=\$2"
81309 _LT_EOF
81312 cat << \_LT_EOF >> "$cfgfile"
81314 # func_append var value
81315 # Append VALUE to the end of shell variable VAR.
81316 func_append ()
81318 eval "$1=\$$1\$2"
81321 _LT_EOF
81323 esac
81326 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81327 || (rm -f "$cfgfile"; exit 1)
81329 mv -f "$cfgfile" "$ofile" ||
81330 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
81331 chmod +x "$ofile"
81334 cat <<_LT_EOF >> "$ofile"
81336 # ### BEGIN LIBTOOL TAG CONFIG: CXX
81338 # The linker used to build libraries.
81339 LD=$lt_LD_CXX
81341 # How to create reloadable object files.
81342 reload_flag=$lt_reload_flag_CXX
81343 reload_cmds=$lt_reload_cmds_CXX
81345 # Commands used to build an old-style archive.
81346 old_archive_cmds=$lt_old_archive_cmds_CXX
81348 # A language specific compiler.
81349 CC=$lt_compiler_CXX
81351 # Is the compiler the GNU compiler?
81352 with_gcc=$GCC_CXX
81354 # Compiler flag to turn off builtin functions.
81355 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
81357 # How to pass a linker flag through the compiler.
81358 wl=$lt_lt_prog_compiler_wl_CXX
81360 # Additional compiler flags for building library objects.
81361 pic_flag=$lt_lt_prog_compiler_pic_CXX
81363 # Compiler flag to prevent dynamic linking.
81364 link_static_flag=$lt_lt_prog_compiler_static_CXX
81366 # Does compiler simultaneously support -c and -o options?
81367 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
81369 # Whether or not to add -lc for building shared libraries.
81370 build_libtool_need_lc=$archive_cmds_need_lc_CXX
81372 # Whether or not to disallow shared libs when runtime libs are static.
81373 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
81375 # Compiler flag to allow reflexive dlopens.
81376 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
81378 # Compiler flag to generate shared objects directly from archives.
81379 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
81381 # Whether the compiler copes with passing no objects directly.
81382 compiler_needs_object=$lt_compiler_needs_object_CXX
81384 # Create an old-style archive from a shared archive.
81385 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
81387 # Create a temporary old-style archive to link instead of a shared archive.
81388 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
81390 # Commands used to build a shared archive.
81391 archive_cmds=$lt_archive_cmds_CXX
81392 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
81394 # Commands used to build a loadable module if different from building
81395 # a shared archive.
81396 module_cmds=$lt_module_cmds_CXX
81397 module_expsym_cmds=$lt_module_expsym_cmds_CXX
81399 # Whether we are building with GNU ld or not.
81400 with_gnu_ld=$lt_with_gnu_ld_CXX
81402 # Flag that allows shared libraries with undefined symbols to be built.
81403 allow_undefined_flag=$lt_allow_undefined_flag_CXX
81405 # Flag that enforces no undefined symbols.
81406 no_undefined_flag=$lt_no_undefined_flag_CXX
81408 # Flag to hardcode \$libdir into a binary during linking.
81409 # This must work even if \$libdir does not exist
81410 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
81412 # If ld is used when linking, flag to hardcode \$libdir into a binary
81413 # during linking. This must work even if \$libdir does not exist.
81414 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
81416 # Whether we need a single "-rpath" flag with a separated argument.
81417 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
81419 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81420 # DIR into the resulting binary.
81421 hardcode_direct=$hardcode_direct_CXX
81423 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81424 # DIR into the resulting binary and the resulting library dependency is
81425 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81426 # library is relocated.
81427 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
81429 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81430 # into the resulting binary.
81431 hardcode_minus_L=$hardcode_minus_L_CXX
81433 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81434 # into the resulting binary.
81435 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
81437 # Set to "yes" if building a shared library automatically hardcodes DIR
81438 # into the library and all subsequent libraries and executables linked
81439 # against it.
81440 hardcode_automatic=$hardcode_automatic_CXX
81442 # Set to yes if linker adds runtime paths of dependent libraries
81443 # to runtime path list.
81444 inherit_rpath=$inherit_rpath_CXX
81446 # Whether libtool must link a program against all its dependency libraries.
81447 link_all_deplibs=$link_all_deplibs_CXX
81449 # Fix the shell variable \$srcfile for the compiler.
81450 fix_srcfile_path=$lt_fix_srcfile_path_CXX
81452 # Set to "yes" if exported symbols are required.
81453 always_export_symbols=$always_export_symbols_CXX
81455 # The commands to list exported symbols.
81456 export_symbols_cmds=$lt_export_symbols_cmds_CXX
81458 # Symbols that should not be listed in the preloaded symbols.
81459 exclude_expsyms=$lt_exclude_expsyms_CXX
81461 # Symbols that must always be exported.
81462 include_expsyms=$lt_include_expsyms_CXX
81464 # Commands necessary for linking programs (against libraries) with templates.
81465 prelink_cmds=$lt_prelink_cmds_CXX
81467 # Specify filename containing input files.
81468 file_list_spec=$lt_file_list_spec_CXX
81470 # How to hardcode a shared library path into an executable.
81471 hardcode_action=$hardcode_action_CXX
81473 # The directories searched by this compiler when creating a shared library.
81474 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
81476 # Dependencies to place before and after the objects being linked to
81477 # create a shared library.
81478 predep_objects=$lt_predep_objects_CXX
81479 postdep_objects=$lt_postdep_objects_CXX
81480 predeps=$lt_predeps_CXX
81481 postdeps=$lt_postdeps_CXX
81483 # The library search path used internally by the compiler when linking
81484 # a shared library.
81485 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
81487 # ### END LIBTOOL TAG CONFIG: CXX
81488 _LT_EOF
81491 "include/gstdint.h":C)
81492 if test "$GCC" = yes; then
81493 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
81494 else
81495 echo "/* generated for $CC */" > tmp-stdint.h
81498 sed 's/^ *//' >> tmp-stdint.h <<EOF
81500 #ifndef GCC_GENERATED_STDINT_H
81501 #define GCC_GENERATED_STDINT_H 1
81503 #include <sys/types.h>
81506 if test "$acx_cv_header_stdint" != stdint.h; then
81507 echo "#include <stddef.h>" >> tmp-stdint.h
81509 if test "$acx_cv_header_stdint" != stddef.h; then
81510 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
81513 sed 's/^ *//' >> tmp-stdint.h <<EOF
81514 /* glibc uses these symbols as guards to prevent redefinitions. */
81515 #ifdef __int8_t_defined
81516 #define _INT8_T
81517 #define _INT16_T
81518 #define _INT32_T
81519 #endif
81520 #ifdef __uint32_t_defined
81521 #define _UINT32_T
81522 #endif
81526 # ----------------- done header, emit basic int types -------------
81527 if test "$acx_cv_header_stdint" = stddef.h; then
81528 sed 's/^ *//' >> tmp-stdint.h <<EOF
81530 #ifndef _UINT8_T
81531 #define _UINT8_T
81532 #ifndef __uint8_t_defined
81533 #define __uint8_t_defined
81534 #ifndef uint8_t
81535 typedef unsigned $acx_cv_type_int8_t uint8_t;
81536 #endif
81537 #endif
81538 #endif
81540 #ifndef _UINT16_T
81541 #define _UINT16_T
81542 #ifndef __uint16_t_defined
81543 #define __uint16_t_defined
81544 #ifndef uint16_t
81545 typedef unsigned $acx_cv_type_int16_t uint16_t;
81546 #endif
81547 #endif
81548 #endif
81550 #ifndef _UINT32_T
81551 #define _UINT32_T
81552 #ifndef __uint32_t_defined
81553 #define __uint32_t_defined
81554 #ifndef uint32_t
81555 typedef unsigned $acx_cv_type_int32_t uint32_t;
81556 #endif
81557 #endif
81558 #endif
81560 #ifndef _INT8_T
81561 #define _INT8_T
81562 #ifndef __int8_t_defined
81563 #define __int8_t_defined
81564 #ifndef int8_t
81565 typedef $acx_cv_type_int8_t int8_t;
81566 #endif
81567 #endif
81568 #endif
81570 #ifndef _INT16_T
81571 #define _INT16_T
81572 #ifndef __int16_t_defined
81573 #define __int16_t_defined
81574 #ifndef int16_t
81575 typedef $acx_cv_type_int16_t int16_t;
81576 #endif
81577 #endif
81578 #endif
81580 #ifndef _INT32_T
81581 #define _INT32_T
81582 #ifndef __int32_t_defined
81583 #define __int32_t_defined
81584 #ifndef int32_t
81585 typedef $acx_cv_type_int32_t int32_t;
81586 #endif
81587 #endif
81588 #endif
81590 elif test "$ac_cv_type_u_int32_t" = yes; then
81591 sed 's/^ *//' >> tmp-stdint.h <<EOF
81593 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81594 #ifndef _INT8_T
81595 #define _INT8_T
81596 #endif
81597 #ifndef _INT16_T
81598 #define _INT16_T
81599 #endif
81600 #ifndef _INT32_T
81601 #define _INT32_T
81602 #endif
81604 #ifndef _UINT8_T
81605 #define _UINT8_T
81606 #ifndef __uint8_t_defined
81607 #define __uint8_t_defined
81608 #ifndef uint8_t
81609 typedef u_int8_t uint8_t;
81610 #endif
81611 #endif
81612 #endif
81614 #ifndef _UINT16_T
81615 #define _UINT16_T
81616 #ifndef __uint16_t_defined
81617 #define __uint16_t_defined
81618 #ifndef uint16_t
81619 typedef u_int16_t uint16_t;
81620 #endif
81621 #endif
81622 #endif
81624 #ifndef _UINT32_T
81625 #define _UINT32_T
81626 #ifndef __uint32_t_defined
81627 #define __uint32_t_defined
81628 #ifndef uint32_t
81629 typedef u_int32_t uint32_t;
81630 #endif
81631 #endif
81632 #endif
81634 else
81635 sed 's/^ *//' >> tmp-stdint.h <<EOF
81637 /* Some systems have guard macros to prevent redefinitions, define them. */
81638 #ifndef _INT8_T
81639 #define _INT8_T
81640 #endif
81641 #ifndef _INT16_T
81642 #define _INT16_T
81643 #endif
81644 #ifndef _INT32_T
81645 #define _INT32_T
81646 #endif
81647 #ifndef _UINT8_T
81648 #define _UINT8_T
81649 #endif
81650 #ifndef _UINT16_T
81651 #define _UINT16_T
81652 #endif
81653 #ifndef _UINT32_T
81654 #define _UINT32_T
81655 #endif
81659 # ------------- done basic int types, emit int64_t types ------------
81660 if test "$ac_cv_type_uint64_t" = yes; then
81661 sed 's/^ *//' >> tmp-stdint.h <<EOF
81663 /* system headers have good uint64_t and int64_t */
81664 #ifndef _INT64_T
81665 #define _INT64_T
81666 #endif
81667 #ifndef _UINT64_T
81668 #define _UINT64_T
81669 #endif
81671 elif test "$ac_cv_type_u_int64_t" = yes; then
81672 sed 's/^ *//' >> tmp-stdint.h <<EOF
81674 /* system headers have an u_int64_t (and int64_t) */
81675 #ifndef _INT64_T
81676 #define _INT64_T
81677 #endif
81678 #ifndef _UINT64_T
81679 #define _UINT64_T
81680 #ifndef __uint64_t_defined
81681 #define __uint64_t_defined
81682 #ifndef uint64_t
81683 typedef u_int64_t uint64_t;
81684 #endif
81685 #endif
81686 #endif
81688 elif test -n "$acx_cv_type_int64_t"; then
81689 sed 's/^ *//' >> tmp-stdint.h <<EOF
81691 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81692 #ifndef _INT64_T
81693 #define _INT64_T
81694 #ifndef int64_t
81695 typedef $acx_cv_type_int64_t int64_t;
81696 #endif
81697 #endif
81698 #ifndef _UINT64_T
81699 #define _UINT64_T
81700 #ifndef __uint64_t_defined
81701 #define __uint64_t_defined
81702 #ifndef uint64_t
81703 typedef unsigned $acx_cv_type_int64_t uint64_t;
81704 #endif
81705 #endif
81706 #endif
81708 else
81709 sed 's/^ *//' >> tmp-stdint.h <<EOF
81711 /* some common heuristics for int64_t, using compiler-specific tests */
81712 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81713 #ifndef _INT64_T
81714 #define _INT64_T
81715 #ifndef __int64_t_defined
81716 #ifndef int64_t
81717 typedef long long int64_t;
81718 #endif
81719 #endif
81720 #endif
81721 #ifndef _UINT64_T
81722 #define _UINT64_T
81723 #ifndef uint64_t
81724 typedef unsigned long long uint64_t;
81725 #endif
81726 #endif
81728 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81729 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81730 does not implement __extension__. But that compiler doesn't define
81731 __GNUC_MINOR__. */
81732 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81733 # define __extension__
81734 # endif
81736 # ifndef _INT64_T
81737 # define _INT64_T
81738 # ifndef int64_t
81739 __extension__ typedef long long int64_t;
81740 # endif
81741 # endif
81742 # ifndef _UINT64_T
81743 # define _UINT64_T
81744 # ifndef uint64_t
81745 __extension__ typedef unsigned long long uint64_t;
81746 # endif
81747 # endif
81749 #elif !defined __STRICT_ANSI__
81750 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81752 # ifndef _INT64_T
81753 # define _INT64_T
81754 # ifndef int64_t
81755 typedef __int64 int64_t;
81756 # endif
81757 # endif
81758 # ifndef _UINT64_T
81759 # define _UINT64_T
81760 # ifndef uint64_t
81761 typedef unsigned __int64 uint64_t;
81762 # endif
81763 # endif
81764 # endif /* compiler */
81766 #endif /* ANSI version */
81770 # ------------- done int64_t types, emit intptr types ------------
81771 if test "$ac_cv_type_uintptr_t" != yes; then
81772 sed 's/^ *//' >> tmp-stdint.h <<EOF
81774 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81775 #ifndef __uintptr_t_defined
81776 #ifndef uintptr_t
81777 typedef u$acx_cv_type_intptr_t uintptr_t;
81778 #endif
81779 #endif
81780 #ifndef __intptr_t_defined
81781 #ifndef intptr_t
81782 typedef $acx_cv_type_intptr_t intptr_t;
81783 #endif
81784 #endif
81788 # ------------- done intptr types, emit int_least types ------------
81789 if test "$ac_cv_type_int_least32_t" != yes; then
81790 sed 's/^ *//' >> tmp-stdint.h <<EOF
81792 /* Define int_least types */
81793 typedef int8_t int_least8_t;
81794 typedef int16_t int_least16_t;
81795 typedef int32_t int_least32_t;
81796 #ifdef _INT64_T
81797 typedef int64_t int_least64_t;
81798 #endif
81800 typedef uint8_t uint_least8_t;
81801 typedef uint16_t uint_least16_t;
81802 typedef uint32_t uint_least32_t;
81803 #ifdef _UINT64_T
81804 typedef uint64_t uint_least64_t;
81805 #endif
81809 # ------------- done intptr types, emit int_fast types ------------
81810 if test "$ac_cv_type_int_fast32_t" != yes; then
81811 sed 's/^ *//' >> tmp-stdint.h <<EOF
81813 /* Define int_fast types. short is often slow */
81814 typedef int8_t int_fast8_t;
81815 typedef int int_fast16_t;
81816 typedef int32_t int_fast32_t;
81817 #ifdef _INT64_T
81818 typedef int64_t int_fast64_t;
81819 #endif
81821 typedef uint8_t uint_fast8_t;
81822 typedef unsigned int uint_fast16_t;
81823 typedef uint32_t uint_fast32_t;
81824 #ifdef _UINT64_T
81825 typedef uint64_t uint_fast64_t;
81826 #endif
81830 if test "$ac_cv_type_uintmax_t" != yes; then
81831 sed 's/^ *//' >> tmp-stdint.h <<EOF
81833 /* Define intmax based on what we found */
81834 #ifndef intmax_t
81835 #ifdef _INT64_T
81836 typedef int64_t intmax_t;
81837 #else
81838 typedef long intmax_t;
81839 #endif
81840 #endif
81841 #ifndef uintmax_t
81842 #ifdef _UINT64_T
81843 typedef uint64_t uintmax_t;
81844 #else
81845 typedef unsigned long uintmax_t;
81846 #endif
81847 #endif
81851 sed 's/^ *//' >> tmp-stdint.h <<EOF
81853 #endif /* GCC_GENERATED_STDINT_H */
81856 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81857 rm -f tmp-stdint.h
81858 else
81859 mv -f tmp-stdint.h include/gstdint.h
81863 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81864 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81865 "include/Makefile":F) cat > vpsed$$ << \_EOF
81866 s!`test -f '$<' || echo '$(srcdir)/'`!!
81867 _EOF
81868 sed -f vpsed$$ $ac_file > tmp$$
81869 mv tmp$$ $ac_file
81870 rm vpsed$$
81871 echo 'MULTISUBDIR =' >> $ac_file
81872 ml_norecursion=yes
81873 . ${multi_basedir}/config-ml.in
81874 { ml_norecursion=; unset ml_norecursion;}
81876 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81877 s!`test -f '$<' || echo '$(srcdir)/'`!!
81878 _EOF
81879 sed -f vpsed$$ $ac_file > tmp$$
81880 mv tmp$$ $ac_file
81881 rm vpsed$$
81882 echo 'MULTISUBDIR =' >> $ac_file
81883 ml_norecursion=yes
81884 . ${multi_basedir}/config-ml.in
81885 { ml_norecursion=; unset ml_norecursion;}
81887 "src/Makefile":F) cat > vpsed$$ << \_EOF
81888 s!`test -f '$<' || echo '$(srcdir)/'`!!
81889 _EOF
81890 sed -f vpsed$$ $ac_file > tmp$$
81891 mv tmp$$ $ac_file
81892 rm vpsed$$
81893 echo 'MULTISUBDIR =' >> $ac_file
81894 ml_norecursion=yes
81895 . ${multi_basedir}/config-ml.in
81896 { ml_norecursion=; unset ml_norecursion;}
81898 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81899 s!`test -f '$<' || echo '$(srcdir)/'`!!
81900 _EOF
81901 sed -f vpsed$$ $ac_file > tmp$$
81902 mv tmp$$ $ac_file
81903 rm vpsed$$
81904 echo 'MULTISUBDIR =' >> $ac_file
81905 ml_norecursion=yes
81906 . ${multi_basedir}/config-ml.in
81907 { ml_norecursion=; unset ml_norecursion;}
81909 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81910 s!`test -f '$<' || echo '$(srcdir)/'`!!
81911 _EOF
81912 sed -f vpsed$$ $ac_file > tmp$$
81913 mv tmp$$ $ac_file
81914 rm vpsed$$
81915 echo 'MULTISUBDIR =' >> $ac_file
81916 ml_norecursion=yes
81917 . ${multi_basedir}/config-ml.in
81918 { ml_norecursion=; unset ml_norecursion;}
81920 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81921 s!`test -f '$<' || echo '$(srcdir)/'`!!
81922 _EOF
81923 sed -f vpsed$$ $ac_file > tmp$$
81924 mv tmp$$ $ac_file
81925 rm vpsed$$
81926 echo 'MULTISUBDIR =' >> $ac_file
81927 ml_norecursion=yes
81928 . ${multi_basedir}/config-ml.in
81929 { ml_norecursion=; unset ml_norecursion;}
81931 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81932 s!`test -f '$<' || echo '$(srcdir)/'`!!
81933 _EOF
81934 sed -f vpsed$$ $ac_file > tmp$$
81935 mv tmp$$ $ac_file
81936 rm vpsed$$
81937 echo 'MULTISUBDIR =' >> $ac_file
81938 ml_norecursion=yes
81939 . ${multi_basedir}/config-ml.in
81940 { ml_norecursion=; unset ml_norecursion;}
81942 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81943 s!`test -f '$<' || echo '$(srcdir)/'`!!
81944 _EOF
81945 sed -f vpsed$$ $ac_file > tmp$$
81946 mv tmp$$ $ac_file
81947 rm vpsed$$
81948 echo 'MULTISUBDIR =' >> $ac_file
81949 ml_norecursion=yes
81950 . ${multi_basedir}/config-ml.in
81951 { ml_norecursion=; unset ml_norecursion;}
81953 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
81954 s!`test -f '$<' || echo '$(srcdir)/'`!!
81955 _EOF
81956 sed -f vpsed$$ $ac_file > tmp$$
81957 mv tmp$$ $ac_file
81958 rm vpsed$$
81959 echo 'MULTISUBDIR =' >> $ac_file
81960 ml_norecursion=yes
81961 . ${multi_basedir}/config-ml.in
81962 { ml_norecursion=; unset ml_norecursion;}
81964 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81965 s!`test -f '$<' || echo '$(srcdir)/'`!!
81966 _EOF
81967 sed -f vpsed$$ $ac_file > tmp$$
81968 mv tmp$$ $ac_file
81969 rm vpsed$$
81970 echo 'MULTISUBDIR =' >> $ac_file
81971 ml_norecursion=yes
81972 . ${multi_basedir}/config-ml.in
81973 { ml_norecursion=; unset ml_norecursion;}
81975 "po/Makefile":F) cat > vpsed$$ << \_EOF
81976 s!`test -f '$<' || echo '$(srcdir)/'`!!
81977 _EOF
81978 sed -f vpsed$$ $ac_file > tmp$$
81979 mv tmp$$ $ac_file
81980 rm vpsed$$
81981 echo 'MULTISUBDIR =' >> $ac_file
81982 ml_norecursion=yes
81983 . ${multi_basedir}/config-ml.in
81984 { ml_norecursion=; unset ml_norecursion;}
81986 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81987 s!`test -f '$<' || echo '$(srcdir)/'`!!
81988 _EOF
81989 sed -f vpsed$$ $ac_file > tmp$$
81990 mv tmp$$ $ac_file
81991 rm vpsed$$
81992 echo 'MULTISUBDIR =' >> $ac_file
81993 ml_norecursion=yes
81994 . ${multi_basedir}/config-ml.in
81995 { ml_norecursion=; unset ml_norecursion;}
81997 "python/Makefile":F) cat > vpsed$$ << \_EOF
81998 s!`test -f '$<' || echo '$(srcdir)/'`!!
81999 _EOF
82000 sed -f vpsed$$ $ac_file > tmp$$
82001 mv tmp$$ $ac_file
82002 rm vpsed$$
82003 echo 'MULTISUBDIR =' >> $ac_file
82004 ml_norecursion=yes
82005 . ${multi_basedir}/config-ml.in
82006 { ml_norecursion=; unset ml_norecursion;}
82008 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82010 esac
82011 done # for ac_tag
82014 as_fn_exit 0
82015 _ACEOF
82016 ac_clean_files=$ac_clean_files_save
82018 test $ac_write_fail = 0 ||
82019 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
82022 # configure is writing to config.log, and then calls config.status.
82023 # config.status does its own redirection, appending to config.log.
82024 # Unfortunately, on DOS this fails, as config.log is still kept open
82025 # by configure, so config.status won't be able to write to it; its
82026 # output is simply discarded. So we exec the FD to /dev/null,
82027 # effectively closing config.log, so it can be properly (re)opened and
82028 # appended to by config.status. When coming back to configure, we
82029 # need to make the FD available again.
82030 if test "$no_create" != yes; then
82031 ac_cs_success=:
82032 ac_config_status_args=
82033 test "$silent" = yes &&
82034 ac_config_status_args="$ac_config_status_args --quiet"
82035 exec 5>/dev/null
82036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82037 exec 5>>config.log
82038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82039 # would make configure fail if this is the last instruction.
82040 $ac_cs_success || as_fn_exit 1
82042 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82044 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}