Patch ieee128-lib-patch005b
[official-gcc.git] / libstdc++-v3 / configure
blob9f9c5a2419aa599ff9f330ac510cb8dfbe116c4f
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 CPU_OPT_BITS_RANDOM
647 CPU_OPT_EXT_RANDOM
648 ERROR_CONSTANTS_SRCDIR
649 OS_INC_SRCDIR
650 ABI_TWEAKS_SRCDIR
651 CPU_DEFINES_SRCDIR
652 ATOMIC_FLAGS
653 ATOMIC_WORD_SRCDIR
654 ATOMICITY_SRCDIR
655 INCLUDE_DIR_NOTPARALLEL_FALSE
656 INCLUDE_DIR_NOTPARALLEL_TRUE
657 BUILD_PDF_FALSE
658 BUILD_PDF_TRUE
659 PDFLATEX
660 DBLATEX
661 BUILD_MAN_FALSE
662 BUILD_MAN_TRUE
663 BUILD_HTML_FALSE
664 BUILD_HTML_TRUE
665 BUILD_XML_FALSE
666 BUILD_XML_TRUE
667 BUILD_EPUB_FALSE
668 BUILD_EPUB_TRUE
669 XSL_STYLE_DIR
670 XMLLINT
671 XSLTPROC
672 XMLCATALOG
674 DOXYGEN
675 BUILD_INFO_FALSE
676 BUILD_INFO_TRUE
677 ENABLE_FILESYSTEM_TS_FALSE
678 ENABLE_FILESYSTEM_TS_TRUE
679 baseline_subdir_switch
680 baseline_dir
681 HWCAP_CFLAGS
682 GLIBCXX_LDBL_COMPAT_FALSE
683 GLIBCXX_LDBL_COMPAT_TRUE
684 LONG_DOUBLE_COMPAT_FLAGS
685 ENABLE_CXX11_ABI_FALSE
686 ENABLE_CXX11_ABI_TRUE
687 glibcxx_cxx98_abi
688 ENABLE_DUAL_ABI_FALSE
689 ENABLE_DUAL_ABI_TRUE
690 ENABLE_VISIBILITY_FALSE
691 ENABLE_VISIBILITY_TRUE
692 libtool_VERSION
693 ENABLE_SYMVERS_SUN_FALSE
694 ENABLE_SYMVERS_SUN_TRUE
695 ENABLE_SYMVERS_DARWIN_FALSE
696 ENABLE_SYMVERS_DARWIN_TRUE
697 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699 ENABLE_SYMVERS_GNU_FALSE
700 ENABLE_SYMVERS_GNU_TRUE
701 ENABLE_SYMVERS_FALSE
702 ENABLE_SYMVERS_TRUE
703 port_specific_symbol_files
704 SYMVER_FILE
705 CXXFILT
706 LTLIBICONV
707 LIBICONV
708 OPT_LDFLAGS
709 SECTION_LDFLAGS
710 GLIBCXX_LIBS
711 ENABLE_VTABLE_VERIFY_FALSE
712 ENABLE_VTABLE_VERIFY_TRUE
713 VTV_CYGMIN_FALSE
714 VTV_CYGMIN_TRUE
715 VTV_CXXLINKFLAGS
716 VTV_PCH_CXXFLAGS
717 VTV_CXXFLAGS
718 ENABLE_WERROR_FALSE
719 ENABLE_WERROR_TRUE
720 ENABLE_PYTHONDIR_FALSE
721 ENABLE_PYTHONDIR_TRUE
722 python_mod_dir
723 ENABLE_EXTERN_TEMPLATE_FALSE
724 ENABLE_EXTERN_TEMPLATE_TRUE
725 EXTRA_CXX_FLAGS
726 GLIBCXX_BUILD_DEBUG_FALSE
727 GLIBCXX_BUILD_DEBUG_TRUE
728 DEBUG_FLAGS
729 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733 GLIBCXX_C_HEADERS_C_STD_FALSE
734 GLIBCXX_C_HEADERS_C_STD_TRUE
735 GLIBCXX_C_HEADERS_C_FALSE
736 GLIBCXX_C_HEADERS_C_TRUE
737 C_INCLUDE_DIR
738 ALLOCATOR_NAME
739 ALLOCATOR_H
740 ENABLE_ALLOCATOR_NEW_FALSE
741 ENABLE_ALLOCATOR_NEW_TRUE
742 CLOCALE_INTERNAL_H
743 CLOCALE_CC
744 CTIME_CC
745 CTIME_H
746 CNUMERIC_CC
747 CMONEY_CC
748 CMESSAGES_CC
749 CCTYPE_CC
750 CCOLLATE_CC
751 CCODECVT_CC
752 CMESSAGES_H
753 CLOCALE_H
754 USE_NLS
755 glibcxx_localedir
756 glibcxx_POFILES
757 glibcxx_MOFILES
758 check_msgfmt
759 BASIC_FILE_CC
760 BASIC_FILE_H
761 CSTDIO_H
762 SECTION_FLAGS
763 ENABLE_FLOAT128_FALSE
764 ENABLE_FLOAT128_TRUE
765 thread_header
766 glibcxx_PCHFLAGS
767 GLIBCXX_BUILD_PCH_FALSE
768 GLIBCXX_BUILD_PCH_TRUE
769 GLIBCXX_HOSTED_FALSE
770 GLIBCXX_HOSTED_TRUE
771 glibcxx_compiler_shared_flag
772 glibcxx_compiler_pic_flag
773 glibcxx_lt_pic_flag
774 enable_static
775 enable_shared
776 lt_host_flags
777 CXXCPP
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 OBJDUMP
785 ac_ct_DUMPBIN
786 DUMPBIN
788 FGREP
790 LIBTOOL
791 EGREP
792 GREP
794 MAINT
795 MAINTAINER_MODE_FALSE
796 MAINTAINER_MODE_TRUE
797 RANLIB
800 LN_S
801 toplevel_srcdir
802 toplevel_builddir
803 glibcxx_srcdir
804 glibcxx_builddir
805 ac_ct_CXX
806 CXXFLAGS
808 OBJEXT
809 EXEEXT
810 ac_ct_CC
811 CPPFLAGS
812 LDFLAGS
813 CFLAGS
815 AM_BACKSLASH
816 AM_DEFAULT_VERBOSITY
817 AM_DEFAULT_V
818 AM_V
819 am__untar
820 am__tar
821 AMTAR
822 am__leading_dot
823 SET_MAKE
825 mkdir_p
826 MKDIR_P
827 INSTALL_STRIP_PROGRAM
828 STRIP
829 install_sh
830 MAKEINFO
831 AUTOHEADER
832 AUTOMAKE
833 AUTOCONF
834 ACLOCAL
835 VERSION
836 PACKAGE
837 CYGPATH_W
838 am__isrc
839 INSTALL_DATA
840 INSTALL_SCRIPT
841 INSTALL_PROGRAM
842 target_os
843 target_vendor
844 target_cpu
845 target
846 host_os
847 host_vendor
848 host_cpu
849 host
850 build_os
851 build_vendor
852 build_cpu
853 build
854 multi_basedir
855 target_alias
856 host_alias
857 build_alias
858 LIBS
859 ECHO_T
860 ECHO_N
861 ECHO_C
862 DEFS
863 mandir
864 localedir
865 libdir
866 psdir
867 pdfdir
868 dvidir
869 htmldir
870 infodir
871 docdir
872 oldincludedir
873 includedir
874 localstatedir
875 sharedstatedir
876 sysconfdir
877 datadir
878 datarootdir
879 libexecdir
880 sbindir
881 bindir
882 program_transform_name
883 prefix
884 exec_prefix
885 PACKAGE_URL
886 PACKAGE_BUGREPORT
887 PACKAGE_STRING
888 PACKAGE_VERSION
889 PACKAGE_TARNAME
890 PACKAGE_NAME
891 PATH_SEPARATOR
892 SHELL'
893 ac_subst_files=''
894 ac_user_opts='
895 enable_option_checking
896 enable_multilib
897 enable_silent_rules
898 enable_largefile
899 with_target_subdir
900 with_cross_host
901 with_newlib
902 enable_maintainer_mode
903 enable_shared
904 enable_static
905 with_pic
906 enable_fast_install
907 with_gnu_ld
908 enable_libtool_lock
909 enable_hosted_libstdcxx
910 enable_libstdcxx_verbose
911 enable_libstdcxx_pch
912 with_libstdcxx_lock_policy
913 enable_cstdio
914 enable_clocale
915 enable_nls
916 enable_libstdcxx_allocator
917 enable_cheaders
918 enable_long_long
919 enable_wchar_t
920 enable_c99
921 enable_concept_checks
922 enable_libstdcxx_debug_flags
923 enable_libstdcxx_debug
924 enable_cxx_flags
925 enable_fully_dynamic_string
926 enable_extern_template
927 with_python_dir
928 enable_werror
929 enable_vtable_verify
930 enable_libstdcxx_time
931 enable_tls
932 enable_rpath
933 with_libiconv_prefix
934 with_libiconv_type
935 with_system_libunwind
936 enable_linux_futex
937 enable_symvers
938 enable_libstdcxx_visibility
939 enable_libstdcxx_dual_abi
940 with_default_libstdcxx_abi
941 enable_libstdcxx_threads
942 enable_libstdcxx_filesystem_ts
943 enable_cet
944 with_gxx_include_dir
945 enable_version_specific_runtime_libs
946 with_toolexeclibdir
947 with_gcc_major_version_only
949 ac_precious_vars='build_alias
950 host_alias
951 target_alias
953 CFLAGS
954 LDFLAGS
955 LIBS
956 CPPFLAGS
958 CXXFLAGS
961 CXXCPP
962 CXXFILT'
965 # Initialize some variables set by options.
966 ac_init_help=
967 ac_init_version=false
968 ac_unrecognized_opts=
969 ac_unrecognized_sep=
970 # The variables have the same names as the options, with
971 # dashes changed to underlines.
972 cache_file=/dev/null
973 exec_prefix=NONE
974 no_create=
975 no_recursion=
976 prefix=NONE
977 program_prefix=NONE
978 program_suffix=NONE
979 program_transform_name=s,x,x,
980 silent=
981 site=
982 srcdir=
983 verbose=
984 x_includes=NONE
985 x_libraries=NONE
987 # Installation directory options.
988 # These are left unexpanded so users can "make install exec_prefix=/foo"
989 # and all the variables that are supposed to be based on exec_prefix
990 # by default will actually change.
991 # Use braces instead of parens because sh, perl, etc. also accept them.
992 # (The list follows the same order as the GNU Coding Standards.)
993 bindir='${exec_prefix}/bin'
994 sbindir='${exec_prefix}/sbin'
995 libexecdir='${exec_prefix}/libexec'
996 datarootdir='${prefix}/share'
997 datadir='${datarootdir}'
998 sysconfdir='${prefix}/etc'
999 sharedstatedir='${prefix}/com'
1000 localstatedir='${prefix}/var'
1001 includedir='${prefix}/include'
1002 oldincludedir='/usr/include'
1003 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1004 infodir='${datarootdir}/info'
1005 htmldir='${docdir}'
1006 dvidir='${docdir}'
1007 pdfdir='${docdir}'
1008 psdir='${docdir}'
1009 libdir='${exec_prefix}/lib'
1010 localedir='${datarootdir}/locale'
1011 mandir='${datarootdir}/man'
1013 ac_prev=
1014 ac_dashdash=
1015 for ac_option
1017 # If the previous option needs an argument, assign it.
1018 if test -n "$ac_prev"; then
1019 eval $ac_prev=\$ac_option
1020 ac_prev=
1021 continue
1024 case $ac_option in
1025 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026 *=) ac_optarg= ;;
1027 *) ac_optarg=yes ;;
1028 esac
1030 # Accept the important Cygnus configure options, so we can diagnose typos.
1032 case $ac_dashdash$ac_option in
1034 ac_dashdash=yes ;;
1036 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1037 ac_prev=bindir ;;
1038 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1039 bindir=$ac_optarg ;;
1041 -build | --build | --buil | --bui | --bu)
1042 ac_prev=build_alias ;;
1043 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1044 build_alias=$ac_optarg ;;
1046 -cache-file | --cache-file | --cache-fil | --cache-fi \
1047 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1048 ac_prev=cache_file ;;
1049 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1050 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1051 cache_file=$ac_optarg ;;
1053 --config-cache | -C)
1054 cache_file=config.cache ;;
1056 -datadir | --datadir | --datadi | --datad)
1057 ac_prev=datadir ;;
1058 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1059 datadir=$ac_optarg ;;
1061 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1062 | --dataroo | --dataro | --datar)
1063 ac_prev=datarootdir ;;
1064 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1065 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1066 datarootdir=$ac_optarg ;;
1068 -disable-* | --disable-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error $? "invalid feature name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1077 "enable_$ac_useropt"
1078 "*) ;;
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1081 esac
1082 eval enable_$ac_useropt=no ;;
1084 -docdir | --docdir | --docdi | --doc | --do)
1085 ac_prev=docdir ;;
1086 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1087 docdir=$ac_optarg ;;
1089 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1090 ac_prev=dvidir ;;
1091 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1092 dvidir=$ac_optarg ;;
1094 -enable-* | --enable-*)
1095 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098 as_fn_error $? "invalid feature name: $ac_useropt"
1099 ac_useropt_orig=$ac_useropt
1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1103 "enable_$ac_useropt"
1104 "*) ;;
1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1106 ac_unrecognized_sep=', ';;
1107 esac
1108 eval enable_$ac_useropt=\$ac_optarg ;;
1110 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1111 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1112 | --exec | --exe | --ex)
1113 ac_prev=exec_prefix ;;
1114 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1115 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1116 | --exec=* | --exe=* | --ex=*)
1117 exec_prefix=$ac_optarg ;;
1119 -gas | --gas | --ga | --g)
1120 # Obsolete; use --with-gas.
1121 with_gas=yes ;;
1123 -help | --help | --hel | --he | -h)
1124 ac_init_help=long ;;
1125 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1126 ac_init_help=recursive ;;
1127 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1128 ac_init_help=short ;;
1130 -host | --host | --hos | --ho)
1131 ac_prev=host_alias ;;
1132 -host=* | --host=* | --hos=* | --ho=*)
1133 host_alias=$ac_optarg ;;
1135 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1136 ac_prev=htmldir ;;
1137 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1138 | --ht=*)
1139 htmldir=$ac_optarg ;;
1141 -includedir | --includedir | --includedi | --included | --include \
1142 | --includ | --inclu | --incl | --inc)
1143 ac_prev=includedir ;;
1144 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1145 | --includ=* | --inclu=* | --incl=* | --inc=*)
1146 includedir=$ac_optarg ;;
1148 -infodir | --infodir | --infodi | --infod | --info | --inf)
1149 ac_prev=infodir ;;
1150 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1151 infodir=$ac_optarg ;;
1153 -libdir | --libdir | --libdi | --libd)
1154 ac_prev=libdir ;;
1155 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1156 libdir=$ac_optarg ;;
1158 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1159 | --libexe | --libex | --libe)
1160 ac_prev=libexecdir ;;
1161 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1162 | --libexe=* | --libex=* | --libe=*)
1163 libexecdir=$ac_optarg ;;
1165 -localedir | --localedir | --localedi | --localed | --locale)
1166 ac_prev=localedir ;;
1167 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1168 localedir=$ac_optarg ;;
1170 -localstatedir | --localstatedir | --localstatedi | --localstated \
1171 | --localstate | --localstat | --localsta | --localst | --locals)
1172 ac_prev=localstatedir ;;
1173 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1174 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1175 localstatedir=$ac_optarg ;;
1177 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1178 ac_prev=mandir ;;
1179 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1180 mandir=$ac_optarg ;;
1182 -nfp | --nfp | --nf)
1183 # Obsolete; use --without-fp.
1184 with_fp=no ;;
1186 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1187 | --no-cr | --no-c | -n)
1188 no_create=yes ;;
1190 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1191 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1192 no_recursion=yes ;;
1194 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1195 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1196 | --oldin | --oldi | --old | --ol | --o)
1197 ac_prev=oldincludedir ;;
1198 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1199 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1200 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1201 oldincludedir=$ac_optarg ;;
1203 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1204 ac_prev=prefix ;;
1205 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1206 prefix=$ac_optarg ;;
1208 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1209 | --program-pre | --program-pr | --program-p)
1210 ac_prev=program_prefix ;;
1211 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1212 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1213 program_prefix=$ac_optarg ;;
1215 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1216 | --program-suf | --program-su | --program-s)
1217 ac_prev=program_suffix ;;
1218 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1219 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1220 program_suffix=$ac_optarg ;;
1222 -program-transform-name | --program-transform-name \
1223 | --program-transform-nam | --program-transform-na \
1224 | --program-transform-n | --program-transform- \
1225 | --program-transform | --program-transfor \
1226 | --program-transfo | --program-transf \
1227 | --program-trans | --program-tran \
1228 | --progr-tra | --program-tr | --program-t)
1229 ac_prev=program_transform_name ;;
1230 -program-transform-name=* | --program-transform-name=* \
1231 | --program-transform-nam=* | --program-transform-na=* \
1232 | --program-transform-n=* | --program-transform-=* \
1233 | --program-transform=* | --program-transfor=* \
1234 | --program-transfo=* | --program-transf=* \
1235 | --program-trans=* | --program-tran=* \
1236 | --progr-tra=* | --program-tr=* | --program-t=*)
1237 program_transform_name=$ac_optarg ;;
1239 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1240 ac_prev=pdfdir ;;
1241 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1242 pdfdir=$ac_optarg ;;
1244 -psdir | --psdir | --psdi | --psd | --ps)
1245 ac_prev=psdir ;;
1246 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1247 psdir=$ac_optarg ;;
1249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1250 | -silent | --silent | --silen | --sile | --sil)
1251 silent=yes ;;
1253 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1254 ac_prev=sbindir ;;
1255 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1256 | --sbi=* | --sb=*)
1257 sbindir=$ac_optarg ;;
1259 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1260 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1261 | --sharedst | --shareds | --shared | --share | --shar \
1262 | --sha | --sh)
1263 ac_prev=sharedstatedir ;;
1264 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1265 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1266 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1267 | --sha=* | --sh=*)
1268 sharedstatedir=$ac_optarg ;;
1270 -site | --site | --sit)
1271 ac_prev=site ;;
1272 -site=* | --site=* | --sit=*)
1273 site=$ac_optarg ;;
1275 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1276 ac_prev=srcdir ;;
1277 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1278 srcdir=$ac_optarg ;;
1280 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1281 | --syscon | --sysco | --sysc | --sys | --sy)
1282 ac_prev=sysconfdir ;;
1283 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1284 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1285 sysconfdir=$ac_optarg ;;
1287 -target | --target | --targe | --targ | --tar | --ta | --t)
1288 ac_prev=target_alias ;;
1289 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1290 target_alias=$ac_optarg ;;
1292 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1293 verbose=yes ;;
1295 -version | --version | --versio | --versi | --vers | -V)
1296 ac_init_version=: ;;
1298 -with-* | --with-*)
1299 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1300 # Reject names that are not valid shell variable names.
1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1302 as_fn_error $? "invalid package name: $ac_useropt"
1303 ac_useropt_orig=$ac_useropt
1304 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1307 "with_$ac_useropt"
1308 "*) ;;
1309 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1310 ac_unrecognized_sep=', ';;
1311 esac
1312 eval with_$ac_useropt=\$ac_optarg ;;
1314 -without-* | --without-*)
1315 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1318 as_fn_error $? "invalid package name: $ac_useropt"
1319 ac_useropt_orig=$ac_useropt
1320 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1321 case $ac_user_opts in
1323 "with_$ac_useropt"
1324 "*) ;;
1325 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1326 ac_unrecognized_sep=', ';;
1327 esac
1328 eval with_$ac_useropt=no ;;
1330 --x)
1331 # Obsolete; use --with-x.
1332 with_x=yes ;;
1334 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1335 | --x-incl | --x-inc | --x-in | --x-i)
1336 ac_prev=x_includes ;;
1337 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1338 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1339 x_includes=$ac_optarg ;;
1341 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1342 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1343 ac_prev=x_libraries ;;
1344 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1345 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1346 x_libraries=$ac_optarg ;;
1348 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1349 Try \`$0 --help' for more information"
1352 *=*)
1353 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1354 # Reject names that are not valid shell variable names.
1355 case $ac_envvar in #(
1356 '' | [0-9]* | *[!_$as_cr_alnum]* )
1357 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1358 esac
1359 eval $ac_envvar=\$ac_optarg
1360 export $ac_envvar ;;
1363 # FIXME: should be removed in autoconf 3.0.
1364 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1365 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1366 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1367 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1370 esac
1371 done
1373 if test -n "$ac_prev"; then
1374 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1375 as_fn_error $? "missing argument to $ac_option"
1378 if test -n "$ac_unrecognized_opts"; then
1379 case $enable_option_checking in
1380 no) ;;
1381 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1382 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1383 esac
1386 # Check all directory arguments for consistency.
1387 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1388 datadir sysconfdir sharedstatedir localstatedir includedir \
1389 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1390 libdir localedir mandir
1392 eval ac_val=\$$ac_var
1393 # Remove trailing slashes.
1394 case $ac_val in
1395 */ )
1396 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1397 eval $ac_var=\$ac_val;;
1398 esac
1399 # Be sure to have absolute directory names.
1400 case $ac_val in
1401 [\\/$]* | ?:[\\/]* ) continue;;
1402 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1403 esac
1404 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1405 done
1407 # There might be people who depend on the old broken behavior: `$host'
1408 # used to hold the argument of --host etc.
1409 # FIXME: To remove some day.
1410 build=$build_alias
1411 host=$host_alias
1412 target=$target_alias
1414 # FIXME: To remove some day.
1415 if test "x$host_alias" != x; then
1416 if test "x$build_alias" = x; then
1417 cross_compiling=maybe
1418 elif test "x$build_alias" != "x$host_alias"; then
1419 cross_compiling=yes
1423 ac_tool_prefix=
1424 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1426 test "$silent" = yes && exec 6>/dev/null
1429 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1430 ac_ls_di=`ls -di .` &&
1431 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1432 as_fn_error $? "working directory cannot be determined"
1433 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1434 as_fn_error $? "pwd does not report name of working directory"
1437 # Find the source files, if location was not specified.
1438 if test -z "$srcdir"; then
1439 ac_srcdir_defaulted=yes
1440 # Try the directory containing this script, then the parent directory.
1441 ac_confdir=`$as_dirname -- "$as_myself" ||
1442 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1443 X"$as_myself" : 'X\(//\)[^/]' \| \
1444 X"$as_myself" : 'X\(//\)$' \| \
1445 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1446 $as_echo X"$as_myself" |
1447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448 s//\1/
1451 /^X\(\/\/\)[^/].*/{
1452 s//\1/
1455 /^X\(\/\/\)$/{
1456 s//\1/
1459 /^X\(\/\).*/{
1460 s//\1/
1463 s/.*/./; q'`
1464 srcdir=$ac_confdir
1465 if test ! -r "$srcdir/$ac_unique_file"; then
1466 srcdir=..
1468 else
1469 ac_srcdir_defaulted=no
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1473 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1475 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1476 ac_abs_confdir=`(
1477 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478 pwd)`
1479 # When building in place, set srcdir=.
1480 if test "$ac_abs_confdir" = "$ac_pwd"; then
1481 srcdir=.
1483 # Remove unnecessary trailing slashes from srcdir.
1484 # Double slashes in file names in object file debugging info
1485 # mess up M-x gdb in Emacs.
1486 case $srcdir in
1487 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488 esac
1489 for ac_var in $ac_precious_vars; do
1490 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1491 eval ac_env_${ac_var}_value=\$${ac_var}
1492 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1493 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1494 done
1497 # Report the --help message.
1499 if test "$ac_init_help" = "long"; then
1500 # Omit some internal or obsolete options to make the list less imposing.
1501 # This message is too long to be a string in the A/UX 3.1 sh.
1502 cat <<_ACEOF
1503 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1505 Usage: $0 [OPTION]... [VAR=VALUE]...
1507 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1508 VAR=VALUE. See below for descriptions of some of the useful variables.
1510 Defaults for the options are specified in brackets.
1512 Configuration:
1513 -h, --help display this help and exit
1514 --help=short display options specific to this package
1515 --help=recursive display the short help of all the included packages
1516 -V, --version display version information and exit
1517 -q, --quiet, --silent do not print \`checking ...' messages
1518 --cache-file=FILE cache test results in FILE [disabled]
1519 -C, --config-cache alias for \`--cache-file=config.cache'
1520 -n, --no-create do not create output files
1521 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1523 Installation directories:
1524 --prefix=PREFIX install architecture-independent files in PREFIX
1525 [$ac_default_prefix]
1526 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1527 [PREFIX]
1529 By default, \`make install' will install all the files in
1530 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1531 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1532 for instance \`--prefix=\$HOME'.
1534 For better control, use the options below.
1536 Fine tuning of the installation directories:
1537 --bindir=DIR user executables [EPREFIX/bin]
1538 --sbindir=DIR system admin executables [EPREFIX/sbin]
1539 --libexecdir=DIR program executables [EPREFIX/libexec]
1540 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1541 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1542 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1543 --libdir=DIR object code libraries [EPREFIX/lib]
1544 --includedir=DIR C header files [PREFIX/include]
1545 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1546 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1547 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1548 --infodir=DIR info documentation [DATAROOTDIR/info]
1549 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1550 --mandir=DIR man documentation [DATAROOTDIR/man]
1551 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1552 --htmldir=DIR html documentation [DOCDIR]
1553 --dvidir=DIR dvi documentation [DOCDIR]
1554 --pdfdir=DIR pdf documentation [DOCDIR]
1555 --psdir=DIR ps documentation [DOCDIR]
1556 _ACEOF
1558 cat <<\_ACEOF
1560 Program names:
1561 --program-prefix=PREFIX prepend PREFIX to installed program names
1562 --program-suffix=SUFFIX append SUFFIX to installed program names
1563 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1565 System types:
1566 --build=BUILD configure for building on BUILD [guessed]
1567 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1568 --target=TARGET configure for building compilers for TARGET [HOST]
1569 _ACEOF
1572 if test -n "$ac_init_help"; then
1573 case $ac_init_help in
1574 short | recursive ) echo "Configuration of package-unused version-unused:";;
1575 esac
1576 cat <<\_ACEOF
1578 Optional Features:
1579 --disable-option-checking ignore unrecognized --enable/--with options
1580 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1581 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1582 --enable-multilib build many library versions (default)
1583 --enable-silent-rules less verbose build output (undo: "make V=1")
1584 --disable-silent-rules verbose build output (undo: "make V=0")
1585 --disable-largefile omit support for large files
1586 --enable-maintainer-mode
1587 enable make rules and dependencies not useful (and
1588 sometimes confusing) to the casual installer
1589 --enable-shared[=PKGS] build shared libraries [default=yes]
1590 --enable-static[=PKGS] build static libraries [default=yes]
1591 --enable-fast-install[=PKGS]
1592 optimize for fast installation [default=yes]
1593 --disable-libtool-lock avoid locking (might break parallel builds)
1594 --disable-hosted-libstdcxx
1595 only build freestanding C++ runtime support
1596 --disable-libstdcxx-verbose
1597 disable termination messages to standard error
1598 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1599 [default=$is_hosted]
1600 --enable-cstdio[=PACKAGE]
1601 use target-specific I/O package [default=stdio]
1602 --enable-clocale[=MODEL]
1603 use MODEL for target locale package [default=auto]
1604 --enable-nls use Native Language Support (default)
1605 --enable-libstdcxx-allocator[=KIND]
1606 use KIND for target std::allocator base
1607 [default=auto]
1608 --enable-cheaders[=KIND]
1609 construct "C" headers for g++ [default=$c_model]
1610 --enable-long-long enable template specializations for 'long long'
1611 [default=yes]
1612 --enable-wchar_t enable template specializations for 'wchar_t'
1613 [default=yes]
1614 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1615 --enable-concept-checks use Boost-derived template checks [default=no]
1616 --enable-libstdcxx-debug-flags=FLAGS
1617 pass compiler FLAGS when building debug library
1618 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1619 --enable-libstdcxx-debug
1620 build extra debug library [default=no]
1621 --enable-cxx-flags=FLAGS
1622 pass compiler FLAGS when building library [default=]
1623 --enable-fully-dynamic-string
1624 do not put empty strings in per-process static
1625 memory [default=no]
1626 --enable-extern-template
1627 enable extern template [default=yes]
1628 --enable-werror turns on -Werror [default=no]
1629 --enable-vtable-verify enable vtable verify [default=no]
1630 --enable-libstdcxx-time[=KIND]
1631 use KIND for check type [default=auto]
1632 --enable-tls Use thread-local storage [default=yes]
1633 --disable-rpath do not hardcode runtime library paths
1634 --enable-linux-futex use the Linux futex system call [default=default]
1635 --enable-symvers[=STYLE]
1636 enables symbol versioning of the shared library
1637 [default=yes]
1638 --enable-libstdcxx-visibility
1639 enables visibility safe usage [default=yes]
1640 --enable-libstdcxx-dual-abi
1641 support two versions of std::string [default=yes]
1642 --enable-libstdcxx-threads
1643 enable C++11 threads support [default=auto]
1644 --enable-libstdcxx-filesystem-ts
1645 turns on ISO/IEC TS 18822 support [default=auto]
1646 --enable-cet enable Intel CET in target libraries [default=no]
1647 --enable-version-specific-runtime-libs
1648 Specify that runtime libraries should be installed
1649 in a compiler-specific directory
1651 Optional Packages:
1652 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1653 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1654 --with-target-subdir=SUBDIR
1655 configuring in a subdirectory
1656 --with-cross-host=HOST configuring with a cross compiler
1657 --with-newlib assume newlib as a system C library
1658 --with-pic try to use only PIC/non-PIC objects [default=use
1659 both]
1660 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1661 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1662 synchronization policy for shared_ptr reference
1663 counting [default=auto]
1664 --with-python-dir the location to install Python modules. This path is
1665 relative starting from the prefix.
1666 --with-gnu-ld assume the C compiler uses GNU ld default=no
1667 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1668 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1669 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1670 --with-system-libunwind use installed libunwind
1671 --with-default-libstdcxx-abi
1672 set the std::string ABI to use by default
1673 --with-gxx-include-dir=DIR
1674 installation directory for include files
1675 --with-toolexeclibdir=DIR
1676 install libraries built with a cross compiler within
1678 --with-gcc-major-version-only
1679 use only GCC major number in filesystem paths
1681 Some influential environment variables:
1682 CC C compiler command
1683 CFLAGS C compiler flags
1684 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1685 nonstandard directory <lib dir>
1686 LIBS libraries to pass to the linker, e.g. -l<library>
1687 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1688 you have headers in a nonstandard directory <include dir>
1689 CXX C++ compiler command
1690 CXXFLAGS C++ compiler flags
1691 CPP C preprocessor
1692 CXXCPP C++ preprocessor
1693 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1694 `c++filt', `gc++filt' on PATH.
1696 Use these variables to override the choices made by `configure' or to help
1697 it to find libraries and programs with nonstandard names/locations.
1699 Report bugs to the package provider.
1700 _ACEOF
1701 ac_status=$?
1704 if test "$ac_init_help" = "recursive"; then
1705 # If there are subdirs, report their specific --help.
1706 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707 test -d "$ac_dir" ||
1708 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1709 continue
1710 ac_builddir=.
1712 case "$ac_dir" in
1713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1716 # A ".." for each directory in $ac_dir_suffix.
1717 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1718 case $ac_top_builddir_sub in
1719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1721 esac ;;
1722 esac
1723 ac_abs_top_builddir=$ac_pwd
1724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1725 # for backward compatibility:
1726 ac_top_builddir=$ac_top_build_prefix
1728 case $srcdir in
1729 .) # We are building in place.
1730 ac_srcdir=.
1731 ac_top_srcdir=$ac_top_builddir_sub
1732 ac_abs_top_srcdir=$ac_pwd ;;
1733 [\\/]* | ?:[\\/]* ) # Absolute name.
1734 ac_srcdir=$srcdir$ac_dir_suffix;
1735 ac_top_srcdir=$srcdir
1736 ac_abs_top_srcdir=$srcdir ;;
1737 *) # Relative name.
1738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1739 ac_top_srcdir=$ac_top_build_prefix$srcdir
1740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1741 esac
1742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1744 cd "$ac_dir" || { ac_status=$?; continue; }
1745 # Check for guested configure.
1746 if test -f "$ac_srcdir/configure.gnu"; then
1747 echo &&
1748 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1749 elif test -f "$ac_srcdir/configure"; then
1750 echo &&
1751 $SHELL "$ac_srcdir/configure" --help=recursive
1752 else
1753 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1754 fi || ac_status=$?
1755 cd "$ac_pwd" || { ac_status=$?; break; }
1756 done
1759 test -n "$ac_init_help" && exit $ac_status
1760 if $ac_init_version; then
1761 cat <<\_ACEOF
1762 package-unused configure version-unused
1763 generated by GNU Autoconf 2.69
1765 Copyright (C) 2012 Free Software Foundation, Inc.
1766 This configure script is free software; the Free Software Foundation
1767 gives unlimited permission to copy, distribute and modify it.
1768 _ACEOF
1769 exit
1772 ## ------------------------ ##
1773 ## Autoconf initialization. ##
1774 ## ------------------------ ##
1776 # ac_fn_c_try_compile LINENO
1777 # --------------------------
1778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_c_try_compile ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext
1783 if { { ac_try="$ac_compile"
1784 case "(($ac_try" in
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1787 esac
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_compile") 2>conftest.err
1791 ac_status=$?
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest.$ac_objext; then :
1802 ac_retval=0
1803 else
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1807 ac_retval=1
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 as_fn_set_status $ac_retval
1812 } # ac_fn_c_try_compile
1814 # ac_fn_cxx_try_compile LINENO
1815 # ----------------------------
1816 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_cxx_try_compile ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext
1821 if { { ac_try="$ac_compile"
1822 case "(($ac_try" in
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_compile") 2>conftest.err
1829 ac_status=$?
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_cxx_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest.$ac_objext; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status $ac_retval
1850 } # ac_fn_cxx_try_compile
1852 # ac_fn_c_try_cpp LINENO
1853 # ----------------------
1854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_c_try_cpp ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_cpp conftest.$ac_ext"
1859 case "(($ac_try" in
1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1862 esac
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866 ac_status=$?
1867 if test -s conftest.err; then
1868 grep -v '^ *+' conftest.err >conftest.er1
1869 cat conftest.er1 >&5
1870 mv -f conftest.er1 conftest.err
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } > conftest.i && {
1874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875 test ! -s conftest.err
1876 }; then :
1877 ac_retval=0
1878 else
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1882 ac_retval=1
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status $ac_retval
1887 } # ac_fn_c_try_cpp
1889 # ac_fn_c_try_link LINENO
1890 # -----------------------
1891 # Try to link conftest.$ac_ext, and return whether this succeeded.
1892 ac_fn_c_try_link ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 rm -f conftest.$ac_objext conftest$ac_exeext
1896 if { { ac_try="$ac_link"
1897 case "(($ac_try" in
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_link") 2>conftest.err
1904 ac_status=$?
1905 if test -s conftest.err; then
1906 grep -v '^ *+' conftest.err >conftest.er1
1907 cat conftest.er1 >&5
1908 mv -f conftest.er1 conftest.err
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; } && {
1912 test -z "$ac_c_werror_flag" ||
1913 test ! -s conftest.err
1914 } && test -s conftest$ac_exeext && {
1915 test "$cross_compiling" = yes ||
1916 test -x conftest$ac_exeext
1917 }; then :
1918 ac_retval=0
1919 else
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 ac_retval=1
1925 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1926 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1927 # interfere with the next link command; also delete a directory that is
1928 # left behind by Apple's compiler. We do this before executing the actions.
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 as_fn_set_status $ac_retval
1933 } # ac_fn_c_try_link
1935 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1936 # -------------------------------------------------------
1937 # Tests whether HEADER exists and can be compiled using the include files in
1938 # INCLUDES, setting the cache variable VAR accordingly.
1939 ac_fn_c_check_header_compile ()
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943 $as_echo_n "checking for $2... " >&6; }
1944 if eval \${$3+:} false; then :
1945 $as_echo_n "(cached) " >&6
1946 else
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1950 #include <$2>
1951 _ACEOF
1952 if ac_fn_c_try_compile "$LINENO"; then :
1953 eval "$3=yes"
1954 else
1955 eval "$3=no"
1957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1959 eval ac_res=\$$3
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_header_compile
1966 # ac_fn_c_try_run LINENO
1967 # ----------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969 # that executables *can* be run.
1970 ac_fn_c_try_run ()
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 if { { ac_try="$ac_link"
1974 case "(($ac_try" in
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1977 esac
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>&5
1981 ac_status=$?
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1984 { { case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_try") 2>&5
1991 ac_status=$?
1992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993 test $ac_status = 0; }; }; then :
1994 ac_retval=0
1995 else
1996 $as_echo "$as_me: program exited with status $ac_status" >&5
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2000 ac_retval=$ac_status
2002 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2006 } # ac_fn_c_try_run
2008 # ac_fn_c_check_func LINENO FUNC VAR
2009 # ----------------------------------
2010 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2011 ac_fn_c_check_func ()
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017 $as_echo_n "(cached) " >&6
2018 else
2019 if test x$gcc_no_link = xyes; then
2020 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2024 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2026 #define $2 innocuous_$2
2028 /* System header to define __stub macros and hopefully few prototypes,
2029 which can conflict with char $2 (); below.
2030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2031 <limits.h> exists even on freestanding compilers. */
2033 #ifdef __STDC__
2034 # include <limits.h>
2035 #else
2036 # include <assert.h>
2037 #endif
2039 #undef $2
2041 /* Override any GCC internal prototype to avoid an error.
2042 Use char because int might match the return type of a GCC
2043 builtin and then its argument prototype would still apply. */
2044 #ifdef __cplusplus
2045 extern "C"
2046 #endif
2047 char $2 ();
2048 /* The GNU C library defines this for functions which it implements
2049 to always fail with ENOSYS. Some functions are actually named
2050 something starting with __ and the normal name is an alias. */
2051 #if defined __stub_$2 || defined __stub___$2
2052 choke me
2053 #endif
2056 main ()
2058 return $2 ();
2060 return 0;
2062 _ACEOF
2063 if ac_fn_c_try_link "$LINENO"; then :
2064 eval "$3=yes"
2065 else
2066 eval "$3=no"
2068 rm -f core conftest.err conftest.$ac_objext \
2069 conftest$ac_exeext conftest.$ac_ext
2071 eval ac_res=\$$3
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_func
2078 # ac_fn_cxx_try_cpp LINENO
2079 # ------------------------
2080 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2081 ac_fn_cxx_try_cpp ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { { ac_try="$ac_cpp conftest.$ac_ext"
2085 case "(($ac_try" in
2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087 *) ac_try_echo=$ac_try;;
2088 esac
2089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2090 $as_echo "$ac_try_echo"; } >&5
2091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2092 ac_status=$?
2093 if test -s conftest.err; then
2094 grep -v '^ *+' conftest.err >conftest.er1
2095 cat conftest.er1 >&5
2096 mv -f conftest.er1 conftest.err
2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; } > conftest.i && {
2100 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2101 test ! -s conftest.err
2102 }; then :
2103 ac_retval=0
2104 else
2105 $as_echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2108 ac_retval=1
2110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111 as_fn_set_status $ac_retval
2113 } # ac_fn_cxx_try_cpp
2115 # ac_fn_cxx_try_link LINENO
2116 # -------------------------
2117 # Try to link conftest.$ac_ext, and return whether this succeeded.
2118 ac_fn_cxx_try_link ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 rm -f conftest.$ac_objext conftest$ac_exeext
2122 if { { ac_try="$ac_link"
2123 case "(($ac_try" in
2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125 *) ac_try_echo=$ac_try;;
2126 esac
2127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128 $as_echo "$ac_try_echo"; } >&5
2129 (eval "$ac_link") 2>conftest.err
2130 ac_status=$?
2131 if test -s conftest.err; then
2132 grep -v '^ *+' conftest.err >conftest.er1
2133 cat conftest.er1 >&5
2134 mv -f conftest.er1 conftest.err
2136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2137 test $ac_status = 0; } && {
2138 test -z "$ac_cxx_werror_flag" ||
2139 test ! -s conftest.err
2140 } && test -s conftest$ac_exeext && {
2141 test "$cross_compiling" = yes ||
2142 test -x conftest$ac_exeext
2143 }; then :
2144 ac_retval=0
2145 else
2146 $as_echo "$as_me: failed program was:" >&5
2147 sed 's/^/| /' conftest.$ac_ext >&5
2149 ac_retval=1
2151 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2152 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2153 # interfere with the next link command; also delete a directory that is
2154 # left behind by Apple's compiler. We do this before executing the actions.
2155 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2157 as_fn_set_status $ac_retval
2159 } # ac_fn_cxx_try_link
2161 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2162 # -------------------------------------------------------
2163 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2164 # the include files in INCLUDES and setting the cache variable VAR
2165 # accordingly.
2166 ac_fn_c_check_header_mongrel ()
2168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2169 if eval \${$3+:} false; then :
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171 $as_echo_n "checking for $2... " >&6; }
2172 if eval \${$3+:} false; then :
2173 $as_echo_n "(cached) " >&6
2175 eval ac_res=\$$3
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2178 else
2179 # Is the header compilable?
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2181 $as_echo_n "checking $2 usability... " >&6; }
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2185 #include <$2>
2186 _ACEOF
2187 if ac_fn_c_try_compile "$LINENO"; then :
2188 ac_header_compiler=yes
2189 else
2190 ac_header_compiler=no
2192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2194 $as_echo "$ac_header_compiler" >&6; }
2196 # Is the header present?
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2198 $as_echo_n "checking $2 presence... " >&6; }
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2201 #include <$2>
2202 _ACEOF
2203 if ac_fn_c_try_cpp "$LINENO"; then :
2204 ac_header_preproc=yes
2205 else
2206 ac_header_preproc=no
2208 rm -f conftest.err conftest.i conftest.$ac_ext
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2210 $as_echo "$ac_header_preproc" >&6; }
2212 # So? What about this header?
2213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2214 yes:no: )
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2216 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2218 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2220 no:yes:* )
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2222 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2224 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2226 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2228 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2230 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2232 esac
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2234 $as_echo_n "checking for $2... " >&6; }
2235 if eval \${$3+:} false; then :
2236 $as_echo_n "(cached) " >&6
2237 else
2238 eval "$3=\$ac_header_compiler"
2240 eval ac_res=\$$3
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242 $as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 } # ac_fn_c_check_header_mongrel
2248 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2249 # ---------------------------------------------------------
2250 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2251 # the include files in INCLUDES and setting the cache variable VAR
2252 # accordingly.
2253 ac_fn_cxx_check_header_mongrel ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 if eval \${$3+:} false; then :
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2258 $as_echo_n "checking for $2... " >&6; }
2259 if eval \${$3+:} false; then :
2260 $as_echo_n "(cached) " >&6
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2265 else
2266 # Is the header compilable?
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2268 $as_echo_n "checking $2 usability... " >&6; }
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2272 #include <$2>
2273 _ACEOF
2274 if ac_fn_cxx_try_compile "$LINENO"; then :
2275 ac_header_compiler=yes
2276 else
2277 ac_header_compiler=no
2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2281 $as_echo "$ac_header_compiler" >&6; }
2283 # Is the header present?
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2285 $as_echo_n "checking $2 presence... " >&6; }
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2288 #include <$2>
2289 _ACEOF
2290 if ac_fn_cxx_try_cpp "$LINENO"; then :
2291 ac_header_preproc=yes
2292 else
2293 ac_header_preproc=no
2295 rm -f conftest.err conftest.i conftest.$ac_ext
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2297 $as_echo "$ac_header_preproc" >&6; }
2299 # So? What about this header?
2300 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2301 yes:no: )
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2303 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2305 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2307 no:yes:* )
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2309 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2311 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2313 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2315 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2317 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2319 esac
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2321 $as_echo_n "checking for $2... " >&6; }
2322 if eval \${$3+:} false; then :
2323 $as_echo_n "(cached) " >&6
2324 else
2325 eval "$3=\$ac_header_compiler"
2327 eval ac_res=\$$3
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2329 $as_echo "$ac_res" >&6; }
2331 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333 } # ac_fn_cxx_check_header_mongrel
2335 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2336 # --------------------------------------------
2337 # Tries to find the compile-time value of EXPR in a program that includes
2338 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2339 # computed
2340 ac_fn_c_compute_int ()
2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343 if test "$cross_compiling" = yes; then
2344 # Depending upon the size, compute the lo and hi bounds.
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2349 main ()
2351 static int test_array [1 - 2 * !(($2) >= 0)];
2352 test_array [0] = 0;
2353 return test_array [0];
2356 return 0;
2358 _ACEOF
2359 if ac_fn_c_try_compile "$LINENO"; then :
2360 ac_lo=0 ac_mid=0
2361 while :; do
2362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363 /* end confdefs.h. */
2366 main ()
2368 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2369 test_array [0] = 0;
2370 return test_array [0];
2373 return 0;
2375 _ACEOF
2376 if ac_fn_c_try_compile "$LINENO"; then :
2377 ac_hi=$ac_mid; break
2378 else
2379 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2380 if test $ac_lo -le $ac_mid; then
2381 ac_lo= ac_hi=
2382 break
2384 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2387 done
2388 else
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2393 main ()
2395 static int test_array [1 - 2 * !(($2) < 0)];
2396 test_array [0] = 0;
2397 return test_array [0];
2400 return 0;
2402 _ACEOF
2403 if ac_fn_c_try_compile "$LINENO"; then :
2404 ac_hi=-1 ac_mid=-1
2405 while :; do
2406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h. */
2410 main ()
2412 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2413 test_array [0] = 0;
2414 return test_array [0];
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_compile "$LINENO"; then :
2421 ac_lo=$ac_mid; break
2422 else
2423 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2424 if test $ac_mid -le $ac_hi; then
2425 ac_lo= ac_hi=
2426 break
2428 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2431 done
2432 else
2433 ac_lo= ac_hi=
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 # Binary search between lo and hi bounds.
2439 while test "x$ac_lo" != "x$ac_hi"; do
2440 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2447 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2448 test_array [0] = 0;
2449 return test_array [0];
2452 return 0;
2454 _ACEOF
2455 if ac_fn_c_try_compile "$LINENO"; then :
2456 ac_hi=$ac_mid
2457 else
2458 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 done
2462 case $ac_lo in #((
2463 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2464 '') ac_retval=1 ;;
2465 esac
2466 else
2467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2470 static long int longval () { return $2; }
2471 static unsigned long int ulongval () { return $2; }
2472 #include <stdio.h>
2473 #include <stdlib.h>
2475 main ()
2478 FILE *f = fopen ("conftest.val", "w");
2479 if (! f)
2480 return 1;
2481 if (($2) < 0)
2483 long int i = longval ();
2484 if (i != ($2))
2485 return 1;
2486 fprintf (f, "%ld", i);
2488 else
2490 unsigned long int i = ulongval ();
2491 if (i != ($2))
2492 return 1;
2493 fprintf (f, "%lu", i);
2495 /* Do not output a trailing newline, as this causes \r\n confusion
2496 on some platforms. */
2497 return ferror (f) || fclose (f) != 0;
2500 return 0;
2502 _ACEOF
2503 if ac_fn_c_try_run "$LINENO"; then :
2504 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2505 else
2506 ac_retval=1
2508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2509 conftest.$ac_objext conftest.beam conftest.$ac_ext
2510 rm -f conftest.val
2513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514 as_fn_set_status $ac_retval
2516 } # ac_fn_c_compute_int
2518 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2519 # -------------------------------------------
2520 # Tests whether TYPE exists after having included INCLUDES, setting cache
2521 # variable VAR accordingly.
2522 ac_fn_c_check_type ()
2524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2526 $as_echo_n "checking for $2... " >&6; }
2527 if eval \${$3+:} false; then :
2528 $as_echo_n "(cached) " >&6
2529 else
2530 eval "$3=no"
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof ($2))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_c_try_compile "$LINENO"; then :
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h. */
2548 main ()
2550 if (sizeof (($2)))
2551 return 0;
2553 return 0;
2555 _ACEOF
2556 if ac_fn_c_try_compile "$LINENO"; then :
2558 else
2559 eval "$3=yes"
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2565 eval ac_res=\$$3
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567 $as_echo "$ac_res" >&6; }
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2570 } # ac_fn_c_check_type
2572 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2573 # ---------------------------------------------
2574 # Tests whether TYPE exists after having included INCLUDES, setting cache
2575 # variable VAR accordingly.
2576 ac_fn_cxx_check_type ()
2578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2580 $as_echo_n "checking for $2... " >&6; }
2581 if eval \${$3+:} false; then :
2582 $as_echo_n "(cached) " >&6
2583 else
2584 eval "$3=no"
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2589 main ()
2591 if (sizeof ($2))
2592 return 0;
2594 return 0;
2596 _ACEOF
2597 if ac_fn_cxx_try_compile "$LINENO"; then :
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2602 main ()
2604 if (sizeof (($2)))
2605 return 0;
2607 return 0;
2609 _ACEOF
2610 if ac_fn_cxx_try_compile "$LINENO"; then :
2612 else
2613 eval "$3=yes"
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2619 eval ac_res=\$$3
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2621 $as_echo "$ac_res" >&6; }
2622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624 } # ac_fn_cxx_check_type
2625 cat >config.log <<_ACEOF
2626 This file contains any messages produced by compilers while
2627 running configure, to aid debugging if configure makes a mistake.
2629 It was created by package-unused $as_me version-unused, which was
2630 generated by GNU Autoconf 2.69. Invocation command line was
2632 $ $0 $@
2634 _ACEOF
2635 exec 5>>config.log
2637 cat <<_ASUNAME
2638 ## --------- ##
2639 ## Platform. ##
2640 ## --------- ##
2642 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2643 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2644 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2645 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2646 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2648 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2649 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2651 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2652 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2653 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2654 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2655 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2656 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2657 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2659 _ASUNAME
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2664 IFS=$as_save_IFS
2665 test -z "$as_dir" && as_dir=.
2666 $as_echo "PATH: $as_dir"
2667 done
2668 IFS=$as_save_IFS
2670 } >&5
2672 cat >&5 <<_ACEOF
2675 ## ----------- ##
2676 ## Core tests. ##
2677 ## ----------- ##
2679 _ACEOF
2682 # Keep a trace of the command line.
2683 # Strip out --no-create and --no-recursion so they do not pile up.
2684 # Strip out --silent because we don't want to record it for future runs.
2685 # Also quote any args containing shell meta-characters.
2686 # Make two passes to allow for proper duplicate-argument suppression.
2687 ac_configure_args=
2688 ac_configure_args0=
2689 ac_configure_args1=
2690 ac_must_keep_next=false
2691 for ac_pass in 1 2
2693 for ac_arg
2695 case $ac_arg in
2696 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2698 | -silent | --silent | --silen | --sile | --sil)
2699 continue ;;
2700 *\'*)
2701 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2702 esac
2703 case $ac_pass in
2704 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2706 as_fn_append ac_configure_args1 " '$ac_arg'"
2707 if test $ac_must_keep_next = true; then
2708 ac_must_keep_next=false # Got value, back to normal.
2709 else
2710 case $ac_arg in
2711 *=* | --config-cache | -C | -disable-* | --disable-* \
2712 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2713 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2714 | -with-* | --with-* | -without-* | --without-* | --x)
2715 case "$ac_configure_args0 " in
2716 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2717 esac
2719 -* ) ac_must_keep_next=true ;;
2720 esac
2722 as_fn_append ac_configure_args " '$ac_arg'"
2724 esac
2725 done
2726 done
2727 { ac_configure_args0=; unset ac_configure_args0;}
2728 { ac_configure_args1=; unset ac_configure_args1;}
2730 # When interrupted or exit'd, cleanup temporary files, and complete
2731 # config.log. We remove comments because anyway the quotes in there
2732 # would cause problems or look ugly.
2733 # WARNING: Use '\'' to represent an apostrophe within the trap.
2734 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2735 trap 'exit_status=$?
2736 # Save into config.log some information that might help in debugging.
2738 echo
2740 $as_echo "## ---------------- ##
2741 ## Cache variables. ##
2742 ## ---------------- ##"
2743 echo
2744 # The following way of writing the cache mishandles newlines in values,
2746 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2747 eval ac_val=\$$ac_var
2748 case $ac_val in #(
2749 *${as_nl}*)
2750 case $ac_var in #(
2751 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2752 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2753 esac
2754 case $ac_var in #(
2755 _ | IFS | as_nl) ;; #(
2756 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2757 *) { eval $ac_var=; unset $ac_var;} ;;
2758 esac ;;
2759 esac
2760 done
2761 (set) 2>&1 |
2762 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2763 *${as_nl}ac_space=\ *)
2764 sed -n \
2765 "s/'\''/'\''\\\\'\'''\''/g;
2766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2767 ;; #(
2769 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2771 esac |
2772 sort
2774 echo
2776 $as_echo "## ----------------- ##
2777 ## Output variables. ##
2778 ## ----------------- ##"
2779 echo
2780 for ac_var in $ac_subst_vars
2782 eval ac_val=\$$ac_var
2783 case $ac_val in
2784 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2785 esac
2786 $as_echo "$ac_var='\''$ac_val'\''"
2787 done | sort
2788 echo
2790 if test -n "$ac_subst_files"; then
2791 $as_echo "## ------------------- ##
2792 ## File substitutions. ##
2793 ## ------------------- ##"
2794 echo
2795 for ac_var in $ac_subst_files
2797 eval ac_val=\$$ac_var
2798 case $ac_val in
2799 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2800 esac
2801 $as_echo "$ac_var='\''$ac_val'\''"
2802 done | sort
2803 echo
2806 if test -s confdefs.h; then
2807 $as_echo "## ----------- ##
2808 ## confdefs.h. ##
2809 ## ----------- ##"
2810 echo
2811 cat confdefs.h
2812 echo
2814 test "$ac_signal" != 0 &&
2815 $as_echo "$as_me: caught signal $ac_signal"
2816 $as_echo "$as_me: exit $exit_status"
2817 } >&5
2818 rm -f core *.core core.conftest.* &&
2819 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2820 exit $exit_status
2822 for ac_signal in 1 2 13 15; do
2823 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2824 done
2825 ac_signal=0
2827 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2828 rm -f -r conftest* confdefs.h
2830 $as_echo "/* confdefs.h */" > confdefs.h
2832 # Predefined preprocessor variables.
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_NAME "$PACKAGE_NAME"
2836 _ACEOF
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2840 _ACEOF
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2844 _ACEOF
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_STRING "$PACKAGE_STRING"
2848 _ACEOF
2850 cat >>confdefs.h <<_ACEOF
2851 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2852 _ACEOF
2854 cat >>confdefs.h <<_ACEOF
2855 #define PACKAGE_URL "$PACKAGE_URL"
2856 _ACEOF
2859 # Let the site file select an alternate cache file if it wants to.
2860 # Prefer an explicitly selected file to automatically selected ones.
2861 ac_site_file1=NONE
2862 ac_site_file2=NONE
2863 if test -n "$CONFIG_SITE"; then
2864 # We do not want a PATH search for config.site.
2865 case $CONFIG_SITE in #((
2866 -*) ac_site_file1=./$CONFIG_SITE;;
2867 */*) ac_site_file1=$CONFIG_SITE;;
2868 *) ac_site_file1=./$CONFIG_SITE;;
2869 esac
2870 elif test "x$prefix" != xNONE; then
2871 ac_site_file1=$prefix/share/config.site
2872 ac_site_file2=$prefix/etc/config.site
2873 else
2874 ac_site_file1=$ac_default_prefix/share/config.site
2875 ac_site_file2=$ac_default_prefix/etc/config.site
2877 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2879 test "x$ac_site_file" = xNONE && continue
2880 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2882 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2883 sed 's/^/| /' "$ac_site_file" >&5
2884 . "$ac_site_file" \
2885 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2887 as_fn_error $? "failed to load site script $ac_site_file
2888 See \`config.log' for more details" "$LINENO" 5; }
2890 done
2892 if test -r "$cache_file"; then
2893 # Some versions of bash will fail to source /dev/null (special files
2894 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2895 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2897 $as_echo "$as_me: loading cache $cache_file" >&6;}
2898 case $cache_file in
2899 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2900 *) . "./$cache_file";;
2901 esac
2903 else
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2905 $as_echo "$as_me: creating cache $cache_file" >&6;}
2906 >$cache_file
2909 # Check that the precious variables saved in the cache have kept the same
2910 # value.
2911 ac_cache_corrupted=false
2912 for ac_var in $ac_precious_vars; do
2913 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2914 eval ac_new_set=\$ac_env_${ac_var}_set
2915 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2916 eval ac_new_val=\$ac_env_${ac_var}_value
2917 case $ac_old_set,$ac_new_set in
2918 set,)
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2920 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2921 ac_cache_corrupted=: ;;
2922 ,set)
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2924 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2925 ac_cache_corrupted=: ;;
2926 ,);;
2928 if test "x$ac_old_val" != "x$ac_new_val"; then
2929 # differences in whitespace do not lead to failure.
2930 ac_old_val_w=`echo x $ac_old_val`
2931 ac_new_val_w=`echo x $ac_new_val`
2932 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2934 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2935 ac_cache_corrupted=:
2936 else
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2938 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2939 eval $ac_var=\$ac_old_val
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2942 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2944 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2945 fi;;
2946 esac
2947 # Pass precious variables to config.status.
2948 if test "$ac_new_set" = set; then
2949 case $ac_new_val in
2950 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2951 *) ac_arg=$ac_var=$ac_new_val ;;
2952 esac
2953 case " $ac_configure_args " in
2954 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2955 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2956 esac
2958 done
2959 if $ac_cache_corrupted; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2963 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2964 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2966 ## -------------------- ##
2967 ## Main body of script. ##
2968 ## -------------------- ##
2970 ac_ext=c
2971 ac_cpp='$CPP $CPPFLAGS'
2972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 ac_config_headers="$ac_config_headers config.h"
2984 # This works around the fact that libtool configuration may change LD
2985 # for this particular configuration, but some shells, instead of
2986 # keeping the changes in LD private, export them just because LD is
2987 # exported. Only used at the end of this file.
2988 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2990 # Find the rest of the source tree framework.
2991 # Default to --enable-multilib
2992 # Check whether --enable-multilib was given.
2993 if test "${enable_multilib+set}" = set; then :
2994 enableval=$enable_multilib; case "$enableval" in
2995 yes) multilib=yes ;;
2996 no) multilib=no ;;
2997 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2998 esac
2999 else
3000 multilib=yes
3004 # We may get other options which we leave undocumented:
3005 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3006 # See config-ml.in if you want the gory details.
3008 if test "$srcdir" = "."; then
3009 if test "$with_target_subdir" != "."; then
3010 multi_basedir="$srcdir/$with_multisrctop../.."
3011 else
3012 multi_basedir="$srcdir/$with_multisrctop.."
3014 else
3015 multi_basedir="$srcdir/.."
3019 # Even if the default multilib is not a cross compilation,
3020 # it may be that some of the other multilibs are.
3021 if test $cross_compiling = no && test $multilib = yes \
3022 && test "x${with_multisubdir}" != x ; then
3023 cross_compiling=maybe
3026 ac_config_commands="$ac_config_commands default-1"
3029 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3031 # You will slowly go insane if you do not grok the following fact: when
3032 # building v3 as part of the compiler, the top-level /target/ becomes the
3033 # library's /host/. configure then causes --target to default to --host,
3034 # exactly like any other package using autoconf. Therefore, 'target' and
3035 # 'host' will always be the same. This makes sense both for native and
3036 # cross compilers, just think about it for a little while. :-)
3038 # Also, if v3 is being configured as part of a cross compiler, the top-level
3039 # configure script will pass the "real" host as $with_cross_host.
3041 # Do not delete or change the following two lines. For why, see
3042 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3043 ac_aux_dir=
3044 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3045 if test -f "$ac_dir/install-sh"; then
3046 ac_aux_dir=$ac_dir
3047 ac_install_sh="$ac_aux_dir/install-sh -c"
3048 break
3049 elif test -f "$ac_dir/install.sh"; then
3050 ac_aux_dir=$ac_dir
3051 ac_install_sh="$ac_aux_dir/install.sh -c"
3052 break
3053 elif test -f "$ac_dir/shtool"; then
3054 ac_aux_dir=$ac_dir
3055 ac_install_sh="$ac_aux_dir/shtool install -c"
3056 break
3058 done
3059 if test -z "$ac_aux_dir"; then
3060 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3063 # These three variables are undocumented and unsupported,
3064 # and are intended to be withdrawn in a future Autoconf release.
3065 # They can cause serious problems if a builder's source tree is in a directory
3066 # whose full name contains unusual characters.
3067 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3068 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3069 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3072 # Make sure we can run config.sub.
3073 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3074 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3077 $as_echo_n "checking build system type... " >&6; }
3078 if ${ac_cv_build+:} false; then :
3079 $as_echo_n "(cached) " >&6
3080 else
3081 ac_build_alias=$build_alias
3082 test "x$ac_build_alias" = x &&
3083 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3084 test "x$ac_build_alias" = x &&
3085 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3086 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3087 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3091 $as_echo "$ac_cv_build" >&6; }
3092 case $ac_cv_build in
3093 *-*-*) ;;
3094 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3095 esac
3096 build=$ac_cv_build
3097 ac_save_IFS=$IFS; IFS='-'
3098 set x $ac_cv_build
3099 shift
3100 build_cpu=$1
3101 build_vendor=$2
3102 shift; shift
3103 # Remember, the first character of IFS is used to create $*,
3104 # except with old shells:
3105 build_os=$*
3106 IFS=$ac_save_IFS
3107 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3111 $as_echo_n "checking host system type... " >&6; }
3112 if ${ac_cv_host+:} false; then :
3113 $as_echo_n "(cached) " >&6
3114 else
3115 if test "x$host_alias" = x; then
3116 ac_cv_host=$ac_cv_build
3117 else
3118 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3124 $as_echo "$ac_cv_host" >&6; }
3125 case $ac_cv_host in
3126 *-*-*) ;;
3127 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3128 esac
3129 host=$ac_cv_host
3130 ac_save_IFS=$IFS; IFS='-'
3131 set x $ac_cv_host
3132 shift
3133 host_cpu=$1
3134 host_vendor=$2
3135 shift; shift
3136 # Remember, the first character of IFS is used to create $*,
3137 # except with old shells:
3138 host_os=$*
3139 IFS=$ac_save_IFS
3140 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3144 $as_echo_n "checking target system type... " >&6; }
3145 if ${ac_cv_target+:} false; then :
3146 $as_echo_n "(cached) " >&6
3147 else
3148 if test "x$target_alias" = x; then
3149 ac_cv_target=$ac_cv_host
3150 else
3151 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3152 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3157 $as_echo "$ac_cv_target" >&6; }
3158 case $ac_cv_target in
3159 *-*-*) ;;
3160 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3161 esac
3162 target=$ac_cv_target
3163 ac_save_IFS=$IFS; IFS='-'
3164 set x $ac_cv_target
3165 shift
3166 target_cpu=$1
3167 target_vendor=$2
3168 shift; shift
3169 # Remember, the first character of IFS is used to create $*,
3170 # except with old shells:
3171 target_os=$*
3172 IFS=$ac_save_IFS
3173 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3176 # The aliases save the names the user supplied, while $host etc.
3177 # will get canonicalized.
3178 test -n "$target_alias" &&
3179 test "$program_prefix$program_suffix$program_transform_name" = \
3180 NONENONEs,x,x, &&
3181 program_prefix=${target_alias}-
3183 target_alias=${target_alias-$host_alias}
3185 # Handy for debugging:
3186 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3188 if test "$build" != "$host"; then
3189 # We are being configured with some form of cross compiler.
3190 GLIBCXX_IS_NATIVE=false
3191 case "$host","$target" in
3192 # Darwin crosses can use the host system's libraries and headers,
3193 # because of the fat library support. Of course, it must be the
3194 # same version of Darwin on both sides. Allow the user to
3195 # just say --target=foo-darwin without a version number to mean
3196 # "the version on this system".
3197 *-*-darwin*,*-*-darwin*)
3198 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3199 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3200 if test $hostos = $targetos -o $targetos = darwin ; then
3201 GLIBCXX_IS_NATIVE=true
3208 esac
3209 else
3210 GLIBCXX_IS_NATIVE=true
3213 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3214 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3215 # 1.x: minimum required version
3216 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3217 # of other PACKAGE_* variables will, however, and there's nothing
3218 # we can do about that; they come from AC_INIT).
3219 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3220 # file in the top srcdir, etc, etc), so stop complaining.
3221 # no-dependencies: turns off auto dependency generation (just for now)
3222 # no-dist: we don't want 'dist' and related rules.
3223 # -Wall: turns on all automake warnings...
3224 # -Wno-portability: ...except this one, since GNU make is now required.
3225 am__api_version='1.15'
3227 # Find a good install program. We prefer a C program (faster),
3228 # so one script is as good as another. But avoid the broken or
3229 # incompatible versions:
3230 # SysV /etc/install, /usr/sbin/install
3231 # SunOS /usr/etc/install
3232 # IRIX /sbin/install
3233 # AIX /bin/install
3234 # AmigaOS /C/install, which installs bootblocks on floppy discs
3235 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3236 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3237 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3238 # OS/2's system install, which has a completely different semantic
3239 # ./install, which can be erroneously created by make from ./install.sh.
3240 # Reject install programs that cannot install multiple files.
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3242 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3243 if test -z "$INSTALL"; then
3244 if ${ac_cv_path_install+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248 for as_dir in $PATH
3250 IFS=$as_save_IFS
3251 test -z "$as_dir" && as_dir=.
3252 # Account for people who put trailing slashes in PATH elements.
3253 case $as_dir/ in #((
3254 ./ | .// | /[cC]/* | \
3255 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3256 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3257 /usr/ucb/* ) ;;
3259 # OSF1 and SCO ODT 3.0 have their own names for install.
3260 # Don't use installbsd from OSF since it installs stuff as root
3261 # by default.
3262 for ac_prog in ginstall scoinst install; do
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3265 if test $ac_prog = install &&
3266 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3267 # AIX install. It has an incompatible calling convention.
3269 elif test $ac_prog = install &&
3270 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3271 # program-specific install script used by HP pwplus--don't use.
3273 else
3274 rm -rf conftest.one conftest.two conftest.dir
3275 echo one > conftest.one
3276 echo two > conftest.two
3277 mkdir conftest.dir
3278 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3279 test -s conftest.one && test -s conftest.two &&
3280 test -s conftest.dir/conftest.one &&
3281 test -s conftest.dir/conftest.two
3282 then
3283 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3284 break 3
3288 done
3289 done
3291 esac
3293 done
3294 IFS=$as_save_IFS
3296 rm -rf conftest.one conftest.two conftest.dir
3299 if test "${ac_cv_path_install+set}" = set; then
3300 INSTALL=$ac_cv_path_install
3301 else
3302 # As a last resort, use the slow shell script. Don't cache a
3303 # value for INSTALL within a source directory, because that will
3304 # break other packages using the cache if that directory is
3305 # removed, or if the value is a relative name.
3306 INSTALL=$ac_install_sh
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3310 $as_echo "$INSTALL" >&6; }
3312 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3313 # It thinks the first close brace ends the variable substitution.
3314 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3316 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3318 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3321 $as_echo_n "checking whether build environment is sane... " >&6; }
3322 # Reject unsafe characters in $srcdir or the absolute working directory
3323 # name. Accept space and tab only in the latter.
3324 am_lf='
3326 case `pwd` in
3327 *[\\\"\#\$\&\'\`$am_lf]*)
3328 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3329 esac
3330 case $srcdir in
3331 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3332 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3333 esac
3335 # Do 'set' in a subshell so we don't clobber the current shell's
3336 # arguments. Must try -L first in case configure is actually a
3337 # symlink; some systems play weird games with the mod time of symlinks
3338 # (eg FreeBSD returns the mod time of the symlink's containing
3339 # directory).
3340 if (
3341 am_has_slept=no
3342 for am_try in 1 2; do
3343 echo "timestamp, slept: $am_has_slept" > conftest.file
3344 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3345 if test "$*" = "X"; then
3346 # -L didn't work.
3347 set X `ls -t "$srcdir/configure" conftest.file`
3349 if test "$*" != "X $srcdir/configure conftest.file" \
3350 && test "$*" != "X conftest.file $srcdir/configure"; then
3352 # If neither matched, then we have a broken ls. This can happen
3353 # if, for instance, CONFIG_SHELL is bash and it inherits a
3354 # broken ls alias from the environment. This has actually
3355 # happened. Such a system could not be considered "sane".
3356 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3357 alias in your environment" "$LINENO" 5
3359 if test "$2" = conftest.file || test $am_try -eq 2; then
3360 break
3362 # Just in case.
3363 sleep 1
3364 am_has_slept=yes
3365 done
3366 test "$2" = conftest.file
3368 then
3369 # Ok.
3371 else
3372 as_fn_error $? "newly created file is older than distributed files!
3373 Check your system clock" "$LINENO" 5
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3376 $as_echo "yes" >&6; }
3377 # If we didn't sleep, we still need to ensure time stamps of config.status and
3378 # generated files are strictly newer.
3379 am_sleep_pid=
3380 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3381 ( sleep 1 ) &
3382 am_sleep_pid=$!
3385 rm -f conftest.file
3387 test "$program_prefix" != NONE &&
3388 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3389 # Use a double $ so make ignores it.
3390 test "$program_suffix" != NONE &&
3391 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3392 # Double any \ or $.
3393 # By default was `s,x,x', remove it if useless.
3394 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3395 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3397 # Expand $ac_aux_dir to an absolute path.
3398 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3400 if test x"${MISSING+set}" != xset; then
3401 case $am_aux_dir in
3402 *\ * | *\ *)
3403 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3405 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3406 esac
3408 # Use eval to expand $SHELL
3409 if eval "$MISSING --is-lightweight"; then
3410 am_missing_run="$MISSING "
3411 else
3412 am_missing_run=
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3414 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3417 if test x"${install_sh+set}" != xset; then
3418 case $am_aux_dir in
3419 *\ * | *\ *)
3420 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3422 install_sh="\${SHELL} $am_aux_dir/install-sh"
3423 esac
3426 # Installed binaries are usually stripped using 'strip' when the user
3427 # run "make install-strip". However 'strip' might not be the right
3428 # tool to use in cross-compilation environments, therefore Automake
3429 # will honor the 'STRIP' environment variable to overrule this program.
3430 if test "$cross_compiling" != no; then
3431 if test -n "$ac_tool_prefix"; then
3432 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3433 set dummy ${ac_tool_prefix}strip; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_STRIP+:} false; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 if test -n "$STRIP"; then
3440 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3441 else
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3443 for as_dir in $PATH
3445 IFS=$as_save_IFS
3446 test -z "$as_dir" && as_dir=.
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3449 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 break 2
3453 done
3454 done
3455 IFS=$as_save_IFS
3459 STRIP=$ac_cv_prog_STRIP
3460 if test -n "$STRIP"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3462 $as_echo "$STRIP" >&6; }
3463 else
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3470 if test -z "$ac_cv_prog_STRIP"; then
3471 ac_ct_STRIP=$STRIP
3472 # Extract the first word of "strip", so it can be a program name with args.
3473 set dummy strip; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 if test -n "$ac_ct_STRIP"; then
3480 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3481 else
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3485 IFS=$as_save_IFS
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489 ac_cv_prog_ac_ct_STRIP="strip"
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 break 2
3493 done
3494 done
3495 IFS=$as_save_IFS
3499 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3500 if test -n "$ac_ct_STRIP"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3502 $as_echo "$ac_ct_STRIP" >&6; }
3503 else
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3508 if test "x$ac_ct_STRIP" = x; then
3509 STRIP=":"
3510 else
3511 case $cross_compiling:$ac_tool_warned in
3512 yes:)
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3515 ac_tool_warned=yes ;;
3516 esac
3517 STRIP=$ac_ct_STRIP
3519 else
3520 STRIP="$ac_cv_prog_STRIP"
3524 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3527 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3528 if test -z "$MKDIR_P"; then
3529 if ${ac_cv_path_mkdir+:} false; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 for ac_prog in mkdir gmkdir; do
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3540 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3541 'mkdir (GNU coreutils) '* | \
3542 'mkdir (coreutils) '* | \
3543 'mkdir (fileutils) '4.1*)
3544 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3545 break 3;;
3546 esac
3547 done
3548 done
3549 done
3550 IFS=$as_save_IFS
3554 test -d ./--version && rmdir ./--version
3555 if test "${ac_cv_path_mkdir+set}" = set; then
3556 MKDIR_P="$ac_cv_path_mkdir -p"
3557 else
3558 # As a last resort, use the slow shell script. Don't cache a
3559 # value for MKDIR_P within a source directory, because that will
3560 # break other packages using the cache if that directory is
3561 # removed, or if the value is a relative name.
3562 MKDIR_P="$ac_install_sh -d"
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3566 $as_echo "$MKDIR_P" >&6; }
3568 for ac_prog in gawk mawk nawk awk
3570 # Extract the first word of "$ac_prog", so it can be a program name with args.
3571 set dummy $ac_prog; 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_AWK+:} false; then :
3575 $as_echo_n "(cached) " >&6
3576 else
3577 if test -n "$AWK"; then
3578 ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
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 AWK=$ac_cv_prog_AWK
3598 if test -n "$AWK"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3600 $as_echo "$AWK" >&6; }
3601 else
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3607 test -n "$AWK" && break
3608 done
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3611 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3612 set x ${MAKE-make}
3613 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3614 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 cat >conftest.make <<\_ACEOF
3618 SHELL = /bin/sh
3619 all:
3620 @echo '@@@%%%=$(MAKE)=@@@%%%'
3621 _ACEOF
3622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3623 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3624 *@@@%%%=?*=@@@%%%*)
3625 eval ac_cv_prog_make_${ac_make}_set=yes;;
3627 eval ac_cv_prog_make_${ac_make}_set=no;;
3628 esac
3629 rm -f conftest.make
3631 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633 $as_echo "yes" >&6; }
3634 SET_MAKE=
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3638 SET_MAKE="MAKE=${MAKE-make}"
3641 rm -rf .tst 2>/dev/null
3642 mkdir .tst 2>/dev/null
3643 if test -d .tst; then
3644 am__leading_dot=.
3645 else
3646 am__leading_dot=_
3648 rmdir .tst 2>/dev/null
3650 # Check whether --enable-silent-rules was given.
3651 if test "${enable_silent_rules+set}" = set; then :
3652 enableval=$enable_silent_rules;
3655 case $enable_silent_rules in # (((
3656 yes) AM_DEFAULT_VERBOSITY=0;;
3657 no) AM_DEFAULT_VERBOSITY=1;;
3658 *) AM_DEFAULT_VERBOSITY=1;;
3659 esac
3660 am_make=${MAKE-make}
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3662 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3663 if ${am_cv_make_support_nested_variables+:} false; then :
3664 $as_echo_n "(cached) " >&6
3665 else
3666 if $as_echo 'TRUE=$(BAR$(V))
3667 BAR0=false
3668 BAR1=true
3670 am__doit:
3671 @$(TRUE)
3672 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3673 am_cv_make_support_nested_variables=yes
3674 else
3675 am_cv_make_support_nested_variables=no
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3679 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3680 if test $am_cv_make_support_nested_variables = yes; then
3681 AM_V='$(V)'
3682 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3683 else
3684 AM_V=$AM_DEFAULT_VERBOSITY
3685 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3687 AM_BACKSLASH='\'
3689 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3690 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3691 # is not polluted with repeated "-I."
3692 am__isrc=' -I$(srcdir)'
3693 # test to see if srcdir already configured
3694 if test -f $srcdir/config.status; then
3695 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3699 # test whether we have cygpath
3700 if test -z "$CYGPATH_W"; then
3701 if (cygpath --version) >/dev/null 2>/dev/null; then
3702 CYGPATH_W='cygpath -w'
3703 else
3704 CYGPATH_W=echo
3709 # Define the identity of the package.
3710 PACKAGE='libstdc++'
3711 VERSION='version-unused'
3714 # Some tools Automake needs.
3716 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3719 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3722 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3725 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3728 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3730 # For better backward compatibility. To be removed once Automake 1.9.x
3731 # dies out for good. For more background, see:
3732 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3733 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3734 mkdir_p='$(MKDIR_P)'
3736 # We need awk for the "check" target (and possibly the TAP driver). The
3737 # system "awk" is bad on some platforms.
3738 # Always define AMTAR for backward compatibility. Yes, it's still used
3739 # in the wild :-( We should find a proper way to deprecate it ...
3740 AMTAR='$${TAR-tar}'
3743 # We'll loop over all known methods to create a tar archive until one works.
3744 _am_tools='gnutar pax cpio none'
3746 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3753 # POSIX will say in a future version that running "rm -f" with no argument
3754 # is OK; and we want to be able to make that assumption in our Makefile
3755 # recipes. So use an aggressive probe to check that the usage we want is
3756 # actually supported "in the wild" to an acceptable degree.
3757 # See automake bug#10828.
3758 # To make any issue more visible, cause the running configure to be aborted
3759 # by default if the 'rm' program in use doesn't match our expectations; the
3760 # user can still override this though.
3761 if rm -f && rm -fr && rm -rf; then : OK; else
3762 cat >&2 <<'END'
3763 Oops!
3765 Your 'rm' program seems unable to run without file operands specified
3766 on the command line, even when the '-f' option is present. This is contrary
3767 to the behaviour of most rm programs out there, and not conforming with
3768 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3770 Please tell bug-automake@gnu.org about your system, including the value
3771 of your $PATH and any error possibly output before this message. This
3772 can help us improve future automake versions.
3775 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3776 echo 'Configuration will proceed anyway, since you have set the' >&2
3777 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3778 echo >&2
3779 else
3780 cat >&2 <<'END'
3781 Aborting the configuration process, to ensure you take notice of the issue.
3783 You can download and install GNU coreutils to get an 'rm' implementation
3784 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3786 If you want to complete the configuration process using your problematic
3787 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3788 to "yes", and re-run configure.
3791 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3798 # -fno-builtin must be present here so that a non-conflicting form of
3799 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3801 save_CXXFLAGS="$CXXFLAGS"
3802 CXXFLAGS="$CXXFLAGS -fno-builtin"
3803 ac_ext=c
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 if test -n "$ac_tool_prefix"; then
3809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3810 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if ${ac_cv_prog_CC+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815 else
3816 if test -n "$CC"; then
3817 ac_cv_prog_CC="$CC" # Let the user override the test.
3818 else
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3822 IFS=$as_save_IFS
3823 test -z "$as_dir" && as_dir=.
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 break 2
3830 done
3831 done
3832 IFS=$as_save_IFS
3836 CC=$ac_cv_prog_CC
3837 if test -n "$CC"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3839 $as_echo "$CC" >&6; }
3840 else
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3847 if test -z "$ac_cv_prog_CC"; then
3848 ac_ct_CC=$CC
3849 # Extract the first word of "gcc", so it can be a program name with args.
3850 set dummy gcc; ac_word=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
3856 if test -n "$ac_ct_CC"; then
3857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3858 else
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3862 IFS=$as_save_IFS
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 ac_cv_prog_ac_ct_CC="gcc"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 break 2
3870 done
3871 done
3872 IFS=$as_save_IFS
3876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3877 if test -n "$ac_ct_CC"; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3879 $as_echo "$ac_ct_CC" >&6; }
3880 else
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3885 if test "x$ac_ct_CC" = x; then
3886 CC=""
3887 else
3888 case $cross_compiling:$ac_tool_warned in
3889 yes:)
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892 ac_tool_warned=yes ;;
3893 esac
3894 CC=$ac_ct_CC
3896 else
3897 CC="$ac_cv_prog_CC"
3900 if test -z "$CC"; then
3901 if test -n "$ac_tool_prefix"; then
3902 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3903 set dummy ${ac_tool_prefix}cc; ac_word=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_CC+:} false; then :
3907 $as_echo_n "(cached) " >&6
3908 else
3909 if test -n "$CC"; then
3910 ac_cv_prog_CC="$CC" # Let the user override the test.
3911 else
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 for as_dir in $PATH
3915 IFS=$as_save_IFS
3916 test -z "$as_dir" && as_dir=.
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_CC="${ac_tool_prefix}cc"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 break 2
3923 done
3924 done
3925 IFS=$as_save_IFS
3929 CC=$ac_cv_prog_CC
3930 if test -n "$CC"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932 $as_echo "$CC" >&6; }
3933 else
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3941 if test -z "$CC"; then
3942 # Extract the first word of "cc", so it can be a program name with args.
3943 set dummy cc; ac_word=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_CC+:} false; then :
3947 $as_echo_n "(cached) " >&6
3948 else
3949 if test -n "$CC"; then
3950 ac_cv_prog_CC="$CC" # Let the user override the test.
3951 else
3952 ac_prog_rejected=no
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 for as_dir in $PATH
3956 IFS=$as_save_IFS
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3960 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3961 ac_prog_rejected=yes
3962 continue
3964 ac_cv_prog_CC="cc"
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
3972 if test $ac_prog_rejected = yes; then
3973 # We found a bogon in the path, so make sure we never use it.
3974 set dummy $ac_cv_prog_CC
3975 shift
3976 if test $# != 0; then
3977 # We chose a different compiler from the bogus one.
3978 # However, it has the same basename, so the bogon will be chosen
3979 # first if we set CC to just the basename; use the full file name.
3980 shift
3981 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3986 CC=$ac_cv_prog_CC
3987 if test -n "$CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3989 $as_echo "$CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3997 if test -z "$CC"; then
3998 if test -n "$ac_tool_prefix"; then
3999 for ac_prog in cl.exe
4001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 $as_echo_n "checking for $ac_word... " >&6; }
4005 if ${ac_cv_prog_CC+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 if test -n "$CC"; then
4009 ac_cv_prog_CC="$CC" # Let the user override the test.
4010 else
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4018 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 break 2
4022 done
4023 done
4024 IFS=$as_save_IFS
4028 CC=$ac_cv_prog_CC
4029 if test -n "$CC"; then
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4031 $as_echo "$CC" >&6; }
4032 else
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034 $as_echo "no" >&6; }
4038 test -n "$CC" && break
4039 done
4041 if test -z "$CC"; then
4042 ac_ct_CC=$CC
4043 for ac_prog in cl.exe
4045 # Extract the first word of "$ac_prog", so it can be a program name with args.
4046 set dummy $ac_prog; ac_word=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4050 $as_echo_n "(cached) " >&6
4051 else
4052 if test -n "$ac_ct_CC"; then
4053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4054 else
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4058 IFS=$as_save_IFS
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_ac_ct_CC="$ac_prog"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 break 2
4066 done
4067 done
4068 IFS=$as_save_IFS
4072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4073 if test -n "$ac_ct_CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4075 $as_echo "$ac_ct_CC" >&6; }
4076 else
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4082 test -n "$ac_ct_CC" && break
4083 done
4085 if test "x$ac_ct_CC" = x; then
4086 CC=""
4087 else
4088 case $cross_compiling:$ac_tool_warned in
4089 yes:)
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4092 ac_tool_warned=yes ;;
4093 esac
4094 CC=$ac_ct_CC
4101 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error $? "no acceptable C compiler found in \$PATH
4104 See \`config.log' for more details" "$LINENO" 5; }
4106 # Provide some information about the compiler.
4107 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4108 set X $ac_compile
4109 ac_compiler=$2
4110 for ac_option in --version -v -V -qversion; do
4111 { { ac_try="$ac_compiler $ac_option >&5"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4119 ac_status=$?
4120 if test -s conftest.err; then
4121 sed '10a\
4122 ... rest of stderr output deleted ...
4123 10q' conftest.err >conftest.er1
4124 cat conftest.er1 >&5
4126 rm -f conftest.er1 conftest.err
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }
4129 done
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4133 #include <stdio.h>
4135 main ()
4137 printf ("hello world\n");
4139 return 0;
4141 _ACEOF
4142 # FIXME: Cleanup?
4143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4144 (eval $ac_link) 2>&5
4145 ac_status=$?
4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147 test $ac_status = 0; }; then :
4148 gcc_no_link=no
4149 else
4150 gcc_no_link=yes
4152 if test x$gcc_no_link = xyes; then
4153 # Setting cross_compile will disable run tests; it will
4154 # also disable AC_CHECK_FILE but that's generally
4155 # correct if we can't link.
4156 cross_compiling=yes
4157 EXEEXT=
4158 else
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 ac_clean_files_save=$ac_clean_files
4171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4172 # Try to create an executable without -o first, disregard a.out.
4173 # It will help us diagnose broken compilers, and finding out an intuition
4174 # of exeext.
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4176 $as_echo_n "checking whether the C compiler works... " >&6; }
4177 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4179 # The possible output files:
4180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4182 ac_rmfiles=
4183 for ac_file in $ac_files
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4188 esac
4189 done
4190 rm -f $ac_rmfiles
4192 if { { ac_try="$ac_link_default"
4193 case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196 esac
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 $as_echo "$ac_try_echo"; } >&5
4199 (eval "$ac_link_default") 2>&5
4200 ac_status=$?
4201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202 test $ac_status = 0; }; then :
4203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4206 # so that the user can short-circuit this test for compilers unknown to
4207 # Autoconf.
4208 for ac_file in $ac_files ''
4210 test -f "$ac_file" || continue
4211 case $ac_file in
4212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4214 [ab].out )
4215 # We found the default executable, but exeext='' is most
4216 # certainly right.
4217 break;;
4218 *.* )
4219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4220 then :; else
4221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4223 # We set ac_cv_exeext here because the later test for it is not
4224 # safe: cross compilers may not add the suffix if given an `-o'
4225 # argument, so we may need to know it at that point already.
4226 # Even if this section looks crufty: it has the advantage of
4227 # actually working.
4228 break;;
4230 break;;
4231 esac
4232 done
4233 test "$ac_cv_exeext" = no && ac_cv_exeext=
4235 else
4236 ac_file=''
4238 if test -z "$ac_file"; then :
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4241 $as_echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.$ac_ext >&5
4244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error 77 "C compiler cannot create executables
4247 See \`config.log' for more details" "$LINENO" 5; }
4248 else
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4250 $as_echo "yes" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4253 $as_echo_n "checking for C compiler default output file name... " >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4255 $as_echo "$ac_file" >&6; }
4256 ac_exeext=$ac_cv_exeext
4258 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4259 ac_clean_files=$ac_clean_files_save
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4261 $as_echo_n "checking for suffix of executables... " >&6; }
4262 if { { ac_try="$ac_link"
4263 case "(($ac_try" in
4264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4266 esac
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
4269 (eval "$ac_link") 2>&5
4270 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }; then :
4273 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4274 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4275 # work properly (i.e., refer to `conftest.exe'), while it won't with
4276 # `rm'.
4277 for ac_file in conftest.exe conftest conftest.*; do
4278 test -f "$ac_file" || continue
4279 case $ac_file in
4280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4282 break;;
4283 * ) break;;
4284 esac
4285 done
4286 else
4287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4289 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4290 See \`config.log' for more details" "$LINENO" 5; }
4292 rm -f conftest conftest$ac_cv_exeext
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4294 $as_echo "$ac_cv_exeext" >&6; }
4296 rm -f conftest.$ac_ext
4297 EXEEXT=$ac_cv_exeext
4298 ac_exeext=$EXEEXT
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4301 #include <stdio.h>
4303 main ()
4305 FILE *f = fopen ("conftest.out", "w");
4306 return ferror (f) || fclose (f) != 0;
4309 return 0;
4311 _ACEOF
4312 ac_clean_files="$ac_clean_files conftest.out"
4313 # Check that the compiler produces executables we can run. If not, either
4314 # the compiler is broken, or we cross compile.
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4316 $as_echo_n "checking whether we are cross compiling... " >&6; }
4317 if test "$cross_compiling" != yes; then
4318 { { ac_try="$ac_link"
4319 case "(($ac_try" in
4320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4322 esac
4323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324 $as_echo "$ac_try_echo"; } >&5
4325 (eval "$ac_link") 2>&5
4326 ac_status=$?
4327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4328 test $ac_status = 0; }
4329 if { ac_try='./conftest$ac_cv_exeext'
4330 { { case "(($ac_try" in
4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332 *) ac_try_echo=$ac_try;;
4333 esac
4334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335 $as_echo "$ac_try_echo"; } >&5
4336 (eval "$ac_try") 2>&5
4337 ac_status=$?
4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339 test $ac_status = 0; }; }; then
4340 cross_compiling=no
4341 else
4342 if test "$cross_compiling" = maybe; then
4343 cross_compiling=yes
4344 else
4345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347 as_fn_error $? "cannot run C compiled programs.
4348 If you meant to cross compile, use \`--host'.
4349 See \`config.log' for more details" "$LINENO" 5; }
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4354 $as_echo "$cross_compiling" >&6; }
4356 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4357 ac_clean_files=$ac_clean_files_save
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4360 $as_echo_n "checking for suffix of object files... " >&6; }
4361 if ${ac_cv_objext+:} false; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4368 main ()
4372 return 0;
4374 _ACEOF
4375 rm -f conftest.o conftest.obj
4376 if { { ac_try="$ac_compile"
4377 case "(($ac_try" in
4378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4380 esac
4381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4382 $as_echo "$ac_try_echo"; } >&5
4383 (eval "$ac_compile") 2>&5
4384 ac_status=$?
4385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4386 test $ac_status = 0; }; then :
4387 for ac_file in conftest.o conftest.obj conftest.*; do
4388 test -f "$ac_file" || continue;
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4391 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4392 break;;
4393 esac
4394 done
4395 else
4396 $as_echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error $? "cannot compute suffix of object files: cannot compile
4402 See \`config.log' for more details" "$LINENO" 5; }
4404 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4407 $as_echo "$ac_cv_objext" >&6; }
4408 OBJEXT=$ac_cv_objext
4409 ac_objext=$OBJEXT
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4411 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4412 if ${ac_cv_c_compiler_gnu+:} false; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4419 main ()
4421 #ifndef __GNUC__
4422 choke me
4423 #endif
4426 return 0;
4428 _ACEOF
4429 if ac_fn_c_try_compile "$LINENO"; then :
4430 ac_compiler_gnu=yes
4431 else
4432 ac_compiler_gnu=no
4434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4439 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4440 if test $ac_compiler_gnu = yes; then
4441 GCC=yes
4442 else
4443 GCC=
4445 ac_test_CFLAGS=${CFLAGS+set}
4446 ac_save_CFLAGS=$CFLAGS
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4448 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4449 if ${ac_cv_prog_cc_g+:} false; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 ac_save_c_werror_flag=$ac_c_werror_flag
4453 ac_c_werror_flag=yes
4454 ac_cv_prog_cc_g=no
4455 CFLAGS="-g"
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4460 main ()
4464 return 0;
4466 _ACEOF
4467 if ac_fn_c_try_compile "$LINENO"; then :
4468 ac_cv_prog_cc_g=yes
4469 else
4470 CFLAGS=""
4471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4475 main ()
4479 return 0;
4481 _ACEOF
4482 if ac_fn_c_try_compile "$LINENO"; then :
4484 else
4485 ac_c_werror_flag=$ac_save_c_werror_flag
4486 CFLAGS="-g"
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_c_try_compile "$LINENO"; then :
4499 ac_cv_prog_cc_g=yes
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_c_werror_flag=$ac_save_c_werror_flag
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4509 $as_echo "$ac_cv_prog_cc_g" >&6; }
4510 if test "$ac_test_CFLAGS" = set; then
4511 CFLAGS=$ac_save_CFLAGS
4512 elif test $ac_cv_prog_cc_g = yes; then
4513 if test "$GCC" = yes; then
4514 CFLAGS="-g -O2"
4515 else
4516 CFLAGS="-g"
4518 else
4519 if test "$GCC" = yes; then
4520 CFLAGS="-O2"
4521 else
4522 CFLAGS=
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4527 if ${ac_cv_prog_cc_c89+:} false; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_cv_prog_cc_c89=no
4531 ac_save_CC=$CC
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4534 #include <stdarg.h>
4535 #include <stdio.h>
4536 struct stat;
4537 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4538 struct buf { int x; };
4539 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4540 static char *e (p, i)
4541 char **p;
4542 int i;
4544 return p[i];
4546 static char *f (char * (*g) (char **, int), char **p, ...)
4548 char *s;
4549 va_list v;
4550 va_start (v,p);
4551 s = g (p, va_arg (v,int));
4552 va_end (v);
4553 return s;
4556 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4557 function prototypes and stuff, but not '\xHH' hex character constants.
4558 These don't provoke an error unfortunately, instead are silently treated
4559 as 'x'. The following induces an error, until -std is added to get
4560 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4561 array size at least. It's necessary to write '\x00'==0 to get something
4562 that's true only with -std. */
4563 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4565 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4566 inside strings and character constants. */
4567 #define FOO(x) 'x'
4568 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4570 int test (int i, double x);
4571 struct s1 {int (*f) (int a);};
4572 struct s2 {int (*f) (double a);};
4573 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4574 int argc;
4575 char **argv;
4577 main ()
4579 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4581 return 0;
4583 _ACEOF
4584 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4585 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4587 CC="$ac_save_CC $ac_arg"
4588 if ac_fn_c_try_compile "$LINENO"; then :
4589 ac_cv_prog_cc_c89=$ac_arg
4591 rm -f core conftest.err conftest.$ac_objext
4592 test "x$ac_cv_prog_cc_c89" != "xno" && break
4593 done
4594 rm -f conftest.$ac_ext
4595 CC=$ac_save_CC
4598 # AC_CACHE_VAL
4599 case "x$ac_cv_prog_cc_c89" in
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4602 $as_echo "none needed" >&6; } ;;
4603 xno)
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4605 $as_echo "unsupported" >&6; } ;;
4607 CC="$CC $ac_cv_prog_cc_c89"
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4609 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4610 esac
4611 if test "x$ac_cv_prog_cc_c89" != xno; then :
4615 ac_ext=c
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4621 ac_ext=c
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4627 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4628 if ${am_cv_prog_cc_c_o+:} false; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 # Make sure it works both with $CC and with simple cc.
4643 # Following AC_PROG_CC_C_O, we do the test twice because some
4644 # compilers refuse to overwrite an existing .o file with -o,
4645 # though they will create one.
4646 am_cv_prog_cc_c_o=yes
4647 for am_i in 1 2; do
4648 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4649 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4650 ac_status=$?
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } \
4653 && test -f conftest2.$ac_objext; then
4654 : OK
4655 else
4656 am_cv_prog_cc_c_o=no
4657 break
4659 done
4660 rm -f core conftest*
4661 unset am_i
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4664 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4665 if test "$am_cv_prog_cc_c_o" != yes; then
4666 # Losing compiler, so override with the script.
4667 # FIXME: It is wrong to rewrite CC.
4668 # But if we don't then we get into trouble of one sort or another.
4669 # A longer-term fix would be to have automake use am__CC in this case,
4670 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4671 CC="$am_aux_dir/compile $CC"
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 ac_ext=cpp
4681 ac_cpp='$CXXCPP $CPPFLAGS'
4682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4685 if test -z "$CXX"; then
4686 if test -n "$CCC"; then
4687 CXX=$CCC
4688 else
4689 if test -n "$ac_tool_prefix"; then
4690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_prog_CXX+:} false; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 if test -n "$CXX"; then
4700 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4701 else
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH
4705 IFS=$as_save_IFS
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 break 2
4713 done
4714 done
4715 IFS=$as_save_IFS
4719 CXX=$ac_cv_prog_CXX
4720 if test -n "$CXX"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4722 $as_echo "$CXX" >&6; }
4723 else
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4729 test -n "$CXX" && break
4730 done
4732 if test -z "$CXX"; then
4733 ac_ct_CXX=$CXX
4734 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4736 # Extract the first word of "$ac_prog", so it can be a program name with args.
4737 set dummy $ac_prog; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -n "$ac_ct_CXX"; then
4744 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4745 else
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_ac_ct_CXX="$ac_prog"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 break 2
4757 done
4758 done
4759 IFS=$as_save_IFS
4763 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4764 if test -n "$ac_ct_CXX"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4766 $as_echo "$ac_ct_CXX" >&6; }
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 test -n "$ac_ct_CXX" && break
4774 done
4776 if test "x$ac_ct_CXX" = x; then
4777 CXX="g++"
4778 else
4779 case $cross_compiling:$ac_tool_warned in
4780 yes:)
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4783 ac_tool_warned=yes ;;
4784 esac
4785 CXX=$ac_ct_CXX
4791 # Provide some information about the compiler.
4792 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4793 set X $ac_compile
4794 ac_compiler=$2
4795 for ac_option in --version -v -V -qversion; do
4796 { { ac_try="$ac_compiler $ac_option >&5"
4797 case "(($ac_try" in
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4800 esac
4801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4802 $as_echo "$ac_try_echo"; } >&5
4803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4804 ac_status=$?
4805 if test -s conftest.err; then
4806 sed '10a\
4807 ... rest of stderr output deleted ...
4808 10q' conftest.err >conftest.er1
4809 cat conftest.er1 >&5
4811 rm -f conftest.er1 conftest.err
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }
4814 done
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4817 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4818 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4819 $as_echo_n "(cached) " >&6
4820 else
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 main ()
4827 #ifndef __GNUC__
4828 choke me
4829 #endif
4832 return 0;
4834 _ACEOF
4835 if ac_fn_cxx_try_compile "$LINENO"; then :
4836 ac_compiler_gnu=yes
4837 else
4838 ac_compiler_gnu=no
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4845 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4846 if test $ac_compiler_gnu = yes; then
4847 GXX=yes
4848 else
4849 GXX=
4851 ac_test_CXXFLAGS=${CXXFLAGS+set}
4852 ac_save_CXXFLAGS=$CXXFLAGS
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4854 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4855 if ${ac_cv_prog_cxx_g+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4859 ac_cxx_werror_flag=yes
4860 ac_cv_prog_cxx_g=no
4861 CXXFLAGS="-g"
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 if ac_fn_cxx_try_compile "$LINENO"; then :
4874 ac_cv_prog_cxx_g=yes
4875 else
4876 CXXFLAGS=""
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4881 main ()
4885 return 0;
4887 _ACEOF
4888 if ac_fn_cxx_try_compile "$LINENO"; then :
4890 else
4891 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4892 CXXFLAGS="-g"
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4897 main ()
4901 return 0;
4903 _ACEOF
4904 if ac_fn_cxx_try_compile "$LINENO"; then :
4905 ac_cv_prog_cxx_g=yes
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4915 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4916 if test "$ac_test_CXXFLAGS" = set; then
4917 CXXFLAGS=$ac_save_CXXFLAGS
4918 elif test $ac_cv_prog_cxx_g = yes; then
4919 if test "$GXX" = yes; then
4920 CXXFLAGS="-g -O2"
4921 else
4922 CXXFLAGS="-g"
4924 else
4925 if test "$GXX" = yes; then
4926 CXXFLAGS="-O2"
4927 else
4928 CXXFLAGS=
4931 ac_ext=c
4932 ac_cpp='$CPP $CPPFLAGS'
4933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4937 CXXFLAGS="$save_CXXFLAGS"
4940 # Check whether --enable-largefile was given.
4941 if test "${enable_largefile+set}" = set; then :
4942 enableval=$enable_largefile;
4945 if test "$enable_largefile" != no; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4948 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4949 if ${ac_cv_sys_largefile_CC+:} false; then :
4950 $as_echo_n "(cached) " >&6
4951 else
4952 ac_cv_sys_largefile_CC=no
4953 if test "$GCC" != yes; then
4954 ac_save_CC=$CC
4955 while :; do
4956 # IRIX 6.2 and later do not support large files by default,
4957 # so use the C compiler's -n32 option if that helps.
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4960 #include <sys/types.h>
4961 /* Check that off_t can represent 2**63 - 1 correctly.
4962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4963 since some C++ compilers masquerading as C compilers
4964 incorrectly reject 9223372036854775807. */
4965 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4967 && LARGE_OFF_T % 2147483647 == 1)
4968 ? 1 : -1];
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_c_try_compile "$LINENO"; then :
4978 break
4980 rm -f core conftest.err conftest.$ac_objext
4981 CC="$CC -n32"
4982 if ac_fn_c_try_compile "$LINENO"; then :
4983 ac_cv_sys_largefile_CC=' -n32'; break
4985 rm -f core conftest.err conftest.$ac_objext
4986 break
4987 done
4988 CC=$ac_save_CC
4989 rm -f conftest.$ac_ext
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4993 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4994 if test "$ac_cv_sys_largefile_CC" != no; then
4995 CC=$CC$ac_cv_sys_largefile_CC
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4999 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5000 if ${ac_cv_sys_file_offset_bits+:} false; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 while :; do
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005 /* end confdefs.h. */
5006 #include <sys/types.h>
5007 /* Check that off_t can represent 2**63 - 1 correctly.
5008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5009 since some C++ compilers masquerading as C compilers
5010 incorrectly reject 9223372036854775807. */
5011 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5013 && LARGE_OFF_T % 2147483647 == 1)
5014 ? 1 : -1];
5016 main ()
5020 return 0;
5022 _ACEOF
5023 if ac_fn_c_try_compile "$LINENO"; then :
5024 ac_cv_sys_file_offset_bits=no; break
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #define _FILE_OFFSET_BITS 64
5030 #include <sys/types.h>
5031 /* Check that off_t can represent 2**63 - 1 correctly.
5032 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5033 since some C++ compilers masquerading as C compilers
5034 incorrectly reject 9223372036854775807. */
5035 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5036 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5037 && LARGE_OFF_T % 2147483647 == 1)
5038 ? 1 : -1];
5040 main ()
5044 return 0;
5046 _ACEOF
5047 if ac_fn_c_try_compile "$LINENO"; then :
5048 ac_cv_sys_file_offset_bits=64; break
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 ac_cv_sys_file_offset_bits=unknown
5052 break
5053 done
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5056 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5057 case $ac_cv_sys_file_offset_bits in #(
5058 no | unknown) ;;
5060 cat >>confdefs.h <<_ACEOF
5061 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5062 _ACEOF
5064 esac
5065 rm -rf conftest*
5066 if test $ac_cv_sys_file_offset_bits = unknown; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5068 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5069 if ${ac_cv_sys_large_files+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 while :; do
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5075 #include <sys/types.h>
5076 /* Check that off_t can represent 2**63 - 1 correctly.
5077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5078 since some C++ compilers masquerading as C compilers
5079 incorrectly reject 9223372036854775807. */
5080 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5082 && LARGE_OFF_T % 2147483647 == 1)
5083 ? 1 : -1];
5085 main ()
5089 return 0;
5091 _ACEOF
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_large_files=no; break
5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #define _LARGE_FILES 1
5099 #include <sys/types.h>
5100 /* Check that off_t can represent 2**63 - 1 correctly.
5101 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5102 since some C++ compilers masquerading as C compilers
5103 incorrectly reject 9223372036854775807. */
5104 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5105 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5106 && LARGE_OFF_T % 2147483647 == 1)
5107 ? 1 : -1];
5109 main ()
5113 return 0;
5115 _ACEOF
5116 if ac_fn_c_try_compile "$LINENO"; then :
5117 ac_cv_sys_large_files=1; break
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120 ac_cv_sys_large_files=unknown
5121 break
5122 done
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5125 $as_echo "$ac_cv_sys_large_files" >&6; }
5126 case $ac_cv_sys_large_files in #(
5127 no | unknown) ;;
5129 cat >>confdefs.h <<_ACEOF
5130 #define _LARGE_FILES $ac_cv_sys_large_files
5131 _ACEOF
5133 esac
5134 rm -rf conftest*
5141 # Runs configure.host, and assorted other critical bits. Sets
5142 # up critical shell variables.
5143 ac_ext=c
5144 ac_cpp='$CPP $CPPFLAGS'
5145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5149 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5150 # On Suns, sometimes $CPP names a directory.
5151 if test -n "$CPP" && test -d "$CPP"; then
5152 CPP=
5154 if test -z "$CPP"; then
5155 if ${ac_cv_prog_CPP+:} false; then :
5156 $as_echo_n "(cached) " >&6
5157 else
5158 # Double quotes because CPP needs to be expanded
5159 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5161 ac_preproc_ok=false
5162 for ac_c_preproc_warn_flag in '' yes
5164 # Use a header file that comes with gcc, so configuring glibc
5165 # with a fresh cross-compiler works.
5166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5167 # <limits.h> exists even on freestanding compilers.
5168 # On the NeXT, cc -E runs the code through the compiler's parser,
5169 # not just through cpp. "Syntax error" is here to catch this case.
5170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h. */
5172 #ifdef __STDC__
5173 # include <limits.h>
5174 #else
5175 # include <assert.h>
5176 #endif
5177 Syntax error
5178 _ACEOF
5179 if ac_fn_c_try_cpp "$LINENO"; then :
5181 else
5182 # Broken: fails on valid input.
5183 continue
5185 rm -f conftest.err conftest.i conftest.$ac_ext
5187 # OK, works on sane cases. Now check whether nonexistent headers
5188 # can be detected and how.
5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5191 #include <ac_nonexistent.h>
5192 _ACEOF
5193 if ac_fn_c_try_cpp "$LINENO"; then :
5194 # Broken: success on invalid input.
5195 continue
5196 else
5197 # Passes both tests.
5198 ac_preproc_ok=:
5199 break
5201 rm -f conftest.err conftest.i conftest.$ac_ext
5203 done
5204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5205 rm -f conftest.i conftest.err conftest.$ac_ext
5206 if $ac_preproc_ok; then :
5207 break
5210 done
5211 ac_cv_prog_CPP=$CPP
5214 CPP=$ac_cv_prog_CPP
5215 else
5216 ac_cv_prog_CPP=$CPP
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5219 $as_echo "$CPP" >&6; }
5220 ac_preproc_ok=false
5221 for ac_c_preproc_warn_flag in '' yes
5223 # Use a header file that comes with gcc, so configuring glibc
5224 # with a fresh cross-compiler works.
5225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5226 # <limits.h> exists even on freestanding compilers.
5227 # On the NeXT, cc -E runs the code through the compiler's parser,
5228 # not just through cpp. "Syntax error" is here to catch this case.
5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5231 #ifdef __STDC__
5232 # include <limits.h>
5233 #else
5234 # include <assert.h>
5235 #endif
5236 Syntax error
5237 _ACEOF
5238 if ac_fn_c_try_cpp "$LINENO"; then :
5240 else
5241 # Broken: fails on valid input.
5242 continue
5244 rm -f conftest.err conftest.i conftest.$ac_ext
5246 # OK, works on sane cases. Now check whether nonexistent headers
5247 # can be detected and how.
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5250 #include <ac_nonexistent.h>
5251 _ACEOF
5252 if ac_fn_c_try_cpp "$LINENO"; then :
5253 # Broken: success on invalid input.
5254 continue
5255 else
5256 # Passes both tests.
5257 ac_preproc_ok=:
5258 break
5260 rm -f conftest.err conftest.i conftest.$ac_ext
5262 done
5263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5264 rm -f conftest.i conftest.err conftest.$ac_ext
5265 if $ac_preproc_ok; then :
5267 else
5268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5270 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5271 See \`config.log' for more details" "$LINENO" 5; }
5274 ac_ext=c
5275 ac_cpp='$CPP $CPPFLAGS'
5276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5282 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5283 if ${ac_cv_path_GREP+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -z "$GREP"; then
5287 ac_path_GREP_found=false
5288 # Loop through the user's path and test for each of PROGNAME-LIST
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_prog in grep ggrep; do
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5297 as_fn_executable_p "$ac_path_GREP" || continue
5298 # Check for GNU ac_path_GREP and select it if it is found.
5299 # Check for GNU $ac_path_GREP
5300 case `"$ac_path_GREP" --version 2>&1` in
5301 *GNU*)
5302 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5304 ac_count=0
5305 $as_echo_n 0123456789 >"conftest.in"
5306 while :
5308 cat "conftest.in" "conftest.in" >"conftest.tmp"
5309 mv "conftest.tmp" "conftest.in"
5310 cp "conftest.in" "conftest.nl"
5311 $as_echo 'GREP' >> "conftest.nl"
5312 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5314 as_fn_arith $ac_count + 1 && ac_count=$as_val
5315 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5316 # Best one so far, save it but keep looking for a better one
5317 ac_cv_path_GREP="$ac_path_GREP"
5318 ac_path_GREP_max=$ac_count
5320 # 10*(2^10) chars as input seems more than enough
5321 test $ac_count -gt 10 && break
5322 done
5323 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5324 esac
5326 $ac_path_GREP_found && break 3
5327 done
5328 done
5329 done
5330 IFS=$as_save_IFS
5331 if test -z "$ac_cv_path_GREP"; then
5332 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5334 else
5335 ac_cv_path_GREP=$GREP
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5340 $as_echo "$ac_cv_path_GREP" >&6; }
5341 GREP="$ac_cv_path_GREP"
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5345 $as_echo_n "checking for egrep... " >&6; }
5346 if ${ac_cv_path_EGREP+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
5349 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5350 then ac_cv_path_EGREP="$GREP -E"
5351 else
5352 if test -z "$EGREP"; then
5353 ac_path_EGREP_found=false
5354 # Loop through the user's path and test for each of PROGNAME-LIST
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_prog in egrep; do
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5363 as_fn_executable_p "$ac_path_EGREP" || continue
5364 # Check for GNU ac_path_EGREP and select it if it is found.
5365 # Check for GNU $ac_path_EGREP
5366 case `"$ac_path_EGREP" --version 2>&1` in
5367 *GNU*)
5368 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5370 ac_count=0
5371 $as_echo_n 0123456789 >"conftest.in"
5372 while :
5374 cat "conftest.in" "conftest.in" >"conftest.tmp"
5375 mv "conftest.tmp" "conftest.in"
5376 cp "conftest.in" "conftest.nl"
5377 $as_echo 'EGREP' >> "conftest.nl"
5378 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5380 as_fn_arith $ac_count + 1 && ac_count=$as_val
5381 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5382 # Best one so far, save it but keep looking for a better one
5383 ac_cv_path_EGREP="$ac_path_EGREP"
5384 ac_path_EGREP_max=$ac_count
5386 # 10*(2^10) chars as input seems more than enough
5387 test $ac_count -gt 10 && break
5388 done
5389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5390 esac
5392 $ac_path_EGREP_found && break 3
5393 done
5394 done
5395 done
5396 IFS=$as_save_IFS
5397 if test -z "$ac_cv_path_EGREP"; then
5398 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5400 else
5401 ac_cv_path_EGREP=$EGREP
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5407 $as_echo "$ac_cv_path_EGREP" >&6; }
5408 EGREP="$ac_cv_path_EGREP"
5412 # Keep these sync'd with the list in Makefile.am. The first provides an
5413 # expandable list at autoconf time; the second provides an expandable list
5414 # (i.e., shell variable) at configure time.
5416 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5418 # These need to be absolute paths, yet at the same time need to
5419 # canonicalize only relative paths, because then amd will not unmount
5420 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5421 glibcxx_builddir=`${PWDCMD-pwd}`
5422 case $srcdir in
5423 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5424 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5425 esac
5426 toplevel_builddir=${glibcxx_builddir}/..
5427 toplevel_srcdir=${glibcxx_srcdir}/..
5433 # We use these options to decide which functions to include. They are
5434 # set from the top level.
5436 # Check whether --with-target-subdir was given.
5437 if test "${with_target_subdir+set}" = set; then :
5438 withval=$with_target_subdir;
5443 # Check whether --with-cross-host was given.
5444 if test "${with_cross_host+set}" = set; then :
5445 withval=$with_cross_host;
5450 # Check whether --with-newlib was given.
5451 if test "${with_newlib+set}" = set; then :
5452 withval=$with_newlib;
5456 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5457 # available). Uncomment the next line to force a particular method.
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5459 $as_echo_n "checking whether ln -s works... " >&6; }
5460 LN_S=$as_ln_s
5461 if test "$LN_S" = "ln -s"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5463 $as_echo "yes" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5466 $as_echo "no, using $LN_S" >&6; }
5469 #LN_S='cp -p'
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}as; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_AS+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$AS"; then
5480 ac_cv_prog_AS="$AS" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_AS="${ac_tool_prefix}as"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 AS=$ac_cv_prog_AS
5500 if test -n "$AS"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5502 $as_echo "$AS" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_AS"; then
5511 ac_ct_AS=$AS
5512 # Extract the first word of "as", so it can be a program name with args.
5513 set dummy as; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_AS"; then
5520 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_AS="as"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5540 if test -n "$ac_ct_AS"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5542 $as_echo "$ac_ct_AS" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_AS" = x; then
5549 AS=""
5550 else
5551 case $cross_compiling:$ac_tool_warned in
5552 yes:)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5556 esac
5557 AS=$ac_ct_AS
5559 else
5560 AS="$ac_cv_prog_AS"
5563 if test -n "$ac_tool_prefix"; then
5564 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5565 set dummy ${ac_tool_prefix}ar; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_AR+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$AR"; then
5572 ac_cv_prog_AR="$AR" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_AR="${ac_tool_prefix}ar"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 AR=$ac_cv_prog_AR
5592 if test -n "$AR"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5594 $as_echo "$AR" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5602 if test -z "$ac_cv_prog_AR"; then
5603 ac_ct_AR=$AR
5604 # Extract the first word of "ar", so it can be a program name with args.
5605 set dummy ar; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -n "$ac_ct_AR"; then
5612 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_ac_ct_AR="ar"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5632 if test -n "$ac_ct_AR"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5634 $as_echo "$ac_ct_AR" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5640 if test "x$ac_ct_AR" = x; then
5641 AR=""
5642 else
5643 case $cross_compiling:$ac_tool_warned in
5644 yes:)
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647 ac_tool_warned=yes ;;
5648 esac
5649 AR=$ac_ct_AR
5651 else
5652 AR="$ac_cv_prog_AR"
5655 if test -n "$ac_tool_prefix"; then
5656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if ${ac_cv_prog_RANLIB+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 if test -n "$RANLIB"; then
5664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 RANLIB=$ac_cv_prog_RANLIB
5684 if test -n "$RANLIB"; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5686 $as_echo "$RANLIB" >&6; }
5687 else
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5694 if test -z "$ac_cv_prog_RANLIB"; then
5695 ac_ct_RANLIB=$RANLIB
5696 # Extract the first word of "ranlib", so it can be a program name with args.
5697 set dummy ranlib; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5701 $as_echo_n "(cached) " >&6
5702 else
5703 if test -n "$ac_ct_RANLIB"; then
5704 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5705 else
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 for as_dir in $PATH
5709 IFS=$as_save_IFS
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_ac_ct_RANLIB="ranlib"
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 break 2
5717 done
5718 done
5719 IFS=$as_save_IFS
5723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5724 if test -n "$ac_ct_RANLIB"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5726 $as_echo "$ac_ct_RANLIB" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5732 if test "x$ac_ct_RANLIB" = x; then
5733 RANLIB="ranlib-not-found-in-path-error"
5734 else
5735 case $cross_compiling:$ac_tool_warned in
5736 yes:)
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5739 ac_tool_warned=yes ;;
5740 esac
5741 RANLIB=$ac_ct_RANLIB
5743 else
5744 RANLIB="$ac_cv_prog_RANLIB"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5750 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5751 # Check whether --enable-maintainer-mode was given.
5752 if test "${enable_maintainer_mode+set}" = set; then :
5753 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5754 else
5755 USE_MAINTAINER_MODE=no
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5759 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5760 if test $USE_MAINTAINER_MODE = yes; then
5761 MAINTAINER_MODE_TRUE=
5762 MAINTAINER_MODE_FALSE='#'
5763 else
5764 MAINTAINER_MODE_TRUE='#'
5765 MAINTAINER_MODE_FALSE=
5768 MAINT=$MAINTAINER_MODE_TRUE
5772 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5773 # which are themselves conditionally expanded.
5774 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5775 ## other macros from doing the same. This should be automated.) -pme
5777 # Check for C library flavor since GNU/Linux platforms use different
5778 # configuration directories depending on the C library in use.
5779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780 /* end confdefs.h. */
5782 #include <stdio.h>
5783 #if __UCLIBC__
5784 _using_uclibc
5785 #endif
5787 _ACEOF
5788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5789 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5790 uclibc=yes
5791 else
5792 uclibc=no
5794 rm -f conftest*
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5800 #include <stdio.h>
5801 #if __BIONIC__
5802 _using_bionic
5803 #endif
5805 _ACEOF
5806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5807 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5808 bionic=yes
5809 else
5810 bionic=no
5812 rm -f conftest*
5815 # Find platform-specific directories containing configuration info.
5816 # Also possibly modify flags used elsewhere, as needed by the platform.
5818 . $glibcxx_srcdir/configure.host
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5820 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5822 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5826 # Libtool setup.
5827 if test "x${with_newlib}" != "xyes"; then
5828 enable_dlopen=yes
5833 case `pwd` in
5834 *\ * | *\ *)
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5836 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5837 esac
5841 macro_version='2.2.7a'
5842 macro_revision='1.3134'
5856 ltmain="$ac_aux_dir/ltmain.sh"
5858 # Backslashify metacharacters that are still active within
5859 # double-quoted strings.
5860 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5862 # Same as above, but do not quote variable references.
5863 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5865 # Sed substitution to delay expansion of an escaped shell variable in a
5866 # double_quote_subst'ed string.
5867 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5869 # Sed substitution to delay expansion of an escaped single quote.
5870 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5872 # Sed substitution to avoid accidental globbing in evaled expressions
5873 no_glob_subst='s/\*/\\\*/g'
5875 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5876 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5877 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5880 $as_echo_n "checking how to print strings... " >&6; }
5881 # Test print first, because it will be a builtin if present.
5882 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5883 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5884 ECHO='print -r --'
5885 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5886 ECHO='printf %s\n'
5887 else
5888 # Use this function as a fallback that always works.
5889 func_fallback_echo ()
5891 eval 'cat <<_LTECHO_EOF
5893 _LTECHO_EOF'
5895 ECHO='func_fallback_echo'
5898 # func_echo_all arg...
5899 # Invoke $ECHO with all args, space-separated.
5900 func_echo_all ()
5902 $ECHO ""
5905 case "$ECHO" in
5906 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5907 $as_echo "printf" >&6; } ;;
5908 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5909 $as_echo "print -r" >&6; } ;;
5910 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5911 $as_echo "cat" >&6; } ;;
5912 esac
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5928 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5929 if ${ac_cv_path_SED+:} false; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5933 for ac_i in 1 2 3 4 5 6 7; do
5934 ac_script="$ac_script$as_nl$ac_script"
5935 done
5936 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5937 { ac_script=; unset ac_script;}
5938 if test -z "$SED"; then
5939 ac_path_SED_found=false
5940 # Loop through the user's path and test for each of PROGNAME-LIST
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 for as_dir in $PATH
5944 IFS=$as_save_IFS
5945 test -z "$as_dir" && as_dir=.
5946 for ac_prog in sed gsed; do
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5949 as_fn_executable_p "$ac_path_SED" || continue
5950 # Check for GNU ac_path_SED and select it if it is found.
5951 # Check for GNU $ac_path_SED
5952 case `"$ac_path_SED" --version 2>&1` in
5953 *GNU*)
5954 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5956 ac_count=0
5957 $as_echo_n 0123456789 >"conftest.in"
5958 while :
5960 cat "conftest.in" "conftest.in" >"conftest.tmp"
5961 mv "conftest.tmp" "conftest.in"
5962 cp "conftest.in" "conftest.nl"
5963 $as_echo '' >> "conftest.nl"
5964 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5965 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5966 as_fn_arith $ac_count + 1 && ac_count=$as_val
5967 if test $ac_count -gt ${ac_path_SED_max-0}; then
5968 # Best one so far, save it but keep looking for a better one
5969 ac_cv_path_SED="$ac_path_SED"
5970 ac_path_SED_max=$ac_count
5972 # 10*(2^10) chars as input seems more than enough
5973 test $ac_count -gt 10 && break
5974 done
5975 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5976 esac
5978 $ac_path_SED_found && break 3
5979 done
5980 done
5981 done
5982 IFS=$as_save_IFS
5983 if test -z "$ac_cv_path_SED"; then
5984 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5986 else
5987 ac_cv_path_SED=$SED
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5992 $as_echo "$ac_cv_path_SED" >&6; }
5993 SED="$ac_cv_path_SED"
5994 rm -f conftest.sed
5996 test -z "$SED" && SED=sed
5997 Xsed="$SED -e 1s/^X//"
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6010 $as_echo_n "checking for fgrep... " >&6; }
6011 if ${ac_cv_path_FGREP+:} false; then :
6012 $as_echo_n "(cached) " >&6
6013 else
6014 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6015 then ac_cv_path_FGREP="$GREP -F"
6016 else
6017 if test -z "$FGREP"; then
6018 ac_path_FGREP_found=false
6019 # Loop through the user's path and test for each of PROGNAME-LIST
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_prog in fgrep; do
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6028 as_fn_executable_p "$ac_path_FGREP" || continue
6029 # Check for GNU ac_path_FGREP and select it if it is found.
6030 # Check for GNU $ac_path_FGREP
6031 case `"$ac_path_FGREP" --version 2>&1` in
6032 *GNU*)
6033 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6035 ac_count=0
6036 $as_echo_n 0123456789 >"conftest.in"
6037 while :
6039 cat "conftest.in" "conftest.in" >"conftest.tmp"
6040 mv "conftest.tmp" "conftest.in"
6041 cp "conftest.in" "conftest.nl"
6042 $as_echo 'FGREP' >> "conftest.nl"
6043 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6045 as_fn_arith $ac_count + 1 && ac_count=$as_val
6046 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6047 # Best one so far, save it but keep looking for a better one
6048 ac_cv_path_FGREP="$ac_path_FGREP"
6049 ac_path_FGREP_max=$ac_count
6051 # 10*(2^10) chars as input seems more than enough
6052 test $ac_count -gt 10 && break
6053 done
6054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6055 esac
6057 $ac_path_FGREP_found && break 3
6058 done
6059 done
6060 done
6061 IFS=$as_save_IFS
6062 if test -z "$ac_cv_path_FGREP"; then
6063 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6065 else
6066 ac_cv_path_FGREP=$FGREP
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6072 $as_echo "$ac_cv_path_FGREP" >&6; }
6073 FGREP="$ac_cv_path_FGREP"
6076 test -z "$GREP" && GREP=grep
6096 # Check whether --with-gnu-ld was given.
6097 if test "${with_gnu_ld+set}" = set; then :
6098 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6099 else
6100 with_gnu_ld=no
6103 ac_prog=ld
6104 if test "$GCC" = yes; then
6105 # Check if gcc -print-prog-name=ld gives a path.
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6107 $as_echo_n "checking for ld used by $CC... " >&6; }
6108 case $host in
6109 *-*-mingw*)
6110 # gcc leaves a trailing carriage return which upsets mingw
6111 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6113 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6114 esac
6115 case $ac_prog in
6116 # Accept absolute paths.
6117 [\\/]* | ?:[\\/]*)
6118 re_direlt='/[^/][^/]*/\.\./'
6119 # Canonicalize the pathname of ld
6120 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6121 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6122 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6123 done
6124 test -z "$LD" && LD="$ac_prog"
6127 # If it fails, then pretend we aren't using GCC.
6128 ac_prog=ld
6131 # If it is relative, then search for the first ld in PATH.
6132 with_gnu_ld=unknown
6134 esac
6135 elif test "$with_gnu_ld" = yes; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6137 $as_echo_n "checking for GNU ld... " >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6140 $as_echo_n "checking for non-GNU ld... " >&6; }
6142 if ${lt_cv_path_LD+:} false; then :
6143 $as_echo_n "(cached) " >&6
6144 else
6145 if test -z "$LD"; then
6146 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6147 for ac_dir in $PATH; do
6148 IFS="$lt_save_ifs"
6149 test -z "$ac_dir" && ac_dir=.
6150 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6151 lt_cv_path_LD="$ac_dir/$ac_prog"
6152 # Check to see if the program is GNU ld. I'd rather use --version,
6153 # but apparently some variants of GNU ld only accept -v.
6154 # Break only if it was the GNU/non-GNU ld that we prefer.
6155 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6156 *GNU* | *'with BFD'*)
6157 test "$with_gnu_ld" != no && break
6160 test "$with_gnu_ld" != yes && break
6162 esac
6164 done
6165 IFS="$lt_save_ifs"
6166 else
6167 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6171 LD="$lt_cv_path_LD"
6172 if test -n "$LD"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6174 $as_echo "$LD" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6179 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6181 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6182 if ${lt_cv_prog_gnu_ld+:} false; then :
6183 $as_echo_n "(cached) " >&6
6184 else
6185 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6186 case `$LD -v 2>&1 </dev/null` in
6187 *GNU* | *'with BFD'*)
6188 lt_cv_prog_gnu_ld=yes
6191 lt_cv_prog_gnu_ld=no
6193 esac
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6196 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6197 with_gnu_ld=$lt_cv_prog_gnu_ld
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6208 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6209 if ${lt_cv_path_NM+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 if test -n "$NM"; then
6213 # Let the user override the test.
6214 lt_cv_path_NM="$NM"
6215 else
6216 lt_nm_to_check="${ac_tool_prefix}nm"
6217 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6218 lt_nm_to_check="$lt_nm_to_check nm"
6220 for lt_tmp_nm in $lt_nm_to_check; do
6221 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6222 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6223 IFS="$lt_save_ifs"
6224 test -z "$ac_dir" && ac_dir=.
6225 tmp_nm="$ac_dir/$lt_tmp_nm"
6226 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6227 # Check to see if the nm accepts a BSD-compat flag.
6228 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6229 # nm: unknown option "B" ignored
6230 # Tru64's nm complains that /dev/null is an invalid object file
6231 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6232 */dev/null* | *'Invalid file or object type'*)
6233 lt_cv_path_NM="$tmp_nm -B"
6234 break
6237 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6238 */dev/null*)
6239 lt_cv_path_NM="$tmp_nm -p"
6240 break
6243 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6244 continue # so that we can try to find one that supports BSD flags
6246 esac
6248 esac
6250 done
6251 IFS="$lt_save_ifs"
6252 done
6253 : ${lt_cv_path_NM=no}
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6257 $as_echo "$lt_cv_path_NM" >&6; }
6258 if test "$lt_cv_path_NM" != "no"; then
6259 NM="$lt_cv_path_NM"
6260 else
6261 # Didn't find any BSD compatible name lister, look for dumpbin.
6262 if test -n "$DUMPBIN"; then :
6263 # Let the user override the test.
6264 else
6265 if test -n "$ac_tool_prefix"; then
6266 for ac_prog in dumpbin "link -dump"
6268 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271 $as_echo_n "checking for $ac_word... " >&6; }
6272 if ${ac_cv_prog_DUMPBIN+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 if test -n "$DUMPBIN"; then
6276 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6277 else
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279 for as_dir in $PATH
6281 IFS=$as_save_IFS
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 break 2
6289 done
6290 done
6291 IFS=$as_save_IFS
6295 DUMPBIN=$ac_cv_prog_DUMPBIN
6296 if test -n "$DUMPBIN"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6298 $as_echo "$DUMPBIN" >&6; }
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301 $as_echo "no" >&6; }
6305 test -n "$DUMPBIN" && break
6306 done
6308 if test -z "$DUMPBIN"; then
6309 ac_ct_DUMPBIN=$DUMPBIN
6310 for ac_prog in dumpbin "link -dump"
6312 # Extract the first word of "$ac_prog", so it can be a program name with args.
6313 set dummy $ac_prog; ac_word=$2
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315 $as_echo_n "checking for $ac_word... " >&6; }
6316 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 if test -n "$ac_ct_DUMPBIN"; then
6320 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6321 else
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 for as_dir in $PATH
6325 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 break 2
6333 done
6334 done
6335 IFS=$as_save_IFS
6339 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6340 if test -n "$ac_ct_DUMPBIN"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6342 $as_echo "$ac_ct_DUMPBIN" >&6; }
6343 else
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 $as_echo "no" >&6; }
6349 test -n "$ac_ct_DUMPBIN" && break
6350 done
6352 if test "x$ac_ct_DUMPBIN" = x; then
6353 DUMPBIN=":"
6354 else
6355 case $cross_compiling:$ac_tool_warned in
6356 yes:)
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6359 ac_tool_warned=yes ;;
6360 esac
6361 DUMPBIN=$ac_ct_DUMPBIN
6365 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6366 *COFF*)
6367 DUMPBIN="$DUMPBIN -symbols"
6370 DUMPBIN=:
6372 esac
6375 if test "$DUMPBIN" != ":"; then
6376 NM="$DUMPBIN"
6379 test -z "$NM" && NM=nm
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6387 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6388 if ${lt_cv_nm_interface+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 lt_cv_nm_interface="BSD nm"
6392 echo "int some_variable = 0;" > conftest.$ac_ext
6393 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6394 (eval "$ac_compile" 2>conftest.err)
6395 cat conftest.err >&5
6396 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6397 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6398 cat conftest.err >&5
6399 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6400 cat conftest.out >&5
6401 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6402 lt_cv_nm_interface="MS dumpbin"
6404 rm -f conftest*
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6407 $as_echo "$lt_cv_nm_interface" >&6; }
6409 # find the maximum length of command line arguments
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6411 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6412 if ${lt_cv_sys_max_cmd_len+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6416 teststring="ABCD"
6418 case $build_os in
6419 msdosdjgpp*)
6420 # On DJGPP, this test can blow up pretty badly due to problems in libc
6421 # (any single argument exceeding 2000 bytes causes a buffer overrun
6422 # during glob expansion). Even if it were fixed, the result of this
6423 # check would be larger than it should be.
6424 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6427 gnu*)
6428 # Under GNU Hurd, this test is not required because there is
6429 # no limit to the length of command line arguments.
6430 # Libtool will interpret -1 as no limit whatsoever
6431 lt_cv_sys_max_cmd_len=-1;
6434 cygwin* | mingw* | cegcc*)
6435 # On Win9x/ME, this test blows up -- it succeeds, but takes
6436 # about 5 minutes as the teststring grows exponentially.
6437 # Worse, since 9x/ME are not pre-emptively multitasking,
6438 # you end up with a "frozen" computer, even though with patience
6439 # the test eventually succeeds (with a max line length of 256k).
6440 # Instead, let's just punt: use the minimum linelength reported by
6441 # all of the supported platforms: 8192 (on NT/2K/XP).
6442 lt_cv_sys_max_cmd_len=8192;
6445 mint*)
6446 # On MiNT this can take a long time and run out of memory.
6447 lt_cv_sys_max_cmd_len=8192;
6450 amigaos*)
6451 # On AmigaOS with pdksh, this test takes hours, literally.
6452 # So we just punt and use a minimum line length of 8192.
6453 lt_cv_sys_max_cmd_len=8192;
6456 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6457 # This has been around since 386BSD, at least. Likely further.
6458 if test -x /sbin/sysctl; then
6459 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6460 elif test -x /usr/sbin/sysctl; then
6461 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6462 else
6463 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6465 # And add a safety zone
6466 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6467 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6470 interix*)
6471 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6472 lt_cv_sys_max_cmd_len=196608
6475 osf*)
6476 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6477 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6478 # nice to cause kernel panics so lets avoid the loop below.
6479 # First set a reasonable default.
6480 lt_cv_sys_max_cmd_len=16384
6482 if test -x /sbin/sysconfig; then
6483 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6484 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6485 esac
6488 sco3.2v5*)
6489 lt_cv_sys_max_cmd_len=102400
6491 sysv5* | sco5v6* | sysv4.2uw2*)
6492 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6493 if test -n "$kargmax"; then
6494 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6495 else
6496 lt_cv_sys_max_cmd_len=32768
6500 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6501 if test -n "$lt_cv_sys_max_cmd_len"; then
6502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6504 else
6505 # Make teststring a little bigger before we do anything with it.
6506 # a 1K string should be a reasonable start.
6507 for i in 1 2 3 4 5 6 7 8 ; do
6508 teststring=$teststring$teststring
6509 done
6510 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6511 # If test is not a shell built-in, we'll probably end up computing a
6512 # maximum length that is only half of the actual maximum length, but
6513 # we can't tell.
6514 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6515 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6516 test $i != 17 # 1/2 MB should be enough
6518 i=`expr $i + 1`
6519 teststring=$teststring$teststring
6520 done
6521 # Only check the string length outside the loop.
6522 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6523 teststring=
6524 # Add a significant safety factor because C++ compilers can tack on
6525 # massive amounts of additional arguments before passing them to the
6526 # linker. It appears as though 1/2 is a usable value.
6527 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6530 esac
6534 if test -n $lt_cv_sys_max_cmd_len ; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6536 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6537 else
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6539 $as_echo "none" >&6; }
6541 max_cmd_len=$lt_cv_sys_max_cmd_len
6548 : ${CP="cp -f"}
6549 : ${MV="mv -f"}
6550 : ${RM="rm -f"}
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6553 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6554 # Try some XSI features
6555 xsi_shell=no
6556 ( _lt_dummy="a/b/c"
6557 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6558 = c,a/b,, \
6559 && eval 'test $(( 1 + 1 )) -eq 2 \
6560 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6561 && xsi_shell=yes
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6563 $as_echo "$xsi_shell" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6567 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6568 lt_shell_append=no
6569 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6570 >/dev/null 2>&1 \
6571 && lt_shell_append=yes
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6573 $as_echo "$lt_shell_append" >&6; }
6576 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6577 lt_unset=unset
6578 else
6579 lt_unset=false
6586 # test EBCDIC or ASCII
6587 case `echo X|tr X '\101'` in
6588 A) # ASCII based system
6589 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6590 lt_SP2NL='tr \040 \012'
6591 lt_NL2SP='tr \015\012 \040\040'
6593 *) # EBCDIC based system
6594 lt_SP2NL='tr \100 \n'
6595 lt_NL2SP='tr \r\n \100\100'
6597 esac
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6608 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6609 if ${lt_cv_ld_reload_flag+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 lt_cv_ld_reload_flag='-r'
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6615 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6616 reload_flag=$lt_cv_ld_reload_flag
6617 case $reload_flag in
6618 "" | " "*) ;;
6619 *) reload_flag=" $reload_flag" ;;
6620 esac
6621 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6622 case $host_os in
6623 darwin*)
6624 if test "$GCC" = yes; then
6625 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6626 else
6627 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6630 esac
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_OBJDUMP+:} false; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$OBJDUMP"; then
6649 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 OBJDUMP=$ac_cv_prog_OBJDUMP
6669 if test -n "$OBJDUMP"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6671 $as_echo "$OBJDUMP" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_prog_OBJDUMP"; then
6680 ac_ct_OBJDUMP=$OBJDUMP
6681 # Extract the first word of "objdump", so it can be a program name with args.
6682 set dummy objdump; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$ac_ct_OBJDUMP"; then
6689 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6709 if test -n "$ac_ct_OBJDUMP"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6711 $as_echo "$ac_ct_OBJDUMP" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6717 if test "x$ac_ct_OBJDUMP" = x; then
6718 OBJDUMP="false"
6719 else
6720 case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726 OBJDUMP=$ac_ct_OBJDUMP
6728 else
6729 OBJDUMP="$ac_cv_prog_OBJDUMP"
6732 test -z "$OBJDUMP" && OBJDUMP=objdump
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6743 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6744 if ${lt_cv_deplibs_check_method+:} false; then :
6745 $as_echo_n "(cached) " >&6
6746 else
6747 lt_cv_file_magic_cmd='$MAGIC_CMD'
6748 lt_cv_file_magic_test_file=
6749 lt_cv_deplibs_check_method='unknown'
6750 # Need to set the preceding variable on all platforms that support
6751 # interlibrary dependencies.
6752 # 'none' -- dependencies not supported.
6753 # `unknown' -- same as none, but documents that we really don't know.
6754 # 'pass_all' -- all dependencies passed with no checks.
6755 # 'test_compile' -- check by making test program.
6756 # 'file_magic [[regex]]' -- check by looking for files in library path
6757 # which responds to the $file_magic_cmd with a given extended regex.
6758 # If you have `file' or equivalent on your system and you're not sure
6759 # whether `pass_all' will *always* work, you probably want this one.
6761 case $host_os in
6762 aix[4-9]*)
6763 lt_cv_deplibs_check_method=pass_all
6766 beos*)
6767 lt_cv_deplibs_check_method=pass_all
6770 bsdi[45]*)
6771 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6772 lt_cv_file_magic_cmd='/usr/bin/file -L'
6773 lt_cv_file_magic_test_file=/shlib/libc.so
6776 cygwin*)
6777 # func_win32_libid is a shell function defined in ltmain.sh
6778 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6779 lt_cv_file_magic_cmd='func_win32_libid'
6782 mingw* | pw32*)
6783 # Base MSYS/MinGW do not provide the 'file' command needed by
6784 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6785 # unless we find 'file', for example because we are cross-compiling.
6786 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6787 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6788 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6789 lt_cv_file_magic_cmd='func_win32_libid'
6790 else
6791 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6792 lt_cv_file_magic_cmd='$OBJDUMP -f'
6796 cegcc*)
6797 # use the weaker test based on 'objdump'. See mingw*.
6798 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6799 lt_cv_file_magic_cmd='$OBJDUMP -f'
6802 darwin* | rhapsody*)
6803 lt_cv_deplibs_check_method=pass_all
6806 freebsd* | dragonfly*)
6807 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6808 case $host_cpu in
6809 i*86 )
6810 # Not sure whether the presence of OpenBSD here was a mistake.
6811 # Let's accept both of them until this is cleared up.
6812 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6813 lt_cv_file_magic_cmd=/usr/bin/file
6814 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6816 esac
6817 else
6818 lt_cv_deplibs_check_method=pass_all
6822 gnu*)
6823 lt_cv_deplibs_check_method=pass_all
6826 haiku*)
6827 lt_cv_deplibs_check_method=pass_all
6830 hpux10.20* | hpux11*)
6831 lt_cv_file_magic_cmd=/usr/bin/file
6832 case $host_cpu in
6833 ia64*)
6834 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6835 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6837 hppa*64*)
6838 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]'
6839 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6842 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6843 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6845 esac
6848 interix[3-9]*)
6849 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6850 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6853 irix5* | irix6* | nonstopux*)
6854 case $LD in
6855 *-32|*"-32 ") libmagic=32-bit;;
6856 *-n32|*"-n32 ") libmagic=N32;;
6857 *-64|*"-64 ") libmagic=64-bit;;
6858 *) libmagic=never-match;;
6859 esac
6860 lt_cv_deplibs_check_method=pass_all
6863 # This must be Linux ELF.
6864 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6865 lt_cv_deplibs_check_method=pass_all
6868 netbsd*)
6869 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6870 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6871 else
6872 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6876 newos6*)
6877 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6878 lt_cv_file_magic_cmd=/usr/bin/file
6879 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6882 *nto* | *qnx*)
6883 lt_cv_deplibs_check_method=pass_all
6886 openbsd*)
6887 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6888 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6889 else
6890 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6894 osf3* | osf4* | osf5*)
6895 lt_cv_deplibs_check_method=pass_all
6898 rdos*)
6899 lt_cv_deplibs_check_method=pass_all
6902 solaris*)
6903 lt_cv_deplibs_check_method=pass_all
6906 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6907 lt_cv_deplibs_check_method=pass_all
6910 sysv4 | sysv4.3*)
6911 case $host_vendor in
6912 motorola)
6913 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]'
6914 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6916 ncr)
6917 lt_cv_deplibs_check_method=pass_all
6919 sequent)
6920 lt_cv_file_magic_cmd='/bin/file'
6921 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6923 sni)
6924 lt_cv_file_magic_cmd='/bin/file'
6925 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6926 lt_cv_file_magic_test_file=/lib/libc.so
6928 siemens)
6929 lt_cv_deplibs_check_method=pass_all
6932 lt_cv_deplibs_check_method=pass_all
6934 esac
6937 tpf*)
6938 lt_cv_deplibs_check_method=pass_all
6940 esac
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6944 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6945 file_magic_cmd=$lt_cv_file_magic_cmd
6946 deplibs_check_method=$lt_cv_deplibs_check_method
6947 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}ar; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_AR+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 if test -n "$AR"; then
6969 ac_cv_prog_AR="$AR" # Let the user override the test.
6970 else
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 for as_dir in $PATH
6974 IFS=$as_save_IFS
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_AR="${ac_tool_prefix}ar"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 break 2
6982 done
6983 done
6984 IFS=$as_save_IFS
6988 AR=$ac_cv_prog_AR
6989 if test -n "$AR"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6991 $as_echo "$AR" >&6; }
6992 else
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_AR"; then
7000 ac_ct_AR=$AR
7001 # Extract the first word of "ar", so it can be a program name with args.
7002 set dummy ar; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 if test -n "$ac_ct_AR"; then
7009 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7014 IFS=$as_save_IFS
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_AR="ar"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 break 2
7022 done
7023 done
7024 IFS=$as_save_IFS
7028 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7029 if test -n "$ac_ct_AR"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7031 $as_echo "$ac_ct_AR" >&6; }
7032 else
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_AR" = x; then
7038 AR="false"
7039 else
7040 case $cross_compiling:$ac_tool_warned in
7041 yes:)
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7045 esac
7046 AR=$ac_ct_AR
7048 else
7049 AR="$ac_cv_prog_AR"
7052 test -z "$AR" && AR=ar
7053 test -z "$AR_FLAGS" && AR_FLAGS=cru
7065 if test -n "$ac_tool_prefix"; then
7066 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7067 set dummy ${ac_tool_prefix}strip; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_STRIP+:} false; then :
7071 $as_echo_n "(cached) " >&6
7072 else
7073 if test -n "$STRIP"; then
7074 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7075 else
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in $PATH
7079 IFS=$as_save_IFS
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 break 2
7087 done
7088 done
7089 IFS=$as_save_IFS
7093 STRIP=$ac_cv_prog_STRIP
7094 if test -n "$STRIP"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7096 $as_echo "$STRIP" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7104 if test -z "$ac_cv_prog_STRIP"; then
7105 ac_ct_STRIP=$STRIP
7106 # Extract the first word of "strip", so it can be a program name with args.
7107 set dummy strip; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7111 $as_echo_n "(cached) " >&6
7112 else
7113 if test -n "$ac_ct_STRIP"; then
7114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7115 else
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 for as_dir in $PATH
7119 IFS=$as_save_IFS
7120 test -z "$as_dir" && as_dir=.
7121 for ac_exec_ext in '' $ac_executable_extensions; do
7122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123 ac_cv_prog_ac_ct_STRIP="strip"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 break 2
7127 done
7128 done
7129 IFS=$as_save_IFS
7133 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7134 if test -n "$ac_ct_STRIP"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7136 $as_echo "$ac_ct_STRIP" >&6; }
7137 else
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7142 if test "x$ac_ct_STRIP" = x; then
7143 STRIP=":"
7144 else
7145 case $cross_compiling:$ac_tool_warned in
7146 yes:)
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149 ac_tool_warned=yes ;;
7150 esac
7151 STRIP=$ac_ct_STRIP
7153 else
7154 STRIP="$ac_cv_prog_STRIP"
7157 test -z "$STRIP" && STRIP=:
7164 if test -n "$ac_tool_prefix"; then
7165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if ${ac_cv_prog_RANLIB+:} false; then :
7170 $as_echo_n "(cached) " >&6
7171 else
7172 if test -n "$RANLIB"; then
7173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7174 else
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 for as_dir in $PATH
7178 IFS=$as_save_IFS
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 break 2
7186 done
7187 done
7188 IFS=$as_save_IFS
7192 RANLIB=$ac_cv_prog_RANLIB
7193 if test -n "$RANLIB"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7195 $as_echo "$RANLIB" >&6; }
7196 else
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7203 if test -z "$ac_cv_prog_RANLIB"; then
7204 ac_ct_RANLIB=$RANLIB
7205 # Extract the first word of "ranlib", so it can be a program name with args.
7206 set dummy ranlib; ac_word=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 $as_echo_n "checking for $ac_word... " >&6; }
7209 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7210 $as_echo_n "(cached) " >&6
7211 else
7212 if test -n "$ac_ct_RANLIB"; then
7213 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7214 else
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 for as_dir in $PATH
7218 IFS=$as_save_IFS
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 ac_cv_prog_ac_ct_RANLIB="ranlib"
7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 break 2
7226 done
7227 done
7228 IFS=$as_save_IFS
7232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7233 if test -n "$ac_ct_RANLIB"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7235 $as_echo "$ac_ct_RANLIB" >&6; }
7236 else
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7241 if test "x$ac_ct_RANLIB" = x; then
7242 RANLIB=":"
7243 else
7244 case $cross_compiling:$ac_tool_warned in
7245 yes:)
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7248 ac_tool_warned=yes ;;
7249 esac
7250 RANLIB=$ac_ct_RANLIB
7252 else
7253 RANLIB="$ac_cv_prog_RANLIB"
7256 test -z "$RANLIB" && RANLIB=:
7263 # Determine commands to create old-style static archives.
7264 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7265 old_postinstall_cmds='chmod 644 $oldlib'
7266 old_postuninstall_cmds=
7268 if test -n "$RANLIB"; then
7269 case $host_os in
7270 openbsd*)
7271 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7274 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7276 esac
7277 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7280 case $host_os in
7281 darwin*)
7282 lock_old_archive_extraction=yes ;;
7284 lock_old_archive_extraction=no ;;
7285 esac
7325 # If no C compiler was specified, use CC.
7326 LTCC=${LTCC-"$CC"}
7328 # If no C compiler flags were specified, use CFLAGS.
7329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7331 # Allow CC to be a program name with arguments.
7332 compiler=$CC
7335 # Check for command to grab the raw symbol name followed by C symbol from nm.
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7337 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7338 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7339 $as_echo_n "(cached) " >&6
7340 else
7342 # These are sane defaults that work on at least a few old systems.
7343 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7345 # Character class describing NM global symbol codes.
7346 symcode='[BCDEGRST]'
7348 # Regexp to match symbols that can be accessed directly from C.
7349 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7351 # Define system-specific variables.
7352 case $host_os in
7353 aix*)
7354 symcode='[BCDT]'
7356 cygwin* | mingw* | pw32* | cegcc*)
7357 symcode='[ABCDGISTW]'
7359 hpux*)
7360 if test "$host_cpu" = ia64; then
7361 symcode='[ABCDEGRST]'
7364 irix* | nonstopux*)
7365 symcode='[BCDEGRST]'
7367 osf*)
7368 symcode='[BCDEGQRST]'
7370 solaris*)
7371 symcode='[BDRT]'
7373 sco3.2v5*)
7374 symcode='[DT]'
7376 sysv4.2uw2*)
7377 symcode='[DT]'
7379 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7380 symcode='[ABDT]'
7382 sysv4)
7383 symcode='[DFNSTU]'
7385 esac
7387 # If we're using GNU nm, then use its standard symbol codes.
7388 case `$NM -V 2>&1` in
7389 *GNU* | *'with BFD'*)
7390 symcode='[ABCDGIRSTW]' ;;
7391 esac
7393 # Transform an extracted symbol line into a proper C declaration.
7394 # Some systems (esp. on ia64) link data and code symbols differently,
7395 # so use this general approach.
7396 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7398 # Transform an extracted symbol line into symbol name and symbol address
7399 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7400 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'"
7402 # Handle CRLF in mingw tool chain
7403 opt_cr=
7404 case $build_os in
7405 mingw*)
7406 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7408 esac
7410 # Try without a prefix underscore, then with it.
7411 for ac_symprfx in "" "_"; do
7413 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7414 symxfrm="\\1 $ac_symprfx\\2 \\2"
7416 # Write the raw and C identifiers.
7417 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7418 # Fake it for dumpbin and say T for any non-static function
7419 # and D for any global variable.
7420 # Also find C++ and __fastcall symbols from MSVC++,
7421 # which start with @ or ?.
7422 lt_cv_sys_global_symbol_pipe="$AWK '"\
7423 " {last_section=section; section=\$ 3};"\
7424 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7425 " \$ 0!~/External *\|/{next};"\
7426 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7427 " {if(hide[section]) next};"\
7428 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7429 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7430 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7431 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7432 " ' prfx=^$ac_symprfx"
7433 else
7434 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7437 # Check to see that the pipe works correctly.
7438 pipe_works=no
7440 rm -f conftest*
7441 cat > conftest.$ac_ext <<_LT_EOF
7442 #ifdef __cplusplus
7443 extern "C" {
7444 #endif
7445 char nm_test_var;
7446 void nm_test_func(void);
7447 void nm_test_func(void){}
7448 #ifdef __cplusplus
7450 #endif
7451 int main(){nm_test_var='a';nm_test_func();return(0);}
7452 _LT_EOF
7454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7455 (eval $ac_compile) 2>&5
7456 ac_status=$?
7457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7458 test $ac_status = 0; }; then
7459 # Now try to grab the symbols.
7460 nlist=conftest.nm
7461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7462 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7463 ac_status=$?
7464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7465 test $ac_status = 0; } && test -s "$nlist"; then
7466 # Try sorting and uniquifying the output.
7467 if sort "$nlist" | uniq > "$nlist"T; then
7468 mv -f "$nlist"T "$nlist"
7469 else
7470 rm -f "$nlist"T
7473 # Make sure that we snagged all the symbols we need.
7474 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7475 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7476 cat <<_LT_EOF > conftest.$ac_ext
7477 #ifdef __cplusplus
7478 extern "C" {
7479 #endif
7481 _LT_EOF
7482 # Now generate the symbol file.
7483 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7485 cat <<_LT_EOF >> conftest.$ac_ext
7487 /* The mapping between symbol names and symbols. */
7488 const struct {
7489 const char *name;
7490 void *address;
7492 lt__PROGRAM__LTX_preloaded_symbols[] =
7494 { "@PROGRAM@", (void *) 0 },
7495 _LT_EOF
7496 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7497 cat <<\_LT_EOF >> conftest.$ac_ext
7498 {0, (void *) 0}
7501 /* This works around a problem in FreeBSD linker */
7502 #ifdef FREEBSD_WORKAROUND
7503 static const void *lt_preloaded_setup() {
7504 return lt__PROGRAM__LTX_preloaded_symbols;
7506 #endif
7508 #ifdef __cplusplus
7510 #endif
7511 _LT_EOF
7512 # Now try linking the two files.
7513 mv conftest.$ac_objext conftstm.$ac_objext
7514 lt_save_LIBS="$LIBS"
7515 lt_save_CFLAGS="$CFLAGS"
7516 LIBS="conftstm.$ac_objext"
7517 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7519 (eval $ac_link) 2>&5
7520 ac_status=$?
7521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7522 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7523 pipe_works=yes
7525 LIBS="$lt_save_LIBS"
7526 CFLAGS="$lt_save_CFLAGS"
7527 else
7528 echo "cannot find nm_test_func in $nlist" >&5
7530 else
7531 echo "cannot find nm_test_var in $nlist" >&5
7533 else
7534 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7536 else
7537 echo "$progname: failed program was:" >&5
7538 cat conftest.$ac_ext >&5
7540 rm -rf conftest* conftst*
7542 # Do not use the global_symbol_pipe unless it works.
7543 if test "$pipe_works" = yes; then
7544 break
7545 else
7546 lt_cv_sys_global_symbol_pipe=
7548 done
7552 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7553 lt_cv_sys_global_symbol_to_cdecl=
7555 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7557 $as_echo "failed" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7560 $as_echo "ok" >&6; }
7584 # Check whether --enable-libtool-lock was given.
7585 if test "${enable_libtool_lock+set}" = set; then :
7586 enableval=$enable_libtool_lock;
7589 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7591 # Some flags need to be propagated to the compiler or linker for good
7592 # libtool support.
7593 case $host in
7594 ia64-*-hpux*)
7595 # Find out which ABI we are using.
7596 echo 'int i;' > conftest.$ac_ext
7597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7598 (eval $ac_compile) 2>&5
7599 ac_status=$?
7600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601 test $ac_status = 0; }; then
7602 case `/usr/bin/file conftest.$ac_objext` in
7603 *ELF-32*)
7604 HPUX_IA64_MODE="32"
7606 *ELF-64*)
7607 HPUX_IA64_MODE="64"
7609 esac
7611 rm -rf conftest*
7613 *-*-irix6*)
7614 # Find out which ABI we are using.
7615 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7617 (eval $ac_compile) 2>&5
7618 ac_status=$?
7619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7620 test $ac_status = 0; }; then
7621 if test "$lt_cv_prog_gnu_ld" = yes; then
7622 case `/usr/bin/file conftest.$ac_objext` in
7623 *32-bit*)
7624 LD="${LD-ld} -melf32bsmip"
7626 *N32*)
7627 LD="${LD-ld} -melf32bmipn32"
7629 *64-bit*)
7630 LD="${LD-ld} -melf64bmip"
7632 esac
7633 else
7634 case `/usr/bin/file conftest.$ac_objext` in
7635 *32-bit*)
7636 LD="${LD-ld} -32"
7638 *N32*)
7639 LD="${LD-ld} -n32"
7641 *64-bit*)
7642 LD="${LD-ld} -64"
7644 esac
7647 rm -rf conftest*
7650 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7651 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7652 # Find out which ABI we are using.
7653 echo 'int i;' > conftest.$ac_ext
7654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7655 (eval $ac_compile) 2>&5
7656 ac_status=$?
7657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7658 test $ac_status = 0; }; then
7659 case `/usr/bin/file conftest.o` in
7660 *32-bit*)
7661 case $host in
7662 x86_64-*kfreebsd*-gnu)
7663 LD="${LD-ld} -m elf_i386_fbsd"
7665 x86_64-*linux*)
7666 case `/usr/bin/file conftest.o` in
7667 *x86-64*)
7668 LD="${LD-ld} -m elf32_x86_64"
7671 LD="${LD-ld} -m elf_i386"
7673 esac
7675 powerpc64le-*linux*)
7676 LD="${LD-ld} -m elf32lppclinux"
7678 powerpc64-*linux*)
7679 LD="${LD-ld} -m elf32ppclinux"
7681 s390x-*linux*)
7682 LD="${LD-ld} -m elf_s390"
7684 sparc64-*linux*)
7685 LD="${LD-ld} -m elf32_sparc"
7687 esac
7689 *64-bit*)
7690 case $host in
7691 x86_64-*kfreebsd*-gnu)
7692 LD="${LD-ld} -m elf_x86_64_fbsd"
7694 x86_64-*linux*)
7695 LD="${LD-ld} -m elf_x86_64"
7697 powerpcle-*linux*)
7698 LD="${LD-ld} -m elf64lppc"
7700 powerpc-*linux*)
7701 LD="${LD-ld} -m elf64ppc"
7703 s390*-*linux*|s390*-*tpf*)
7704 LD="${LD-ld} -m elf64_s390"
7706 sparc*-*linux*)
7707 LD="${LD-ld} -m elf64_sparc"
7709 esac
7711 esac
7713 rm -rf conftest*
7716 *-*-sco3.2v5*)
7717 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7718 SAVE_CFLAGS="$CFLAGS"
7719 CFLAGS="$CFLAGS -belf"
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7721 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7722 if ${lt_cv_cc_needs_belf+:} false; then :
7723 $as_echo_n "(cached) " >&6
7724 else
7725 ac_ext=c
7726 ac_cpp='$CPP $CPPFLAGS'
7727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7731 if test x$gcc_no_link = xyes; then
7732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7738 main ()
7742 return 0;
7744 _ACEOF
7745 if ac_fn_c_try_link "$LINENO"; then :
7746 lt_cv_cc_needs_belf=yes
7747 else
7748 lt_cv_cc_needs_belf=no
7750 rm -f core conftest.err conftest.$ac_objext \
7751 conftest$ac_exeext conftest.$ac_ext
7752 ac_ext=c
7753 ac_cpp='$CPP $CPPFLAGS'
7754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7760 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7761 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7762 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7763 CFLAGS="$SAVE_CFLAGS"
7766 sparc*-*solaris*)
7767 # Find out which ABI we are using.
7768 echo 'int i;' > conftest.$ac_ext
7769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7770 (eval $ac_compile) 2>&5
7771 ac_status=$?
7772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7773 test $ac_status = 0; }; then
7774 case `/usr/bin/file conftest.o` in
7775 *64-bit*)
7776 case $lt_cv_prog_gnu_ld in
7777 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7779 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7780 LD="${LD-ld} -64"
7783 esac
7785 esac
7787 rm -rf conftest*
7789 esac
7791 need_locks="$enable_libtool_lock"
7794 case $host_os in
7795 rhapsody* | darwin*)
7796 if test -n "$ac_tool_prefix"; then
7797 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7798 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 if test -n "$DSYMUTIL"; then
7805 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7806 else
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808 for as_dir in $PATH
7810 IFS=$as_save_IFS
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816 break 2
7818 done
7819 done
7820 IFS=$as_save_IFS
7824 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7825 if test -n "$DSYMUTIL"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7827 $as_echo "$DSYMUTIL" >&6; }
7828 else
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7835 if test -z "$ac_cv_prog_DSYMUTIL"; then
7836 ac_ct_DSYMUTIL=$DSYMUTIL
7837 # Extract the first word of "dsymutil", so it can be a program name with args.
7838 set dummy dsymutil; ac_word=$2
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840 $as_echo_n "checking for $ac_word... " >&6; }
7841 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7842 $as_echo_n "(cached) " >&6
7843 else
7844 if test -n "$ac_ct_DSYMUTIL"; then
7845 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7846 else
7847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848 for as_dir in $PATH
7850 IFS=$as_save_IFS
7851 test -z "$as_dir" && as_dir=.
7852 for ac_exec_ext in '' $ac_executable_extensions; do
7853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 break 2
7858 done
7859 done
7860 IFS=$as_save_IFS
7864 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7865 if test -n "$ac_ct_DSYMUTIL"; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7867 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7868 else
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870 $as_echo "no" >&6; }
7873 if test "x$ac_ct_DSYMUTIL" = x; then
7874 DSYMUTIL=":"
7875 else
7876 case $cross_compiling:$ac_tool_warned in
7877 yes:)
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7880 ac_tool_warned=yes ;;
7881 esac
7882 DSYMUTIL=$ac_ct_DSYMUTIL
7884 else
7885 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7888 if test -n "$ac_tool_prefix"; then
7889 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7890 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if ${ac_cv_prog_NMEDIT+:} false; then :
7894 $as_echo_n "(cached) " >&6
7895 else
7896 if test -n "$NMEDIT"; then
7897 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7898 else
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900 for as_dir in $PATH
7902 IFS=$as_save_IFS
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 break 2
7910 done
7911 done
7912 IFS=$as_save_IFS
7916 NMEDIT=$ac_cv_prog_NMEDIT
7917 if test -n "$NMEDIT"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7919 $as_echo "$NMEDIT" >&6; }
7920 else
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 $as_echo "no" >&6; }
7927 if test -z "$ac_cv_prog_NMEDIT"; then
7928 ac_ct_NMEDIT=$NMEDIT
7929 # Extract the first word of "nmedit", so it can be a program name with args.
7930 set dummy nmedit; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7934 $as_echo_n "(cached) " >&6
7935 else
7936 if test -n "$ac_ct_NMEDIT"; then
7937 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7938 else
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940 for as_dir in $PATH
7942 IFS=$as_save_IFS
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 break 2
7950 done
7951 done
7952 IFS=$as_save_IFS
7956 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7957 if test -n "$ac_ct_NMEDIT"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7959 $as_echo "$ac_ct_NMEDIT" >&6; }
7960 else
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7965 if test "x$ac_ct_NMEDIT" = x; then
7966 NMEDIT=":"
7967 else
7968 case $cross_compiling:$ac_tool_warned in
7969 yes:)
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972 ac_tool_warned=yes ;;
7973 esac
7974 NMEDIT=$ac_ct_NMEDIT
7976 else
7977 NMEDIT="$ac_cv_prog_NMEDIT"
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_LIPO+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 if test -n "$LIPO"; then
7989 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7990 else
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 for as_dir in $PATH
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8008 LIPO=$ac_cv_prog_LIPO
8009 if test -n "$LIPO"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8011 $as_echo "$LIPO" >&6; }
8012 else
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_LIPO"; then
8020 ac_ct_LIPO=$LIPO
8021 # Extract the first word of "lipo", so it can be a program name with args.
8022 set dummy lipo; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 if test -n "$ac_ct_LIPO"; then
8029 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8030 else
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 for as_dir in $PATH
8034 IFS=$as_save_IFS
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_LIPO="lipo"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 break 2
8042 done
8043 done
8044 IFS=$as_save_IFS
8048 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8049 if test -n "$ac_ct_LIPO"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8051 $as_echo "$ac_ct_LIPO" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_LIPO" = x; then
8058 LIPO=":"
8059 else
8060 case $cross_compiling:$ac_tool_warned in
8061 yes:)
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned=yes ;;
8065 esac
8066 LIPO=$ac_ct_LIPO
8068 else
8069 LIPO="$ac_cv_prog_LIPO"
8072 if test -n "$ac_tool_prefix"; then
8073 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8074 set dummy ${ac_tool_prefix}otool; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076 $as_echo_n "checking for $ac_word... " >&6; }
8077 if ${ac_cv_prog_OTOOL+:} false; then :
8078 $as_echo_n "(cached) " >&6
8079 else
8080 if test -n "$OTOOL"; then
8081 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8082 else
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 for as_dir in $PATH
8086 IFS=$as_save_IFS
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 break 2
8094 done
8095 done
8096 IFS=$as_save_IFS
8100 OTOOL=$ac_cv_prog_OTOOL
8101 if test -n "$OTOOL"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8103 $as_echo "$OTOOL" >&6; }
8104 else
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8111 if test -z "$ac_cv_prog_OTOOL"; then
8112 ac_ct_OTOOL=$OTOOL
8113 # Extract the first word of "otool", so it can be a program name with args.
8114 set dummy otool; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116 $as_echo_n "checking for $ac_word... " >&6; }
8117 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8118 $as_echo_n "(cached) " >&6
8119 else
8120 if test -n "$ac_ct_OTOOL"; then
8121 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8122 else
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124 for as_dir in $PATH
8126 IFS=$as_save_IFS
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130 ac_cv_prog_ac_ct_OTOOL="otool"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8132 break 2
8134 done
8135 done
8136 IFS=$as_save_IFS
8140 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8141 if test -n "$ac_ct_OTOOL"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8143 $as_echo "$ac_ct_OTOOL" >&6; }
8144 else
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8149 if test "x$ac_ct_OTOOL" = x; then
8150 OTOOL=":"
8151 else
8152 case $cross_compiling:$ac_tool_warned in
8153 yes:)
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8156 ac_tool_warned=yes ;;
8157 esac
8158 OTOOL=$ac_ct_OTOOL
8160 else
8161 OTOOL="$ac_cv_prog_OTOOL"
8164 if test -n "$ac_tool_prefix"; then
8165 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8166 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8168 $as_echo_n "checking for $ac_word... " >&6; }
8169 if ${ac_cv_prog_OTOOL64+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 if test -n "$OTOOL64"; then
8173 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8174 else
8175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 for as_dir in $PATH
8178 IFS=$as_save_IFS
8179 test -z "$as_dir" && as_dir=.
8180 for ac_exec_ext in '' $ac_executable_extensions; do
8181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8182 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8184 break 2
8186 done
8187 done
8188 IFS=$as_save_IFS
8192 OTOOL64=$ac_cv_prog_OTOOL64
8193 if test -n "$OTOOL64"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8195 $as_echo "$OTOOL64" >&6; }
8196 else
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198 $as_echo "no" >&6; }
8203 if test -z "$ac_cv_prog_OTOOL64"; then
8204 ac_ct_OTOOL64=$OTOOL64
8205 # Extract the first word of "otool64", so it can be a program name with args.
8206 set dummy otool64; ac_word=$2
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8208 $as_echo_n "checking for $ac_word... " >&6; }
8209 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 if test -n "$ac_ct_OTOOL64"; then
8213 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8214 else
8215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 for as_dir in $PATH
8218 IFS=$as_save_IFS
8219 test -z "$as_dir" && as_dir=.
8220 for ac_exec_ext in '' $ac_executable_extensions; do
8221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8222 ac_cv_prog_ac_ct_OTOOL64="otool64"
8223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8224 break 2
8226 done
8227 done
8228 IFS=$as_save_IFS
8232 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8233 if test -n "$ac_ct_OTOOL64"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8235 $as_echo "$ac_ct_OTOOL64" >&6; }
8236 else
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238 $as_echo "no" >&6; }
8241 if test "x$ac_ct_OTOOL64" = x; then
8242 OTOOL64=":"
8243 else
8244 case $cross_compiling:$ac_tool_warned in
8245 yes:)
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8248 ac_tool_warned=yes ;;
8249 esac
8250 OTOOL64=$ac_ct_OTOOL64
8252 else
8253 OTOOL64="$ac_cv_prog_OTOOL64"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8283 $as_echo_n "checking for -single_module linker flag... " >&6; }
8284 if ${lt_cv_apple_cc_single_mod+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 lt_cv_apple_cc_single_mod=no
8288 if test -z "${LT_MULTI_MODULE}"; then
8289 # By default we will add the -single_module flag. You can override
8290 # by either setting the environment variable LT_MULTI_MODULE
8291 # non-empty at configure time, or by adding -multi_module to the
8292 # link flags.
8293 rm -rf libconftest.dylib*
8294 echo "int foo(void){return 1;}" > conftest.c
8295 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8296 -dynamiclib -Wl,-single_module conftest.c" >&5
8297 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8298 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8299 _lt_result=$?
8300 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8301 lt_cv_apple_cc_single_mod=yes
8302 else
8303 cat conftest.err >&5
8305 rm -rf libconftest.dylib*
8306 rm -f conftest.*
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8310 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8312 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8313 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 lt_cv_ld_exported_symbols_list=no
8317 save_LDFLAGS=$LDFLAGS
8318 echo "_main" > conftest.sym
8319 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8320 if test x$gcc_no_link = xyes; then
8321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8327 main ()
8331 return 0;
8333 _ACEOF
8334 if ac_fn_c_try_link "$LINENO"; then :
8335 lt_cv_ld_exported_symbols_list=yes
8336 else
8337 lt_cv_ld_exported_symbols_list=no
8339 rm -f core conftest.err conftest.$ac_objext \
8340 conftest$ac_exeext conftest.$ac_ext
8341 LDFLAGS="$save_LDFLAGS"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8345 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8347 $as_echo_n "checking for -force_load linker flag... " >&6; }
8348 if ${lt_cv_ld_force_load+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 lt_cv_ld_force_load=no
8352 cat > conftest.c << _LT_EOF
8353 int forced_loaded() { return 2;}
8354 _LT_EOF
8355 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8356 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8357 echo "$AR cru libconftest.a conftest.o" >&5
8358 $AR cru libconftest.a conftest.o 2>&5
8359 cat > conftest.c << _LT_EOF
8360 int main() { return 0;}
8361 _LT_EOF
8362 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8363 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8364 _lt_result=$?
8365 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8366 lt_cv_ld_force_load=yes
8367 else
8368 cat conftest.err >&5
8370 rm -f conftest.err libconftest.a conftest conftest.c
8371 rm -rf conftest.dSYM
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8375 $as_echo "$lt_cv_ld_force_load" >&6; }
8376 case $host_os in
8377 rhapsody* | darwin1.[012])
8378 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8379 darwin1.*)
8380 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8381 darwin*) # darwin 5.x on
8382 # if running on 10.5 or later, the deployment target defaults
8383 # to the OS version, if on x86, and 10.4, the deployment
8384 # target defaults to 10.4. Don't you love it?
8385 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8386 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8387 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8388 10.[012][,.]*)
8389 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8390 10.*)
8391 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8392 esac
8394 esac
8395 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8396 _lt_dar_single_mod='$single_module'
8398 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8399 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8400 else
8401 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8403 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8404 _lt_dsymutil='~$DSYMUTIL $lib || :'
8405 else
8406 _lt_dsymutil=
8409 esac
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8412 $as_echo_n "checking for ANSI C header files... " >&6; }
8413 if ${ac_cv_header_stdc+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 #include <stdlib.h>
8419 #include <stdarg.h>
8420 #include <string.h>
8421 #include <float.h>
8424 main ()
8428 return 0;
8430 _ACEOF
8431 if ac_fn_c_try_compile "$LINENO"; then :
8432 ac_cv_header_stdc=yes
8433 else
8434 ac_cv_header_stdc=no
8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8438 if test $ac_cv_header_stdc = yes; then
8439 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8442 #include <string.h>
8444 _ACEOF
8445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8446 $EGREP "memchr" >/dev/null 2>&1; then :
8448 else
8449 ac_cv_header_stdc=no
8451 rm -f conftest*
8455 if test $ac_cv_header_stdc = yes; then
8456 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 #include <stdlib.h>
8461 _ACEOF
8462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8463 $EGREP "free" >/dev/null 2>&1; then :
8465 else
8466 ac_cv_header_stdc=no
8468 rm -f conftest*
8472 if test $ac_cv_header_stdc = yes; then
8473 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8474 if test "$cross_compiling" = yes; then :
8476 else
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 #include <ctype.h>
8480 #include <stdlib.h>
8481 #if ((' ' & 0x0FF) == 0x020)
8482 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8483 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8484 #else
8485 # define ISLOWER(c) \
8486 (('a' <= (c) && (c) <= 'i') \
8487 || ('j' <= (c) && (c) <= 'r') \
8488 || ('s' <= (c) && (c) <= 'z'))
8489 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8490 #endif
8492 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8494 main ()
8496 int i;
8497 for (i = 0; i < 256; i++)
8498 if (XOR (islower (i), ISLOWER (i))
8499 || toupper (i) != TOUPPER (i))
8500 return 2;
8501 return 0;
8503 _ACEOF
8504 if ac_fn_c_try_run "$LINENO"; then :
8506 else
8507 ac_cv_header_stdc=no
8509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8510 conftest.$ac_objext conftest.beam conftest.$ac_ext
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8516 $as_echo "$ac_cv_header_stdc" >&6; }
8517 if test $ac_cv_header_stdc = yes; then
8519 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8524 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8525 inttypes.h stdint.h unistd.h
8526 do :
8527 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8528 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8531 cat >>confdefs.h <<_ACEOF
8532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8533 _ACEOF
8537 done
8540 for ac_header in dlfcn.h
8541 do :
8542 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8544 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8545 cat >>confdefs.h <<_ACEOF
8546 #define HAVE_DLFCN_H 1
8547 _ACEOF
8551 done
8558 # Set options
8563 enable_win32_dll=no
8566 # Check whether --enable-shared was given.
8567 if test "${enable_shared+set}" = set; then :
8568 enableval=$enable_shared; p=${PACKAGE-default}
8569 case $enableval in
8570 yes) enable_shared=yes ;;
8571 no) enable_shared=no ;;
8573 enable_shared=no
8574 # Look at the argument we got. We use all the common list separators.
8575 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8576 for pkg in $enableval; do
8577 IFS="$lt_save_ifs"
8578 if test "X$pkg" = "X$p"; then
8579 enable_shared=yes
8581 done
8582 IFS="$lt_save_ifs"
8584 esac
8585 else
8586 enable_shared=yes
8597 # Check whether --enable-static was given.
8598 if test "${enable_static+set}" = set; then :
8599 enableval=$enable_static; p=${PACKAGE-default}
8600 case $enableval in
8601 yes) enable_static=yes ;;
8602 no) enable_static=no ;;
8604 enable_static=no
8605 # Look at the argument we got. We use all the common list separators.
8606 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8607 for pkg in $enableval; do
8608 IFS="$lt_save_ifs"
8609 if test "X$pkg" = "X$p"; then
8610 enable_static=yes
8612 done
8613 IFS="$lt_save_ifs"
8615 esac
8616 else
8617 enable_static=yes
8629 # Check whether --with-pic was given.
8630 if test "${with_pic+set}" = set; then :
8631 withval=$with_pic; pic_mode="$withval"
8632 else
8633 pic_mode=default
8637 test -z "$pic_mode" && pic_mode=default
8645 # Check whether --enable-fast-install was given.
8646 if test "${enable_fast_install+set}" = set; then :
8647 enableval=$enable_fast_install; p=${PACKAGE-default}
8648 case $enableval in
8649 yes) enable_fast_install=yes ;;
8650 no) enable_fast_install=no ;;
8652 enable_fast_install=no
8653 # Look at the argument we got. We use all the common list separators.
8654 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8655 for pkg in $enableval; do
8656 IFS="$lt_save_ifs"
8657 if test "X$pkg" = "X$p"; then
8658 enable_fast_install=yes
8660 done
8661 IFS="$lt_save_ifs"
8663 esac
8664 else
8665 enable_fast_install=yes
8678 # This can be used to rebuild libtool when needed
8679 LIBTOOL_DEPS="$ltmain"
8681 # Always use our own libtool.
8682 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8709 test -z "$LN_S" && LN_S="ln -s"
8724 if test -n "${ZSH_VERSION+set}" ; then
8725 setopt NO_GLOB_SUBST
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8729 $as_echo_n "checking for objdir... " >&6; }
8730 if ${lt_cv_objdir+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 rm -f .libs 2>/dev/null
8734 mkdir .libs 2>/dev/null
8735 if test -d .libs; then
8736 lt_cv_objdir=.libs
8737 else
8738 # MS-DOS does not allow filenames that begin with a dot.
8739 lt_cv_objdir=_libs
8741 rmdir .libs 2>/dev/null
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8744 $as_echo "$lt_cv_objdir" >&6; }
8745 objdir=$lt_cv_objdir
8751 cat >>confdefs.h <<_ACEOF
8752 #define LT_OBJDIR "$lt_cv_objdir/"
8753 _ACEOF
8758 case $host_os in
8759 aix3*)
8760 # AIX sometimes has problems with the GCC collect2 program. For some
8761 # reason, if we set the COLLECT_NAMES environment variable, the problems
8762 # vanish in a puff of smoke.
8763 if test "X${COLLECT_NAMES+set}" != Xset; then
8764 COLLECT_NAMES=
8765 export COLLECT_NAMES
8768 esac
8770 # Global variables:
8771 ofile=libtool
8772 can_build_shared=yes
8774 # All known linkers require a `.a' archive for static linking (except MSVC,
8775 # which needs '.lib').
8776 libext=a
8778 with_gnu_ld="$lt_cv_prog_gnu_ld"
8780 old_CC="$CC"
8781 old_CFLAGS="$CFLAGS"
8783 # Set sane defaults for various variables
8784 test -z "$CC" && CC=cc
8785 test -z "$LTCC" && LTCC=$CC
8786 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8787 test -z "$LD" && LD=ld
8788 test -z "$ac_objext" && ac_objext=o
8790 for cc_temp in $compiler""; do
8791 case $cc_temp in
8792 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8793 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8794 \-*) ;;
8795 *) break;;
8796 esac
8797 done
8798 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8801 # Only perform the check for file, if the check method requires it
8802 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8803 case $deplibs_check_method in
8804 file_magic*)
8805 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8807 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8808 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 case $MAGIC_CMD in
8812 [\\/*] | ?:[\\/]*)
8813 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8816 lt_save_MAGIC_CMD="$MAGIC_CMD"
8817 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8818 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8819 for ac_dir in $ac_dummy; do
8820 IFS="$lt_save_ifs"
8821 test -z "$ac_dir" && ac_dir=.
8822 if test -f $ac_dir/${ac_tool_prefix}file; then
8823 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8824 if test -n "$file_magic_test_file"; then
8825 case $deplibs_check_method in
8826 "file_magic "*)
8827 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8828 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8829 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8830 $EGREP "$file_magic_regex" > /dev/null; then
8832 else
8833 cat <<_LT_EOF 1>&2
8835 *** Warning: the command libtool uses to detect shared libraries,
8836 *** $file_magic_cmd, produces output that libtool cannot recognize.
8837 *** The result is that libtool may fail to recognize shared libraries
8838 *** as such. This will affect the creation of libtool libraries that
8839 *** depend on shared libraries, but programs linked with such libtool
8840 *** libraries will work regardless of this problem. Nevertheless, you
8841 *** may want to report the problem to your system manager and/or to
8842 *** bug-libtool@gnu.org
8844 _LT_EOF
8845 fi ;;
8846 esac
8848 break
8850 done
8851 IFS="$lt_save_ifs"
8852 MAGIC_CMD="$lt_save_MAGIC_CMD"
8854 esac
8857 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8858 if test -n "$MAGIC_CMD"; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8860 $as_echo "$MAGIC_CMD" >&6; }
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863 $as_echo "no" >&6; }
8870 if test -z "$lt_cv_path_MAGIC_CMD"; then
8871 if test -n "$ac_tool_prefix"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8873 $as_echo_n "checking for file... " >&6; }
8874 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8875 $as_echo_n "(cached) " >&6
8876 else
8877 case $MAGIC_CMD in
8878 [\\/*] | ?:[\\/]*)
8879 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8882 lt_save_MAGIC_CMD="$MAGIC_CMD"
8883 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8884 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8885 for ac_dir in $ac_dummy; do
8886 IFS="$lt_save_ifs"
8887 test -z "$ac_dir" && ac_dir=.
8888 if test -f $ac_dir/file; then
8889 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8890 if test -n "$file_magic_test_file"; then
8891 case $deplibs_check_method in
8892 "file_magic "*)
8893 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8894 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8895 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8896 $EGREP "$file_magic_regex" > /dev/null; then
8898 else
8899 cat <<_LT_EOF 1>&2
8901 *** Warning: the command libtool uses to detect shared libraries,
8902 *** $file_magic_cmd, produces output that libtool cannot recognize.
8903 *** The result is that libtool may fail to recognize shared libraries
8904 *** as such. This will affect the creation of libtool libraries that
8905 *** depend on shared libraries, but programs linked with such libtool
8906 *** libraries will work regardless of this problem. Nevertheless, you
8907 *** may want to report the problem to your system manager and/or to
8908 *** bug-libtool@gnu.org
8910 _LT_EOF
8911 fi ;;
8912 esac
8914 break
8916 done
8917 IFS="$lt_save_ifs"
8918 MAGIC_CMD="$lt_save_MAGIC_CMD"
8920 esac
8923 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8924 if test -n "$MAGIC_CMD"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8926 $as_echo "$MAGIC_CMD" >&6; }
8927 else
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 $as_echo "no" >&6; }
8933 else
8934 MAGIC_CMD=:
8940 esac
8942 # Use C for the default configuration in the libtool script
8944 lt_save_CC="$CC"
8945 ac_ext=c
8946 ac_cpp='$CPP $CPPFLAGS'
8947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8952 # Source file extension for C test sources.
8953 ac_ext=c
8955 # Object file extension for compiled C test sources.
8956 objext=o
8957 objext=$objext
8959 # Code to be used in simple compile tests
8960 lt_simple_compile_test_code="int some_variable = 0;"
8962 # Code to be used in simple link tests
8963 lt_simple_link_test_code='int main(){return(0);}'
8971 # If no C compiler was specified, use CC.
8972 LTCC=${LTCC-"$CC"}
8974 # If no C compiler flags were specified, use CFLAGS.
8975 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8977 # Allow CC to be a program name with arguments.
8978 compiler=$CC
8980 # Save the default compiler, since it gets overwritten when the other
8981 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8982 compiler_DEFAULT=$CC
8984 # save warnings/boilerplate of simple test code
8985 ac_outfile=conftest.$ac_objext
8986 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8987 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8988 _lt_compiler_boilerplate=`cat conftest.err`
8989 $RM conftest*
8991 ac_outfile=conftest.$ac_objext
8992 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8993 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8994 _lt_linker_boilerplate=`cat conftest.err`
8995 $RM -r conftest*
8998 ## CAVEAT EMPTOR:
8999 ## There is no encapsulation within the following macros, do not change
9000 ## the running order or otherwise move them around unless you know exactly
9001 ## what you are doing...
9002 if test -n "$compiler"; then
9004 lt_prog_compiler_no_builtin_flag=
9006 if test "$GCC" = yes; then
9007 case $cc_basename in
9008 nvcc*)
9009 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9011 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9012 esac
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9015 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9016 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 lt_cv_prog_compiler_rtti_exceptions=no
9020 ac_outfile=conftest.$ac_objext
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9022 lt_compiler_flag="-fno-rtti -fno-exceptions"
9023 # Insert the option either (1) after the last *FLAGS variable, or
9024 # (2) before a word containing "conftest.", or (3) at the end.
9025 # Note that $ac_compile itself does not contain backslashes and begins
9026 # with a dollar sign (not a hyphen), so the echo should work correctly.
9027 # The option is referenced via a variable to avoid confusing sed.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>conftest.err)
9034 ac_status=$?
9035 cat conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s "$ac_outfile"; then
9038 # The compiler can only warn and ignore the option if not recognized
9039 # So say no if there are warnings other than the usual output.
9040 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9041 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9042 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9043 lt_cv_prog_compiler_rtti_exceptions=yes
9046 $RM conftest*
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9050 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9052 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9053 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9054 else
9065 lt_prog_compiler_wl=
9066 lt_prog_compiler_pic=
9067 lt_prog_compiler_static=
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9070 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9072 if test "$GCC" = yes; then
9073 lt_prog_compiler_wl='-Wl,'
9074 lt_prog_compiler_static='-static'
9076 case $host_os in
9077 aix*)
9078 # All AIX code is PIC.
9079 if test "$host_cpu" = ia64; then
9080 # AIX 5 now supports IA64 processor
9081 lt_prog_compiler_static='-Bstatic'
9083 lt_prog_compiler_pic='-fPIC'
9086 amigaos*)
9087 case $host_cpu in
9088 powerpc)
9089 # see comment about AmigaOS4 .so support
9090 lt_prog_compiler_pic='-fPIC'
9092 m68k)
9093 # FIXME: we need at least 68020 code to build shared libraries, but
9094 # adding the `-m68020' flag to GCC prevents building anything better,
9095 # like `-m68040'.
9096 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9098 esac
9101 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9102 # PIC is the default for these OSes.
9105 mingw* | cygwin* | pw32* | os2* | cegcc*)
9106 # This hack is so that the source file can tell whether it is being
9107 # built for inclusion in a dll (and should export symbols for example).
9108 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9109 # (--disable-auto-import) libraries
9110 lt_prog_compiler_pic='-DDLL_EXPORT'
9113 darwin* | rhapsody*)
9114 # PIC is the default on this platform
9115 # Common symbols not allowed in MH_DYLIB files
9116 lt_prog_compiler_pic='-fno-common'
9119 haiku*)
9120 # PIC is the default for Haiku.
9121 # The "-static" flag exists, but is broken.
9122 lt_prog_compiler_static=
9125 hpux*)
9126 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9127 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9128 # sets the default TLS model and affects inlining.
9129 case $host_cpu in
9130 hppa*64*)
9131 # +Z the default
9134 lt_prog_compiler_pic='-fPIC'
9136 esac
9139 interix[3-9]*)
9140 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9141 # Instead, we relocate shared libraries at runtime.
9144 msdosdjgpp*)
9145 # Just because we use GCC doesn't mean we suddenly get shared libraries
9146 # on systems that don't support them.
9147 lt_prog_compiler_can_build_shared=no
9148 enable_shared=no
9151 *nto* | *qnx*)
9152 # QNX uses GNU C++, but need to define -shared option too, otherwise
9153 # it will coredump.
9154 lt_prog_compiler_pic='-fPIC -shared'
9157 sysv4*MP*)
9158 if test -d /usr/nec; then
9159 lt_prog_compiler_pic=-Kconform_pic
9164 lt_prog_compiler_pic='-fPIC'
9166 esac
9168 case $cc_basename in
9169 nvcc*) # Cuda Compiler Driver 2.2
9170 lt_prog_compiler_wl='-Xlinker '
9171 lt_prog_compiler_pic='-Xcompiler -fPIC'
9173 esac
9174 else
9175 # PORTME Check for flag to pass linker flags through the system compiler.
9176 case $host_os in
9177 aix*)
9178 lt_prog_compiler_wl='-Wl,'
9179 if test "$host_cpu" = ia64; then
9180 # AIX 5 now supports IA64 processor
9181 lt_prog_compiler_static='-Bstatic'
9182 else
9183 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9187 mingw* | cygwin* | pw32* | os2* | cegcc*)
9188 # This hack is so that the source file can tell whether it is being
9189 # built for inclusion in a dll (and should export symbols for example).
9190 lt_prog_compiler_pic='-DDLL_EXPORT'
9193 hpux9* | hpux10* | hpux11*)
9194 lt_prog_compiler_wl='-Wl,'
9195 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9196 # not for PA HP-UX.
9197 case $host_cpu in
9198 hppa*64*|ia64*)
9199 # +Z the default
9202 lt_prog_compiler_pic='+Z'
9204 esac
9205 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9206 lt_prog_compiler_static='${wl}-a ${wl}archive'
9209 irix5* | irix6* | nonstopux*)
9210 lt_prog_compiler_wl='-Wl,'
9211 # PIC (with -KPIC) is the default.
9212 lt_prog_compiler_static='-non_shared'
9215 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9216 case $cc_basename in
9217 # old Intel for x86_64 which still supported -KPIC.
9218 ecc*)
9219 lt_prog_compiler_wl='-Wl,'
9220 lt_prog_compiler_pic='-KPIC'
9221 lt_prog_compiler_static='-static'
9223 # icc used to be incompatible with GCC.
9224 # ICC 10 doesn't accept -KPIC any more.
9225 icc* | ifort*)
9226 lt_prog_compiler_wl='-Wl,'
9227 lt_prog_compiler_pic='-fPIC'
9228 lt_prog_compiler_static='-static'
9230 # Lahey Fortran 8.1.
9231 lf95*)
9232 lt_prog_compiler_wl='-Wl,'
9233 lt_prog_compiler_pic='--shared'
9234 lt_prog_compiler_static='--static'
9236 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9237 # Portland Group compilers (*not* the Pentium gcc compiler,
9238 # which looks to be a dead project)
9239 lt_prog_compiler_wl='-Wl,'
9240 lt_prog_compiler_pic='-fpic'
9241 lt_prog_compiler_static='-Bstatic'
9243 ccc*)
9244 lt_prog_compiler_wl='-Wl,'
9245 # All Alpha code is PIC.
9246 lt_prog_compiler_static='-non_shared'
9248 xl* | bgxl* | bgf* | mpixl*)
9249 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9250 lt_prog_compiler_wl='-Wl,'
9251 lt_prog_compiler_pic='-qpic'
9252 lt_prog_compiler_static='-qstaticlink'
9255 case `$CC -V 2>&1 | sed 5q` in
9256 *Sun\ F* | *Sun*Fortran*)
9257 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9258 lt_prog_compiler_pic='-KPIC'
9259 lt_prog_compiler_static='-Bstatic'
9260 lt_prog_compiler_wl=''
9262 *Sun\ C*)
9263 # Sun C 5.9
9264 lt_prog_compiler_pic='-KPIC'
9265 lt_prog_compiler_static='-Bstatic'
9266 lt_prog_compiler_wl='-Wl,'
9268 esac
9270 esac
9273 newsos6)
9274 lt_prog_compiler_pic='-KPIC'
9275 lt_prog_compiler_static='-Bstatic'
9278 *nto* | *qnx*)
9279 # QNX uses GNU C++, but need to define -shared option too, otherwise
9280 # it will coredump.
9281 lt_prog_compiler_pic='-fPIC -shared'
9284 osf3* | osf4* | osf5*)
9285 lt_prog_compiler_wl='-Wl,'
9286 # All OSF/1 code is PIC.
9287 lt_prog_compiler_static='-non_shared'
9290 rdos*)
9291 lt_prog_compiler_static='-non_shared'
9294 solaris*)
9295 lt_prog_compiler_pic='-KPIC'
9296 lt_prog_compiler_static='-Bstatic'
9297 case $cc_basename in
9298 f77* | f90* | f95*)
9299 lt_prog_compiler_wl='-Qoption ld ';;
9301 lt_prog_compiler_wl='-Wl,';;
9302 esac
9305 sunos4*)
9306 lt_prog_compiler_wl='-Qoption ld '
9307 lt_prog_compiler_pic='-PIC'
9308 lt_prog_compiler_static='-Bstatic'
9311 sysv4 | sysv4.2uw2* | sysv4.3*)
9312 lt_prog_compiler_wl='-Wl,'
9313 lt_prog_compiler_pic='-KPIC'
9314 lt_prog_compiler_static='-Bstatic'
9317 sysv4*MP*)
9318 if test -d /usr/nec ;then
9319 lt_prog_compiler_pic='-Kconform_pic'
9320 lt_prog_compiler_static='-Bstatic'
9324 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9325 lt_prog_compiler_wl='-Wl,'
9326 lt_prog_compiler_pic='-KPIC'
9327 lt_prog_compiler_static='-Bstatic'
9330 unicos*)
9331 lt_prog_compiler_wl='-Wl,'
9332 lt_prog_compiler_can_build_shared=no
9335 uts4*)
9336 lt_prog_compiler_pic='-pic'
9337 lt_prog_compiler_static='-Bstatic'
9341 lt_prog_compiler_can_build_shared=no
9343 esac
9346 case $host_os in
9347 # For platforms which do not support PIC, -DPIC is meaningless:
9348 *djgpp*)
9349 lt_prog_compiler_pic=
9352 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9354 esac
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9356 $as_echo "$lt_prog_compiler_pic" >&6; }
9364 # Check to make sure the PIC flag actually works.
9366 if test -n "$lt_prog_compiler_pic"; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9368 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9369 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 lt_cv_prog_compiler_pic_works=no
9373 ac_outfile=conftest.$ac_objext
9374 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9375 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9376 # Insert the option either (1) after the last *FLAGS variable, or
9377 # (2) before a word containing "conftest.", or (3) at the end.
9378 # Note that $ac_compile itself does not contain backslashes and begins
9379 # with a dollar sign (not a hyphen), so the echo should work correctly.
9380 # The option is referenced via a variable to avoid confusing sed.
9381 lt_compile=`echo "$ac_compile" | $SED \
9382 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9383 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9384 -e 's:$: $lt_compiler_flag:'`
9385 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9386 (eval "$lt_compile" 2>conftest.err)
9387 ac_status=$?
9388 cat conftest.err >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 if (exit $ac_status) && test -s "$ac_outfile"; then
9391 # The compiler can only warn and ignore the option if not recognized
9392 # So say no if there are warnings other than the usual output.
9393 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9394 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9395 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9396 lt_cv_prog_compiler_pic_works=yes
9399 $RM conftest*
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9403 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9405 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9406 case $lt_prog_compiler_pic in
9407 "" | " "*) ;;
9408 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9409 esac
9410 else
9411 lt_prog_compiler_pic=
9412 lt_prog_compiler_can_build_shared=no
9423 # Check to make sure the static flag actually works.
9425 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9427 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9428 if ${lt_cv_prog_compiler_static_works+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 lt_cv_prog_compiler_static_works=no
9432 save_LDFLAGS="$LDFLAGS"
9433 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9434 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9435 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9436 # The linker can only warn and ignore the option if not recognized
9437 # So say no if there are warnings
9438 if test -s conftest.err; then
9439 # Append any errors to the config.log.
9440 cat conftest.err 1>&5
9441 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9442 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9443 if diff conftest.exp conftest.er2 >/dev/null; then
9444 lt_cv_prog_compiler_static_works=yes
9446 else
9447 lt_cv_prog_compiler_static_works=yes
9450 $RM -r conftest*
9451 LDFLAGS="$save_LDFLAGS"
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9455 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9457 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9459 else
9460 lt_prog_compiler_static=
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9470 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9471 if ${lt_cv_prog_compiler_c_o+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 lt_cv_prog_compiler_c_o=no
9475 $RM -r conftest 2>/dev/null
9476 mkdir conftest
9477 cd conftest
9478 mkdir out
9479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9481 lt_compiler_flag="-o out/conftest2.$ac_objext"
9482 # Insert the option either (1) after the last *FLAGS variable, or
9483 # (2) before a word containing "conftest.", or (3) at the end.
9484 # Note that $ac_compile itself does not contain backslashes and begins
9485 # with a dollar sign (not a hyphen), so the echo should work correctly.
9486 lt_compile=`echo "$ac_compile" | $SED \
9487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9489 -e 's:$: $lt_compiler_flag:'`
9490 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9491 (eval "$lt_compile" 2>out/conftest.err)
9492 ac_status=$?
9493 cat out/conftest.err >&5
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9496 then
9497 # The compiler can only warn and ignore the option if not recognized
9498 # So say no if there are warnings
9499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9500 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9501 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9502 lt_cv_prog_compiler_c_o=yes
9505 chmod u+w . 2>&5
9506 $RM conftest*
9507 # SGI C++ compiler will create directory out/ii_files/ for
9508 # template instantiation
9509 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9510 $RM out/* && rmdir out
9511 cd ..
9512 $RM -r conftest
9513 $RM conftest*
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9517 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9525 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9526 if ${lt_cv_prog_compiler_c_o+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 lt_cv_prog_compiler_c_o=no
9530 $RM -r conftest 2>/dev/null
9531 mkdir conftest
9532 cd conftest
9533 mkdir out
9534 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9536 lt_compiler_flag="-o out/conftest2.$ac_objext"
9537 # Insert the option either (1) after the last *FLAGS variable, or
9538 # (2) before a word containing "conftest.", or (3) at the end.
9539 # Note that $ac_compile itself does not contain backslashes and begins
9540 # with a dollar sign (not a hyphen), so the echo should work correctly.
9541 lt_compile=`echo "$ac_compile" | $SED \
9542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9544 -e 's:$: $lt_compiler_flag:'`
9545 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9546 (eval "$lt_compile" 2>out/conftest.err)
9547 ac_status=$?
9548 cat out/conftest.err >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9551 then
9552 # The compiler can only warn and ignore the option if not recognized
9553 # So say no if there are warnings
9554 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9555 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9556 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9557 lt_cv_prog_compiler_c_o=yes
9560 chmod u+w . 2>&5
9561 $RM conftest*
9562 # SGI C++ compiler will create directory out/ii_files/ for
9563 # template instantiation
9564 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9565 $RM out/* && rmdir out
9566 cd ..
9567 $RM -r conftest
9568 $RM conftest*
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9572 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9577 hard_links="nottested"
9578 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9579 # do not overwrite the value of need_locks provided by the user
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9581 $as_echo_n "checking if we can lock with hard links... " >&6; }
9582 hard_links=yes
9583 $RM conftest*
9584 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9585 touch conftest.a
9586 ln conftest.a conftest.b 2>&5 || hard_links=no
9587 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9589 $as_echo "$hard_links" >&6; }
9590 if test "$hard_links" = no; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9592 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9593 need_locks=warn
9595 else
9596 need_locks=no
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9605 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9607 runpath_var=
9608 allow_undefined_flag=
9609 always_export_symbols=no
9610 archive_cmds=
9611 archive_expsym_cmds=
9612 compiler_needs_object=no
9613 enable_shared_with_static_runtimes=no
9614 export_dynamic_flag_spec=
9615 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9616 hardcode_automatic=no
9617 hardcode_direct=no
9618 hardcode_direct_absolute=no
9619 hardcode_libdir_flag_spec=
9620 hardcode_libdir_flag_spec_ld=
9621 hardcode_libdir_separator=
9622 hardcode_minus_L=no
9623 hardcode_shlibpath_var=unsupported
9624 inherit_rpath=no
9625 link_all_deplibs=unknown
9626 module_cmds=
9627 module_expsym_cmds=
9628 old_archive_from_new_cmds=
9629 old_archive_from_expsyms_cmds=
9630 thread_safe_flag_spec=
9631 whole_archive_flag_spec=
9632 # include_expsyms should be a list of space-separated symbols to be *always*
9633 # included in the symbol list
9634 include_expsyms=
9635 # exclude_expsyms can be an extended regexp of symbols to exclude
9636 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9637 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9638 # as well as any symbol that contains `d'.
9639 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9640 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9641 # platforms (ab)use it in PIC code, but their linkers get confused if
9642 # the symbol is explicitly referenced. Since portable code cannot
9643 # rely on this symbol name, it's probably fine to never include it in
9644 # preloaded symbol tables.
9645 # Exclude shared library initialization/finalization symbols.
9646 extract_expsyms_cmds=
9648 case $host_os in
9649 cygwin* | mingw* | pw32* | cegcc*)
9650 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9651 # When not using gcc, we currently assume that we are using
9652 # Microsoft Visual C++.
9653 if test "$GCC" != yes; then
9654 with_gnu_ld=no
9657 interix*)
9658 # we just hope/assume this is gcc and not c89 (= MSVC++)
9659 with_gnu_ld=yes
9661 openbsd*)
9662 with_gnu_ld=no
9664 esac
9666 ld_shlibs=yes
9668 # On some targets, GNU ld is compatible enough with the native linker
9669 # that we're better off using the native interface for both.
9670 lt_use_gnu_ld_interface=no
9671 if test "$with_gnu_ld" = yes; then
9672 case $host_os in
9673 aix*)
9674 # The AIX port of GNU ld has always aspired to compatibility
9675 # with the native linker. However, as the warning in the GNU ld
9676 # block says, versions before 2.19.5* couldn't really create working
9677 # shared libraries, regardless of the interface used.
9678 case `$LD -v 2>&1` in
9679 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9680 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9681 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9683 lt_use_gnu_ld_interface=yes
9685 esac
9688 lt_use_gnu_ld_interface=yes
9690 esac
9693 if test "$lt_use_gnu_ld_interface" = yes; then
9694 # If archive_cmds runs LD, not CC, wlarc should be empty
9695 wlarc='${wl}'
9697 # Set some defaults for GNU ld with shared library support. These
9698 # are reset later if shared libraries are not supported. Putting them
9699 # here allows them to be overridden if necessary.
9700 runpath_var=LD_RUN_PATH
9701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9702 export_dynamic_flag_spec='${wl}--export-dynamic'
9703 # ancient GNU ld didn't support --whole-archive et. al.
9704 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9705 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9706 else
9707 whole_archive_flag_spec=
9709 supports_anon_versioning=no
9710 case `$LD -v 2>&1` in
9711 *GNU\ gold*) supports_anon_versioning=yes ;;
9712 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9713 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9714 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9715 *\ 2.11.*) ;; # other 2.11 versions
9716 *) supports_anon_versioning=yes ;;
9717 esac
9719 # See if GNU ld supports shared libraries.
9720 case $host_os in
9721 aix[3-9]*)
9722 # On AIX/PPC, the GNU linker is very broken
9723 if test "$host_cpu" != ia64; then
9724 ld_shlibs=no
9725 cat <<_LT_EOF 1>&2
9727 *** Warning: the GNU linker, at least up to release 2.19, is reported
9728 *** to be unable to reliably create shared libraries on AIX.
9729 *** Therefore, libtool is disabling shared libraries support. If you
9730 *** really care for shared libraries, you may want to install binutils
9731 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9732 *** You will then need to restart the configuration process.
9734 _LT_EOF
9738 amigaos*)
9739 case $host_cpu in
9740 powerpc)
9741 # see comment about AmigaOS4 .so support
9742 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9743 archive_expsym_cmds=''
9745 m68k)
9746 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)'
9747 hardcode_libdir_flag_spec='-L$libdir'
9748 hardcode_minus_L=yes
9750 esac
9753 beos*)
9754 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9755 allow_undefined_flag=unsupported
9756 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9757 # support --undefined. This deserves some investigation. FIXME
9758 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9759 else
9760 ld_shlibs=no
9764 cygwin* | mingw* | pw32* | cegcc*)
9765 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9766 # as there is no search path for DLLs.
9767 hardcode_libdir_flag_spec='-L$libdir'
9768 export_dynamic_flag_spec='${wl}--export-all-symbols'
9769 allow_undefined_flag=unsupported
9770 always_export_symbols=no
9771 enable_shared_with_static_runtimes=yes
9772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9774 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9775 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9776 # If the export-symbols file already is a .def file (1st line
9777 # is EXPORTS), use it as is; otherwise, prepend...
9778 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9779 cp $export_symbols $output_objdir/$soname.def;
9780 else
9781 echo EXPORTS > $output_objdir/$soname.def;
9782 cat $export_symbols >> $output_objdir/$soname.def;
9784 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9785 else
9786 ld_shlibs=no
9790 haiku*)
9791 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9792 link_all_deplibs=yes
9795 interix[3-9]*)
9796 hardcode_direct=no
9797 hardcode_shlibpath_var=no
9798 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9799 export_dynamic_flag_spec='${wl}-E'
9800 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9801 # Instead, shared libraries are loaded at an image base (0x10000000 by
9802 # default) and relocated if they conflict, which is a slow very memory
9803 # consuming and fragmenting process. To avoid this, we pick a random,
9804 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9805 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9806 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9807 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'
9810 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9811 tmp_diet=no
9812 if test "$host_os" = linux-dietlibc; then
9813 case $cc_basename in
9814 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9815 esac
9817 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9818 && test "$tmp_diet" = no
9819 then
9820 tmp_addflag=' $pic_flag'
9821 tmp_sharedflag='-shared'
9822 case $cc_basename,$host_cpu in
9823 pgcc*) # Portland Group C compiler
9824 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'
9825 tmp_addflag=' $pic_flag'
9827 pgf77* | pgf90* | pgf95* | pgfortran*)
9828 # Portland Group f77 and f90 compilers
9829 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'
9830 tmp_addflag=' $pic_flag -Mnomain' ;;
9831 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9832 tmp_addflag=' -i_dynamic' ;;
9833 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9834 tmp_addflag=' -i_dynamic -nofor_main' ;;
9835 ifc* | ifort*) # Intel Fortran compiler
9836 tmp_addflag=' -nofor_main' ;;
9837 lf95*) # Lahey Fortran 8.1
9838 whole_archive_flag_spec=
9839 tmp_sharedflag='--shared' ;;
9840 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9841 tmp_sharedflag='-qmkshrobj'
9842 tmp_addflag= ;;
9843 nvcc*) # Cuda Compiler Driver 2.2
9844 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'
9845 compiler_needs_object=yes
9847 esac
9848 case `$CC -V 2>&1 | sed 5q` in
9849 *Sun\ C*) # Sun C 5.9
9850 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'
9851 compiler_needs_object=yes
9852 tmp_sharedflag='-G' ;;
9853 *Sun\ F*) # Sun Fortran 8.3
9854 tmp_sharedflag='-G' ;;
9855 esac
9856 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9858 if test "x$supports_anon_versioning" = xyes; then
9859 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9860 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9861 echo "local: *; };" >> $output_objdir/$libname.ver~
9862 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9865 case $cc_basename in
9866 xlf* | bgf* | bgxlf* | mpixlf*)
9867 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9868 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9869 hardcode_libdir_flag_spec=
9870 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9871 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9872 if test "x$supports_anon_versioning" = xyes; then
9873 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9874 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9875 echo "local: *; };" >> $output_objdir/$libname.ver~
9876 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9879 esac
9880 else
9881 ld_shlibs=no
9885 netbsd*)
9886 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9887 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9888 wlarc=
9889 else
9890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9891 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9895 solaris*)
9896 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9897 ld_shlibs=no
9898 cat <<_LT_EOF 1>&2
9900 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9901 *** create shared libraries on Solaris systems. Therefore, libtool
9902 *** is disabling shared libraries support. We urge you to upgrade GNU
9903 *** binutils to release 2.9.1 or newer. Another option is to modify
9904 *** your PATH or compiler configuration so that the native linker is
9905 *** used, and then restart.
9907 _LT_EOF
9908 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9909 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9910 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9911 else
9912 ld_shlibs=no
9916 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9917 case `$LD -v 2>&1` in
9918 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9919 ld_shlibs=no
9920 cat <<_LT_EOF 1>&2
9922 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9923 *** reliably create shared libraries on SCO systems. Therefore, libtool
9924 *** is disabling shared libraries support. We urge you to upgrade GNU
9925 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9926 *** your PATH or compiler configuration so that the native linker is
9927 *** used, and then restart.
9929 _LT_EOF
9932 # For security reasons, it is highly recommended that you always
9933 # use absolute paths for naming shared libraries, and exclude the
9934 # DT_RUNPATH tag from executables and libraries. But doing so
9935 # requires that you compile everything twice, which is a pain.
9936 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9937 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9938 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9939 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9940 else
9941 ld_shlibs=no
9944 esac
9947 sunos4*)
9948 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 wlarc=
9950 hardcode_direct=yes
9951 hardcode_shlibpath_var=no
9955 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9956 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9957 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9958 else
9959 ld_shlibs=no
9962 esac
9964 if test "$ld_shlibs" = no; then
9965 runpath_var=
9966 hardcode_libdir_flag_spec=
9967 export_dynamic_flag_spec=
9968 whole_archive_flag_spec=
9970 else
9971 # PORTME fill in a description of your system's linker (not GNU ld)
9972 case $host_os in
9973 aix3*)
9974 allow_undefined_flag=unsupported
9975 always_export_symbols=yes
9976 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'
9977 # Note: this linker hardcodes the directories in LIBPATH if there
9978 # are no directories specified by -L.
9979 hardcode_minus_L=yes
9980 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9981 # Neither direct hardcoding nor static linking is supported with a
9982 # broken collect2.
9983 hardcode_direct=unsupported
9987 aix[4-9]*)
9988 if test "$host_cpu" = ia64; then
9989 # On IA64, the linker does run time linking by default, so we don't
9990 # have to do anything special.
9991 aix_use_runtimelinking=no
9992 exp_sym_flag='-Bexport'
9993 no_entry_flag=""
9994 else
9995 # If we're using GNU nm, then we don't want the "-C" option.
9996 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9997 # Also, AIX nm treats weak defined symbols like other global
9998 # defined symbols, whereas GNU nm marks them as "W".
9999 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10000 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'
10001 else
10002 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'
10004 aix_use_runtimelinking=no
10006 # Test if we are trying to use run time linking or normal
10007 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10008 # need to do runtime linking.
10009 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10010 for ld_flag in $LDFLAGS; do
10011 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10012 aix_use_runtimelinking=yes
10013 break
10015 done
10017 esac
10019 exp_sym_flag='-bexport'
10020 no_entry_flag='-bnoentry'
10023 # When large executables or shared objects are built, AIX ld can
10024 # have problems creating the table of contents. If linking a library
10025 # or program results in "error TOC overflow" add -mminimal-toc to
10026 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10027 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10029 archive_cmds=''
10030 hardcode_direct=yes
10031 hardcode_direct_absolute=yes
10032 hardcode_libdir_separator=':'
10033 link_all_deplibs=yes
10034 file_list_spec='${wl}-f,'
10036 if test "$GCC" = yes; then
10037 case $host_os in aix4.[012]|aix4.[012].*)
10038 # We only want to do this on AIX 4.2 and lower, the check
10039 # below for broken collect2 doesn't work under 4.3+
10040 collect2name=`${CC} -print-prog-name=collect2`
10041 if test -f "$collect2name" &&
10042 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10043 then
10044 # We have reworked collect2
10046 else
10047 # We have old collect2
10048 hardcode_direct=unsupported
10049 # It fails to find uninstalled libraries when the uninstalled
10050 # path is not listed in the libpath. Setting hardcode_minus_L
10051 # to unsupported forces relinking
10052 hardcode_minus_L=yes
10053 hardcode_libdir_flag_spec='-L$libdir'
10054 hardcode_libdir_separator=
10057 esac
10058 shared_flag='-shared'
10059 if test "$aix_use_runtimelinking" = yes; then
10060 shared_flag="$shared_flag "'${wl}-G'
10062 else
10063 # not using gcc
10064 if test "$host_cpu" = ia64; then
10065 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10066 # chokes on -Wl,-G. The following line is correct:
10067 shared_flag='-G'
10068 else
10069 if test "$aix_use_runtimelinking" = yes; then
10070 shared_flag='${wl}-G'
10071 else
10072 shared_flag='${wl}-bM:SRE'
10077 export_dynamic_flag_spec='${wl}-bexpall'
10078 # It seems that -bexpall does not export symbols beginning with
10079 # underscore (_), so it is better to generate a list of symbols to export.
10080 always_export_symbols=yes
10081 if test "$aix_use_runtimelinking" = yes; then
10082 # Warning - without using the other runtime loading flags (-brtl),
10083 # -berok will link without error, but may produce a broken library.
10084 allow_undefined_flag='-berok'
10085 # Determine the default libpath from the value encoded in an
10086 # empty executable.
10087 if test x$gcc_no_link = xyes; then
10088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10094 main ()
10098 return 0;
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10103 lt_aix_libpath_sed='
10104 /Import File Strings/,/^$/ {
10105 /^0/ {
10106 s/^0 *\(.*\)$/\1/
10110 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10111 # Check for a 64-bit object if we didn't find anything.
10112 if test -z "$aix_libpath"; then
10113 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10120 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10121 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"
10122 else
10123 if test "$host_cpu" = ia64; then
10124 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10125 allow_undefined_flag="-z nodefs"
10126 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"
10127 else
10128 # Determine the default libpath from the value encoded in an
10129 # empty executable.
10130 if test x$gcc_no_link = xyes; then
10131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10137 main ()
10141 return 0;
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10146 lt_aix_libpath_sed='
10147 /Import File Strings/,/^$/ {
10148 /^0/ {
10149 s/^0 *\(.*\)$/\1/
10153 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10154 # Check for a 64-bit object if we didn't find anything.
10155 if test -z "$aix_libpath"; then
10156 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10163 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10164 # Warning - without using the other run time loading flags,
10165 # -berok will link without error, but may produce a broken library.
10166 no_undefined_flag=' ${wl}-bernotok'
10167 allow_undefined_flag=' ${wl}-berok'
10168 if test "$with_gnu_ld" = yes; then
10169 # We only use this code for GNU lds that support --whole-archive.
10170 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10171 else
10172 # Exported symbols can be pulled into shared objects from archives
10173 whole_archive_flag_spec='$convenience'
10175 archive_cmds_need_lc=yes
10176 # This is similar to how AIX traditionally builds its shared libraries.
10177 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'
10182 amigaos*)
10183 case $host_cpu in
10184 powerpc)
10185 # see comment about AmigaOS4 .so support
10186 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 archive_expsym_cmds=''
10189 m68k)
10190 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)'
10191 hardcode_libdir_flag_spec='-L$libdir'
10192 hardcode_minus_L=yes
10194 esac
10197 bsdi[45]*)
10198 export_dynamic_flag_spec=-rdynamic
10201 cygwin* | mingw* | pw32* | cegcc*)
10202 # When not using gcc, we currently assume that we are using
10203 # Microsoft Visual C++.
10204 # hardcode_libdir_flag_spec is actually meaningless, as there is
10205 # no search path for DLLs.
10206 hardcode_libdir_flag_spec=' '
10207 allow_undefined_flag=unsupported
10208 # Tell ltmain to make .lib files, not .a files.
10209 libext=lib
10210 # Tell ltmain to make .dll files, not .so files.
10211 shrext_cmds=".dll"
10212 # FIXME: Setting linknames here is a bad hack.
10213 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10214 # The linker will automatically build a .lib file if we build a DLL.
10215 old_archive_from_new_cmds='true'
10216 # FIXME: Should let the user specify the lib program.
10217 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10218 fix_srcfile_path='`cygpath -w "$srcfile"`'
10219 enable_shared_with_static_runtimes=yes
10222 darwin* | rhapsody*)
10225 archive_cmds_need_lc=no
10226 hardcode_direct=no
10227 hardcode_automatic=yes
10228 hardcode_shlibpath_var=unsupported
10229 if test "$lt_cv_ld_force_load" = "yes"; then
10230 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\"`'
10231 else
10232 whole_archive_flag_spec=''
10234 link_all_deplibs=yes
10235 allow_undefined_flag="$_lt_dar_allow_undefined"
10236 case $cc_basename in
10237 ifort*) _lt_dar_can_shared=yes ;;
10238 *) _lt_dar_can_shared=$GCC ;;
10239 esac
10240 if test "$_lt_dar_can_shared" = "yes"; then
10241 output_verbose_link_cmd=func_echo_all
10242 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10243 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10244 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}"
10245 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}"
10247 else
10248 ld_shlibs=no
10253 dgux*)
10254 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10255 hardcode_libdir_flag_spec='-L$libdir'
10256 hardcode_shlibpath_var=no
10259 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10260 # support. Future versions do this automatically, but an explicit c++rt0.o
10261 # does not break anything, and helps significantly (at the cost of a little
10262 # extra space).
10263 freebsd2.2*)
10264 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10265 hardcode_libdir_flag_spec='-R$libdir'
10266 hardcode_direct=yes
10267 hardcode_shlibpath_var=no
10270 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10271 freebsd2.*)
10272 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_direct=yes
10274 hardcode_minus_L=yes
10275 hardcode_shlibpath_var=no
10278 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10279 freebsd* | dragonfly*)
10280 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10281 hardcode_libdir_flag_spec='-R$libdir'
10282 hardcode_direct=yes
10283 hardcode_shlibpath_var=no
10286 hpux9*)
10287 if test "$GCC" = yes; then
10288 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'
10289 else
10290 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'
10292 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10293 hardcode_libdir_separator=:
10294 hardcode_direct=yes
10296 # hardcode_minus_L: Not really in the search PATH,
10297 # but as the default location of the library.
10298 hardcode_minus_L=yes
10299 export_dynamic_flag_spec='${wl}-E'
10302 hpux10*)
10303 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10304 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10305 else
10306 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10308 if test "$with_gnu_ld" = no; then
10309 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10310 hardcode_libdir_flag_spec_ld='+b $libdir'
10311 hardcode_libdir_separator=:
10312 hardcode_direct=yes
10313 hardcode_direct_absolute=yes
10314 export_dynamic_flag_spec='${wl}-E'
10315 # hardcode_minus_L: Not really in the search PATH,
10316 # but as the default location of the library.
10317 hardcode_minus_L=yes
10321 hpux11*)
10322 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10323 case $host_cpu in
10324 hppa*64*)
10325 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10327 ia64*)
10328 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10331 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10333 esac
10334 else
10335 case $host_cpu in
10336 hppa*64*)
10337 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10339 ia64*)
10340 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10344 # Older versions of the 11.00 compiler do not understand -b yet
10345 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10347 $as_echo_n "checking if $CC understands -b... " >&6; }
10348 if ${lt_cv_prog_compiler__b+:} false; then :
10349 $as_echo_n "(cached) " >&6
10350 else
10351 lt_cv_prog_compiler__b=no
10352 save_LDFLAGS="$LDFLAGS"
10353 LDFLAGS="$LDFLAGS -b"
10354 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10355 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10356 # The linker can only warn and ignore the option if not recognized
10357 # So say no if there are warnings
10358 if test -s conftest.err; then
10359 # Append any errors to the config.log.
10360 cat conftest.err 1>&5
10361 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10362 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10363 if diff conftest.exp conftest.er2 >/dev/null; then
10364 lt_cv_prog_compiler__b=yes
10366 else
10367 lt_cv_prog_compiler__b=yes
10370 $RM -r conftest*
10371 LDFLAGS="$save_LDFLAGS"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10375 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10377 if test x"$lt_cv_prog_compiler__b" = xyes; then
10378 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10379 else
10380 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10384 esac
10386 if test "$with_gnu_ld" = no; then
10387 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10388 hardcode_libdir_separator=:
10390 case $host_cpu in
10391 hppa*64*|ia64*)
10392 hardcode_direct=no
10393 hardcode_shlibpath_var=no
10396 hardcode_direct=yes
10397 hardcode_direct_absolute=yes
10398 export_dynamic_flag_spec='${wl}-E'
10400 # hardcode_minus_L: Not really in the search PATH,
10401 # but as the default location of the library.
10402 hardcode_minus_L=yes
10404 esac
10408 irix5* | irix6* | nonstopux*)
10409 if test "$GCC" = yes; then
10410 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'
10411 # Try to use the -exported_symbol ld option, if it does not
10412 # work, assume that -exports_file does not work either and
10413 # implicitly export all symbols.
10414 save_LDFLAGS="$LDFLAGS"
10415 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10416 if test x$gcc_no_link = xyes; then
10417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int foo(void) {}
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 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'
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 LDFLAGS="$save_LDFLAGS"
10430 else
10431 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'
10432 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'
10434 archive_cmds_need_lc='no'
10435 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10436 hardcode_libdir_separator=:
10437 inherit_rpath=yes
10438 link_all_deplibs=yes
10441 netbsd*)
10442 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10443 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10444 else
10445 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10447 hardcode_libdir_flag_spec='-R$libdir'
10448 hardcode_direct=yes
10449 hardcode_shlibpath_var=no
10452 newsos6)
10453 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10454 hardcode_direct=yes
10455 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456 hardcode_libdir_separator=:
10457 hardcode_shlibpath_var=no
10460 *nto* | *qnx*)
10463 openbsd*)
10464 if test -f /usr/libexec/ld.so; then
10465 hardcode_direct=yes
10466 hardcode_shlibpath_var=no
10467 hardcode_direct_absolute=yes
10468 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10469 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10470 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10471 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10472 export_dynamic_flag_spec='${wl}-E'
10473 else
10474 case $host_os in
10475 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10477 hardcode_libdir_flag_spec='-R$libdir'
10480 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10481 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10483 esac
10485 else
10486 ld_shlibs=no
10490 os2*)
10491 hardcode_libdir_flag_spec='-L$libdir'
10492 hardcode_minus_L=yes
10493 allow_undefined_flag=unsupported
10494 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'
10495 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10498 osf3*)
10499 if test "$GCC" = yes; then
10500 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10501 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'
10502 else
10503 allow_undefined_flag=' -expect_unresolved \*'
10504 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'
10506 archive_cmds_need_lc='no'
10507 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10508 hardcode_libdir_separator=:
10511 osf4* | osf5*) # as osf3* with the addition of -msym flag
10512 if test "$GCC" = yes; then
10513 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10514 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'
10515 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10516 else
10517 allow_undefined_flag=' -expect_unresolved \*'
10518 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'
10519 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~
10520 $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'
10522 # Both c and cxx compiler support -rpath directly
10523 hardcode_libdir_flag_spec='-rpath $libdir'
10525 archive_cmds_need_lc='no'
10526 hardcode_libdir_separator=:
10529 solaris*)
10530 no_undefined_flag=' -z defs'
10531 if test "$GCC" = yes; then
10532 wlarc='${wl}'
10533 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10534 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10535 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10536 else
10537 case `$CC -V 2>&1` in
10538 *"Compilers 5.0"*)
10539 wlarc=''
10540 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10541 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10542 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10545 wlarc='${wl}'
10546 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10547 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10548 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10550 esac
10552 hardcode_libdir_flag_spec='-R$libdir'
10553 hardcode_shlibpath_var=no
10554 case $host_os in
10555 solaris2.[0-5] | solaris2.[0-5].*) ;;
10557 # The compiler driver will combine and reorder linker options,
10558 # but understands `-z linker_flag'. GCC discards it without `$wl',
10559 # but is careful enough not to reorder.
10560 # Supported since Solaris 2.6 (maybe 2.5.1?)
10561 if test "$GCC" = yes; then
10562 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10563 else
10564 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10567 esac
10568 link_all_deplibs=yes
10571 sunos4*)
10572 if test "x$host_vendor" = xsequent; then
10573 # Use $CC to link under sequent, because it throws in some extra .o
10574 # files that make .init and .fini sections work.
10575 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10576 else
10577 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10579 hardcode_libdir_flag_spec='-L$libdir'
10580 hardcode_direct=yes
10581 hardcode_minus_L=yes
10582 hardcode_shlibpath_var=no
10585 sysv4)
10586 case $host_vendor in
10587 sni)
10588 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10589 hardcode_direct=yes # is this really true???
10591 siemens)
10592 ## LD is ld it makes a PLAMLIB
10593 ## CC just makes a GrossModule.
10594 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10595 reload_cmds='$CC -r -o $output$reload_objs'
10596 hardcode_direct=no
10598 motorola)
10599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10600 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10602 esac
10603 runpath_var='LD_RUN_PATH'
10604 hardcode_shlibpath_var=no
10607 sysv4.3*)
10608 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10609 hardcode_shlibpath_var=no
10610 export_dynamic_flag_spec='-Bexport'
10613 sysv4*MP*)
10614 if test -d /usr/nec; then
10615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10616 hardcode_shlibpath_var=no
10617 runpath_var=LD_RUN_PATH
10618 hardcode_runpath_var=yes
10619 ld_shlibs=yes
10623 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10624 no_undefined_flag='${wl}-z,text'
10625 archive_cmds_need_lc=no
10626 hardcode_shlibpath_var=no
10627 runpath_var='LD_RUN_PATH'
10629 if test "$GCC" = yes; then
10630 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10631 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632 else
10633 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10634 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638 sysv5* | sco3.2v5* | sco5v6*)
10639 # Note: We can NOT use -z defs as we might desire, because we do not
10640 # link with -lc, and that would cause any symbols used from libc to
10641 # always be unresolved, which means just about no library would
10642 # ever link correctly. If we're not using GNU ld we use -z text
10643 # though, which does catch some bad symbols but isn't as heavy-handed
10644 # as -z defs.
10645 no_undefined_flag='${wl}-z,text'
10646 allow_undefined_flag='${wl}-z,nodefs'
10647 archive_cmds_need_lc=no
10648 hardcode_shlibpath_var=no
10649 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10650 hardcode_libdir_separator=':'
10651 link_all_deplibs=yes
10652 export_dynamic_flag_spec='${wl}-Bexport'
10653 runpath_var='LD_RUN_PATH'
10655 if test "$GCC" = yes; then
10656 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658 else
10659 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10660 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664 uts4*)
10665 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10666 hardcode_libdir_flag_spec='-L$libdir'
10667 hardcode_shlibpath_var=no
10671 ld_shlibs=no
10673 esac
10675 if test x$host_vendor = xsni; then
10676 case $host in
10677 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10678 export_dynamic_flag_spec='${wl}-Blargedynsym'
10680 esac
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10685 $as_echo "$ld_shlibs" >&6; }
10686 test "$ld_shlibs" = no && can_build_shared=no
10688 with_gnu_ld=$with_gnu_ld
10705 # Do we need to explicitly link libc?
10707 case "x$archive_cmds_need_lc" in
10708 x|xyes)
10709 # Assume -lc should be added
10710 archive_cmds_need_lc=yes
10712 if test "$enable_shared" = yes && test "$GCC" = yes; then
10713 case $archive_cmds in
10714 *'~'*)
10715 # FIXME: we may have to deal with multi-command sequences.
10717 '$CC '*)
10718 # Test whether the compiler implicitly links with -lc since on some
10719 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10720 # to ld, don't add -lc before -lgcc.
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10722 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10723 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 $RM conftest*
10727 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10730 (eval $ac_compile) 2>&5
10731 ac_status=$?
10732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10733 test $ac_status = 0; } 2>conftest.err; then
10734 soname=conftest
10735 lib=conftest
10736 libobjs=conftest.$ac_objext
10737 deplibs=
10738 wl=$lt_prog_compiler_wl
10739 pic_flag=$lt_prog_compiler_pic
10740 compiler_flags=-v
10741 linker_flags=-v
10742 verstring=
10743 output_objdir=.
10744 libname=conftest
10745 lt_save_allow_undefined_flag=$allow_undefined_flag
10746 allow_undefined_flag=
10747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10748 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10749 ac_status=$?
10750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10751 test $ac_status = 0; }
10752 then
10753 lt_cv_archive_cmds_need_lc=no
10754 else
10755 lt_cv_archive_cmds_need_lc=yes
10757 allow_undefined_flag=$lt_save_allow_undefined_flag
10758 else
10759 cat conftest.err 1>&5
10761 $RM conftest*
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10765 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10766 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10768 esac
10771 esac
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10930 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10932 if test "$GCC" = yes; then
10933 case $host_os in
10934 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10935 *) lt_awk_arg="/^libraries:/" ;;
10936 esac
10937 case $host_os in
10938 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10939 *) lt_sed_strip_eq="s,=/,/,g" ;;
10940 esac
10941 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10942 case $lt_search_path_spec in
10943 *\;*)
10944 # if the path contains ";" then we assume it to be the separator
10945 # otherwise default to the standard path separator (i.e. ":") - it is
10946 # assumed that no part of a normal pathname contains ";" but that should
10947 # okay in the real world where ";" in dirpaths is itself problematic.
10948 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10951 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10953 esac
10954 # Ok, now we have the path, separated by spaces, we can step through it
10955 # and add multilib dir if necessary.
10956 lt_tmp_lt_search_path_spec=
10957 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10958 for lt_sys_path in $lt_search_path_spec; do
10959 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10960 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10961 else
10962 test -d "$lt_sys_path" && \
10963 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10965 done
10966 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10967 BEGIN {RS=" "; FS="/|\n";} {
10968 lt_foo="";
10969 lt_count=0;
10970 for (lt_i = NF; lt_i > 0; lt_i--) {
10971 if ($lt_i != "" && $lt_i != ".") {
10972 if ($lt_i == "..") {
10973 lt_count++;
10974 } else {
10975 if (lt_count == 0) {
10976 lt_foo="/" $lt_i lt_foo;
10977 } else {
10978 lt_count--;
10983 if (lt_foo != "") { lt_freq[lt_foo]++; }
10984 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10986 # AWK program above erroneously prepends '/' to C:/dos/paths
10987 # for these hosts.
10988 case $host_os in
10989 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10990 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10991 esac
10992 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10993 else
10994 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10996 library_names_spec=
10997 libname_spec='lib$name'
10998 soname_spec=
10999 shrext_cmds=".so"
11000 postinstall_cmds=
11001 postuninstall_cmds=
11002 finish_cmds=
11003 finish_eval=
11004 shlibpath_var=
11005 shlibpath_overrides_runpath=unknown
11006 version_type=none
11007 dynamic_linker="$host_os ld.so"
11008 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11009 need_lib_prefix=unknown
11010 hardcode_into_libs=no
11012 # when you set need_version to no, make sure it does not cause -set_version
11013 # flags to be left without arguments
11014 need_version=unknown
11016 case $host_os in
11017 aix3*)
11018 version_type=linux
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11020 shlibpath_var=LIBPATH
11022 # AIX 3 has no versioning support, so we append a major version to the name.
11023 soname_spec='${libname}${release}${shared_ext}$major'
11026 aix[4-9]*)
11027 version_type=linux
11028 need_lib_prefix=no
11029 need_version=no
11030 hardcode_into_libs=yes
11031 if test "$host_cpu" = ia64; then
11032 # AIX 5 supports IA64
11033 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11034 shlibpath_var=LD_LIBRARY_PATH
11035 else
11036 # With GCC up to 2.95.x, collect2 would create an import file
11037 # for dependence libraries. The import file would start with
11038 # the line `#! .'. This would cause the generated library to
11039 # depend on `.', always an invalid library. This was fixed in
11040 # development snapshots of GCC prior to 3.0.
11041 case $host_os in
11042 aix4 | aix4.[01] | aix4.[01].*)
11043 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11044 echo ' yes '
11045 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11047 else
11048 can_build_shared=no
11051 esac
11052 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11053 # soname into executable. Probably we can add versioning support to
11054 # collect2, so additional links can be useful in future.
11055 if test "$aix_use_runtimelinking" = yes; then
11056 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11057 # instead of lib<name>.a to let people know that these are not
11058 # typical AIX shared libraries.
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060 else
11061 # We preserve .a as extension for shared libraries through AIX4.2
11062 # and later when we are not doing run time linking.
11063 library_names_spec='${libname}${release}.a $libname.a'
11064 soname_spec='${libname}${release}${shared_ext}$major'
11066 shlibpath_var=LIBPATH
11070 amigaos*)
11071 case $host_cpu in
11072 powerpc)
11073 # Since July 2007 AmigaOS4 officially supports .so libraries.
11074 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 m68k)
11078 library_names_spec='$libname.ixlibrary $libname.a'
11079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11080 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'
11082 esac
11085 beos*)
11086 library_names_spec='${libname}${shared_ext}'
11087 dynamic_linker="$host_os ld.so"
11088 shlibpath_var=LIBRARY_PATH
11091 bsdi[45]*)
11092 version_type=linux
11093 need_version=no
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11099 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11100 # the default ld.so.conf also contains /usr/contrib/lib and
11101 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11102 # libtool to hard-code these into programs
11105 cygwin* | mingw* | pw32* | cegcc*)
11106 version_type=windows
11107 shrext_cmds=".dll"
11108 need_version=no
11109 need_lib_prefix=no
11111 case $GCC,$host_os in
11112 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11113 library_names_spec='$libname.dll.a'
11114 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11115 postinstall_cmds='base_file=`basename \${file}`~
11116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11117 dldir=$destdir/`dirname \$dlpath`~
11118 test -d \$dldir || mkdir -p \$dldir~
11119 $install_prog $dir/$dlname \$dldir/$dlname~
11120 chmod a+x \$dldir/$dlname~
11121 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11122 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11124 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11125 dlpath=$dir/\$dldll~
11126 $RM \$dlpath'
11127 shlibpath_overrides_runpath=yes
11129 case $host_os in
11130 cygwin*)
11131 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11132 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11134 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11136 mingw* | cegcc*)
11137 # MinGW DLLs use traditional 'lib' prefix
11138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11140 pw32*)
11141 # pw32 DLLs use 'pw' prefix rather than 'lib'
11142 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11144 esac
11148 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11150 esac
11151 dynamic_linker='Win32 ld.exe'
11152 # FIXME: first we should search . and the directory the executable is in
11153 shlibpath_var=PATH
11156 darwin* | rhapsody*)
11157 dynamic_linker="$host_os dyld"
11158 version_type=darwin
11159 need_lib_prefix=no
11160 need_version=no
11161 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11162 soname_spec='${libname}${release}${major}$shared_ext'
11163 shlibpath_overrides_runpath=yes
11164 shlibpath_var=DYLD_LIBRARY_PATH
11165 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11167 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11168 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11171 dgux*)
11172 version_type=linux
11173 need_lib_prefix=no
11174 need_version=no
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 shlibpath_var=LD_LIBRARY_PATH
11180 freebsd* | dragonfly*)
11181 # DragonFly does not have aout. When/if they implement a new
11182 # versioning mechanism, adjust this.
11183 if test -x /usr/bin/objformat; then
11184 objformat=`/usr/bin/objformat`
11185 else
11186 case $host_os in
11187 freebsd[23].*) objformat=aout ;;
11188 *) objformat=elf ;;
11189 esac
11191 version_type=freebsd-$objformat
11192 case $version_type in
11193 freebsd-elf*)
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11195 need_version=no
11196 need_lib_prefix=no
11198 freebsd-*)
11199 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11200 need_version=yes
11202 esac
11203 shlibpath_var=LD_LIBRARY_PATH
11204 case $host_os in
11205 freebsd2.*)
11206 shlibpath_overrides_runpath=yes
11208 freebsd3.[01]* | freebsdelf3.[01]*)
11209 shlibpath_overrides_runpath=yes
11210 hardcode_into_libs=yes
11212 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11213 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11214 shlibpath_overrides_runpath=no
11215 hardcode_into_libs=yes
11217 *) # from 4.6 on, and DragonFly
11218 shlibpath_overrides_runpath=yes
11219 hardcode_into_libs=yes
11221 esac
11224 gnu*)
11225 version_type=linux
11226 need_lib_prefix=no
11227 need_version=no
11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11229 soname_spec='${libname}${release}${shared_ext}$major'
11230 shlibpath_var=LD_LIBRARY_PATH
11231 hardcode_into_libs=yes
11234 haiku*)
11235 version_type=linux
11236 need_lib_prefix=no
11237 need_version=no
11238 dynamic_linker="$host_os runtime_loader"
11239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11240 soname_spec='${libname}${release}${shared_ext}$major'
11241 shlibpath_var=LIBRARY_PATH
11242 shlibpath_overrides_runpath=yes
11243 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11244 hardcode_into_libs=yes
11247 hpux9* | hpux10* | hpux11*)
11248 # Give a soname corresponding to the major version so that dld.sl refuses to
11249 # link against other versions.
11250 version_type=sunos
11251 need_lib_prefix=no
11252 need_version=no
11253 case $host_cpu in
11254 ia64*)
11255 shrext_cmds='.so'
11256 hardcode_into_libs=yes
11257 dynamic_linker="$host_os dld.so"
11258 shlibpath_var=LD_LIBRARY_PATH
11259 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11261 soname_spec='${libname}${release}${shared_ext}$major'
11262 if test "X$HPUX_IA64_MODE" = X32; then
11263 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11264 else
11265 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11267 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11269 hppa*64*)
11270 shrext_cmds='.sl'
11271 hardcode_into_libs=yes
11272 dynamic_linker="$host_os dld.sl"
11273 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11274 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11276 soname_spec='${libname}${release}${shared_ext}$major'
11277 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11278 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11281 shrext_cmds='.sl'
11282 dynamic_linker="$host_os dld.sl"
11283 shlibpath_var=SHLIB_PATH
11284 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 soname_spec='${libname}${release}${shared_ext}$major'
11288 esac
11289 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11290 postinstall_cmds='chmod 555 $lib'
11291 # or fails outright, so override atomically:
11292 install_override_mode=555
11295 interix[3-9]*)
11296 version_type=linux
11297 need_lib_prefix=no
11298 need_version=no
11299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11300 soname_spec='${libname}${release}${shared_ext}$major'
11301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11302 shlibpath_var=LD_LIBRARY_PATH
11303 shlibpath_overrides_runpath=no
11304 hardcode_into_libs=yes
11307 irix5* | irix6* | nonstopux*)
11308 case $host_os in
11309 nonstopux*) version_type=nonstopux ;;
11311 if test "$lt_cv_prog_gnu_ld" = yes; then
11312 version_type=linux
11313 else
11314 version_type=irix
11315 fi ;;
11316 esac
11317 need_lib_prefix=no
11318 need_version=no
11319 soname_spec='${libname}${release}${shared_ext}$major'
11320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11321 case $host_os in
11322 irix5* | nonstopux*)
11323 libsuff= shlibsuff=
11326 case $LD in # libtool.m4 will add one of these switches to LD
11327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11328 libsuff= shlibsuff= libmagic=32-bit;;
11329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11330 libsuff=32 shlibsuff=N32 libmagic=N32;;
11331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11333 *) libsuff= shlibsuff= libmagic=never-match;;
11334 esac
11336 esac
11337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11338 shlibpath_overrides_runpath=no
11339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11341 hardcode_into_libs=yes
11344 # No shared lib support for Linux oldld, aout, or coff.
11345 linux*oldld* | linux*aout* | linux*coff*)
11346 dynamic_linker=no
11349 # This must be Linux ELF.
11351 # uclinux* changes (here and below) have been submitted to the libtool
11352 # project, but have not yet been accepted: they are GCC-local changes
11353 # for the time being. (See
11354 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11355 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11356 version_type=linux
11357 need_lib_prefix=no
11358 need_version=no
11359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 soname_spec='${libname}${release}${shared_ext}$major'
11361 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11362 shlibpath_var=LD_LIBRARY_PATH
11363 shlibpath_overrides_runpath=no
11365 # Some binutils ld are patched to set DT_RUNPATH
11366 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 lt_cv_shlibpath_overrides_runpath=no
11370 save_LDFLAGS=$LDFLAGS
11371 save_libdir=$libdir
11372 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11373 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11374 if test x$gcc_no_link = xyes; then
11375 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11381 main ()
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11390 lt_cv_shlibpath_overrides_runpath=yes
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LDFLAGS=$save_LDFLAGS
11396 libdir=$save_libdir
11400 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11402 # This implies no fast_install, which is unacceptable.
11403 # Some rework will be needed to allow for fast_install
11404 # before this can be enabled.
11405 hardcode_into_libs=yes
11407 # Append ld.so.conf contents to the search path
11408 if test -f /etc/ld.so.conf; then
11409 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' ' '`
11410 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11413 # We used to test for /lib/ld.so.1 and disable shared libraries on
11414 # powerpc, because MkLinux only supported shared libraries with the
11415 # GNU dynamic linker. Since this was broken with cross compilers,
11416 # most powerpc-linux boxes support dynamic linking these days and
11417 # people can always --disable-shared, the test was removed, and we
11418 # assume the GNU/Linux dynamic linker is in use.
11419 dynamic_linker='GNU/Linux ld.so'
11422 netbsd*)
11423 version_type=sunos
11424 need_lib_prefix=no
11425 need_version=no
11426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11428 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11429 dynamic_linker='NetBSD (a.out) ld.so'
11430 else
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='NetBSD ld.elf_so'
11435 shlibpath_var=LD_LIBRARY_PATH
11436 shlibpath_overrides_runpath=yes
11437 hardcode_into_libs=yes
11440 newsos6)
11441 version_type=linux
11442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11443 shlibpath_var=LD_LIBRARY_PATH
11444 shlibpath_overrides_runpath=yes
11447 *nto* | *qnx*)
11448 version_type=qnx
11449 need_lib_prefix=no
11450 need_version=no
11451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452 soname_spec='${libname}${release}${shared_ext}$major'
11453 shlibpath_var=LD_LIBRARY_PATH
11454 shlibpath_overrides_runpath=no
11455 hardcode_into_libs=yes
11456 dynamic_linker='ldqnx.so'
11459 openbsd*)
11460 version_type=sunos
11461 sys_lib_dlsearch_path_spec="/usr/lib"
11462 need_lib_prefix=no
11463 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11464 case $host_os in
11465 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11466 *) need_version=no ;;
11467 esac
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11470 shlibpath_var=LD_LIBRARY_PATH
11471 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11472 case $host_os in
11473 openbsd2.[89] | openbsd2.[89].*)
11474 shlibpath_overrides_runpath=no
11477 shlibpath_overrides_runpath=yes
11479 esac
11480 else
11481 shlibpath_overrides_runpath=yes
11485 os2*)
11486 libname_spec='$name'
11487 shrext_cmds=".dll"
11488 need_lib_prefix=no
11489 library_names_spec='$libname${shared_ext} $libname.a'
11490 dynamic_linker='OS/2 ld.exe'
11491 shlibpath_var=LIBPATH
11494 osf3* | osf4* | osf5*)
11495 version_type=osf
11496 need_lib_prefix=no
11497 need_version=no
11498 soname_spec='${libname}${release}${shared_ext}$major'
11499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500 shlibpath_var=LD_LIBRARY_PATH
11501 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11502 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11505 rdos*)
11506 dynamic_linker=no
11509 solaris*)
11510 version_type=linux
11511 need_lib_prefix=no
11512 need_version=no
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 soname_spec='${libname}${release}${shared_ext}$major'
11515 shlibpath_var=LD_LIBRARY_PATH
11516 shlibpath_overrides_runpath=yes
11517 hardcode_into_libs=yes
11518 # ldd complains unless libraries are executable
11519 postinstall_cmds='chmod +x $lib'
11522 sunos4*)
11523 version_type=sunos
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11525 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 shlibpath_overrides_runpath=yes
11528 if test "$with_gnu_ld" = yes; then
11529 need_lib_prefix=no
11531 need_version=yes
11534 sysv4 | sysv4.3*)
11535 version_type=linux
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 shlibpath_var=LD_LIBRARY_PATH
11539 case $host_vendor in
11540 sni)
11541 shlibpath_overrides_runpath=no
11542 need_lib_prefix=no
11543 runpath_var=LD_RUN_PATH
11545 siemens)
11546 need_lib_prefix=no
11548 motorola)
11549 need_lib_prefix=no
11550 need_version=no
11551 shlibpath_overrides_runpath=no
11552 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11554 esac
11557 sysv4*MP*)
11558 if test -d /usr/nec ;then
11559 version_type=linux
11560 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11561 soname_spec='$libname${shared_ext}.$major'
11562 shlibpath_var=LD_LIBRARY_PATH
11566 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11567 version_type=freebsd-elf
11568 need_lib_prefix=no
11569 need_version=no
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11571 soname_spec='${libname}${release}${shared_ext}$major'
11572 shlibpath_var=LD_LIBRARY_PATH
11573 shlibpath_overrides_runpath=yes
11574 hardcode_into_libs=yes
11575 if test "$with_gnu_ld" = yes; then
11576 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11577 else
11578 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11579 case $host_os in
11580 sco3.2v5*)
11581 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11583 esac
11585 sys_lib_dlsearch_path_spec='/usr/lib'
11588 tpf*)
11589 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11590 version_type=linux
11591 need_lib_prefix=no
11592 need_version=no
11593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594 shlibpath_var=LD_LIBRARY_PATH
11595 shlibpath_overrides_runpath=no
11596 hardcode_into_libs=yes
11599 uts4*)
11600 version_type=linux
11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11602 soname_spec='${libname}${release}${shared_ext}$major'
11603 shlibpath_var=LD_LIBRARY_PATH
11607 dynamic_linker=no
11609 esac
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11611 $as_echo "$dynamic_linker" >&6; }
11612 test "$dynamic_linker" = no && can_build_shared=no
11614 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11615 if test "$GCC" = yes; then
11616 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11619 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11620 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11622 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11623 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11718 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11719 hardcode_action=
11720 if test -n "$hardcode_libdir_flag_spec" ||
11721 test -n "$runpath_var" ||
11722 test "X$hardcode_automatic" = "Xyes" ; then
11724 # We can hardcode non-existent directories.
11725 if test "$hardcode_direct" != no &&
11726 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11727 # have to relink, otherwise we might link with an installed library
11728 # when we should be linking with a yet-to-be-installed one
11729 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11730 test "$hardcode_minus_L" != no; then
11731 # Linking always hardcodes the temporary library directory.
11732 hardcode_action=relink
11733 else
11734 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11735 hardcode_action=immediate
11737 else
11738 # We cannot hardcode anything, or else we can only hardcode existing
11739 # directories.
11740 hardcode_action=unsupported
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11743 $as_echo "$hardcode_action" >&6; }
11745 if test "$hardcode_action" = relink ||
11746 test "$inherit_rpath" = yes; then
11747 # Fast installation is not supported
11748 enable_fast_install=no
11749 elif test "$shlibpath_overrides_runpath" = yes ||
11750 test "$enable_shared" = no; then
11751 # Fast installation is not necessary
11752 enable_fast_install=needless
11760 if test "x$enable_dlopen" != xyes; then
11761 enable_dlopen=unknown
11762 enable_dlopen_self=unknown
11763 enable_dlopen_self_static=unknown
11764 else
11765 lt_cv_dlopen=no
11766 lt_cv_dlopen_libs=
11768 case $host_os in
11769 beos*)
11770 lt_cv_dlopen="load_add_on"
11771 lt_cv_dlopen_libs=
11772 lt_cv_dlopen_self=yes
11775 mingw* | pw32* | cegcc*)
11776 lt_cv_dlopen="LoadLibrary"
11777 lt_cv_dlopen_libs=
11780 cygwin*)
11781 lt_cv_dlopen="dlopen"
11782 lt_cv_dlopen_libs=
11785 darwin*)
11786 # if libdl is installed we need to link against it
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11788 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11789 if ${ac_cv_lib_dl_dlopen+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_check_lib_save_LIBS=$LIBS
11793 LIBS="-ldl $LIBS"
11794 if test x$gcc_no_link = xyes; then
11795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char dlopen ();
11808 main ()
11810 return dlopen ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 ac_cv_lib_dl_dlopen=yes
11817 else
11818 ac_cv_lib_dl_dlopen=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11825 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11826 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11827 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11828 else
11830 lt_cv_dlopen="dyld"
11831 lt_cv_dlopen_libs=
11832 lt_cv_dlopen_self=yes
11839 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11840 if test "x$ac_cv_func_shl_load" = xyes; then :
11841 lt_cv_dlopen="shl_load"
11842 else
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11844 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11845 if ${ac_cv_lib_dld_shl_load+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_lib_save_LIBS=$LIBS
11849 LIBS="-ldld $LIBS"
11850 if test x$gcc_no_link = xyes; then
11851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11856 /* Override any GCC internal prototype to avoid an error.
11857 Use char because int might match the return type of a GCC
11858 builtin and then its argument prototype would still apply. */
11859 #ifdef __cplusplus
11860 extern "C"
11861 #endif
11862 char shl_load ();
11864 main ()
11866 return shl_load ();
11868 return 0;
11870 _ACEOF
11871 if ac_fn_c_try_link "$LINENO"; then :
11872 ac_cv_lib_dld_shl_load=yes
11873 else
11874 ac_cv_lib_dld_shl_load=no
11876 rm -f core conftest.err conftest.$ac_objext \
11877 conftest$ac_exeext conftest.$ac_ext
11878 LIBS=$ac_check_lib_save_LIBS
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11881 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11882 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11883 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11884 else
11885 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11886 if test "x$ac_cv_func_dlopen" = xyes; then :
11887 lt_cv_dlopen="dlopen"
11888 else
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11891 if ${ac_cv_lib_dl_dlopen+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-ldl $LIBS"
11896 if test x$gcc_no_link = xyes; then
11897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char dlopen ();
11910 main ()
11912 return dlopen ();
11914 return 0;
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 ac_cv_lib_dl_dlopen=yes
11919 else
11920 ac_cv_lib_dl_dlopen=no
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_lib_save_LIBS
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11927 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11928 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11929 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11932 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11933 if ${ac_cv_lib_svld_dlopen+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lsvld $LIBS"
11938 if test x$gcc_no_link = xyes; then
11939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char dlopen ();
11952 main ()
11954 return dlopen ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 ac_cv_lib_svld_dlopen=yes
11961 else
11962 ac_cv_lib_svld_dlopen=no
11964 rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11969 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11970 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11971 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11972 else
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11974 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11975 if ${ac_cv_lib_dld_dld_link+:} false; then :
11976 $as_echo_n "(cached) " >&6
11977 else
11978 ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-ldld $LIBS"
11980 if test x$gcc_no_link = xyes; then
11981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char dld_link ();
11994 main ()
11996 return dld_link ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002 ac_cv_lib_dld_dld_link=yes
12003 else
12004 ac_cv_lib_dld_dld_link=no
12006 rm -f core conftest.err conftest.$ac_objext \
12007 conftest$ac_exeext conftest.$ac_ext
12008 LIBS=$ac_check_lib_save_LIBS
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12011 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12012 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12013 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12032 esac
12034 if test "x$lt_cv_dlopen" != xno; then
12035 enable_dlopen=yes
12036 else
12037 enable_dlopen=no
12040 case $lt_cv_dlopen in
12041 dlopen)
12042 save_CPPFLAGS="$CPPFLAGS"
12043 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12045 save_LDFLAGS="$LDFLAGS"
12046 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12048 save_LIBS="$LIBS"
12049 LIBS="$lt_cv_dlopen_libs $LIBS"
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12052 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12053 if ${lt_cv_dlopen_self+:} false; then :
12054 $as_echo_n "(cached) " >&6
12055 else
12056 if test "$cross_compiling" = yes; then :
12057 lt_cv_dlopen_self=cross
12058 else
12059 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12060 lt_status=$lt_dlunknown
12061 cat > conftest.$ac_ext <<_LT_EOF
12062 #line 12062 "configure"
12063 #include "confdefs.h"
12065 #if HAVE_DLFCN_H
12066 #include <dlfcn.h>
12067 #endif
12069 #include <stdio.h>
12071 #ifdef RTLD_GLOBAL
12072 # define LT_DLGLOBAL RTLD_GLOBAL
12073 #else
12074 # ifdef DL_GLOBAL
12075 # define LT_DLGLOBAL DL_GLOBAL
12076 # else
12077 # define LT_DLGLOBAL 0
12078 # endif
12079 #endif
12081 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12082 find out it does not work in some platform. */
12083 #ifndef LT_DLLAZY_OR_NOW
12084 # ifdef RTLD_LAZY
12085 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12086 # else
12087 # ifdef DL_LAZY
12088 # define LT_DLLAZY_OR_NOW DL_LAZY
12089 # else
12090 # ifdef RTLD_NOW
12091 # define LT_DLLAZY_OR_NOW RTLD_NOW
12092 # else
12093 # ifdef DL_NOW
12094 # define LT_DLLAZY_OR_NOW DL_NOW
12095 # else
12096 # define LT_DLLAZY_OR_NOW 0
12097 # endif
12098 # endif
12099 # endif
12100 # endif
12101 #endif
12103 /* When -fvisbility=hidden is used, assume the code has been annotated
12104 correspondingly for the symbols needed. */
12105 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12106 void fnord () __attribute__((visibility("default")));
12107 #endif
12109 void fnord () { int i=42; }
12110 int main ()
12112 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12113 int status = $lt_dlunknown;
12115 if (self)
12117 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12118 else
12120 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12121 else puts (dlerror ());
12123 /* dlclose (self); */
12125 else
12126 puts (dlerror ());
12128 return status;
12130 _LT_EOF
12131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12132 (eval $ac_link) 2>&5
12133 ac_status=$?
12134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12135 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12136 (./conftest; exit; ) >&5 2>/dev/null
12137 lt_status=$?
12138 case x$lt_status in
12139 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12140 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12141 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12142 esac
12143 else :
12144 # compilation failed
12145 lt_cv_dlopen_self=no
12148 rm -fr conftest*
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12153 $as_echo "$lt_cv_dlopen_self" >&6; }
12155 if test "x$lt_cv_dlopen_self" = xyes; then
12156 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12158 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12159 if ${lt_cv_dlopen_self_static+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 if test "$cross_compiling" = yes; then :
12163 lt_cv_dlopen_self_static=cross
12164 else
12165 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12166 lt_status=$lt_dlunknown
12167 cat > conftest.$ac_ext <<_LT_EOF
12168 #line 12168 "configure"
12169 #include "confdefs.h"
12171 #if HAVE_DLFCN_H
12172 #include <dlfcn.h>
12173 #endif
12175 #include <stdio.h>
12177 #ifdef RTLD_GLOBAL
12178 # define LT_DLGLOBAL RTLD_GLOBAL
12179 #else
12180 # ifdef DL_GLOBAL
12181 # define LT_DLGLOBAL DL_GLOBAL
12182 # else
12183 # define LT_DLGLOBAL 0
12184 # endif
12185 #endif
12187 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12188 find out it does not work in some platform. */
12189 #ifndef LT_DLLAZY_OR_NOW
12190 # ifdef RTLD_LAZY
12191 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12192 # else
12193 # ifdef DL_LAZY
12194 # define LT_DLLAZY_OR_NOW DL_LAZY
12195 # else
12196 # ifdef RTLD_NOW
12197 # define LT_DLLAZY_OR_NOW RTLD_NOW
12198 # else
12199 # ifdef DL_NOW
12200 # define LT_DLLAZY_OR_NOW DL_NOW
12201 # else
12202 # define LT_DLLAZY_OR_NOW 0
12203 # endif
12204 # endif
12205 # endif
12206 # endif
12207 #endif
12209 /* When -fvisbility=hidden is used, assume the code has been annotated
12210 correspondingly for the symbols needed. */
12211 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12212 void fnord () __attribute__((visibility("default")));
12213 #endif
12215 void fnord () { int i=42; }
12216 int main ()
12218 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12219 int status = $lt_dlunknown;
12221 if (self)
12223 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12224 else
12226 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12227 else puts (dlerror ());
12229 /* dlclose (self); */
12231 else
12232 puts (dlerror ());
12234 return status;
12236 _LT_EOF
12237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12238 (eval $ac_link) 2>&5
12239 ac_status=$?
12240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12241 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12242 (./conftest; exit; ) >&5 2>/dev/null
12243 lt_status=$?
12244 case x$lt_status in
12245 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12246 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12247 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12248 esac
12249 else :
12250 # compilation failed
12251 lt_cv_dlopen_self_static=no
12254 rm -fr conftest*
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12259 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12262 CPPFLAGS="$save_CPPFLAGS"
12263 LDFLAGS="$save_LDFLAGS"
12264 LIBS="$save_LIBS"
12266 esac
12268 case $lt_cv_dlopen_self in
12269 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12270 *) enable_dlopen_self=unknown ;;
12271 esac
12273 case $lt_cv_dlopen_self_static in
12274 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12275 *) enable_dlopen_self_static=unknown ;;
12276 esac
12295 striplib=
12296 old_striplib=
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12298 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12299 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12300 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12301 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12303 $as_echo "yes" >&6; }
12304 else
12305 # FIXME - insert some real tests, host_os isn't really good enough
12306 case $host_os in
12307 darwin*)
12308 if test -n "$STRIP" ; then
12309 striplib="$STRIP -x"
12310 old_striplib="$STRIP -S"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12312 $as_echo "yes" >&6; }
12313 else
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315 $as_echo "no" >&6; }
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12322 esac
12336 # Report which library types will actually be built
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12338 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12340 $as_echo "$can_build_shared" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12343 $as_echo_n "checking whether to build shared libraries... " >&6; }
12344 test "$can_build_shared" = "no" && enable_shared=no
12346 # On AIX, shared libraries and static libraries use the same namespace, and
12347 # are all built from PIC.
12348 case $host_os in
12349 aix3*)
12350 test "$enable_shared" = yes && enable_static=no
12351 if test -n "$RANLIB"; then
12352 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12353 postinstall_cmds='$RANLIB $lib'
12357 aix[4-9]*)
12358 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12359 test "$enable_shared" = yes && enable_static=no
12362 esac
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12364 $as_echo "$enable_shared" >&6; }
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12367 $as_echo_n "checking whether to build static libraries... " >&6; }
12368 # Make sure either enable_shared or enable_static is yes.
12369 test "$enable_shared" = yes || enable_static=yes
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12371 $as_echo "$enable_static" >&6; }
12377 ac_ext=c
12378 ac_cpp='$CPP $CPPFLAGS'
12379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12383 CC="$lt_save_CC"
12385 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12386 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12387 (test "X$CXX" != "Xg++"))) ; then
12388 ac_ext=cpp
12389 ac_cpp='$CXXCPP $CPPFLAGS'
12390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12394 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12395 if test -z "$CXXCPP"; then
12396 if ${ac_cv_prog_CXXCPP+:} false; then :
12397 $as_echo_n "(cached) " >&6
12398 else
12399 # Double quotes because CXXCPP needs to be expanded
12400 for CXXCPP in "$CXX -E" "/lib/cpp"
12402 ac_preproc_ok=false
12403 for ac_cxx_preproc_warn_flag in '' yes
12405 # Use a header file that comes with gcc, so configuring glibc
12406 # with a fresh cross-compiler works.
12407 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12408 # <limits.h> exists even on freestanding compilers.
12409 # On the NeXT, cc -E runs the code through the compiler's parser,
12410 # not just through cpp. "Syntax error" is here to catch this case.
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 #ifdef __STDC__
12414 # include <limits.h>
12415 #else
12416 # include <assert.h>
12417 #endif
12418 Syntax error
12419 _ACEOF
12420 if ac_fn_cxx_try_cpp "$LINENO"; then :
12422 else
12423 # Broken: fails on valid input.
12424 continue
12426 rm -f conftest.err conftest.i conftest.$ac_ext
12428 # OK, works on sane cases. Now check whether nonexistent headers
12429 # can be detected and how.
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12432 #include <ac_nonexistent.h>
12433 _ACEOF
12434 if ac_fn_cxx_try_cpp "$LINENO"; then :
12435 # Broken: success on invalid input.
12436 continue
12437 else
12438 # Passes both tests.
12439 ac_preproc_ok=:
12440 break
12442 rm -f conftest.err conftest.i conftest.$ac_ext
12444 done
12445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12446 rm -f conftest.i conftest.err conftest.$ac_ext
12447 if $ac_preproc_ok; then :
12448 break
12451 done
12452 ac_cv_prog_CXXCPP=$CXXCPP
12455 CXXCPP=$ac_cv_prog_CXXCPP
12456 else
12457 ac_cv_prog_CXXCPP=$CXXCPP
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12460 $as_echo "$CXXCPP" >&6; }
12461 ac_preproc_ok=false
12462 for ac_cxx_preproc_warn_flag in '' yes
12464 # Use a header file that comes with gcc, so configuring glibc
12465 # with a fresh cross-compiler works.
12466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12467 # <limits.h> exists even on freestanding compilers.
12468 # On the NeXT, cc -E runs the code through the compiler's parser,
12469 # not just through cpp. "Syntax error" is here to catch this case.
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12472 #ifdef __STDC__
12473 # include <limits.h>
12474 #else
12475 # include <assert.h>
12476 #endif
12477 Syntax error
12478 _ACEOF
12479 if ac_fn_cxx_try_cpp "$LINENO"; then :
12481 else
12482 # Broken: fails on valid input.
12483 continue
12485 rm -f conftest.err conftest.i conftest.$ac_ext
12487 # OK, works on sane cases. Now check whether nonexistent headers
12488 # can be detected and how.
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12491 #include <ac_nonexistent.h>
12492 _ACEOF
12493 if ac_fn_cxx_try_cpp "$LINENO"; then :
12494 # Broken: success on invalid input.
12495 continue
12496 else
12497 # Passes both tests.
12498 ac_preproc_ok=:
12499 break
12501 rm -f conftest.err conftest.i conftest.$ac_ext
12503 done
12504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12505 rm -f conftest.i conftest.err conftest.$ac_ext
12506 if $ac_preproc_ok; then :
12508 else
12509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12511 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12512 See \`config.log' for more details" "$LINENO" 5; }
12515 ac_ext=c
12516 ac_cpp='$CPP $CPPFLAGS'
12517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12521 else
12522 _lt_caught_CXX_error=yes
12525 ac_ext=cpp
12526 ac_cpp='$CXXCPP $CPPFLAGS'
12527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12531 archive_cmds_need_lc_CXX=no
12532 allow_undefined_flag_CXX=
12533 always_export_symbols_CXX=no
12534 archive_expsym_cmds_CXX=
12535 compiler_needs_object_CXX=no
12536 export_dynamic_flag_spec_CXX=
12537 hardcode_direct_CXX=no
12538 hardcode_direct_absolute_CXX=no
12539 hardcode_libdir_flag_spec_CXX=
12540 hardcode_libdir_flag_spec_ld_CXX=
12541 hardcode_libdir_separator_CXX=
12542 hardcode_minus_L_CXX=no
12543 hardcode_shlibpath_var_CXX=unsupported
12544 hardcode_automatic_CXX=no
12545 inherit_rpath_CXX=no
12546 module_cmds_CXX=
12547 module_expsym_cmds_CXX=
12548 link_all_deplibs_CXX=unknown
12549 old_archive_cmds_CXX=$old_archive_cmds
12550 reload_flag_CXX=$reload_flag
12551 reload_cmds_CXX=$reload_cmds
12552 no_undefined_flag_CXX=
12553 whole_archive_flag_spec_CXX=
12554 enable_shared_with_static_runtimes_CXX=no
12556 # Source file extension for C++ test sources.
12557 ac_ext=cpp
12559 # Object file extension for compiled C++ test sources.
12560 objext=o
12561 objext_CXX=$objext
12563 # No sense in running all these tests if we already determined that
12564 # the CXX compiler isn't working. Some variables (like enable_shared)
12565 # are currently assumed to apply to all compilers on this platform,
12566 # and will be corrupted by setting them based on a non-working compiler.
12567 if test "$_lt_caught_CXX_error" != yes; then
12568 # Code to be used in simple compile tests
12569 lt_simple_compile_test_code="int some_variable = 0;"
12571 # Code to be used in simple link tests
12572 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12574 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12581 # If no C compiler was specified, use CC.
12582 LTCC=${LTCC-"$CC"}
12584 # If no C compiler flags were specified, use CFLAGS.
12585 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12587 # Allow CC to be a program name with arguments.
12588 compiler=$CC
12591 # save warnings/boilerplate of simple test code
12592 ac_outfile=conftest.$ac_objext
12593 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12594 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12595 _lt_compiler_boilerplate=`cat conftest.err`
12596 $RM conftest*
12598 ac_outfile=conftest.$ac_objext
12599 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12600 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12601 _lt_linker_boilerplate=`cat conftest.err`
12602 $RM -r conftest*
12605 # Allow CC to be a program name with arguments.
12606 lt_save_CC=$CC
12607 lt_save_LD=$LD
12608 lt_save_GCC=$GCC
12609 GCC=$GXX
12610 lt_save_with_gnu_ld=$with_gnu_ld
12611 lt_save_path_LD=$lt_cv_path_LD
12612 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12613 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12614 else
12615 $as_unset lt_cv_prog_gnu_ld
12617 if test -n "${lt_cv_path_LDCXX+set}"; then
12618 lt_cv_path_LD=$lt_cv_path_LDCXX
12619 else
12620 $as_unset lt_cv_path_LD
12622 test -z "${LDCXX+set}" || LD=$LDCXX
12623 CC=${CXX-"c++"}
12624 compiler=$CC
12625 compiler_CXX=$CC
12626 for cc_temp in $compiler""; do
12627 case $cc_temp in
12628 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12629 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12630 \-*) ;;
12631 *) break;;
12632 esac
12633 done
12634 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12637 if test -n "$compiler"; then
12638 # We don't want -fno-exception when compiling C++ code, so set the
12639 # no_builtin_flag separately
12640 if test "$GXX" = yes; then
12641 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12642 else
12643 lt_prog_compiler_no_builtin_flag_CXX=
12646 if test "$GXX" = yes; then
12647 # Set up default GNU C++ configuration
12651 # Check whether --with-gnu-ld was given.
12652 if test "${with_gnu_ld+set}" = set; then :
12653 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12654 else
12655 with_gnu_ld=no
12658 ac_prog=ld
12659 if test "$GCC" = yes; then
12660 # Check if gcc -print-prog-name=ld gives a path.
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12662 $as_echo_n "checking for ld used by $CC... " >&6; }
12663 case $host in
12664 *-*-mingw*)
12665 # gcc leaves a trailing carriage return which upsets mingw
12666 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12668 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12669 esac
12670 case $ac_prog in
12671 # Accept absolute paths.
12672 [\\/]* | ?:[\\/]*)
12673 re_direlt='/[^/][^/]*/\.\./'
12674 # Canonicalize the pathname of ld
12675 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12676 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12677 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12678 done
12679 test -z "$LD" && LD="$ac_prog"
12682 # If it fails, then pretend we aren't using GCC.
12683 ac_prog=ld
12686 # If it is relative, then search for the first ld in PATH.
12687 with_gnu_ld=unknown
12689 esac
12690 elif test "$with_gnu_ld" = yes; then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12692 $as_echo_n "checking for GNU ld... " >&6; }
12693 else
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12695 $as_echo_n "checking for non-GNU ld... " >&6; }
12697 if ${lt_cv_path_LD+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 if test -z "$LD"; then
12701 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12702 for ac_dir in $PATH; do
12703 IFS="$lt_save_ifs"
12704 test -z "$ac_dir" && ac_dir=.
12705 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12706 lt_cv_path_LD="$ac_dir/$ac_prog"
12707 # Check to see if the program is GNU ld. I'd rather use --version,
12708 # but apparently some variants of GNU ld only accept -v.
12709 # Break only if it was the GNU/non-GNU ld that we prefer.
12710 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12711 *GNU* | *'with BFD'*)
12712 test "$with_gnu_ld" != no && break
12715 test "$with_gnu_ld" != yes && break
12717 esac
12719 done
12720 IFS="$lt_save_ifs"
12721 else
12722 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12726 LD="$lt_cv_path_LD"
12727 if test -n "$LD"; then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12729 $as_echo "$LD" >&6; }
12730 else
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732 $as_echo "no" >&6; }
12734 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12736 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12737 if ${lt_cv_prog_gnu_ld+:} false; then :
12738 $as_echo_n "(cached) " >&6
12739 else
12740 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12741 case `$LD -v 2>&1 </dev/null` in
12742 *GNU* | *'with BFD'*)
12743 lt_cv_prog_gnu_ld=yes
12746 lt_cv_prog_gnu_ld=no
12748 esac
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12751 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12752 with_gnu_ld=$lt_cv_prog_gnu_ld
12760 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12761 # archiving commands below assume that GNU ld is being used.
12762 if test "$with_gnu_ld" = yes; then
12763 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12764 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'
12766 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12767 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12769 # If archive_cmds runs LD, not CC, wlarc should be empty
12770 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12771 # investigate it a little bit more. (MM)
12772 wlarc='${wl}'
12774 # ancient GNU ld didn't support --whole-archive et. al.
12775 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12776 $GREP 'no-whole-archive' > /dev/null; then
12777 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12778 else
12779 whole_archive_flag_spec_CXX=
12781 else
12782 with_gnu_ld=no
12783 wlarc=
12785 # A generic and very simple default shared library creation
12786 # command for GNU C++ for the case where it uses the native
12787 # linker, instead of GNU ld. If possible, this setting should
12788 # overridden to take advantage of the native linker features on
12789 # the platform it is being used on.
12790 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12793 # Commands to make compiler produce verbose output that lists
12794 # what "hidden" libraries, object files and flags are used when
12795 # linking a shared library.
12796 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12798 else
12799 GXX=no
12800 with_gnu_ld=no
12801 wlarc=
12804 # PORTME: fill in a description of your system's C++ link characteristics
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12806 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12807 ld_shlibs_CXX=yes
12808 case $host_os in
12809 aix3*)
12810 # FIXME: insert proper C++ library support
12811 ld_shlibs_CXX=no
12813 aix[4-9]*)
12814 if test "$host_cpu" = ia64; then
12815 # On IA64, the linker does run time linking by default, so we don't
12816 # have to do anything special.
12817 aix_use_runtimelinking=no
12818 exp_sym_flag='-Bexport'
12819 no_entry_flag=""
12820 else
12821 aix_use_runtimelinking=no
12823 # Test if we are trying to use run time linking or normal
12824 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12825 # need to do runtime linking.
12826 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12827 for ld_flag in $LDFLAGS; do
12828 case $ld_flag in
12829 *-brtl*)
12830 aix_use_runtimelinking=yes
12831 break
12833 esac
12834 done
12836 esac
12838 exp_sym_flag='-bexport'
12839 no_entry_flag='-bnoentry'
12842 # When large executables or shared objects are built, AIX ld can
12843 # have problems creating the table of contents. If linking a library
12844 # or program results in "error TOC overflow" add -mminimal-toc to
12845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12848 archive_cmds_CXX=''
12849 hardcode_direct_CXX=yes
12850 hardcode_direct_absolute_CXX=yes
12851 hardcode_libdir_separator_CXX=':'
12852 link_all_deplibs_CXX=yes
12853 file_list_spec_CXX='${wl}-f,'
12855 if test "$GXX" = yes; then
12856 case $host_os in aix4.[012]|aix4.[012].*)
12857 # We only want to do this on AIX 4.2 and lower, the check
12858 # below for broken collect2 doesn't work under 4.3+
12859 collect2name=`${CC} -print-prog-name=collect2`
12860 if test -f "$collect2name" &&
12861 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12862 then
12863 # We have reworked collect2
12865 else
12866 # We have old collect2
12867 hardcode_direct_CXX=unsupported
12868 # It fails to find uninstalled libraries when the uninstalled
12869 # path is not listed in the libpath. Setting hardcode_minus_L
12870 # to unsupported forces relinking
12871 hardcode_minus_L_CXX=yes
12872 hardcode_libdir_flag_spec_CXX='-L$libdir'
12873 hardcode_libdir_separator_CXX=
12875 esac
12876 shared_flag='-shared'
12877 if test "$aix_use_runtimelinking" = yes; then
12878 shared_flag="$shared_flag "'${wl}-G'
12880 else
12881 # not using gcc
12882 if test "$host_cpu" = ia64; then
12883 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12884 # chokes on -Wl,-G. The following line is correct:
12885 shared_flag='-G'
12886 else
12887 if test "$aix_use_runtimelinking" = yes; then
12888 shared_flag='${wl}-G'
12889 else
12890 shared_flag='${wl}-bM:SRE'
12895 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12896 # It seems that -bexpall does not export symbols beginning with
12897 # underscore (_), so it is better to generate a list of symbols to
12898 # export.
12899 always_export_symbols_CXX=yes
12900 if test "$aix_use_runtimelinking" = yes; then
12901 # Warning - without using the other runtime loading flags (-brtl),
12902 # -berok will link without error, but may produce a broken library.
12903 allow_undefined_flag_CXX='-berok'
12904 # Determine the default libpath from the value encoded in an empty
12905 # executable.
12906 if test x$gcc_no_link = xyes; then
12907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12913 main ()
12917 return 0;
12919 _ACEOF
12920 if ac_fn_cxx_try_link "$LINENO"; then :
12922 lt_aix_libpath_sed='
12923 /Import File Strings/,/^$/ {
12924 /^0/ {
12925 s/^0 *\(.*\)$/\1/
12929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12930 # Check for a 64-bit object if we didn't find anything.
12931 if test -z "$aix_libpath"; then
12932 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12935 rm -f core conftest.err conftest.$ac_objext \
12936 conftest$ac_exeext conftest.$ac_ext
12937 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12939 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12941 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"
12942 else
12943 if test "$host_cpu" = ia64; then
12944 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12945 allow_undefined_flag_CXX="-z nodefs"
12946 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"
12947 else
12948 # Determine the default libpath from the value encoded in an
12949 # empty executable.
12950 if test x$gcc_no_link = xyes; then
12951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12957 main ()
12961 return 0;
12963 _ACEOF
12964 if ac_fn_cxx_try_link "$LINENO"; then :
12966 lt_aix_libpath_sed='
12967 /Import File Strings/,/^$/ {
12968 /^0/ {
12969 s/^0 *\(.*\)$/\1/
12973 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12974 # Check for a 64-bit object if we didn't find anything.
12975 if test -z "$aix_libpath"; then
12976 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12983 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12984 # Warning - without using the other run time loading flags,
12985 # -berok will link without error, but may produce a broken library.
12986 no_undefined_flag_CXX=' ${wl}-bernotok'
12987 allow_undefined_flag_CXX=' ${wl}-berok'
12988 if test "$with_gnu_ld" = yes; then
12989 # We only use this code for GNU lds that support --whole-archive.
12990 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12991 else
12992 # Exported symbols can be pulled into shared objects from archives
12993 whole_archive_flag_spec_CXX='$convenience'
12995 archive_cmds_need_lc_CXX=yes
12996 # This is similar to how AIX traditionally builds its shared
12997 # libraries.
12998 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'
13003 beos*)
13004 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13005 allow_undefined_flag_CXX=unsupported
13006 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13007 # support --undefined. This deserves some investigation. FIXME
13008 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13009 else
13010 ld_shlibs_CXX=no
13014 chorus*)
13015 case $cc_basename in
13017 # FIXME: insert proper C++ library support
13018 ld_shlibs_CXX=no
13020 esac
13023 cygwin* | mingw* | pw32* | cegcc*)
13024 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13025 # as there is no search path for DLLs.
13026 hardcode_libdir_flag_spec_CXX='-L$libdir'
13027 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13028 allow_undefined_flag_CXX=unsupported
13029 always_export_symbols_CXX=no
13030 enable_shared_with_static_runtimes_CXX=yes
13032 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13033 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'
13034 # If the export-symbols file already is a .def file (1st line
13035 # is EXPORTS), use it as is; otherwise, prepend...
13036 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13037 cp $export_symbols $output_objdir/$soname.def;
13038 else
13039 echo EXPORTS > $output_objdir/$soname.def;
13040 cat $export_symbols >> $output_objdir/$soname.def;
13042 $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'
13043 else
13044 ld_shlibs_CXX=no
13047 darwin* | rhapsody*)
13050 archive_cmds_need_lc_CXX=no
13051 hardcode_direct_CXX=no
13052 hardcode_automatic_CXX=yes
13053 hardcode_shlibpath_var_CXX=unsupported
13054 if test "$lt_cv_ld_force_load" = "yes"; then
13055 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\"`'
13056 else
13057 whole_archive_flag_spec_CXX=''
13059 link_all_deplibs_CXX=yes
13060 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13061 case $cc_basename in
13062 ifort*) _lt_dar_can_shared=yes ;;
13063 *) _lt_dar_can_shared=$GCC ;;
13064 esac
13065 if test "$_lt_dar_can_shared" = "yes"; then
13066 output_verbose_link_cmd=func_echo_all
13067 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}"
13068 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13069 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}"
13070 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}"
13071 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13072 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}"
13073 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}"
13076 else
13077 ld_shlibs_CXX=no
13082 dgux*)
13083 case $cc_basename in
13084 ec++*)
13085 # FIXME: insert proper C++ library support
13086 ld_shlibs_CXX=no
13088 ghcx*)
13089 # Green Hills C++ Compiler
13090 # FIXME: insert proper C++ library support
13091 ld_shlibs_CXX=no
13094 # FIXME: insert proper C++ library support
13095 ld_shlibs_CXX=no
13097 esac
13100 freebsd2.*)
13101 # C++ shared libraries reported to be fairly broken before
13102 # switch to ELF
13103 ld_shlibs_CXX=no
13106 freebsd-elf*)
13107 archive_cmds_need_lc_CXX=no
13110 freebsd* | dragonfly*)
13111 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13112 # conventions
13113 ld_shlibs_CXX=yes
13116 gnu*)
13119 haiku*)
13120 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13121 link_all_deplibs_CXX=yes
13124 hpux9*)
13125 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13126 hardcode_libdir_separator_CXX=:
13127 export_dynamic_flag_spec_CXX='${wl}-E'
13128 hardcode_direct_CXX=yes
13129 hardcode_minus_L_CXX=yes # Not in the search PATH,
13130 # but as the default
13131 # location of the library.
13133 case $cc_basename in
13134 CC*)
13135 # FIXME: insert proper C++ library support
13136 ld_shlibs_CXX=no
13138 aCC*)
13139 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'
13140 # Commands to make compiler produce verbose output that lists
13141 # what "hidden" libraries, object files and flags are used when
13142 # linking a shared library.
13144 # There doesn't appear to be a way to prevent this compiler from
13145 # explicitly linking system object files so we need to strip them
13146 # from the output so that they don't get included in the library
13147 # dependencies.
13148 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"'
13151 if test "$GXX" = yes; then
13152 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'
13153 else
13154 # FIXME: insert proper C++ library support
13155 ld_shlibs_CXX=no
13158 esac
13161 hpux10*|hpux11*)
13162 if test $with_gnu_ld = no; then
13163 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13164 hardcode_libdir_separator_CXX=:
13166 case $host_cpu in
13167 hppa*64*|ia64*)
13170 export_dynamic_flag_spec_CXX='${wl}-E'
13172 esac
13174 case $host_cpu in
13175 hppa*64*|ia64*)
13176 hardcode_direct_CXX=no
13177 hardcode_shlibpath_var_CXX=no
13180 hardcode_direct_CXX=yes
13181 hardcode_direct_absolute_CXX=yes
13182 hardcode_minus_L_CXX=yes # Not in the search PATH,
13183 # but as the default
13184 # location of the library.
13186 esac
13188 case $cc_basename in
13189 CC*)
13190 # FIXME: insert proper C++ library support
13191 ld_shlibs_CXX=no
13193 aCC*)
13194 case $host_cpu in
13195 hppa*64*)
13196 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13198 ia64*)
13199 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13202 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13204 esac
13205 # Commands to make compiler produce verbose output that lists
13206 # what "hidden" libraries, object files and flags are used when
13207 # linking a shared library.
13209 # There doesn't appear to be a way to prevent this compiler from
13210 # explicitly linking system object files so we need to strip them
13211 # from the output so that they don't get included in the library
13212 # dependencies.
13213 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"'
13216 if test "$GXX" = yes; then
13217 if test $with_gnu_ld = no; then
13218 case $host_cpu in
13219 hppa*64*)
13220 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13222 ia64*)
13223 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13226 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'
13228 esac
13230 else
13231 # FIXME: insert proper C++ library support
13232 ld_shlibs_CXX=no
13235 esac
13238 interix[3-9]*)
13239 hardcode_direct_CXX=no
13240 hardcode_shlibpath_var_CXX=no
13241 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13242 export_dynamic_flag_spec_CXX='${wl}-E'
13243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13244 # Instead, shared libraries are loaded at an image base (0x10000000 by
13245 # default) and relocated if they conflict, which is a slow very memory
13246 # consuming and fragmenting process. To avoid this, we pick a random,
13247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13249 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'
13250 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'
13252 irix5* | irix6*)
13253 case $cc_basename in
13254 CC*)
13255 # SGI C++
13256 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'
13258 # Archives containing C++ object files must be created using
13259 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13260 # necessary to make sure instantiated templates are included
13261 # in the archive.
13262 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13265 if test "$GXX" = yes; then
13266 if test "$with_gnu_ld" = no; then
13267 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'
13268 else
13269 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'
13272 link_all_deplibs_CXX=yes
13274 esac
13275 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13276 hardcode_libdir_separator_CXX=:
13277 inherit_rpath_CXX=yes
13280 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13281 case $cc_basename in
13282 KCC*)
13283 # Kuck and Associates, Inc. (KAI) C++ Compiler
13285 # KCC will only create a shared library if the output file
13286 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13287 # to its proper name (with version) after linking.
13288 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'
13289 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'
13290 # Commands to make compiler produce verbose output that lists
13291 # what "hidden" libraries, object files and flags are used when
13292 # linking a shared library.
13294 # There doesn't appear to be a way to prevent this compiler from
13295 # explicitly linking system object files so we need to strip them
13296 # from the output so that they don't get included in the library
13297 # dependencies.
13298 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"'
13300 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13301 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13303 # Archives containing C++ object files must be created using
13304 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13305 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13307 icpc* | ecpc* )
13308 # Intel C++
13309 with_gnu_ld=yes
13310 # version 8.0 and above of icpc choke on multiply defined symbols
13311 # if we add $predep_objects and $postdep_objects, however 7.1 and
13312 # earlier do not add the objects themselves.
13313 case `$CC -V 2>&1` in
13314 *"Version 7."*)
13315 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13316 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'
13318 *) # Version 8.0 or newer
13319 tmp_idyn=
13320 case $host_cpu in
13321 ia64*) tmp_idyn=' -i_dynamic';;
13322 esac
13323 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13324 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'
13326 esac
13327 archive_cmds_need_lc_CXX=no
13328 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13329 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13330 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13332 pgCC* | pgcpp*)
13333 # Portland Group C++ compiler
13334 case `$CC -V` in
13335 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13336 prelink_cmds_CXX='tpldir=Template.dir~
13337 rm -rf $tpldir~
13338 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13339 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13340 old_archive_cmds_CXX='tpldir=Template.dir~
13341 rm -rf $tpldir~
13342 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13343 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13344 $RANLIB $oldlib'
13345 archive_cmds_CXX='tpldir=Template.dir~
13346 rm -rf $tpldir~
13347 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13348 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13349 archive_expsym_cmds_CXX='tpldir=Template.dir~
13350 rm -rf $tpldir~
13351 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13352 $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'
13354 *) # Version 6 and above use weak symbols
13355 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13356 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'
13358 esac
13360 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13361 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13362 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'
13364 cxx*)
13365 # Compaq C++
13366 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13367 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'
13369 runpath_var=LD_RUN_PATH
13370 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13371 hardcode_libdir_separator_CXX=:
13373 # Commands to make compiler produce verbose output that lists
13374 # what "hidden" libraries, object files and flags are used when
13375 # linking a shared library.
13377 # There doesn't appear to be a way to prevent this compiler from
13378 # explicitly linking system object files so we need to strip them
13379 # from the output so that they don't get included in the library
13380 # dependencies.
13381 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'
13383 xl* | mpixl* | bgxl*)
13384 # IBM XL 8.0 on PPC, with GNU ld
13385 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13386 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13387 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13388 if test "x$supports_anon_versioning" = xyes; then
13389 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13390 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13391 echo "local: *; };" >> $output_objdir/$libname.ver~
13392 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13396 case `$CC -V 2>&1 | sed 5q` in
13397 *Sun\ C*)
13398 # Sun C++ 5.9
13399 no_undefined_flag_CXX=' -zdefs'
13400 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13401 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'
13402 hardcode_libdir_flag_spec_CXX='-R$libdir'
13403 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'
13404 compiler_needs_object_CXX=yes
13406 # Not sure whether something based on
13407 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13408 # would be better.
13409 output_verbose_link_cmd='func_echo_all'
13411 # Archives containing C++ object files must be created using
13412 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13413 # necessary to make sure instantiated templates are included
13414 # in the archive.
13415 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13417 esac
13419 esac
13422 lynxos*)
13423 # FIXME: insert proper C++ library support
13424 ld_shlibs_CXX=no
13427 m88k*)
13428 # FIXME: insert proper C++ library support
13429 ld_shlibs_CXX=no
13432 mvs*)
13433 case $cc_basename in
13434 cxx*)
13435 # FIXME: insert proper C++ library support
13436 ld_shlibs_CXX=no
13439 # FIXME: insert proper C++ library support
13440 ld_shlibs_CXX=no
13442 esac
13445 netbsd*)
13446 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13447 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13448 wlarc=
13449 hardcode_libdir_flag_spec_CXX='-R$libdir'
13450 hardcode_direct_CXX=yes
13451 hardcode_shlibpath_var_CXX=no
13453 # Workaround some broken pre-1.5 toolchains
13454 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13457 *nto* | *qnx*)
13458 ld_shlibs_CXX=yes
13461 openbsd2*)
13462 # C++ shared libraries are fairly broken
13463 ld_shlibs_CXX=no
13466 openbsd*)
13467 if test -f /usr/libexec/ld.so; then
13468 hardcode_direct_CXX=yes
13469 hardcode_shlibpath_var_CXX=no
13470 hardcode_direct_absolute_CXX=yes
13471 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13472 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13473 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13474 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13475 export_dynamic_flag_spec_CXX='${wl}-E'
13476 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13478 output_verbose_link_cmd=func_echo_all
13479 else
13480 ld_shlibs_CXX=no
13484 osf3* | osf4* | osf5*)
13485 case $cc_basename in
13486 KCC*)
13487 # Kuck and Associates, Inc. (KAI) C++ Compiler
13489 # KCC will only create a shared library if the output file
13490 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13491 # to its proper name (with version) after linking.
13492 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'
13494 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13495 hardcode_libdir_separator_CXX=:
13497 # Archives containing C++ object files must be created using
13498 # the KAI C++ compiler.
13499 case $host in
13500 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13501 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13502 esac
13504 RCC*)
13505 # Rational C++ 2.4.1
13506 # FIXME: insert proper C++ library support
13507 ld_shlibs_CXX=no
13509 cxx*)
13510 case $host in
13511 osf3*)
13512 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13513 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'
13514 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13517 allow_undefined_flag_CXX=' -expect_unresolved \*'
13518 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'
13519 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13520 echo "-hidden">> $lib.exp~
13521 $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~
13522 $RM $lib.exp'
13523 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13525 esac
13527 hardcode_libdir_separator_CXX=:
13529 # Commands to make compiler produce verbose output that lists
13530 # what "hidden" libraries, object files and flags are used when
13531 # linking a shared library.
13533 # There doesn't appear to be a way to prevent this compiler from
13534 # explicitly linking system object files so we need to strip them
13535 # from the output so that they don't get included in the library
13536 # dependencies.
13537 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"'
13540 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13541 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13542 case $host in
13543 osf3*)
13544 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'
13547 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'
13549 esac
13551 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13552 hardcode_libdir_separator_CXX=:
13554 # Commands to make compiler produce verbose output that lists
13555 # what "hidden" libraries, object files and flags are used when
13556 # linking a shared library.
13557 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13559 else
13560 # FIXME: insert proper C++ library support
13561 ld_shlibs_CXX=no
13564 esac
13567 psos*)
13568 # FIXME: insert proper C++ library support
13569 ld_shlibs_CXX=no
13572 sunos4*)
13573 case $cc_basename in
13574 CC*)
13575 # Sun C++ 4.x
13576 # FIXME: insert proper C++ library support
13577 ld_shlibs_CXX=no
13579 lcc*)
13580 # Lucid
13581 # FIXME: insert proper C++ library support
13582 ld_shlibs_CXX=no
13585 # FIXME: insert proper C++ library support
13586 ld_shlibs_CXX=no
13588 esac
13591 solaris*)
13592 case $cc_basename in
13593 CC*)
13594 # Sun C++ 4.2, 5.x and Centerline C++
13595 archive_cmds_need_lc_CXX=yes
13596 no_undefined_flag_CXX=' -zdefs'
13597 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13598 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13599 $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'
13601 hardcode_libdir_flag_spec_CXX='-R$libdir'
13602 hardcode_shlibpath_var_CXX=no
13603 case $host_os in
13604 solaris2.[0-5] | solaris2.[0-5].*) ;;
13606 # The compiler driver will combine and reorder linker options,
13607 # but understands `-z linker_flag'.
13608 # Supported since Solaris 2.6 (maybe 2.5.1?)
13609 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13611 esac
13612 link_all_deplibs_CXX=yes
13614 output_verbose_link_cmd='func_echo_all'
13616 # Archives containing C++ object files must be created using
13617 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13618 # necessary to make sure instantiated templates are included
13619 # in the archive.
13620 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13622 gcx*)
13623 # Green Hills C++ Compiler
13624 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13626 # The C++ compiler must be used to create the archive.
13627 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13630 # GNU C++ compiler with Solaris linker
13631 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13632 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13633 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13634 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13635 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13636 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13638 # Commands to make compiler produce verbose output that lists
13639 # what "hidden" libraries, object files and flags are used when
13640 # linking a shared library.
13641 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13642 else
13643 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13644 # platform.
13645 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13646 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13647 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13649 # Commands to make compiler produce verbose output that lists
13650 # what "hidden" libraries, object files and flags are used when
13651 # linking a shared library.
13652 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13655 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13656 case $host_os in
13657 solaris2.[0-5] | solaris2.[0-5].*) ;;
13659 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13661 esac
13664 esac
13667 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13668 no_undefined_flag_CXX='${wl}-z,text'
13669 archive_cmds_need_lc_CXX=no
13670 hardcode_shlibpath_var_CXX=no
13671 runpath_var='LD_RUN_PATH'
13673 case $cc_basename in
13674 CC*)
13675 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13679 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13680 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13682 esac
13685 sysv5* | sco3.2v5* | sco5v6*)
13686 # Note: We can NOT use -z defs as we might desire, because we do not
13687 # link with -lc, and that would cause any symbols used from libc to
13688 # always be unresolved, which means just about no library would
13689 # ever link correctly. If we're not using GNU ld we use -z text
13690 # though, which does catch some bad symbols but isn't as heavy-handed
13691 # as -z defs.
13692 no_undefined_flag_CXX='${wl}-z,text'
13693 allow_undefined_flag_CXX='${wl}-z,nodefs'
13694 archive_cmds_need_lc_CXX=no
13695 hardcode_shlibpath_var_CXX=no
13696 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13697 hardcode_libdir_separator_CXX=':'
13698 link_all_deplibs_CXX=yes
13699 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13700 runpath_var='LD_RUN_PATH'
13702 case $cc_basename in
13703 CC*)
13704 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13705 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13706 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13707 '"$old_archive_cmds_CXX"
13708 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13709 '"$reload_cmds_CXX"
13712 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13713 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13715 esac
13718 tandem*)
13719 case $cc_basename in
13720 NCC*)
13721 # NonStop-UX NCC 3.20
13722 # FIXME: insert proper C++ library support
13723 ld_shlibs_CXX=no
13726 # FIXME: insert proper C++ library support
13727 ld_shlibs_CXX=no
13729 esac
13732 vxworks*)
13733 # FIXME: insert proper C++ library support
13734 ld_shlibs_CXX=no
13738 # FIXME: insert proper C++ library support
13739 ld_shlibs_CXX=no
13741 esac
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13744 $as_echo "$ld_shlibs_CXX" >&6; }
13745 test "$ld_shlibs_CXX" = no && can_build_shared=no
13747 GCC_CXX="$GXX"
13748 LD_CXX="$LD"
13750 ## CAVEAT EMPTOR:
13751 ## There is no encapsulation within the following macros, do not change
13752 ## the running order or otherwise move them around unless you know exactly
13753 ## what you are doing...
13754 # Dependencies to place before and after the object being linked:
13755 predep_objects_CXX=
13756 postdep_objects_CXX=
13757 predeps_CXX=
13758 postdeps_CXX=
13759 compiler_lib_search_path_CXX=
13761 cat > conftest.$ac_ext <<_LT_EOF
13762 class Foo
13764 public:
13765 Foo (void) { a = 0; }
13766 private:
13767 int a;
13769 _LT_EOF
13771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13772 (eval $ac_compile) 2>&5
13773 ac_status=$?
13774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13775 test $ac_status = 0; }; then
13776 # Parse the compiler output and extract the necessary
13777 # objects, libraries and library flags.
13779 # Sentinel used to keep track of whether or not we are before
13780 # the conftest object file.
13781 pre_test_object_deps_done=no
13783 for p in `eval "$output_verbose_link_cmd"`; do
13784 case $p in
13786 -L* | -R* | -l*)
13787 # Some compilers place space between "-{L,R}" and the path.
13788 # Remove the space.
13789 if test $p = "-L" ||
13790 test $p = "-R"; then
13791 prev=$p
13792 continue
13793 else
13794 prev=
13797 if test "$pre_test_object_deps_done" = no; then
13798 case $p in
13799 -L* | -R*)
13800 # Internal compiler library paths should come after those
13801 # provided the user. The postdeps already come after the
13802 # user supplied libs so there is no need to process them.
13803 if test -z "$compiler_lib_search_path_CXX"; then
13804 compiler_lib_search_path_CXX="${prev}${p}"
13805 else
13806 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13809 # The "-l" case would never come before the object being
13810 # linked, so don't bother handling this case.
13811 esac
13812 else
13813 if test -z "$postdeps_CXX"; then
13814 postdeps_CXX="${prev}${p}"
13815 else
13816 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13821 *.$objext)
13822 # This assumes that the test object file only shows up
13823 # once in the compiler output.
13824 if test "$p" = "conftest.$objext"; then
13825 pre_test_object_deps_done=yes
13826 continue
13829 if test "$pre_test_object_deps_done" = no; then
13830 if test -z "$predep_objects_CXX"; then
13831 predep_objects_CXX="$p"
13832 else
13833 predep_objects_CXX="$predep_objects_CXX $p"
13835 else
13836 if test -z "$postdep_objects_CXX"; then
13837 postdep_objects_CXX="$p"
13838 else
13839 postdep_objects_CXX="$postdep_objects_CXX $p"
13844 *) ;; # Ignore the rest.
13846 esac
13847 done
13849 # Clean up.
13850 rm -f a.out a.exe
13851 else
13852 echo "libtool.m4: error: problem compiling CXX test program"
13855 $RM -f confest.$objext
13857 # PORTME: override above test on systems where it is broken
13858 case $host_os in
13859 interix[3-9]*)
13860 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13861 # hack all around it, let's just trust "g++" to DTRT.
13862 predep_objects_CXX=
13863 postdep_objects_CXX=
13864 postdeps_CXX=
13867 linux*)
13868 case `$CC -V 2>&1 | sed 5q` in
13869 *Sun\ C*)
13870 # Sun C++ 5.9
13872 # The more standards-conforming stlport4 library is
13873 # incompatible with the Cstd library. Avoid specifying
13874 # it if it's in CXXFLAGS. Ignore libCrun as
13875 # -library=stlport4 depends on it.
13876 case " $CXX $CXXFLAGS " in
13877 *" -library=stlport4 "*)
13878 solaris_use_stlport4=yes
13880 esac
13882 if test "$solaris_use_stlport4" != yes; then
13883 postdeps_CXX='-library=Cstd -library=Crun'
13886 esac
13889 solaris*)
13890 case $cc_basename in
13891 CC*)
13892 # The more standards-conforming stlport4 library is
13893 # incompatible with the Cstd library. Avoid specifying
13894 # it if it's in CXXFLAGS. Ignore libCrun as
13895 # -library=stlport4 depends on it.
13896 case " $CXX $CXXFLAGS " in
13897 *" -library=stlport4 "*)
13898 solaris_use_stlport4=yes
13900 esac
13902 # Adding this requires a known-good setup of shared libraries for
13903 # Sun compiler versions before 5.6, else PIC objects from an old
13904 # archive will be linked into the output, leading to subtle bugs.
13905 if test "$solaris_use_stlport4" != yes; then
13906 postdeps_CXX='-library=Cstd -library=Crun'
13909 esac
13911 esac
13914 case " $postdeps_CXX " in
13915 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13916 esac
13917 compiler_lib_search_dirs_CXX=
13918 if test -n "${compiler_lib_search_path_CXX}"; then
13919 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13952 lt_prog_compiler_wl_CXX=
13953 lt_prog_compiler_pic_CXX=
13954 lt_prog_compiler_static_CXX=
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13957 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13959 # C++ specific cases for pic, static, wl, etc.
13960 if test "$GXX" = yes; then
13961 lt_prog_compiler_wl_CXX='-Wl,'
13962 lt_prog_compiler_static_CXX='-static'
13964 case $host_os in
13965 aix*)
13966 # All AIX code is PIC.
13967 if test "$host_cpu" = ia64; then
13968 # AIX 5 now supports IA64 processor
13969 lt_prog_compiler_static_CXX='-Bstatic'
13971 lt_prog_compiler_pic_CXX='-fPIC'
13974 amigaos*)
13975 case $host_cpu in
13976 powerpc)
13977 # see comment about AmigaOS4 .so support
13978 lt_prog_compiler_pic_CXX='-fPIC'
13980 m68k)
13981 # FIXME: we need at least 68020 code to build shared libraries, but
13982 # adding the `-m68020' flag to GCC prevents building anything better,
13983 # like `-m68040'.
13984 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13986 esac
13989 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13990 # PIC is the default for these OSes.
13992 mingw* | cygwin* | os2* | pw32* | cegcc*)
13993 # This hack is so that the source file can tell whether it is being
13994 # built for inclusion in a dll (and should export symbols for example).
13995 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13996 # (--disable-auto-import) libraries
13997 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13999 darwin* | rhapsody*)
14000 # PIC is the default on this platform
14001 # Common symbols not allowed in MH_DYLIB files
14002 lt_prog_compiler_pic_CXX='-fno-common'
14004 *djgpp*)
14005 # DJGPP does not support shared libraries at all
14006 lt_prog_compiler_pic_CXX=
14008 haiku*)
14009 # PIC is the default for Haiku.
14010 # The "-static" flag exists, but is broken.
14011 lt_prog_compiler_static_CXX=
14013 interix[3-9]*)
14014 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14015 # Instead, we relocate shared libraries at runtime.
14017 sysv4*MP*)
14018 if test -d /usr/nec; then
14019 lt_prog_compiler_pic_CXX=-Kconform_pic
14022 hpux*)
14023 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14024 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14025 # sets the default TLS model and affects inlining.
14026 case $host_cpu in
14027 hppa*64*)
14030 lt_prog_compiler_pic_CXX='-fPIC'
14032 esac
14034 *qnx* | *nto*)
14035 # QNX uses GNU C++, but need to define -shared option too, otherwise
14036 # it will coredump.
14037 lt_prog_compiler_pic_CXX='-fPIC -shared'
14040 lt_prog_compiler_pic_CXX='-fPIC'
14042 esac
14043 else
14044 case $host_os in
14045 aix[4-9]*)
14046 # All AIX code is PIC.
14047 if test "$host_cpu" = ia64; then
14048 # AIX 5 now supports IA64 processor
14049 lt_prog_compiler_static_CXX='-Bstatic'
14050 else
14051 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14054 chorus*)
14055 case $cc_basename in
14056 cxch68*)
14057 # Green Hills C++ Compiler
14058 # _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"
14060 esac
14062 dgux*)
14063 case $cc_basename in
14064 ec++*)
14065 lt_prog_compiler_pic_CXX='-KPIC'
14067 ghcx*)
14068 # Green Hills C++ Compiler
14069 lt_prog_compiler_pic_CXX='-pic'
14073 esac
14075 freebsd* | dragonfly*)
14076 # FreeBSD uses GNU C++
14078 hpux9* | hpux10* | hpux11*)
14079 case $cc_basename in
14080 CC*)
14081 lt_prog_compiler_wl_CXX='-Wl,'
14082 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14083 if test "$host_cpu" != ia64; then
14084 lt_prog_compiler_pic_CXX='+Z'
14087 aCC*)
14088 lt_prog_compiler_wl_CXX='-Wl,'
14089 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14090 case $host_cpu in
14091 hppa*64*|ia64*)
14092 # +Z the default
14095 lt_prog_compiler_pic_CXX='+Z'
14097 esac
14101 esac
14103 interix*)
14104 # This is c89, which is MS Visual C++ (no shared libs)
14105 # Anyone wants to do a port?
14107 irix5* | irix6* | nonstopux*)
14108 case $cc_basename in
14109 CC*)
14110 lt_prog_compiler_wl_CXX='-Wl,'
14111 lt_prog_compiler_static_CXX='-non_shared'
14112 # CC pic flag -KPIC is the default.
14116 esac
14118 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14119 case $cc_basename in
14120 KCC*)
14121 # KAI C++ Compiler
14122 lt_prog_compiler_wl_CXX='--backend -Wl,'
14123 lt_prog_compiler_pic_CXX='-fPIC'
14125 ecpc* )
14126 # old Intel C++ for x86_64 which still supported -KPIC.
14127 lt_prog_compiler_wl_CXX='-Wl,'
14128 lt_prog_compiler_pic_CXX='-KPIC'
14129 lt_prog_compiler_static_CXX='-static'
14131 icpc* )
14132 # Intel C++, used to be incompatible with GCC.
14133 # ICC 10 doesn't accept -KPIC any more.
14134 lt_prog_compiler_wl_CXX='-Wl,'
14135 lt_prog_compiler_pic_CXX='-fPIC'
14136 lt_prog_compiler_static_CXX='-static'
14138 pgCC* | pgcpp*)
14139 # Portland Group C++ compiler
14140 lt_prog_compiler_wl_CXX='-Wl,'
14141 lt_prog_compiler_pic_CXX='-fpic'
14142 lt_prog_compiler_static_CXX='-Bstatic'
14144 cxx*)
14145 # Compaq C++
14146 # Make sure the PIC flag is empty. It appears that all Alpha
14147 # Linux and Compaq Tru64 Unix objects are PIC.
14148 lt_prog_compiler_pic_CXX=
14149 lt_prog_compiler_static_CXX='-non_shared'
14151 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14152 # IBM XL 8.0, 9.0 on PPC and BlueGene
14153 lt_prog_compiler_wl_CXX='-Wl,'
14154 lt_prog_compiler_pic_CXX='-qpic'
14155 lt_prog_compiler_static_CXX='-qstaticlink'
14158 case `$CC -V 2>&1 | sed 5q` in
14159 *Sun\ C*)
14160 # Sun C++ 5.9
14161 lt_prog_compiler_pic_CXX='-KPIC'
14162 lt_prog_compiler_static_CXX='-Bstatic'
14163 lt_prog_compiler_wl_CXX='-Qoption ld '
14165 esac
14167 esac
14169 lynxos*)
14171 m88k*)
14173 mvs*)
14174 case $cc_basename in
14175 cxx*)
14176 lt_prog_compiler_pic_CXX='-W c,exportall'
14180 esac
14182 netbsd*)
14184 *qnx* | *nto*)
14185 # QNX uses GNU C++, but need to define -shared option too, otherwise
14186 # it will coredump.
14187 lt_prog_compiler_pic_CXX='-fPIC -shared'
14189 osf3* | osf4* | osf5*)
14190 case $cc_basename in
14191 KCC*)
14192 lt_prog_compiler_wl_CXX='--backend -Wl,'
14194 RCC*)
14195 # Rational C++ 2.4.1
14196 lt_prog_compiler_pic_CXX='-pic'
14198 cxx*)
14199 # Digital/Compaq C++
14200 lt_prog_compiler_wl_CXX='-Wl,'
14201 # Make sure the PIC flag is empty. It appears that all Alpha
14202 # Linux and Compaq Tru64 Unix objects are PIC.
14203 lt_prog_compiler_pic_CXX=
14204 lt_prog_compiler_static_CXX='-non_shared'
14208 esac
14210 psos*)
14212 solaris*)
14213 case $cc_basename in
14214 CC*)
14215 # Sun C++ 4.2, 5.x and Centerline C++
14216 lt_prog_compiler_pic_CXX='-KPIC'
14217 lt_prog_compiler_static_CXX='-Bstatic'
14218 lt_prog_compiler_wl_CXX='-Qoption ld '
14220 gcx*)
14221 # Green Hills C++ Compiler
14222 lt_prog_compiler_pic_CXX='-PIC'
14226 esac
14228 sunos4*)
14229 case $cc_basename in
14230 CC*)
14231 # Sun C++ 4.x
14232 lt_prog_compiler_pic_CXX='-pic'
14233 lt_prog_compiler_static_CXX='-Bstatic'
14235 lcc*)
14236 # Lucid
14237 lt_prog_compiler_pic_CXX='-pic'
14241 esac
14243 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14244 case $cc_basename in
14245 CC*)
14246 lt_prog_compiler_wl_CXX='-Wl,'
14247 lt_prog_compiler_pic_CXX='-KPIC'
14248 lt_prog_compiler_static_CXX='-Bstatic'
14250 esac
14252 tandem*)
14253 case $cc_basename in
14254 NCC*)
14255 # NonStop-UX NCC 3.20
14256 lt_prog_compiler_pic_CXX='-KPIC'
14260 esac
14262 vxworks*)
14265 lt_prog_compiler_can_build_shared_CXX=no
14267 esac
14270 case $host_os in
14271 # For platforms which do not support PIC, -DPIC is meaningless:
14272 *djgpp*)
14273 lt_prog_compiler_pic_CXX=
14276 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14278 esac
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14280 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14285 # Check to make sure the PIC flag actually works.
14287 if test -n "$lt_prog_compiler_pic_CXX"; then
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14289 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14290 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 lt_cv_prog_compiler_pic_works_CXX=no
14294 ac_outfile=conftest.$ac_objext
14295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14296 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14297 # Insert the option either (1) after the last *FLAGS variable, or
14298 # (2) before a word containing "conftest.", or (3) at the end.
14299 # Note that $ac_compile itself does not contain backslashes and begins
14300 # with a dollar sign (not a hyphen), so the echo should work correctly.
14301 # The option is referenced via a variable to avoid confusing sed.
14302 lt_compile=`echo "$ac_compile" | $SED \
14303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14305 -e 's:$: $lt_compiler_flag:'`
14306 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14307 (eval "$lt_compile" 2>conftest.err)
14308 ac_status=$?
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 if (exit $ac_status) && test -s "$ac_outfile"; then
14312 # The compiler can only warn and ignore the option if not recognized
14313 # So say no if there are warnings other than the usual output.
14314 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14315 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14316 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14317 lt_cv_prog_compiler_pic_works_CXX=yes
14320 $RM conftest*
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14324 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14326 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14327 case $lt_prog_compiler_pic_CXX in
14328 "" | " "*) ;;
14329 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14330 esac
14331 else
14332 lt_prog_compiler_pic_CXX=
14333 lt_prog_compiler_can_build_shared_CXX=no
14341 # Check to make sure the static flag actually works.
14343 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14345 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14346 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 lt_cv_prog_compiler_static_works_CXX=no
14350 save_LDFLAGS="$LDFLAGS"
14351 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14352 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14353 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14354 # The linker can only warn and ignore the option if not recognized
14355 # So say no if there are warnings
14356 if test -s conftest.err; then
14357 # Append any errors to the config.log.
14358 cat conftest.err 1>&5
14359 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14360 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14361 if diff conftest.exp conftest.er2 >/dev/null; then
14362 lt_cv_prog_compiler_static_works_CXX=yes
14364 else
14365 lt_cv_prog_compiler_static_works_CXX=yes
14368 $RM -r conftest*
14369 LDFLAGS="$save_LDFLAGS"
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14373 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14375 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14377 else
14378 lt_prog_compiler_static_CXX=
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14385 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14386 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14387 $as_echo_n "(cached) " >&6
14388 else
14389 lt_cv_prog_compiler_c_o_CXX=no
14390 $RM -r conftest 2>/dev/null
14391 mkdir conftest
14392 cd conftest
14393 mkdir out
14394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14396 lt_compiler_flag="-o out/conftest2.$ac_objext"
14397 # Insert the option either (1) after the last *FLAGS variable, or
14398 # (2) before a word containing "conftest.", or (3) at the end.
14399 # Note that $ac_compile itself does not contain backslashes and begins
14400 # with a dollar sign (not a hyphen), so the echo should work correctly.
14401 lt_compile=`echo "$ac_compile" | $SED \
14402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14404 -e 's:$: $lt_compiler_flag:'`
14405 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14406 (eval "$lt_compile" 2>out/conftest.err)
14407 ac_status=$?
14408 cat out/conftest.err >&5
14409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14411 then
14412 # The compiler can only warn and ignore the option if not recognized
14413 # So say no if there are warnings
14414 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14415 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14416 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14417 lt_cv_prog_compiler_c_o_CXX=yes
14420 chmod u+w . 2>&5
14421 $RM conftest*
14422 # SGI C++ compiler will create directory out/ii_files/ for
14423 # template instantiation
14424 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14425 $RM out/* && rmdir out
14426 cd ..
14427 $RM -r conftest
14428 $RM conftest*
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14432 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14437 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14438 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 lt_cv_prog_compiler_c_o_CXX=no
14442 $RM -r conftest 2>/dev/null
14443 mkdir conftest
14444 cd conftest
14445 mkdir out
14446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14448 lt_compiler_flag="-o out/conftest2.$ac_objext"
14449 # Insert the option either (1) after the last *FLAGS variable, or
14450 # (2) before a word containing "conftest.", or (3) at the end.
14451 # Note that $ac_compile itself does not contain backslashes and begins
14452 # with a dollar sign (not a hyphen), so the echo should work correctly.
14453 lt_compile=`echo "$ac_compile" | $SED \
14454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14456 -e 's:$: $lt_compiler_flag:'`
14457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14458 (eval "$lt_compile" 2>out/conftest.err)
14459 ac_status=$?
14460 cat out/conftest.err >&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14463 then
14464 # The compiler can only warn and ignore the option if not recognized
14465 # So say no if there are warnings
14466 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14467 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14468 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14469 lt_cv_prog_compiler_c_o_CXX=yes
14472 chmod u+w . 2>&5
14473 $RM conftest*
14474 # SGI C++ compiler will create directory out/ii_files/ for
14475 # template instantiation
14476 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14477 $RM out/* && rmdir out
14478 cd ..
14479 $RM -r conftest
14480 $RM conftest*
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14484 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14489 hard_links="nottested"
14490 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14491 # do not overwrite the value of need_locks provided by the user
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14493 $as_echo_n "checking if we can lock with hard links... " >&6; }
14494 hard_links=yes
14495 $RM conftest*
14496 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14497 touch conftest.a
14498 ln conftest.a conftest.b 2>&5 || hard_links=no
14499 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14501 $as_echo "$hard_links" >&6; }
14502 if test "$hard_links" = no; then
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14504 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14505 need_locks=warn
14507 else
14508 need_locks=no
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14514 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14516 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14517 case $host_os in
14518 aix[4-9]*)
14519 # If we're using GNU nm, then we don't want the "-C" option.
14520 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14521 # Also, AIX nm treats weak defined symbols like other global defined
14522 # symbols, whereas GNU nm marks them as "W".
14523 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14524 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'
14525 else
14526 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'
14529 pw32*)
14530 export_symbols_cmds_CXX="$ltdll_cmds"
14532 cygwin* | mingw* | cegcc*)
14533 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'
14536 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14538 esac
14539 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14542 $as_echo "$ld_shlibs_CXX" >&6; }
14543 test "$ld_shlibs_CXX" = no && can_build_shared=no
14545 with_gnu_ld_CXX=$with_gnu_ld
14553 # Do we need to explicitly link libc?
14555 case "x$archive_cmds_need_lc_CXX" in
14556 x|xyes)
14557 # Assume -lc should be added
14558 archive_cmds_need_lc_CXX=yes
14560 if test "$enable_shared" = yes && test "$GCC" = yes; then
14561 case $archive_cmds_CXX in
14562 *'~'*)
14563 # FIXME: we may have to deal with multi-command sequences.
14565 '$CC '*)
14566 # Test whether the compiler implicitly links with -lc since on some
14567 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14568 # to ld, don't add -lc before -lgcc.
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14570 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14571 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14572 $as_echo_n "(cached) " >&6
14573 else
14574 $RM conftest*
14575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14578 (eval $ac_compile) 2>&5
14579 ac_status=$?
14580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14581 test $ac_status = 0; } 2>conftest.err; then
14582 soname=conftest
14583 lib=conftest
14584 libobjs=conftest.$ac_objext
14585 deplibs=
14586 wl=$lt_prog_compiler_wl_CXX
14587 pic_flag=$lt_prog_compiler_pic_CXX
14588 compiler_flags=-v
14589 linker_flags=-v
14590 verstring=
14591 output_objdir=.
14592 libname=conftest
14593 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14594 allow_undefined_flag_CXX=
14595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14596 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14597 ac_status=$?
14598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14599 test $ac_status = 0; }
14600 then
14601 lt_cv_archive_cmds_need_lc_CXX=no
14602 else
14603 lt_cv_archive_cmds_need_lc_CXX=yes
14605 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14606 else
14607 cat conftest.err 1>&5
14609 $RM conftest*
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14613 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14614 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14616 esac
14619 esac
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14685 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14687 library_names_spec=
14688 libname_spec='lib$name'
14689 soname_spec=
14690 shrext_cmds=".so"
14691 postinstall_cmds=
14692 postuninstall_cmds=
14693 finish_cmds=
14694 finish_eval=
14695 shlibpath_var=
14696 shlibpath_overrides_runpath=unknown
14697 version_type=none
14698 dynamic_linker="$host_os ld.so"
14699 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14700 need_lib_prefix=unknown
14701 hardcode_into_libs=no
14703 # when you set need_version to no, make sure it does not cause -set_version
14704 # flags to be left without arguments
14705 need_version=unknown
14707 case $host_os in
14708 aix3*)
14709 version_type=linux
14710 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14711 shlibpath_var=LIBPATH
14713 # AIX 3 has no versioning support, so we append a major version to the name.
14714 soname_spec='${libname}${release}${shared_ext}$major'
14717 aix[4-9]*)
14718 version_type=linux
14719 need_lib_prefix=no
14720 need_version=no
14721 hardcode_into_libs=yes
14722 if test "$host_cpu" = ia64; then
14723 # AIX 5 supports IA64
14724 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14725 shlibpath_var=LD_LIBRARY_PATH
14726 else
14727 # With GCC up to 2.95.x, collect2 would create an import file
14728 # for dependence libraries. The import file would start with
14729 # the line `#! .'. This would cause the generated library to
14730 # depend on `.', always an invalid library. This was fixed in
14731 # development snapshots of GCC prior to 3.0.
14732 case $host_os in
14733 aix4 | aix4.[01] | aix4.[01].*)
14734 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14735 echo ' yes '
14736 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14738 else
14739 can_build_shared=no
14742 esac
14743 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14744 # soname into executable. Probably we can add versioning support to
14745 # collect2, so additional links can be useful in future.
14746 if test "$aix_use_runtimelinking" = yes; then
14747 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14748 # instead of lib<name>.a to let people know that these are not
14749 # typical AIX shared libraries.
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751 else
14752 # We preserve .a as extension for shared libraries through AIX4.2
14753 # and later when we are not doing run time linking.
14754 library_names_spec='${libname}${release}.a $libname.a'
14755 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LIBPATH
14761 amigaos*)
14762 case $host_cpu in
14763 powerpc)
14764 # Since July 2007 AmigaOS4 officially supports .so libraries.
14765 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14768 m68k)
14769 library_names_spec='$libname.ixlibrary $libname.a'
14770 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14771 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'
14773 esac
14776 beos*)
14777 library_names_spec='${libname}${shared_ext}'
14778 dynamic_linker="$host_os ld.so"
14779 shlibpath_var=LIBRARY_PATH
14782 bsdi[45]*)
14783 version_type=linux
14784 need_version=no
14785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14786 soname_spec='${libname}${release}${shared_ext}$major'
14787 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14788 shlibpath_var=LD_LIBRARY_PATH
14789 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14790 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14791 # the default ld.so.conf also contains /usr/contrib/lib and
14792 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14793 # libtool to hard-code these into programs
14796 cygwin* | mingw* | pw32* | cegcc*)
14797 version_type=windows
14798 shrext_cmds=".dll"
14799 need_version=no
14800 need_lib_prefix=no
14802 case $GCC,$host_os in
14803 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14804 library_names_spec='$libname.dll.a'
14805 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14806 postinstall_cmds='base_file=`basename \${file}`~
14807 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14808 dldir=$destdir/`dirname \$dlpath`~
14809 test -d \$dldir || mkdir -p \$dldir~
14810 $install_prog $dir/$dlname \$dldir/$dlname~
14811 chmod a+x \$dldir/$dlname~
14812 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14813 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14815 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14816 dlpath=$dir/\$dldll~
14817 $RM \$dlpath'
14818 shlibpath_overrides_runpath=yes
14820 case $host_os in
14821 cygwin*)
14822 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14823 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14826 mingw* | cegcc*)
14827 # MinGW DLLs use traditional 'lib' prefix
14828 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14830 pw32*)
14831 # pw32 DLLs use 'pw' prefix rather than 'lib'
14832 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14834 esac
14838 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14840 esac
14841 dynamic_linker='Win32 ld.exe'
14842 # FIXME: first we should search . and the directory the executable is in
14843 shlibpath_var=PATH
14846 darwin* | rhapsody*)
14847 dynamic_linker="$host_os dyld"
14848 version_type=darwin
14849 need_lib_prefix=no
14850 need_version=no
14851 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14852 soname_spec='${libname}${release}${major}$shared_ext'
14853 shlibpath_overrides_runpath=yes
14854 shlibpath_var=DYLD_LIBRARY_PATH
14855 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14857 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14860 dgux*)
14861 version_type=linux
14862 need_lib_prefix=no
14863 need_version=no
14864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14865 soname_spec='${libname}${release}${shared_ext}$major'
14866 shlibpath_var=LD_LIBRARY_PATH
14869 freebsd* | dragonfly*)
14870 # DragonFly does not have aout. When/if they implement a new
14871 # versioning mechanism, adjust this.
14872 if test -x /usr/bin/objformat; then
14873 objformat=`/usr/bin/objformat`
14874 else
14875 case $host_os in
14876 freebsd[23].*) objformat=aout ;;
14877 *) objformat=elf ;;
14878 esac
14880 version_type=freebsd-$objformat
14881 case $version_type in
14882 freebsd-elf*)
14883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14884 need_version=no
14885 need_lib_prefix=no
14887 freebsd-*)
14888 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14889 need_version=yes
14891 esac
14892 shlibpath_var=LD_LIBRARY_PATH
14893 case $host_os in
14894 freebsd2.*)
14895 shlibpath_overrides_runpath=yes
14897 freebsd3.[01]* | freebsdelf3.[01]*)
14898 shlibpath_overrides_runpath=yes
14899 hardcode_into_libs=yes
14901 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14902 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14903 shlibpath_overrides_runpath=no
14904 hardcode_into_libs=yes
14906 *) # from 4.6 on, and DragonFly
14907 shlibpath_overrides_runpath=yes
14908 hardcode_into_libs=yes
14910 esac
14913 gnu*)
14914 version_type=linux
14915 need_lib_prefix=no
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 shlibpath_var=LD_LIBRARY_PATH
14920 hardcode_into_libs=yes
14923 haiku*)
14924 version_type=linux
14925 need_lib_prefix=no
14926 need_version=no
14927 dynamic_linker="$host_os runtime_loader"
14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14929 soname_spec='${libname}${release}${shared_ext}$major'
14930 shlibpath_var=LIBRARY_PATH
14931 shlibpath_overrides_runpath=yes
14932 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14933 hardcode_into_libs=yes
14936 hpux9* | hpux10* | hpux11*)
14937 # Give a soname corresponding to the major version so that dld.sl refuses to
14938 # link against other versions.
14939 version_type=sunos
14940 need_lib_prefix=no
14941 need_version=no
14942 case $host_cpu in
14943 ia64*)
14944 shrext_cmds='.so'
14945 hardcode_into_libs=yes
14946 dynamic_linker="$host_os dld.so"
14947 shlibpath_var=LD_LIBRARY_PATH
14948 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14950 soname_spec='${libname}${release}${shared_ext}$major'
14951 if test "X$HPUX_IA64_MODE" = X32; then
14952 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14953 else
14954 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14956 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14958 hppa*64*)
14959 shrext_cmds='.sl'
14960 hardcode_into_libs=yes
14961 dynamic_linker="$host_os dld.sl"
14962 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14963 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14965 soname_spec='${libname}${release}${shared_ext}$major'
14966 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14967 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14970 shrext_cmds='.sl'
14971 dynamic_linker="$host_os dld.sl"
14972 shlibpath_var=SHLIB_PATH
14973 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975 soname_spec='${libname}${release}${shared_ext}$major'
14977 esac
14978 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14979 postinstall_cmds='chmod 555 $lib'
14980 # or fails outright, so override atomically:
14981 install_override_mode=555
14984 interix[3-9]*)
14985 version_type=linux
14986 need_lib_prefix=no
14987 need_version=no
14988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14989 soname_spec='${libname}${release}${shared_ext}$major'
14990 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14991 shlibpath_var=LD_LIBRARY_PATH
14992 shlibpath_overrides_runpath=no
14993 hardcode_into_libs=yes
14996 irix5* | irix6* | nonstopux*)
14997 case $host_os in
14998 nonstopux*) version_type=nonstopux ;;
15000 if test "$lt_cv_prog_gnu_ld" = yes; then
15001 version_type=linux
15002 else
15003 version_type=irix
15004 fi ;;
15005 esac
15006 need_lib_prefix=no
15007 need_version=no
15008 soname_spec='${libname}${release}${shared_ext}$major'
15009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15010 case $host_os in
15011 irix5* | nonstopux*)
15012 libsuff= shlibsuff=
15015 case $LD in # libtool.m4 will add one of these switches to LD
15016 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15017 libsuff= shlibsuff= libmagic=32-bit;;
15018 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15019 libsuff=32 shlibsuff=N32 libmagic=N32;;
15020 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15021 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15022 *) libsuff= shlibsuff= libmagic=never-match;;
15023 esac
15025 esac
15026 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15027 shlibpath_overrides_runpath=no
15028 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15029 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15030 hardcode_into_libs=yes
15033 # No shared lib support for Linux oldld, aout, or coff.
15034 linux*oldld* | linux*aout* | linux*coff*)
15035 dynamic_linker=no
15038 # This must be Linux ELF.
15040 # uclinux* changes (here and below) have been submitted to the libtool
15041 # project, but have not yet been accepted: they are GCC-local changes
15042 # for the time being. (See
15043 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15044 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15045 version_type=linux
15046 need_lib_prefix=no
15047 need_version=no
15048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15049 soname_spec='${libname}${release}${shared_ext}$major'
15050 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15051 shlibpath_var=LD_LIBRARY_PATH
15052 shlibpath_overrides_runpath=no
15054 # Some binutils ld are patched to set DT_RUNPATH
15055 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 lt_cv_shlibpath_overrides_runpath=no
15059 save_LDFLAGS=$LDFLAGS
15060 save_libdir=$libdir
15061 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15062 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15063 if test x$gcc_no_link = xyes; then
15064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15070 main ()
15074 return 0;
15076 _ACEOF
15077 if ac_fn_cxx_try_link "$LINENO"; then :
15078 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15079 lt_cv_shlibpath_overrides_runpath=yes
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LDFLAGS=$save_LDFLAGS
15085 libdir=$save_libdir
15089 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15091 # This implies no fast_install, which is unacceptable.
15092 # Some rework will be needed to allow for fast_install
15093 # before this can be enabled.
15094 hardcode_into_libs=yes
15096 # Append ld.so.conf contents to the search path
15097 if test -f /etc/ld.so.conf; then
15098 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' ' '`
15099 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15102 # We used to test for /lib/ld.so.1 and disable shared libraries on
15103 # powerpc, because MkLinux only supported shared libraries with the
15104 # GNU dynamic linker. Since this was broken with cross compilers,
15105 # most powerpc-linux boxes support dynamic linking these days and
15106 # people can always --disable-shared, the test was removed, and we
15107 # assume the GNU/Linux dynamic linker is in use.
15108 dynamic_linker='GNU/Linux ld.so'
15111 netbsd*)
15112 version_type=sunos
15113 need_lib_prefix=no
15114 need_version=no
15115 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15117 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15118 dynamic_linker='NetBSD (a.out) ld.so'
15119 else
15120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15121 soname_spec='${libname}${release}${shared_ext}$major'
15122 dynamic_linker='NetBSD ld.elf_so'
15124 shlibpath_var=LD_LIBRARY_PATH
15125 shlibpath_overrides_runpath=yes
15126 hardcode_into_libs=yes
15129 newsos6)
15130 version_type=linux
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15132 shlibpath_var=LD_LIBRARY_PATH
15133 shlibpath_overrides_runpath=yes
15136 *nto* | *qnx*)
15137 version_type=qnx
15138 need_lib_prefix=no
15139 need_version=no
15140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15141 soname_spec='${libname}${release}${shared_ext}$major'
15142 shlibpath_var=LD_LIBRARY_PATH
15143 shlibpath_overrides_runpath=no
15144 hardcode_into_libs=yes
15145 dynamic_linker='ldqnx.so'
15148 openbsd*)
15149 version_type=sunos
15150 sys_lib_dlsearch_path_spec="/usr/lib"
15151 need_lib_prefix=no
15152 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15153 case $host_os in
15154 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15155 *) need_version=no ;;
15156 esac
15157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15158 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15159 shlibpath_var=LD_LIBRARY_PATH
15160 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15161 case $host_os in
15162 openbsd2.[89] | openbsd2.[89].*)
15163 shlibpath_overrides_runpath=no
15166 shlibpath_overrides_runpath=yes
15168 esac
15169 else
15170 shlibpath_overrides_runpath=yes
15174 os2*)
15175 libname_spec='$name'
15176 shrext_cmds=".dll"
15177 need_lib_prefix=no
15178 library_names_spec='$libname${shared_ext} $libname.a'
15179 dynamic_linker='OS/2 ld.exe'
15180 shlibpath_var=LIBPATH
15183 osf3* | osf4* | osf5*)
15184 version_type=osf
15185 need_lib_prefix=no
15186 need_version=no
15187 soname_spec='${libname}${release}${shared_ext}$major'
15188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189 shlibpath_var=LD_LIBRARY_PATH
15190 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15191 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15194 rdos*)
15195 dynamic_linker=no
15198 solaris*)
15199 version_type=linux
15200 need_lib_prefix=no
15201 need_version=no
15202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203 soname_spec='${libname}${release}${shared_ext}$major'
15204 shlibpath_var=LD_LIBRARY_PATH
15205 shlibpath_overrides_runpath=yes
15206 hardcode_into_libs=yes
15207 # ldd complains unless libraries are executable
15208 postinstall_cmds='chmod +x $lib'
15211 sunos4*)
15212 version_type=sunos
15213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15214 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15215 shlibpath_var=LD_LIBRARY_PATH
15216 shlibpath_overrides_runpath=yes
15217 if test "$with_gnu_ld" = yes; then
15218 need_lib_prefix=no
15220 need_version=yes
15223 sysv4 | sysv4.3*)
15224 version_type=linux
15225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15226 soname_spec='${libname}${release}${shared_ext}$major'
15227 shlibpath_var=LD_LIBRARY_PATH
15228 case $host_vendor in
15229 sni)
15230 shlibpath_overrides_runpath=no
15231 need_lib_prefix=no
15232 runpath_var=LD_RUN_PATH
15234 siemens)
15235 need_lib_prefix=no
15237 motorola)
15238 need_lib_prefix=no
15239 need_version=no
15240 shlibpath_overrides_runpath=no
15241 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15243 esac
15246 sysv4*MP*)
15247 if test -d /usr/nec ;then
15248 version_type=linux
15249 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15250 soname_spec='$libname${shared_ext}.$major'
15251 shlibpath_var=LD_LIBRARY_PATH
15255 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15256 version_type=freebsd-elf
15257 need_lib_prefix=no
15258 need_version=no
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15260 soname_spec='${libname}${release}${shared_ext}$major'
15261 shlibpath_var=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath=yes
15263 hardcode_into_libs=yes
15264 if test "$with_gnu_ld" = yes; then
15265 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15266 else
15267 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15268 case $host_os in
15269 sco3.2v5*)
15270 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15272 esac
15274 sys_lib_dlsearch_path_spec='/usr/lib'
15277 tpf*)
15278 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15279 version_type=linux
15280 need_lib_prefix=no
15281 need_version=no
15282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15283 shlibpath_var=LD_LIBRARY_PATH
15284 shlibpath_overrides_runpath=no
15285 hardcode_into_libs=yes
15288 uts4*)
15289 version_type=linux
15290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15291 soname_spec='${libname}${release}${shared_ext}$major'
15292 shlibpath_var=LD_LIBRARY_PATH
15296 dynamic_linker=no
15298 esac
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15300 $as_echo "$dynamic_linker" >&6; }
15301 test "$dynamic_linker" = no && can_build_shared=no
15303 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15304 if test "$GCC" = yes; then
15305 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15308 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15309 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15311 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15312 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15353 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15354 hardcode_action_CXX=
15355 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15356 test -n "$runpath_var_CXX" ||
15357 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15359 # We can hardcode non-existent directories.
15360 if test "$hardcode_direct_CXX" != no &&
15361 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15362 # have to relink, otherwise we might link with an installed library
15363 # when we should be linking with a yet-to-be-installed one
15364 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15365 test "$hardcode_minus_L_CXX" != no; then
15366 # Linking always hardcodes the temporary library directory.
15367 hardcode_action_CXX=relink
15368 else
15369 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15370 hardcode_action_CXX=immediate
15372 else
15373 # We cannot hardcode anything, or else we can only hardcode existing
15374 # directories.
15375 hardcode_action_CXX=unsupported
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15378 $as_echo "$hardcode_action_CXX" >&6; }
15380 if test "$hardcode_action_CXX" = relink ||
15381 test "$inherit_rpath_CXX" = yes; then
15382 # Fast installation is not supported
15383 enable_fast_install=no
15384 elif test "$shlibpath_overrides_runpath" = yes ||
15385 test "$enable_shared" = no; then
15386 # Fast installation is not necessary
15387 enable_fast_install=needless
15396 fi # test -n "$compiler"
15398 CC=$lt_save_CC
15399 LDCXX=$LD
15400 LD=$lt_save_LD
15401 GCC=$lt_save_GCC
15402 with_gnu_ld=$lt_save_with_gnu_ld
15403 lt_cv_path_LDCXX=$lt_cv_path_LD
15404 lt_cv_path_LD=$lt_save_path_LD
15405 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15406 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15407 fi # test "$_lt_caught_CXX_error" != yes
15409 ac_ext=c
15410 ac_cpp='$CPP $CPPFLAGS'
15411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15427 ac_config_commands="$ac_config_commands libtool"
15432 # Only expand once:
15438 case $host in
15439 *-cygwin* | *-mingw*)
15440 # 'host' will be top-level target in the case of a target lib,
15441 # we must compare to with_cross_host to decide if this is a native
15442 # or cross-compiler and select where to install dlls appropriately.
15443 if test -n "$with_cross_host" &&
15444 test x"$with_cross_host" != x"no"; then
15445 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15446 else
15447 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15451 lt_host_flags=
15453 esac
15460 if test "$enable_vtable_verify" = yes; then
15461 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15462 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15466 # libtool variables for C++ shared and position-independent compiles.
15468 # Use glibcxx_lt_pic_flag to designate the automake variable
15469 # used to encapsulate the default libtool approach to creating objects
15470 # with position-independent code. Default: -prefer-pic.
15472 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15473 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15475 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15476 # creating position-independent objects. This varies with the target
15477 # hardware and operating system, but is often: -DPIC -fPIC.
15478 if test "$enable_shared" = yes; then
15479 glibcxx_lt_pic_flag="-prefer-pic"
15480 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15481 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15483 else
15484 glibcxx_lt_pic_flag=
15485 glibcxx_compiler_pic_flag=
15486 glibcxx_compiler_shared_flag=
15492 # Override the libtool's pic_flag and pic_mode.
15493 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15494 # NB: this impacts --with-pic and --without-pic.
15495 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15496 pic_mode='default'
15498 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15499 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15501 # Possibly disable most of the library.
15502 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15503 ## than just ignoring the results. Faster /and/ more correct, win win.
15505 # Check whether --enable-hosted-libstdcxx was given.
15506 if test "${enable_hosted_libstdcxx+set}" = set; then :
15507 enableval=$enable_hosted_libstdcxx;
15508 else
15509 case "$host" in
15510 arm*-*-symbianelf*)
15511 enable_hosted_libstdcxx=no
15514 enable_hosted_libstdcxx=yes
15516 esac
15519 if test "$enable_hosted_libstdcxx" = no; then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15521 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15522 is_hosted=no
15523 hosted_define=0
15524 enable_abi_check=no
15525 enable_libstdcxx_pch=no
15526 else
15527 is_hosted=yes
15528 hosted_define=1
15532 cat >>confdefs.h <<_ACEOF
15533 #define _GLIBCXX_HOSTED $hosted_define
15534 _ACEOF
15538 # Enable descriptive messages to standard output on termination.
15540 # Check whether --enable-libstdcxx-verbose was given.
15541 if test "${enable_libstdcxx_verbose+set}" = set; then :
15542 enableval=$enable_libstdcxx_verbose;
15543 else
15544 enable_libstdcxx_verbose=yes
15547 if test x"$enable_libstdcxx_verbose" = xyes; then
15548 verbose_define=1
15549 else
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15551 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15552 verbose_define=0
15555 cat >>confdefs.h <<_ACEOF
15556 #define _GLIBCXX_VERBOSE $verbose_define
15557 _ACEOF
15561 # Enable compiler support that doesn't require linking.
15563 # Check whether --enable-libstdcxx-pch was given.
15564 if test "${enable_libstdcxx_pch+set}" = set; then :
15565 enableval=$enable_libstdcxx_pch;
15566 case "$enableval" in
15567 yes|no) ;;
15568 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15569 esac
15571 else
15572 enable_libstdcxx_pch=$is_hosted
15576 if test $enable_libstdcxx_pch = yes; then
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15578 $as_echo_n "checking for compiler with PCH support... " >&6; }
15579 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15580 $as_echo_n "(cached) " >&6
15581 else
15582 ac_save_CXXFLAGS="$CXXFLAGS"
15583 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15585 ac_ext=cpp
15586 ac_cpp='$CXXCPP $CPPFLAGS'
15587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15591 echo '#include <math.h>' > conftest.h
15592 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15593 -o conftest.h.gch 1>&5 2>&1 &&
15594 echo '#error "pch failed"' > conftest.h &&
15595 echo '#include "conftest.h"' > conftest.cc &&
15596 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15597 then
15598 glibcxx_cv_prog_CXX_pch=yes
15599 else
15600 glibcxx_cv_prog_CXX_pch=no
15602 rm -f conftest*
15603 CXXFLAGS=$ac_save_CXXFLAGS
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15613 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15614 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15618 $as_echo_n "checking for enabled PCH... " >&6; }
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15620 $as_echo "$enable_libstdcxx_pch" >&6; }
15623 if test $enable_libstdcxx_pch = yes; then
15624 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15625 else
15626 glibcxx_PCHFLAGS=""
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15632 $as_echo_n "checking for thread model used by GCC... " >&6; }
15633 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15635 $as_echo "$target_thread_file" >&6; }
15637 case $target_thread_file in
15638 aix) thread_header=config/rs6000/gthr-aix.h ;;
15639 dce) thread_header=config/pa/gthr-dce.h ;;
15640 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15641 lynx) thread_header=config/gthr-lynx.h ;;
15642 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15643 posix) thread_header=gthr-posix.h ;;
15644 rtems) thread_header=config/gthr-rtems.h ;;
15645 single) thread_header=gthr-single.h ;;
15646 tpf) thread_header=config/s390/gthr-tpf.h ;;
15647 vxworks) thread_header=config/gthr-vxworks.h ;;
15648 win32) thread_header=config/i386/gthr-win32.h ;;
15649 esac
15655 ac_ext=cpp
15656 ac_cpp='$CXXCPP $CPPFLAGS'
15657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15661 old_CXXFLAGS="$CXXFLAGS"
15663 # Do link tests if possible, instead asm tests, limited to some platforms
15664 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15665 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15666 atomic_builtins_link_tests=no
15667 if test x$gcc_no_link != xyes; then
15668 # Can do link tests. Limit to some tested platforms
15669 case "$host" in
15670 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15671 atomic_builtins_link_tests=yes
15673 esac
15676 if test x$atomic_builtins_link_tests = xyes; then
15678 # Do link tests.
15680 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15683 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15684 if ${glibcxx_cv_atomic_bool+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15688 if test x$gcc_no_link = xyes; then
15689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15695 main ()
15697 typedef bool atomic_type;
15698 atomic_type c1;
15699 atomic_type c2;
15700 atomic_type c3(0);
15701 // N.B. __atomic_fetch_add is not supported for bool.
15702 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15703 __ATOMIC_RELAXED);
15704 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15705 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15708 return 0;
15710 _ACEOF
15711 if ac_fn_cxx_try_link "$LINENO"; then :
15712 glibcxx_cv_atomic_bool=yes
15713 else
15714 glibcxx_cv_atomic_bool=no
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15722 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15725 $as_echo_n "checking for atomic builtins for short... " >&6; }
15726 if ${glibcxx_cv_atomic_short+:} false; then :
15727 $as_echo_n "(cached) " >&6
15728 else
15730 if test x$gcc_no_link = xyes; then
15731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15737 main ()
15739 typedef short atomic_type;
15740 atomic_type c1;
15741 atomic_type c2;
15742 atomic_type c3(0);
15743 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15744 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15745 __ATOMIC_RELAXED);
15746 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15747 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15750 return 0;
15752 _ACEOF
15753 if ac_fn_cxx_try_link "$LINENO"; then :
15754 glibcxx_cv_atomic_short=yes
15755 else
15756 glibcxx_cv_atomic_short=no
15758 rm -f core conftest.err conftest.$ac_objext \
15759 conftest$ac_exeext conftest.$ac_ext
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15764 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15767 $as_echo_n "checking for atomic builtins for int... " >&6; }
15768 if ${glibcxx_cv_atomic_int+:} false; then :
15769 $as_echo_n "(cached) " >&6
15770 else
15772 if test x$gcc_no_link = xyes; then
15773 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15779 main ()
15781 typedef int atomic_type;
15782 atomic_type c1;
15783 atomic_type c2;
15784 atomic_type c3(0);
15785 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15786 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15787 __ATOMIC_RELAXED);
15788 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15789 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15792 return 0;
15794 _ACEOF
15795 if ac_fn_cxx_try_link "$LINENO"; then :
15796 glibcxx_cv_atomic_int=yes
15797 else
15798 glibcxx_cv_atomic_int=no
15800 rm -f core conftest.err conftest.$ac_objext \
15801 conftest$ac_exeext conftest.$ac_ext
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15806 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15809 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15810 if ${glibcxx_cv_atomic_long_long+:} false; then :
15811 $as_echo_n "(cached) " >&6
15812 else
15814 if test x$gcc_no_link = xyes; then
15815 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15818 /* end confdefs.h. */
15821 main ()
15823 typedef long long atomic_type;
15824 atomic_type c1;
15825 atomic_type c2;
15826 atomic_type c3(0);
15827 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15828 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15829 __ATOMIC_RELAXED);
15830 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15831 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15834 return 0;
15836 _ACEOF
15837 if ac_fn_cxx_try_link "$LINENO"; then :
15838 glibcxx_cv_atomic_long_long=yes
15839 else
15840 glibcxx_cv_atomic_long_long=no
15842 rm -f core conftest.err conftest.$ac_objext \
15843 conftest$ac_exeext conftest.$ac_ext
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15848 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15850 else
15852 # Do asm tests.
15854 # Compile unoptimized.
15855 CXXFLAGS='-O0 -S'
15857 # Fake what AC_TRY_COMPILE does.
15859 cat > conftest.$ac_ext << EOF
15860 #line 15860 "configure"
15861 int main()
15863 typedef bool atomic_type;
15864 atomic_type c1;
15865 atomic_type c2;
15866 atomic_type c3(0);
15867 // N.B. __atomic_fetch_add is not supported for bool.
15868 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15869 __ATOMIC_RELAXED);
15870 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15871 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15873 return 0;
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15878 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15880 (eval $ac_compile) 2>&5
15881 ac_status=$?
15882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15883 test $ac_status = 0; }; then
15884 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15885 glibcxx_cv_atomic_bool=no
15886 else
15887 glibcxx_cv_atomic_bool=yes
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15891 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15892 rm -f conftest*
15894 cat > conftest.$ac_ext << EOF
15895 #line 15895 "configure"
15896 int main()
15898 typedef short atomic_type;
15899 atomic_type c1;
15900 atomic_type c2;
15901 atomic_type c3(0);
15902 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15903 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15904 __ATOMIC_RELAXED);
15905 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15906 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15908 return 0;
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15913 $as_echo_n "checking for atomic builtins for short... " >&6; }
15914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15915 (eval $ac_compile) 2>&5
15916 ac_status=$?
15917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15918 test $ac_status = 0; }; then
15919 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15920 glibcxx_cv_atomic_short=no
15921 else
15922 glibcxx_cv_atomic_short=yes
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15926 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15927 rm -f conftest*
15929 cat > conftest.$ac_ext << EOF
15930 #line 15930 "configure"
15931 int main()
15933 // NB: _Atomic_word not necessarily int.
15934 typedef int atomic_type;
15935 atomic_type c1;
15936 atomic_type c2;
15937 atomic_type c3(0);
15938 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15939 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15940 __ATOMIC_RELAXED);
15941 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15942 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15944 return 0;
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15949 $as_echo_n "checking for atomic builtins for int... " >&6; }
15950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15951 (eval $ac_compile) 2>&5
15952 ac_status=$?
15953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15954 test $ac_status = 0; }; then
15955 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15956 glibcxx_cv_atomic_int=no
15957 else
15958 glibcxx_cv_atomic_int=yes
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15962 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15963 rm -f conftest*
15965 cat > conftest.$ac_ext << EOF
15966 #line 15966 "configure"
15967 int main()
15969 typedef long long atomic_type;
15970 atomic_type c1;
15971 atomic_type c2;
15972 atomic_type c3(0);
15973 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15974 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15975 __ATOMIC_RELAXED);
15976 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15977 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15979 return 0;
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15984 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15986 (eval $ac_compile) 2>&5
15987 ac_status=$?
15988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15989 test $ac_status = 0; }; then
15990 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15991 glibcxx_cv_atomic_long_long=no
15992 else
15993 glibcxx_cv_atomic_long_long=yes
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15997 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15998 rm -f conftest*
16002 CXXFLAGS="$old_CXXFLAGS"
16003 ac_ext=c
16004 ac_cpp='$CPP $CPPFLAGS'
16005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16010 # Set atomicity_dir to builtins if all but the long long test above passes,
16011 # or if the builtins were already chosen (e.g. by configure.host).
16012 if { test "$glibcxx_cv_atomic_bool" = yes \
16013 && test "$glibcxx_cv_atomic_short" = yes \
16014 && test "$glibcxx_cv_atomic_int" = yes; } \
16015 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16017 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16019 atomicity_dir=cpu/generic/atomicity_builtins
16022 # If still generic, set to mutex.
16023 if test $atomicity_dir = "cpu/generic" ; then
16024 atomicity_dir=cpu/generic/atomicity_mutex
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16026 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16027 if test "x$target_thread_file" = xsingle; then
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16029 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16031 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16032 else
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16034 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16036 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16044 # Check whether --with-libstdcxx-lock-policy was given.
16045 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16046 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16047 else
16048 libstdcxx_atomic_lock_policy=auto
16052 case "$libstdcxx_atomic_lock_policy" in
16053 atomic|mutex|auto) ;;
16054 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16055 esac
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16057 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16059 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16061 ac_ext=cpp
16062 ac_cpp='$CXXCPP $CPPFLAGS'
16063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16067 ac_save_CXXFLAGS="$CXXFLAGS"
16069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16072 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16073 # error "No 2-byte compare-and-swap"
16074 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16075 # error "No 4-byte compare-and-swap"
16076 #endif
16079 main ()
16083 return 0;
16085 _ACEOF
16086 if ac_fn_cxx_try_compile "$LINENO"; then :
16087 libstdcxx_atomic_lock_policy=atomic
16088 else
16089 libstdcxx_atomic_lock_policy=mutex
16091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092 ac_ext=c
16093 ac_cpp='$CPP $CPPFLAGS'
16094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16098 CXXFLAGS="$ac_save_CXXFLAGS"
16101 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16103 $as_echo "atomic" >&6; }
16105 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16107 else
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16109 $as_echo "mutex" >&6; }
16115 # Fake what AC_TRY_COMPILE does, without linking as this is
16116 # unnecessary for this test.
16118 cat > conftest.$ac_ext << EOF
16119 #line 16119 "configure"
16120 int main()
16122 _Decimal32 d1;
16123 _Decimal64 d2;
16124 _Decimal128 d3;
16125 return 0;
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16130 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16132 (eval $ac_compile) 2>&5
16133 ac_status=$?
16134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16135 test $ac_status = 0; }; then
16137 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16139 enable_dfp=yes
16140 else
16141 enable_dfp=no
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16144 $as_echo "$enable_dfp" >&6; }
16145 rm -f conftest*
16150 ac_ext=cpp
16151 ac_cpp='$CXXCPP $CPPFLAGS'
16152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16157 # Fake what AC_TRY_COMPILE does, without linking as this is
16158 # unnecessary for this test.
16160 cat > conftest.$ac_ext << EOF
16161 #line 16161 "configure"
16162 template<typename T1, typename T2>
16163 struct same
16164 { typedef T2 type; };
16166 template<typename T>
16167 struct same<T, T>;
16169 int main()
16171 typename same<long, __int128>::type i1;
16172 typename same<long long, __int128>::type i2;
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16177 $as_echo_n "checking for __int128... " >&6; }
16178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16179 (eval $ac_compile) 2>&5
16180 ac_status=$?
16181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16182 test $ac_status = 0; }; then
16184 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16186 enable_int128=yes
16187 else
16188 enable_int128=no
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16191 $as_echo "$enable_int128" >&6; }
16192 rm -f conftest*
16194 cat > conftest.$ac_ext << EOF
16195 #line 16195 "configure"
16196 template<typename T1, typename T2>
16197 struct same
16198 { typedef T2 type; };
16200 template<typename T>
16201 struct same<T, T>;
16203 int main()
16205 typename same<double, __float128>::type f1;
16206 typename same<long double, __float128>::type f2;
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16211 $as_echo_n "checking for __float128... " >&6; }
16212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16213 (eval $ac_compile) 2>&5
16214 ac_status=$?
16215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16216 test $ac_status = 0; }; then
16217 enable_float128=yes
16218 else
16219 enable_float128=no
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16222 $as_echo "$enable_float128" >&6; }
16224 rm -f conftest*
16226 ac_ext=c
16227 ac_cpp='$CPP $CPPFLAGS'
16228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233 if test "$enable_float128" = yes; then
16234 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16237 # Checks for compiler support that doesn't require linking.
16239 # All these tests are for C++; save the language and the compiler flags.
16240 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16241 # found in GLIBCXX_CONFIGURE.
16243 ac_ext=cpp
16244 ac_cpp='$CXXCPP $CPPFLAGS'
16245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16249 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16250 ac_save_CXXFLAGS="$CXXFLAGS"
16252 # Check for -ffunction-sections -fdata-sections
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16254 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16255 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16258 int foo; void bar() { };
16260 main ()
16264 return 0;
16266 _ACEOF
16267 if ac_fn_cxx_try_compile "$LINENO"; then :
16268 ac_fdsections=yes
16269 else
16270 ac_fdsections=no
16272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16273 if test "$ac_test_CXXFLAGS" = set; then
16274 CXXFLAGS="$ac_save_CXXFLAGS"
16275 else
16276 # this is the suspicious part
16277 CXXFLAGS=''
16279 if test x"$ac_fdsections" = x"yes"; then
16280 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16283 $as_echo "$ac_fdsections" >&6; }
16285 ac_ext=c
16286 ac_cpp='$CPP $CPPFLAGS'
16287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16294 # Enable all the variable C++ runtime options that don't require linking.
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16297 $as_echo_n "checking for underlying I/O to use... " >&6; }
16298 # Check whether --enable-cstdio was given.
16299 if test "${enable_cstdio+set}" = set; then :
16300 enableval=$enable_cstdio;
16301 case "$enableval" in
16302 stdio) ;;
16303 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16304 esac
16306 else
16307 enable_cstdio=stdio
16312 # Now that libio has been removed, you can have any color you want as long
16313 # as it's black. This is one big no-op until other packages are added, but
16314 # showing the framework never hurts.
16315 case ${enable_cstdio} in
16316 stdio)
16317 CSTDIO_H=config/io/c_io_stdio.h
16318 BASIC_FILE_H=config/io/basic_file_stdio.h
16319 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16321 $as_echo "stdio" >&6; }
16323 esac
16330 # Check whether --enable-clocale was given.
16331 if test "${enable_clocale+set}" = set; then :
16332 enableval=$enable_clocale;
16333 case "$enableval" in
16334 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16335 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16336 esac
16338 else
16339 enable_clocale=auto
16344 # Deal with gettext issues. Default to not using it (=no) until we detect
16345 # support for it later. Let the user turn it off via --e/d, but let that
16346 # default to on for easier handling.
16347 USE_NLS=no
16348 # Check whether --enable-nls was given.
16349 if test "${enable_nls+set}" = set; then :
16350 enableval=$enable_nls;
16351 else
16352 enable_nls=yes
16356 # Either a known package, or "auto"
16357 if test $enable_clocale = no || test $enable_clocale = yes; then
16358 enable_clocale=auto
16360 enable_clocale_flag=$enable_clocale
16362 # Probe for locale model to use if none specified.
16363 # Default to "generic".
16364 if test $enable_clocale_flag = auto; then
16365 case ${target_os} in
16366 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16367 enable_clocale_flag=gnu
16369 darwin*)
16370 enable_clocale_flag=darwin
16372 dragonfly* | freebsd*)
16373 enable_clocale_flag=dragonfly
16375 openbsd*)
16376 enable_clocale_flag=newlib
16379 if test x"$with_newlib" = x"yes"; then
16380 enable_clocale_flag=newlib
16381 else
16382 enable_clocale_flag=generic
16385 esac
16388 # Sanity check model, and test for special functionality.
16389 if test $enable_clocale_flag = gnu; then
16390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16393 #include <features.h>
16394 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16395 _GLIBCXX_ok
16396 #endif
16398 _ACEOF
16399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16400 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16401 enable_clocale_flag=gnu
16402 else
16403 enable_clocale_flag=generic
16405 rm -f conftest*
16408 # Set it to scream when it hurts.
16409 ac_save_CFLAGS="$CFLAGS"
16410 CFLAGS="-Wimplicit-function-declaration -Werror"
16412 # Use strxfrm_l if available.
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16415 #define _GNU_SOURCE 1
16416 #include <string.h>
16417 #include <locale.h>
16419 main ()
16421 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16423 return 0;
16425 _ACEOF
16426 if ac_fn_c_try_compile "$LINENO"; then :
16428 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16433 # Use strerror_l if available.
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #define _GNU_SOURCE 1
16437 #include <string.h>
16438 #include <locale.h>
16440 main ()
16442 __locale_t loc; strerror_l(5, loc);
16444 return 0;
16446 _ACEOF
16447 if ac_fn_c_try_compile "$LINENO"; then :
16449 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16454 CFLAGS="$ac_save_CFLAGS"
16457 # Perhaps use strerror_r if available, and strerror_l isn't.
16458 ac_save_CFLAGS="$CFLAGS"
16459 CFLAGS="-Wimplicit-function-declaration -Werror"
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #define _GNU_SOURCE 1
16463 #include <string.h>
16464 #include <locale.h>
16466 main ()
16468 char s[128]; strerror_r(5, s, 128);
16470 return 0;
16472 _ACEOF
16473 if ac_fn_c_try_compile "$LINENO"; then :
16475 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16479 CFLAGS="$ac_save_CFLAGS"
16481 # Set configure bits for specified locale package
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16483 $as_echo_n "checking for C locale to use... " >&6; }
16484 case ${enable_clocale_flag} in
16485 generic)
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16487 $as_echo "generic" >&6; }
16489 CLOCALE_H=config/locale/generic/c_locale.h
16490 CLOCALE_CC=config/locale/generic/c_locale.cc
16491 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16492 CCOLLATE_CC=config/locale/generic/collate_members.cc
16493 CCTYPE_CC=config/locale/generic/ctype_members.cc
16494 CMESSAGES_H=config/locale/generic/messages_members.h
16495 CMESSAGES_CC=config/locale/generic/messages_members.cc
16496 CMONEY_CC=config/locale/generic/monetary_members.cc
16497 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16498 CTIME_H=config/locale/generic/time_members.h
16499 CTIME_CC=config/locale/generic/time_members.cc
16500 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16502 darwin)
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16504 $as_echo "darwin" >&6; }
16506 CLOCALE_H=config/locale/generic/c_locale.h
16507 CLOCALE_CC=config/locale/generic/c_locale.cc
16508 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16509 CCOLLATE_CC=config/locale/generic/collate_members.cc
16510 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16511 CMESSAGES_H=config/locale/generic/messages_members.h
16512 CMESSAGES_CC=config/locale/generic/messages_members.cc
16513 CMONEY_CC=config/locale/generic/monetary_members.cc
16514 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16515 CTIME_H=config/locale/generic/time_members.h
16516 CTIME_CC=config/locale/generic/time_members.cc
16517 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16520 dragonfly)
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16522 $as_echo "dragonfly or freebsd" >&6; }
16524 CLOCALE_H=config/locale/dragonfly/c_locale.h
16525 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16526 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16527 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16528 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16529 CMESSAGES_H=config/locale/generic/messages_members.h
16530 CMESSAGES_CC=config/locale/generic/messages_members.cc
16531 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16532 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16533 CTIME_H=config/locale/dragonfly/time_members.h
16534 CTIME_CC=config/locale/dragonfly/time_members.cc
16535 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16538 gnu)
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16540 $as_echo "gnu" >&6; }
16542 # Declare intention to use gettext, and add support for specific
16543 # languages.
16544 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16545 ALL_LINGUAS="de fr"
16547 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16548 # Extract the first word of "msgfmt", so it can be a program name with args.
16549 set dummy msgfmt; ac_word=$2
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16551 $as_echo_n "checking for $ac_word... " >&6; }
16552 if ${ac_cv_prog_check_msgfmt+:} false; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16555 if test -n "$check_msgfmt"; then
16556 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16557 else
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16561 IFS=$as_save_IFS
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16565 ac_cv_prog_check_msgfmt="yes"
16566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16567 break 2
16569 done
16570 done
16571 IFS=$as_save_IFS
16573 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16576 check_msgfmt=$ac_cv_prog_check_msgfmt
16577 if test -n "$check_msgfmt"; then
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16579 $as_echo "$check_msgfmt" >&6; }
16580 else
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16582 $as_echo "no" >&6; }
16586 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16587 USE_NLS=yes
16589 # Export the build objects.
16590 for ling in $ALL_LINGUAS; do \
16591 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16592 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16593 done
16597 CLOCALE_H=config/locale/gnu/c_locale.h
16598 CLOCALE_CC=config/locale/gnu/c_locale.cc
16599 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16600 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16601 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16602 CMESSAGES_H=config/locale/gnu/messages_members.h
16603 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16604 CMONEY_CC=config/locale/gnu/monetary_members.cc
16605 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16606 CTIME_H=config/locale/gnu/time_members.h
16607 CTIME_CC=config/locale/gnu/time_members.cc
16608 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16610 ieee_1003.1-2001)
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16612 $as_echo "IEEE 1003.1" >&6; }
16614 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16615 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16616 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16617 CCOLLATE_CC=config/locale/generic/collate_members.cc
16618 CCTYPE_CC=config/locale/generic/ctype_members.cc
16619 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16620 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16621 CMONEY_CC=config/locale/generic/monetary_members.cc
16622 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16623 CTIME_H=config/locale/generic/time_members.h
16624 CTIME_CC=config/locale/generic/time_members.cc
16625 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16627 newlib)
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16629 $as_echo "newlib" >&6; }
16631 CLOCALE_H=config/locale/generic/c_locale.h
16632 CLOCALE_CC=config/locale/generic/c_locale.cc
16633 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16634 CCOLLATE_CC=config/locale/generic/collate_members.cc
16635 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16636 CMESSAGES_H=config/locale/generic/messages_members.h
16637 CMESSAGES_CC=config/locale/generic/messages_members.cc
16638 CMONEY_CC=config/locale/generic/monetary_members.cc
16639 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16640 CTIME_H=config/locale/generic/time_members.h
16641 CTIME_CC=config/locale/generic/time_members.cc
16642 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16644 esac
16646 # This is where the testsuite looks for locale catalogs, using the
16647 # -DLOCALEDIR define during testsuite compilation.
16648 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16651 # A standalone libintl (e.g., GNU libintl) may be in use.
16652 if test $USE_NLS = yes; then
16653 for ac_header in libintl.h
16654 do :
16655 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16656 if test "x$ac_cv_header_libintl_h" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_LIBINTL_H 1
16659 _ACEOF
16661 else
16662 USE_NLS=no
16665 done
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16668 $as_echo_n "checking for library containing gettext... " >&6; }
16669 if ${ac_cv_search_gettext+:} false; then :
16670 $as_echo_n "(cached) " >&6
16671 else
16672 ac_func_search_save_LIBS=$LIBS
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16676 /* Override any GCC internal prototype to avoid an error.
16677 Use char because int might match the return type of a GCC
16678 builtin and then its argument prototype would still apply. */
16679 #ifdef __cplusplus
16680 extern "C"
16681 #endif
16682 char gettext ();
16684 main ()
16686 return gettext ();
16688 return 0;
16690 _ACEOF
16691 for ac_lib in '' intl; do
16692 if test -z "$ac_lib"; then
16693 ac_res="none required"
16694 else
16695 ac_res=-l$ac_lib
16696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16698 if test x$gcc_no_link = xyes; then
16699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16701 if ac_fn_c_try_link "$LINENO"; then :
16702 ac_cv_search_gettext=$ac_res
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext
16706 if ${ac_cv_search_gettext+:} false; then :
16707 break
16709 done
16710 if ${ac_cv_search_gettext+:} false; then :
16712 else
16713 ac_cv_search_gettext=no
16715 rm conftest.$ac_ext
16716 LIBS=$ac_func_search_save_LIBS
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16719 $as_echo "$ac_cv_search_gettext" >&6; }
16720 ac_res=$ac_cv_search_gettext
16721 if test "$ac_res" != no; then :
16722 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16724 else
16725 USE_NLS=no
16729 if test $USE_NLS = yes; then
16731 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16751 $as_echo_n "checking for std::allocator base class... " >&6; }
16752 # Check whether --enable-libstdcxx-allocator was given.
16753 if test "${enable_libstdcxx_allocator+set}" = set; then :
16754 enableval=$enable_libstdcxx_allocator;
16755 case "$enableval" in
16756 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16757 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16758 esac
16760 else
16761 enable_libstdcxx_allocator=auto
16766 # If they didn't use this option switch, or if they specified --enable
16767 # with no specific model, we'll have to look for one. If they
16768 # specified --disable (???), do likewise.
16769 if test $enable_libstdcxx_allocator = no ||
16770 test $enable_libstdcxx_allocator = yes;
16771 then
16772 enable_libstdcxx_allocator=auto
16775 # Either a known package, or "auto". Auto implies the default choice
16776 # for a particular platform.
16777 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16779 # Probe for host-specific support if no specific model is specified.
16780 # Default to "new".
16781 if test $enable_libstdcxx_allocator_flag = auto; then
16782 case ${target_os} in
16783 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16784 enable_libstdcxx_allocator_flag=new
16787 enable_libstdcxx_allocator_flag=new
16789 esac
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16792 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16795 # Set configure bits for specified locale package
16796 case ${enable_libstdcxx_allocator_flag} in
16797 bitmap)
16798 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16799 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16801 malloc)
16802 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16803 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16806 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16807 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16809 new)
16810 ALLOCATOR_H=config/allocator/new_allocator_base.h
16811 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16813 pool)
16814 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16815 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16817 esac
16824 # Check whether --enable-cheaders was given.
16825 if test "${enable_cheaders+set}" = set; then :
16826 enableval=$enable_cheaders;
16827 case "$enableval" in
16828 c|c_std|c_global) ;;
16829 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16830 esac
16832 else
16833 enable_cheaders=$c_model
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16838 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16840 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16842 # Allow overrides to configure.host here.
16843 if test $enable_cheaders = c_global; then
16844 c_compatibility=yes
16853 # Check whether --enable-long-long was given.
16854 if test "${enable_long_long+set}" = set; then :
16855 enableval=$enable_long_long;
16856 case "$enableval" in
16857 yes|no) ;;
16858 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16859 esac
16861 else
16862 enable_long_long=yes
16866 if test $enable_long_long = yes; then
16868 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16872 $as_echo_n "checking for enabled long long specializations... " >&6; }
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16874 $as_echo "$enable_long_long" >&6; }
16877 # Check whether --enable-wchar_t was given.
16878 if test "${enable_wchar_t+set}" = set; then :
16879 enableval=$enable_wchar_t;
16880 case "$enableval" in
16881 yes|no) ;;
16882 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16883 esac
16885 else
16886 enable_wchar_t=yes
16891 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16892 for ac_header in wchar.h
16893 do :
16894 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16895 if test "x$ac_cv_header_wchar_h" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_WCHAR_H 1
16898 _ACEOF
16899 ac_has_wchar_h=yes
16900 else
16901 ac_has_wchar_h=no
16904 done
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16907 $as_echo_n "checking for mbstate_t... " >&6; }
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16910 #include <wchar.h>
16912 main ()
16914 mbstate_t teststate;
16916 return 0;
16918 _ACEOF
16919 if ac_fn_c_try_compile "$LINENO"; then :
16920 have_mbstate_t=yes
16921 else
16922 have_mbstate_t=no
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16926 $as_echo "$have_mbstate_t" >&6; }
16927 if test x"$have_mbstate_t" = xyes; then
16929 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16933 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16934 # ac_has_wchar_h.
16935 for ac_header in wctype.h
16936 do :
16937 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16938 if test "x$ac_cv_header_wctype_h" = xyes; then :
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_WCTYPE_H 1
16941 _ACEOF
16942 ac_has_wctype_h=yes
16943 else
16944 ac_has_wctype_h=no
16947 done
16950 if test x"$enable_wchar_t" = x"yes"; then
16953 ac_ext=cpp
16954 ac_cpp='$CXXCPP $CPPFLAGS'
16955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16960 if test x"$ac_has_wchar_h" = xyes &&
16961 test x"$ac_has_wctype_h" = xyes; then
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #include <wchar.h>
16965 #include <stddef.h>
16966 wint_t i;
16967 long l = WEOF;
16968 long j = WCHAR_MIN;
16969 long k = WCHAR_MAX;
16970 namespace test
16972 using ::btowc;
16973 using ::fgetwc;
16974 using ::fgetws;
16975 using ::fputwc;
16976 using ::fputws;
16977 using ::fwide;
16978 using ::fwprintf;
16979 using ::fwscanf;
16980 using ::getwc;
16981 using ::getwchar;
16982 using ::mbrlen;
16983 using ::mbrtowc;
16984 using ::mbsinit;
16985 using ::mbsrtowcs;
16986 using ::putwc;
16987 using ::putwchar;
16988 using ::swprintf;
16989 using ::swscanf;
16990 using ::ungetwc;
16991 using ::vfwprintf;
16992 using ::vswprintf;
16993 using ::vwprintf;
16994 using ::wcrtomb;
16995 using ::wcscat;
16996 using ::wcschr;
16997 using ::wcscmp;
16998 using ::wcscoll;
16999 using ::wcscpy;
17000 using ::wcscspn;
17001 using ::wcsftime;
17002 using ::wcslen;
17003 using ::wcsncat;
17004 using ::wcsncmp;
17005 using ::wcsncpy;
17006 using ::wcspbrk;
17007 using ::wcsrchr;
17008 using ::wcsrtombs;
17009 using ::wcsspn;
17010 using ::wcsstr;
17011 using ::wcstod;
17012 using ::wcstok;
17013 using ::wcstol;
17014 using ::wcstoul;
17015 using ::wcsxfrm;
17016 using ::wctob;
17017 using ::wmemchr;
17018 using ::wmemcmp;
17019 using ::wmemcpy;
17020 using ::wmemmove;
17021 using ::wmemset;
17022 using ::wprintf;
17023 using ::wscanf;
17027 main ()
17031 return 0;
17033 _ACEOF
17034 if ac_fn_cxx_try_compile "$LINENO"; then :
17036 else
17037 enable_wchar_t=no
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040 else
17041 enable_wchar_t=no
17044 ac_ext=c
17045 ac_cpp='$CPP $CPPFLAGS'
17046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17052 if test x"$enable_wchar_t" = x"yes"; then
17054 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17059 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17061 $as_echo "$enable_wchar_t" >&6; }
17065 # Check whether --enable-c99 was given.
17066 if test "${enable_c99+set}" = set; then :
17067 enableval=$enable_c99;
17068 case "$enableval" in
17069 yes|no) ;;
17070 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17071 esac
17073 else
17074 enable_c99=yes
17079 if test x"$enable_c99" = x"yes"; then
17081 ac_ext=cpp
17082 ac_cpp='$CXXCPP $CPPFLAGS'
17083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17088 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17089 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17090 # to be spuriously enabled.
17091 ac_save_CXXFLAGS="$CXXFLAGS"
17092 CXXFLAGS="$CXXFLAGS -std=c++98"
17093 ac_save_LIBS="$LIBS"
17094 ac_save_gcc_no_link="$gcc_no_link"
17096 if test x$gcc_no_link != xyes; then
17097 # Use -fno-exceptions to that the C driver can link these tests without
17098 # hitting undefined references to personality routines.
17099 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17101 $as_echo_n "checking for sin in -lm... " >&6; }
17102 if ${ac_cv_lib_m_sin+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_check_lib_save_LIBS=$LIBS
17106 LIBS="-lm $LIBS"
17107 if test x$gcc_no_link = xyes; then
17108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 /* Override any GCC internal prototype to avoid an error.
17114 Use char because int might match the return type of a GCC
17115 builtin and then its argument prototype would still apply. */
17116 #ifdef __cplusplus
17117 extern "C"
17118 #endif
17119 char sin ();
17121 main ()
17123 return sin ();
17125 return 0;
17127 _ACEOF
17128 if ac_fn_cxx_try_link "$LINENO"; then :
17129 ac_cv_lib_m_sin=yes
17130 else
17131 ac_cv_lib_m_sin=no
17133 rm -f core conftest.err conftest.$ac_objext \
17134 conftest$ac_exeext conftest.$ac_ext
17135 LIBS=$ac_check_lib_save_LIBS
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17138 $as_echo "$ac_cv_lib_m_sin" >&6; }
17139 if test "x$ac_cv_lib_m_sin" = xyes; then :
17140 LIBS="$LIBS -lm"
17141 else
17143 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17144 gcc_no_link=yes
17150 # Check for the existence of <math.h> functions used if C99 is enabled.
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17152 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17153 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17157 if test x$gcc_no_link = xyes; then
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 #include <math.h>
17161 volatile double d1, d2;
17162 volatile int i;
17164 main ()
17166 i = fpclassify(d1);
17167 i = isfinite(d1);
17168 i = isinf(d1);
17169 i = isnan(d1);
17170 i = isnormal(d1);
17171 i = signbit(d1);
17172 i = isgreater(d1, d2);
17173 i = isgreaterequal(d1, d2);
17174 i = isless(d1, d2);
17175 i = islessequal(d1, d2);
17176 i = islessgreater(d1, d2);
17177 i = islessgreater(d1, d2);
17178 i = isunordered(d1, d2);
17181 return 0;
17183 _ACEOF
17184 if ac_fn_cxx_try_compile "$LINENO"; then :
17185 glibcxx_cv_c99_math_cxx98=yes
17186 else
17187 glibcxx_cv_c99_math_cxx98=no
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 else
17191 if test x$gcc_no_link = xyes; then
17192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17196 #include <math.h>
17197 volatile double d1, d2;
17198 volatile int i;
17200 main ()
17202 i = fpclassify(d1);
17203 i = isfinite(d1);
17204 i = isinf(d1);
17205 i = isnan(d1);
17206 i = isnormal(d1);
17207 i = signbit(d1);
17208 i = isgreater(d1, d2);
17209 i = isgreaterequal(d1, d2);
17210 i = isless(d1, d2);
17211 i = islessequal(d1, d2);
17212 i = islessgreater(d1, d2);
17213 i = islessgreater(d1, d2);
17214 i = isunordered(d1, d2);
17217 return 0;
17219 _ACEOF
17220 if ac_fn_cxx_try_link "$LINENO"; then :
17221 glibcxx_cv_c99_math_cxx98=yes
17222 else
17223 glibcxx_cv_c99_math_cxx98=no
17225 rm -f core conftest.err conftest.$ac_objext \
17226 conftest$ac_exeext conftest.$ac_ext
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17232 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17233 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17235 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17239 # Check for the existence of <complex.h> complex math functions.
17240 # This is necessary even though libstdc++ uses the builtin versions
17241 # of these functions, because if the builtin cannot be used, a reference
17242 # to the library function is emitted.
17243 for ac_header in tgmath.h
17244 do :
17245 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17246 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_TGMATH_H 1
17249 _ACEOF
17250 ac_has_tgmath_h=yes
17251 else
17252 ac_has_tgmath_h=no
17255 done
17257 for ac_header in complex.h
17258 do :
17259 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17260 if test "x$ac_cv_header_complex_h" = xyes; then :
17261 cat >>confdefs.h <<_ACEOF
17262 #define HAVE_COMPLEX_H 1
17263 _ACEOF
17264 ac_has_complex_h=yes
17265 else
17266 ac_has_complex_h=no
17269 done
17271 if test x"$ac_has_complex_h" = x"yes"; then
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17273 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17274 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17278 if test x$gcc_no_link = xyes; then
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #include <complex.h>
17282 typedef __complex__ float float_type;
17283 typedef __complex__ double double_type;
17284 typedef __complex__ long double ld_type;
17285 volatile float_type tmpf;
17286 volatile double_type tmpd;
17287 volatile ld_type tmpld;
17288 volatile float f;
17289 volatile double d;
17290 volatile long double ld;
17292 main ()
17294 f = cabsf(tmpf);
17295 f = cargf(tmpf);
17296 tmpf = ccosf(tmpf);
17297 tmpf = ccoshf(tmpf);
17298 tmpf = cexpf(tmpf);
17299 tmpf = clogf(tmpf);
17300 tmpf = csinf(tmpf);
17301 tmpf = csinhf(tmpf);
17302 tmpf = csqrtf(tmpf);
17303 tmpf = ctanf(tmpf);
17304 tmpf = ctanhf(tmpf);
17305 tmpf = cpowf(tmpf, tmpf);
17306 tmpf = cprojf(tmpf);
17307 d = cabs(tmpd);
17308 d = carg(tmpd);
17309 tmpd = ccos(tmpd);
17310 tmpd = ccosh(tmpd);
17311 tmpd = cexp(tmpd);
17312 tmpd = clog(tmpd);
17313 tmpd = csin(tmpd);
17314 tmpd = csinh(tmpd);
17315 tmpd = csqrt(tmpd);
17316 tmpd = ctan(tmpd);
17317 tmpd = ctanh(tmpd);
17318 tmpd = cpow(tmpd, tmpd);
17319 tmpd = cproj(tmpd);
17320 ld = cabsl(tmpld);
17321 ld = cargl(tmpld);
17322 tmpld = ccosl(tmpld);
17323 tmpld = ccoshl(tmpld);
17324 tmpld = cexpl(tmpld);
17325 tmpld = clogl(tmpld);
17326 tmpld = csinl(tmpld);
17327 tmpld = csinhl(tmpld);
17328 tmpld = csqrtl(tmpld);
17329 tmpld = ctanl(tmpld);
17330 tmpld = ctanhl(tmpld);
17331 tmpld = cpowl(tmpld, tmpld);
17332 tmpld = cprojl(tmpld);
17335 return 0;
17337 _ACEOF
17338 if ac_fn_cxx_try_compile "$LINENO"; then :
17339 glibcxx_cv_c99_complex_cxx98=yes
17340 else
17341 glibcxx_cv_c99_complex_cxx98=no
17343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17344 else
17345 if test x$gcc_no_link = xyes; then
17346 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <complex.h>
17351 typedef __complex__ float float_type;
17352 typedef __complex__ double double_type;
17353 typedef __complex__ long double ld_type;
17354 volatile float_type tmpf;
17355 volatile double_type tmpd;
17356 volatile ld_type tmpld;
17357 volatile float f;
17358 volatile double d;
17359 volatile long double ld;
17361 main ()
17363 f = cabsf(tmpf);
17364 f = cargf(tmpf);
17365 tmpf = ccosf(tmpf);
17366 tmpf = ccoshf(tmpf);
17367 tmpf = cexpf(tmpf);
17368 tmpf = clogf(tmpf);
17369 tmpf = csinf(tmpf);
17370 tmpf = csinhf(tmpf);
17371 tmpf = csqrtf(tmpf);
17372 tmpf = ctanf(tmpf);
17373 tmpf = ctanhf(tmpf);
17374 tmpf = cpowf(tmpf, tmpf);
17375 tmpf = cprojf(tmpf);
17376 d = cabs(tmpd);
17377 d = carg(tmpd);
17378 tmpd = ccos(tmpd);
17379 tmpd = ccosh(tmpd);
17380 tmpd = cexp(tmpd);
17381 tmpd = clog(tmpd);
17382 tmpd = csin(tmpd);
17383 tmpd = csinh(tmpd);
17384 tmpd = csqrt(tmpd);
17385 tmpd = ctan(tmpd);
17386 tmpd = ctanh(tmpd);
17387 tmpd = cpow(tmpd, tmpd);
17388 tmpd = cproj(tmpd);
17389 ld = cabsl(tmpld);
17390 ld = cargl(tmpld);
17391 tmpld = ccosl(tmpld);
17392 tmpld = ccoshl(tmpld);
17393 tmpld = cexpl(tmpld);
17394 tmpld = clogl(tmpld);
17395 tmpld = csinl(tmpld);
17396 tmpld = csinhl(tmpld);
17397 tmpld = csqrtl(tmpld);
17398 tmpld = ctanl(tmpld);
17399 tmpld = ctanhl(tmpld);
17400 tmpld = cpowl(tmpld, tmpld);
17401 tmpld = cprojl(tmpld);
17404 return 0;
17406 _ACEOF
17407 if ac_fn_cxx_try_link "$LINENO"; then :
17408 glibcxx_cv_c99_complex_cxx98=yes
17409 else
17410 glibcxx_cv_c99_complex_cxx98=no
17412 rm -f core conftest.err conftest.$ac_objext \
17413 conftest$ac_exeext conftest.$ac_ext
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17420 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17421 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17423 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17427 # Check for the existence in <stdio.h> of vscanf, et. al.
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17429 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17430 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17434 if test x$gcc_no_link = xyes; then
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #include <stdio.h>
17438 #include <stdarg.h>
17439 void foo(char* fmt, ...)
17441 va_list args; va_start(args, fmt);
17442 vfscanf(stderr, "%i", args);
17443 vscanf("%i", args);
17444 vsnprintf(fmt, 0, "%i", args);
17445 vsscanf(fmt, "%i", args);
17446 snprintf(fmt, 0, "%i");
17449 main ()
17453 return 0;
17455 _ACEOF
17456 if ac_fn_cxx_try_compile "$LINENO"; then :
17457 glibcxx_cv_c99_stdio_cxx98=yes
17458 else
17459 glibcxx_cv_c99_stdio_cxx98=no
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462 else
17463 if test x$gcc_no_link = xyes; then
17464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468 #include <stdio.h>
17469 #include <stdarg.h>
17470 void foo(char* fmt, ...)
17472 va_list args; va_start(args, fmt);
17473 vfscanf(stderr, "%i", args);
17474 vscanf("%i", args);
17475 vsnprintf(fmt, 0, "%i", args);
17476 vsscanf(fmt, "%i", args);
17477 snprintf(fmt, 0, "%i");
17480 main ()
17484 return 0;
17486 _ACEOF
17487 if ac_fn_cxx_try_link "$LINENO"; then :
17488 glibcxx_cv_c99_stdio_cxx98=yes
17489 else
17490 glibcxx_cv_c99_stdio_cxx98=no
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17499 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17500 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17502 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17506 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17508 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17509 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17513 if test x$gcc_no_link = xyes; then
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 #include <stdlib.h>
17517 volatile float f;
17518 volatile long double ld;
17519 volatile unsigned long long ll;
17520 lldiv_t mydivt;
17522 main ()
17524 char* tmp;
17525 f = strtof("gnu", &tmp);
17526 ld = strtold("gnu", &tmp);
17527 ll = strtoll("gnu", &tmp, 10);
17528 ll = strtoull("gnu", &tmp, 10);
17529 ll = llabs(10);
17530 mydivt = lldiv(10,1);
17531 ll = mydivt.quot;
17532 ll = mydivt.rem;
17533 ll = atoll("10");
17534 _Exit(0);
17537 return 0;
17539 _ACEOF
17540 if ac_fn_cxx_try_compile "$LINENO"; then :
17541 glibcxx_cv_c99_stdlib_cxx98=yes
17542 else
17543 glibcxx_cv_c99_stdlib_cxx98=no
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546 else
17547 if test x$gcc_no_link = xyes; then
17548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <stdlib.h>
17553 volatile float f;
17554 volatile long double ld;
17555 volatile unsigned long long ll;
17556 lldiv_t mydivt;
17558 main ()
17560 char* tmp;
17561 f = strtof("gnu", &tmp);
17562 ld = strtold("gnu", &tmp);
17563 ll = strtoll("gnu", &tmp, 10);
17564 ll = strtoull("gnu", &tmp, 10);
17565 ll = llabs(10);
17566 mydivt = lldiv(10,1);
17567 ll = mydivt.quot;
17568 ll = mydivt.rem;
17569 ll = atoll("10");
17570 _Exit(0);
17573 return 0;
17575 _ACEOF
17576 if ac_fn_cxx_try_link "$LINENO"; then :
17577 glibcxx_cv_c99_stdlib_cxx98=yes
17578 else
17579 glibcxx_cv_c99_stdlib_cxx98=no
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17588 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17589 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17591 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17595 # Check for the existence in <wchar.h> of wcstold, etc.
17596 if test x"$ac_has_wchar_h" = xyes &&
17597 test x"$ac_has_wctype_h" = xyes; then
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17599 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17600 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <wchar.h>
17607 namespace test
17609 using ::wcstold;
17610 using ::wcstoll;
17611 using ::wcstoull;
17615 main ()
17619 return 0;
17621 _ACEOF
17622 if ac_fn_cxx_try_compile "$LINENO"; then :
17623 glibcxx_cv_c99_wchar_cxx98=yes
17624 else
17625 glibcxx_cv_c99_wchar_cxx98=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632 # Checks for wide character functions that may not be present.
17633 # Injection of these is wrapped with guard macros.
17634 # NB: only put functions here, instead of immediately above, if
17635 # absolutely necessary.
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17638 #include <wchar.h>
17639 namespace test { using ::vfwscanf; }
17641 main ()
17645 return 0;
17647 _ACEOF
17648 if ac_fn_cxx_try_compile "$LINENO"; then :
17650 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <wchar.h>
17658 namespace test { using ::vswscanf; }
17660 main ()
17664 return 0;
17666 _ACEOF
17667 if ac_fn_cxx_try_compile "$LINENO"; then :
17669 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <wchar.h>
17677 namespace test { using ::vwscanf; }
17679 main ()
17683 return 0;
17685 _ACEOF
17686 if ac_fn_cxx_try_compile "$LINENO"; then :
17688 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #include <wchar.h>
17696 namespace test { using ::wcstof; }
17698 main ()
17702 return 0;
17704 _ACEOF
17705 if ac_fn_cxx_try_compile "$LINENO"; then :
17707 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h. */
17714 #include <wctype.h>
17716 main ()
17718 wint_t t; int i = iswblank(t);
17720 return 0;
17722 _ACEOF
17723 if ac_fn_cxx_try_compile "$LINENO"; then :
17725 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17731 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17732 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17734 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17739 # Option parsed, now set things appropriately.
17740 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17741 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17742 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17743 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17744 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17745 enable_c99=no;
17746 else
17748 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17752 gcc_no_link="$ac_save_gcc_no_link"
17753 LIBS="$ac_save_LIBS"
17754 CXXFLAGS="$ac_save_CXXFLAGS"
17755 ac_ext=c
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17763 ac_ext=cpp
17764 ac_cpp='$CXXCPP $CPPFLAGS'
17765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17770 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17771 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17772 ac_save_CXXFLAGS="$CXXFLAGS"
17773 CXXFLAGS="$CXXFLAGS -std=c++11"
17774 ac_save_LIBS="$LIBS"
17775 ac_save_gcc_no_link="$gcc_no_link"
17777 if test x$gcc_no_link != xyes; then
17778 # Use -fno-exceptions to that the C driver can link these tests without
17779 # hitting undefined references to personality routines.
17780 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17782 $as_echo_n "checking for sin in -lm... " >&6; }
17783 if ${ac_cv_lib_m_sin+:} false; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786 ac_check_lib_save_LIBS=$LIBS
17787 LIBS="-lm $LIBS"
17788 if test x$gcc_no_link = xyes; then
17789 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 /* Override any GCC internal prototype to avoid an error.
17795 Use char because int might match the return type of a GCC
17796 builtin and then its argument prototype would still apply. */
17797 #ifdef __cplusplus
17798 extern "C"
17799 #endif
17800 char sin ();
17802 main ()
17804 return sin ();
17806 return 0;
17808 _ACEOF
17809 if ac_fn_cxx_try_link "$LINENO"; then :
17810 ac_cv_lib_m_sin=yes
17811 else
17812 ac_cv_lib_m_sin=no
17814 rm -f core conftest.err conftest.$ac_objext \
17815 conftest$ac_exeext conftest.$ac_ext
17816 LIBS=$ac_check_lib_save_LIBS
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17819 $as_echo "$ac_cv_lib_m_sin" >&6; }
17820 if test "x$ac_cv_lib_m_sin" = xyes; then :
17821 LIBS="$LIBS -lm"
17822 else
17824 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17825 gcc_no_link=yes
17831 # Check for the existence of <math.h> functions used if C99 is enabled.
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17833 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17834 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17838 if test x$gcc_no_link = xyes; then
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <math.h>
17842 volatile double d1, d2;
17843 volatile int i;
17845 main ()
17847 i = fpclassify(d1);
17848 i = isfinite(d1);
17849 i = isinf(d1);
17850 i = isnan(d1);
17851 i = isnormal(d1);
17852 i = signbit(d1);
17853 i = isgreater(d1, d2);
17854 i = isgreaterequal(d1, d2);
17855 i = isless(d1, d2);
17856 i = islessequal(d1, d2);
17857 i = islessgreater(d1, d2);
17858 i = islessgreater(d1, d2);
17859 i = isunordered(d1, d2);
17862 return 0;
17864 _ACEOF
17865 if ac_fn_cxx_try_compile "$LINENO"; then :
17866 glibcxx_cv_c99_math_cxx11=yes
17867 else
17868 glibcxx_cv_c99_math_cxx11=no
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871 else
17872 if test x$gcc_no_link = xyes; then
17873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17877 #include <math.h>
17878 volatile double d1, d2;
17879 volatile int i;
17881 main ()
17883 i = fpclassify(d1);
17884 i = isfinite(d1);
17885 i = isinf(d1);
17886 i = isnan(d1);
17887 i = isnormal(d1);
17888 i = signbit(d1);
17889 i = isgreater(d1, d2);
17890 i = isgreaterequal(d1, d2);
17891 i = isless(d1, d2);
17892 i = islessequal(d1, d2);
17893 i = islessgreater(d1, d2);
17894 i = islessgreater(d1, d2);
17895 i = isunordered(d1, d2);
17898 return 0;
17900 _ACEOF
17901 if ac_fn_cxx_try_link "$LINENO"; then :
17902 glibcxx_cv_c99_math_cxx11=yes
17903 else
17904 glibcxx_cv_c99_math_cxx11=no
17906 rm -f core conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17913 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17914 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17916 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17920 # Check for the existence of <complex.h> complex math functions.
17921 # This is necessary even though libstdc++ uses the builtin versions
17922 # of these functions, because if the builtin cannot be used, a reference
17923 # to the library function is emitted.
17924 for ac_header in tgmath.h
17925 do :
17926 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17927 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17928 cat >>confdefs.h <<_ACEOF
17929 #define HAVE_TGMATH_H 1
17930 _ACEOF
17931 ac_has_tgmath_h=yes
17932 else
17933 ac_has_tgmath_h=no
17936 done
17938 for ac_header in complex.h
17939 do :
17940 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17941 if test "x$ac_cv_header_complex_h" = xyes; then :
17942 cat >>confdefs.h <<_ACEOF
17943 #define HAVE_COMPLEX_H 1
17944 _ACEOF
17945 ac_has_complex_h=yes
17946 else
17947 ac_has_complex_h=no
17950 done
17952 if test x"$ac_has_complex_h" = x"yes"; then
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17954 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17955 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17956 $as_echo_n "(cached) " >&6
17957 else
17959 if test x$gcc_no_link = xyes; then
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <complex.h>
17963 typedef __complex__ float float_type;
17964 typedef __complex__ double double_type;
17965 typedef __complex__ long double ld_type;
17966 volatile float_type tmpf;
17967 volatile double_type tmpd;
17968 volatile ld_type tmpld;
17969 volatile float f;
17970 volatile double d;
17971 volatile long double ld;
17973 main ()
17975 f = cabsf(tmpf);
17976 f = cargf(tmpf);
17977 tmpf = ccosf(tmpf);
17978 tmpf = ccoshf(tmpf);
17979 tmpf = cexpf(tmpf);
17980 tmpf = clogf(tmpf);
17981 tmpf = csinf(tmpf);
17982 tmpf = csinhf(tmpf);
17983 tmpf = csqrtf(tmpf);
17984 tmpf = ctanf(tmpf);
17985 tmpf = ctanhf(tmpf);
17986 tmpf = cpowf(tmpf, tmpf);
17987 tmpf = cprojf(tmpf);
17988 d = cabs(tmpd);
17989 d = carg(tmpd);
17990 tmpd = ccos(tmpd);
17991 tmpd = ccosh(tmpd);
17992 tmpd = cexp(tmpd);
17993 tmpd = clog(tmpd);
17994 tmpd = csin(tmpd);
17995 tmpd = csinh(tmpd);
17996 tmpd = csqrt(tmpd);
17997 tmpd = ctan(tmpd);
17998 tmpd = ctanh(tmpd);
17999 tmpd = cpow(tmpd, tmpd);
18000 tmpd = cproj(tmpd);
18001 ld = cabsl(tmpld);
18002 ld = cargl(tmpld);
18003 tmpld = ccosl(tmpld);
18004 tmpld = ccoshl(tmpld);
18005 tmpld = cexpl(tmpld);
18006 tmpld = clogl(tmpld);
18007 tmpld = csinl(tmpld);
18008 tmpld = csinhl(tmpld);
18009 tmpld = csqrtl(tmpld);
18010 tmpld = ctanl(tmpld);
18011 tmpld = ctanhl(tmpld);
18012 tmpld = cpowl(tmpld, tmpld);
18013 tmpld = cprojl(tmpld);
18016 return 0;
18018 _ACEOF
18019 if ac_fn_cxx_try_compile "$LINENO"; then :
18020 glibcxx_cv_c99_complex_cxx11=yes
18021 else
18022 glibcxx_cv_c99_complex_cxx11=no
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025 else
18026 if test x$gcc_no_link = xyes; then
18027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18031 #include <complex.h>
18032 typedef __complex__ float float_type;
18033 typedef __complex__ double double_type;
18034 typedef __complex__ long double ld_type;
18035 volatile float_type tmpf;
18036 volatile double_type tmpd;
18037 volatile ld_type tmpld;
18038 volatile float f;
18039 volatile double d;
18040 volatile long double ld;
18042 main ()
18044 f = cabsf(tmpf);
18045 f = cargf(tmpf);
18046 tmpf = ccosf(tmpf);
18047 tmpf = ccoshf(tmpf);
18048 tmpf = cexpf(tmpf);
18049 tmpf = clogf(tmpf);
18050 tmpf = csinf(tmpf);
18051 tmpf = csinhf(tmpf);
18052 tmpf = csqrtf(tmpf);
18053 tmpf = ctanf(tmpf);
18054 tmpf = ctanhf(tmpf);
18055 tmpf = cpowf(tmpf, tmpf);
18056 tmpf = cprojf(tmpf);
18057 d = cabs(tmpd);
18058 d = carg(tmpd);
18059 tmpd = ccos(tmpd);
18060 tmpd = ccosh(tmpd);
18061 tmpd = cexp(tmpd);
18062 tmpd = clog(tmpd);
18063 tmpd = csin(tmpd);
18064 tmpd = csinh(tmpd);
18065 tmpd = csqrt(tmpd);
18066 tmpd = ctan(tmpd);
18067 tmpd = ctanh(tmpd);
18068 tmpd = cpow(tmpd, tmpd);
18069 tmpd = cproj(tmpd);
18070 ld = cabsl(tmpld);
18071 ld = cargl(tmpld);
18072 tmpld = ccosl(tmpld);
18073 tmpld = ccoshl(tmpld);
18074 tmpld = cexpl(tmpld);
18075 tmpld = clogl(tmpld);
18076 tmpld = csinl(tmpld);
18077 tmpld = csinhl(tmpld);
18078 tmpld = csqrtl(tmpld);
18079 tmpld = ctanl(tmpld);
18080 tmpld = ctanhl(tmpld);
18081 tmpld = cpowl(tmpld, tmpld);
18082 tmpld = cprojl(tmpld);
18085 return 0;
18087 _ACEOF
18088 if ac_fn_cxx_try_link "$LINENO"; then :
18089 glibcxx_cv_c99_complex_cxx11=yes
18090 else
18091 glibcxx_cv_c99_complex_cxx11=no
18093 rm -f core conftest.err conftest.$ac_objext \
18094 conftest$ac_exeext conftest.$ac_ext
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18101 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18102 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18104 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18108 # Check for the existence in <stdio.h> of vscanf, et. al.
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18110 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18111 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18115 if test x$gcc_no_link = xyes; then
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdio.h>
18119 #include <stdarg.h>
18120 void foo(char* fmt, ...)
18122 va_list args; va_start(args, fmt);
18123 vfscanf(stderr, "%i", args);
18124 vscanf("%i", args);
18125 vsnprintf(fmt, 0, "%i", args);
18126 vsscanf(fmt, "%i", args);
18127 snprintf(fmt, 0, "%i");
18130 main ()
18134 return 0;
18136 _ACEOF
18137 if ac_fn_cxx_try_compile "$LINENO"; then :
18138 glibcxx_cv_c99_stdio_cxx11=yes
18139 else
18140 glibcxx_cv_c99_stdio_cxx11=no
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18143 else
18144 if test x$gcc_no_link = xyes; then
18145 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 #include <stdio.h>
18150 #include <stdarg.h>
18151 void foo(char* fmt, ...)
18153 va_list args; va_start(args, fmt);
18154 vfscanf(stderr, "%i", args);
18155 vscanf("%i", args);
18156 vsnprintf(fmt, 0, "%i", args);
18157 vsscanf(fmt, "%i", args);
18158 snprintf(fmt, 0, "%i");
18161 main ()
18165 return 0;
18167 _ACEOF
18168 if ac_fn_cxx_try_link "$LINENO"; then :
18169 glibcxx_cv_c99_stdio_cxx11=yes
18170 else
18171 glibcxx_cv_c99_stdio_cxx11=no
18173 rm -f core conftest.err conftest.$ac_objext \
18174 conftest$ac_exeext conftest.$ac_ext
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18180 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18181 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18183 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18187 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18189 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18190 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18191 $as_echo_n "(cached) " >&6
18192 else
18194 if test x$gcc_no_link = xyes; then
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18197 #include <stdlib.h>
18198 volatile float f;
18199 volatile long double ld;
18200 volatile unsigned long long ll;
18201 lldiv_t mydivt;
18203 main ()
18205 char* tmp;
18206 f = strtof("gnu", &tmp);
18207 ld = strtold("gnu", &tmp);
18208 ll = strtoll("gnu", &tmp, 10);
18209 ll = strtoull("gnu", &tmp, 10);
18210 ll = llabs(10);
18211 mydivt = lldiv(10,1);
18212 ll = mydivt.quot;
18213 ll = mydivt.rem;
18214 ll = atoll("10");
18215 _Exit(0);
18218 return 0;
18220 _ACEOF
18221 if ac_fn_cxx_try_compile "$LINENO"; then :
18222 glibcxx_cv_c99_stdlib_cxx11=yes
18223 else
18224 glibcxx_cv_c99_stdlib_cxx11=no
18226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18227 else
18228 if test x$gcc_no_link = xyes; then
18229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18233 #include <stdlib.h>
18234 volatile float f;
18235 volatile long double ld;
18236 volatile unsigned long long ll;
18237 lldiv_t mydivt;
18239 main ()
18241 char* tmp;
18242 f = strtof("gnu", &tmp);
18243 ld = strtold("gnu", &tmp);
18244 ll = strtoll("gnu", &tmp, 10);
18245 ll = strtoull("gnu", &tmp, 10);
18246 ll = llabs(10);
18247 mydivt = lldiv(10,1);
18248 ll = mydivt.quot;
18249 ll = mydivt.rem;
18250 ll = atoll("10");
18251 _Exit(0);
18254 return 0;
18256 _ACEOF
18257 if ac_fn_cxx_try_link "$LINENO"; then :
18258 glibcxx_cv_c99_stdlib_cxx11=yes
18259 else
18260 glibcxx_cv_c99_stdlib_cxx11=no
18262 rm -f core conftest.err conftest.$ac_objext \
18263 conftest$ac_exeext conftest.$ac_ext
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18269 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18270 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18272 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18276 # Check for the existence in <wchar.h> of wcstold, etc.
18277 if test x"$ac_has_wchar_h" = xyes &&
18278 test x"$ac_has_wctype_h" = xyes; then
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18280 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18281 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <wchar.h>
18288 namespace test
18290 using ::wcstold;
18291 using ::wcstoll;
18292 using ::wcstoull;
18296 main ()
18300 return 0;
18302 _ACEOF
18303 if ac_fn_cxx_try_compile "$LINENO"; then :
18304 glibcxx_cv_c99_wchar_cxx11=yes
18305 else
18306 glibcxx_cv_c99_wchar_cxx11=no
18308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 # Checks for wide character functions that may not be present.
18314 # Injection of these is wrapped with guard macros.
18315 # NB: only put functions here, instead of immediately above, if
18316 # absolutely necessary.
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 #include <wchar.h>
18320 namespace test { using ::vfwscanf; }
18322 main ()
18326 return 0;
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18331 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18338 #include <wchar.h>
18339 namespace test { using ::vswscanf; }
18341 main ()
18345 return 0;
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18350 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #include <wchar.h>
18358 namespace test { using ::vwscanf; }
18360 main ()
18364 return 0;
18366 _ACEOF
18367 if ac_fn_cxx_try_compile "$LINENO"; then :
18369 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 #include <wchar.h>
18377 namespace test { using ::wcstof; }
18379 main ()
18383 return 0;
18385 _ACEOF
18386 if ac_fn_cxx_try_compile "$LINENO"; then :
18388 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18395 #include <wctype.h>
18397 main ()
18399 wint_t t; int i = iswblank(t);
18401 return 0;
18403 _ACEOF
18404 if ac_fn_cxx_try_compile "$LINENO"; then :
18406 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18412 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18413 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18415 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18420 gcc_no_link="$ac_save_gcc_no_link"
18421 LIBS="$ac_save_LIBS"
18422 CXXFLAGS="$ac_save_CXXFLAGS"
18423 ac_ext=c
18424 ac_cpp='$CPP $CPPFLAGS'
18425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18432 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18434 $as_echo "$enable_c99" >&6; }
18437 # Check whether --enable-concept-checks was given.
18438 if test "${enable_concept_checks+set}" = set; then :
18439 enableval=$enable_concept_checks;
18440 case "$enableval" in
18441 yes|no) ;;
18442 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18443 esac
18445 else
18446 enable_concept_checks=no
18450 if test $enable_concept_checks = yes; then
18452 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18457 # Check whether --enable-libstdcxx-debug-flags was given.
18458 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18459 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18460 xno | x) enable_libstdcxx_debug_flags= ;;
18461 x-*) ;;
18462 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18463 esac
18464 else
18465 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18470 # Option parsed, now set things appropriately
18471 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18475 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18479 $as_echo_n "checking for additional debug build... " >&6; }
18480 skip_debug_build=
18481 # Check whether --enable-libstdcxx-debug was given.
18482 if test "${enable_libstdcxx_debug+set}" = set; then :
18483 enableval=$enable_libstdcxx_debug;
18484 case "$enableval" in
18485 yes|no) ;;
18486 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18487 esac
18489 else
18490 enable_libstdcxx_debug=no
18494 if test x$enable_libstdcxx_debug = xyes; then
18495 if test -f $toplevel_builddir/../stage_final \
18496 && test -f $toplevel_builddir/../stage_current; then
18497 stage_final=`cat $toplevel_builddir/../stage_final`
18498 stage_current=`cat $toplevel_builddir/../stage_current`
18499 if test x$stage_current != x$stage_final ; then
18500 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18501 enable_libstdcxx_debug=no
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18506 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18511 enable_parallel=no;
18513 # See if configured libgomp/omp.h exists. (libgomp may be in
18514 # noconfigdirs but not explicitly disabled.)
18515 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18516 enable_parallel=yes;
18517 else
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18519 $as_echo "$as_me: target-libgomp not built" >&6;}
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18523 $as_echo_n "checking for parallel mode support... " >&6; }
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18525 $as_echo "$enable_parallel" >&6; }
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18528 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18529 # Check whether --enable-cxx-flags was given.
18530 if test "${enable_cxx_flags+set}" = set; then :
18531 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18532 xno | x) enable_cxx_flags= ;;
18533 x-*) ;;
18534 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18535 esac
18536 else
18537 enable_cxx_flags=
18542 # Run through flags (either default or command-line) and set anything
18543 # extra (e.g., #defines) that must accompany particular g++ options.
18544 if test -n "$enable_cxx_flags"; then
18545 for f in $enable_cxx_flags; do
18546 case "$f" in
18547 -fhonor-std) ;;
18548 -*) ;;
18549 *) # and we're trying to pass /what/ exactly?
18550 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18551 esac
18552 done
18555 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18557 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18561 # Check whether --enable-fully-dynamic-string was given.
18562 if test "${enable_fully_dynamic_string+set}" = set; then :
18563 enableval=$enable_fully_dynamic_string;
18564 case "$enableval" in
18565 yes|no) ;;
18566 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18567 esac
18569 else
18570 enable_fully_dynamic_string=no
18574 if test $enable_fully_dynamic_string = yes; then
18575 enable_fully_dynamic_string_def=1
18576 else
18577 enable_fully_dynamic_string_def=0
18580 cat >>confdefs.h <<_ACEOF
18581 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18582 _ACEOF
18587 # Check whether --enable-extern-template was given.
18588 if test "${enable_extern_template+set}" = set; then :
18589 enableval=$enable_extern_template;
18590 case "$enableval" in
18591 yes|no) ;;
18592 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18593 esac
18595 else
18596 enable_extern_template=yes
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18602 $as_echo_n "checking for extern template support... " >&6; }
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18604 $as_echo "$enable_extern_template" >&6; }
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18611 $as_echo_n "checking for custom python install directory... " >&6; }
18613 # Check whether --with-python-dir was given.
18614 if test "${with_python_dir+set}" = set; then :
18615 withval=$with_python_dir; with_python_dir=$withval
18616 else
18617 with_python_dir="no"
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18621 $as_echo "${with_python_dir}" >&6; }
18623 # Needed for installing Python modules during make install.
18624 python_mod_dir="${with_python_dir}"
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18630 $as_echo_n "checking for -Werror... " >&6; }
18631 # Check whether --enable-werror was given.
18632 if test "${enable_werror+set}" = set; then :
18633 enableval=$enable_werror;
18634 case "$enableval" in
18635 yes|no) ;;
18636 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18637 esac
18639 else
18640 enable_werror=no
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18645 $as_echo "$enable_werror" >&6; }
18650 # Check whether --enable-vtable-verify was given.
18651 if test "${enable_vtable_verify+set}" = set; then :
18652 enableval=$enable_vtable_verify;
18653 case "$enableval" in
18654 yes|no) ;;
18655 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18656 esac
18658 else
18659 enable_vtable_verify=no
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18665 $as_echo_n "checking for vtable verify support... " >&6; }
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18667 $as_echo "$enable_vtable_verify" >&6; }
18669 vtv_cygmin=no
18670 if test $enable_vtable_verify = yes; then
18671 case ${target_os} in
18672 cygwin*|mingw32*)
18673 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18674 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18675 vtv_cygmin=yes
18677 darwin*)
18678 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18679 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18681 solaris2*)
18682 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18683 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18686 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18687 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18689 esac
18690 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18691 else
18692 VTV_CXXFLAGS=
18693 VTV_PCH_CXXFLAGS=
18694 VTV_CXXLINKFLAGS=
18700 if test x$vtv_cygmin = xyes; then
18701 VTV_CYGMIN_TRUE=
18702 VTV_CYGMIN_FALSE='#'
18703 else
18704 VTV_CYGMIN_TRUE='#'
18705 VTV_CYGMIN_FALSE=
18711 # Checks for operating systems support that doesn't require linking.
18715 ac_ext=cpp
18716 ac_cpp='$CXXCPP $CPPFLAGS'
18717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18721 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18722 # and we don't need a declaration for C++14 anyway.
18723 ac_save_CXXFLAGS="$CXXFLAGS"
18724 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18727 $as_echo_n "checking for gets declaration... " >&6; }
18728 if ${glibcxx_cv_gets+:} false; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 #include <stdio.h>
18735 namespace test
18737 using ::gets;
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742 glibcxx_cv_gets=yes
18743 else
18744 glibcxx_cv_gets=no
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18751 if test $glibcxx_cv_gets = yes; then
18753 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18757 $as_echo "$glibcxx_cv_gets" >&6; }
18759 CXXFLAGS="$ac_save_CXXFLAGS"
18760 ac_ext=c
18761 ac_cpp='$CPP $CPPFLAGS'
18762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18770 ac_ext=cpp
18771 ac_cpp='$CXXCPP $CPPFLAGS'
18772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18776 ac_save_CXXFLAGS="$CXXFLAGS"
18777 CXXFLAGS="$CXXFLAGS -std=c++11"
18779 case "$host" in
18780 *-*-solaris2.*)
18781 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18782 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18784 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18785 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 #include <math.h>
18792 #undef isfinite
18793 namespace std {
18794 inline bool isfinite(float __x)
18795 { return __builtin_isfinite(__x); }
18798 _ACEOF
18799 if ac_fn_cxx_try_compile "$LINENO"; then :
18800 glibcxx_cv_math11_fp_overload=no
18801 else
18802 glibcxx_cv_math11_fp_overload=yes
18805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18809 # autoheader cannot handle indented templates.
18812 if test $glibcxx_cv_math11_fp_overload = yes; then
18813 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18817 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18819 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18820 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18822 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18823 if ${glibcxx_cv_math11_int_overload+:} false; then :
18824 $as_echo_n "(cached) " >&6
18825 else
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 #include <math.h>
18830 namespace std {
18831 template<typename _Tp>
18832 struct __is_integer;
18833 template<>
18834 struct __is_integer<int>
18836 enum { __value = 1 };
18839 namespace __gnu_cxx {
18840 template<bool, typename>
18841 struct __enable_if;
18842 template<typename _Tp>
18843 struct __enable_if<true, _Tp>
18844 { typedef _Tp __type; };
18846 namespace std {
18847 template<typename _Tp>
18848 constexpr typename __gnu_cxx::__enable_if
18849 <__is_integer<_Tp>::__value, double>::__type
18850 log2(_Tp __x)
18851 { return __builtin_log2(__x); }
18854 main (void)
18856 int i = 1000;
18857 return std::log2(i);
18860 _ACEOF
18861 if ac_fn_cxx_try_compile "$LINENO"; then :
18862 glibcxx_cv_math11_int_overload=no
18863 else
18864 glibcxx_cv_math11_int_overload=yes
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 # autoheader cannot handle indented templates.
18874 if test $glibcxx_cv_math11_int_overload = yes; then
18875 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18879 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18882 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18883 # functions (instead of or as well as the C99 generic macros) then we
18884 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18885 # and must use the ones from <math.h> instead.
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18887 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18888 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18889 $as_echo_n "(cached) " >&6
18890 else
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18895 #include <math.h>
18896 #undef isinf
18897 namespace std {
18898 using ::isinf;
18899 bool isinf(float);
18900 bool isinf(long double);
18902 using std::isinf;
18903 bool b = isinf(0.0);
18905 _ACEOF
18906 if ac_fn_cxx_try_compile "$LINENO"; then :
18907 glibcxx_cv_obsolete_isinf=yes
18908 else
18909 glibcxx_cv_obsolete_isinf=no
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18916 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18917 if test $glibcxx_cv_obsolete_isinf = yes; then
18919 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18924 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18925 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18926 $as_echo_n "(cached) " >&6
18927 else
18929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18930 /* end confdefs.h. */
18931 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18932 #include <math.h>
18933 #undef isnan
18934 namespace std {
18935 using ::isnan;
18936 bool isnan(float);
18937 bool isnan(long double);
18939 using std::isnan;
18940 bool b = isnan(0.0);
18942 _ACEOF
18943 if ac_fn_cxx_try_compile "$LINENO"; then :
18944 glibcxx_cv_obsolete_isnan=yes
18945 else
18946 glibcxx_cv_obsolete_isnan=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18953 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18954 if test $glibcxx_cv_obsolete_isnan = yes; then
18956 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18960 esac
18962 CXXFLAGS="$ac_save_CXXFLAGS"
18963 ac_ext=c
18964 ac_cpp='$CPP $CPPFLAGS'
18965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18973 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18974 if ${glibcxx_cv_system_error1+:} false; then :
18975 $as_echo_n "(cached) " >&6
18976 else
18978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18979 /* end confdefs.h. */
18980 #include <errno.h>
18982 main ()
18984 int i = EOWNERDEAD;
18986 return 0;
18988 _ACEOF
18989 if ac_fn_c_try_compile "$LINENO"; then :
18990 glibcxx_cv_system_error1=yes
18991 else
18992 glibcxx_cv_system_error1=no
18994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18999 $as_echo "$glibcxx_cv_system_error1" >&6; }
19000 if test x"$glibcxx_cv_system_error1" = x"yes"; then
19002 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
19006 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
19007 if ${glibcxx_cv_system_error2+:} false; then :
19008 $as_echo_n "(cached) " >&6
19009 else
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #include <errno.h>
19015 main ()
19017 int i = ENOTRECOVERABLE;
19019 return 0;
19021 _ACEOF
19022 if ac_fn_c_try_compile "$LINENO"; then :
19023 glibcxx_cv_system_error2=yes
19024 else
19025 glibcxx_cv_system_error2=no
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19032 $as_echo "$glibcxx_cv_system_error2" >&6; }
19033 if test x"$glibcxx_cv_system_error2" = x"yes"; then
19035 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19039 $as_echo_n "checking for ENOLINK... " >&6; }
19040 if ${glibcxx_cv_system_error3+:} false; then :
19041 $as_echo_n "(cached) " >&6
19042 else
19044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19046 #include <errno.h>
19048 main ()
19050 int i = ENOLINK;
19052 return 0;
19054 _ACEOF
19055 if ac_fn_c_try_compile "$LINENO"; then :
19056 glibcxx_cv_system_error3=yes
19057 else
19058 glibcxx_cv_system_error3=no
19060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19065 $as_echo "$glibcxx_cv_system_error3" >&6; }
19066 if test x"$glibcxx_cv_system_error3" = x"yes"; then
19068 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19072 $as_echo_n "checking for EPROTO... " >&6; }
19073 if ${glibcxx_cv_system_error4+:} false; then :
19074 $as_echo_n "(cached) " >&6
19075 else
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 #include <errno.h>
19081 main ()
19083 int i = EPROTO;
19085 return 0;
19087 _ACEOF
19088 if ac_fn_c_try_compile "$LINENO"; then :
19089 glibcxx_cv_system_error4=yes
19090 else
19091 glibcxx_cv_system_error4=no
19093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19098 $as_echo "$glibcxx_cv_system_error4" >&6; }
19099 if test x"$glibcxx_cv_system_error4" = x"yes"; then
19101 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19105 $as_echo_n "checking for ENODATA... " >&6; }
19106 if ${glibcxx_cv_system_error5+:} false; then :
19107 $as_echo_n "(cached) " >&6
19108 else
19110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 #include <errno.h>
19114 main ()
19116 int i = ENODATA;
19118 return 0;
19120 _ACEOF
19121 if ac_fn_c_try_compile "$LINENO"; then :
19122 glibcxx_cv_system_error5=yes
19123 else
19124 glibcxx_cv_system_error5=no
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19131 $as_echo "$glibcxx_cv_system_error5" >&6; }
19132 if test x"$glibcxx_cv_system_error5" = x"yes"; then
19134 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19138 $as_echo_n "checking for ENOSR... " >&6; }
19139 if ${glibcxx_cv_system_error6+:} false; then :
19140 $as_echo_n "(cached) " >&6
19141 else
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 #include <errno.h>
19147 main ()
19149 int i = ENOSR;
19151 return 0;
19153 _ACEOF
19154 if ac_fn_c_try_compile "$LINENO"; then :
19155 glibcxx_cv_system_error6=yes
19156 else
19157 glibcxx_cv_system_error6=no
19159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19164 $as_echo "$glibcxx_cv_system_error6" >&6; }
19165 if test x"$glibcxx_cv_system_error6" = x"yes"; then
19167 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19171 $as_echo_n "checking for ENOSTR... " >&6; }
19172 if ${glibcxx_cv_system_error7+:} false; then :
19173 $as_echo_n "(cached) " >&6
19174 else
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 #include <errno.h>
19180 main ()
19182 int i = ENOSTR;
19184 return 0;
19186 _ACEOF
19187 if ac_fn_c_try_compile "$LINENO"; then :
19188 glibcxx_cv_system_error7=yes
19189 else
19190 glibcxx_cv_system_error7=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19197 $as_echo "$glibcxx_cv_system_error7" >&6; }
19198 if test x"$glibcxx_cv_system_error7" = x"yes"; then
19200 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19204 $as_echo_n "checking for ETIME... " >&6; }
19205 if ${glibcxx_cv_system_error8+:} false; then :
19206 $as_echo_n "(cached) " >&6
19207 else
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 #include <errno.h>
19213 main ()
19215 int i = ETIME;
19217 return 0;
19219 _ACEOF
19220 if ac_fn_c_try_compile "$LINENO"; then :
19221 glibcxx_cv_system_error8=yes
19222 else
19223 glibcxx_cv_system_error8=no
19225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19230 $as_echo "$glibcxx_cv_system_error8" >&6; }
19231 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19233 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19237 $as_echo_n "checking for EBADMSG... " >&6; }
19238 if ${glibcxx_cv_system_error9+:} false; then :
19239 $as_echo_n "(cached) " >&6
19240 else
19242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244 #include <errno.h>
19246 main ()
19248 int i = EBADMSG;
19250 return 0;
19252 _ACEOF
19253 if ac_fn_c_try_compile "$LINENO"; then :
19254 glibcxx_cv_system_error9=yes
19255 else
19256 glibcxx_cv_system_error9=no
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19263 $as_echo "$glibcxx_cv_system_error9" >&6; }
19264 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19266 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19270 $as_echo_n "checking for ECANCELED... " >&6; }
19271 if ${glibcxx_cv_system_error10+:} false; then :
19272 $as_echo_n "(cached) " >&6
19273 else
19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19277 #include <errno.h>
19279 main ()
19281 int i = ECANCELED;
19283 return 0;
19285 _ACEOF
19286 if ac_fn_c_try_compile "$LINENO"; then :
19287 glibcxx_cv_system_error10=yes
19288 else
19289 glibcxx_cv_system_error10=no
19291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19296 $as_echo "$glibcxx_cv_system_error10" >&6; }
19297 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19299 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19303 $as_echo_n "checking for EOVERFLOW... " >&6; }
19304 if ${glibcxx_cv_system_error11+:} false; then :
19305 $as_echo_n "(cached) " >&6
19306 else
19308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19310 #include <errno.h>
19312 main ()
19314 int i = EOVERFLOW;
19316 return 0;
19318 _ACEOF
19319 if ac_fn_c_try_compile "$LINENO"; then :
19320 glibcxx_cv_system_error11=yes
19321 else
19322 glibcxx_cv_system_error11=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19329 $as_echo "$glibcxx_cv_system_error11" >&6; }
19330 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19332 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19336 $as_echo_n "checking for ENOTSUP... " >&6; }
19337 if ${glibcxx_cv_system_error12+:} false; then :
19338 $as_echo_n "(cached) " >&6
19339 else
19341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19342 /* end confdefs.h. */
19343 #include <errno.h>
19345 main ()
19347 int i = ENOTSUP;
19349 return 0;
19351 _ACEOF
19352 if ac_fn_c_try_compile "$LINENO"; then :
19353 glibcxx_cv_system_error12=yes
19354 else
19355 glibcxx_cv_system_error12=no
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19362 $as_echo "$glibcxx_cv_system_error12" >&6; }
19363 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19365 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19369 $as_echo_n "checking for EIDRM... " >&6; }
19370 if ${glibcxx_cv_system_error13+:} false; then :
19371 $as_echo_n "(cached) " >&6
19372 else
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375 /* end confdefs.h. */
19376 #include <errno.h>
19378 main ()
19380 int i = EIDRM;
19382 return 0;
19384 _ACEOF
19385 if ac_fn_c_try_compile "$LINENO"; then :
19386 glibcxx_cv_system_error13=yes
19387 else
19388 glibcxx_cv_system_error13=no
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19395 $as_echo "$glibcxx_cv_system_error13" >&6; }
19396 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19398 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19402 $as_echo_n "checking for ETXTBSY... " >&6; }
19403 if ${glibcxx_cv_system_error14+:} false; then :
19404 $as_echo_n "(cached) " >&6
19405 else
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19409 #include <errno.h>
19411 main ()
19413 int i = ETXTBSY;
19415 return 0;
19417 _ACEOF
19418 if ac_fn_c_try_compile "$LINENO"; then :
19419 glibcxx_cv_system_error14=yes
19420 else
19421 glibcxx_cv_system_error14=no
19423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19428 $as_echo "$glibcxx_cv_system_error14" >&6; }
19429 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19431 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19435 $as_echo_n "checking for ECHILD... " >&6; }
19436 if ${glibcxx_cv_system_error15+:} false; then :
19437 $as_echo_n "(cached) " >&6
19438 else
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19442 #include <errno.h>
19444 main ()
19446 int i = ECHILD;
19448 return 0;
19450 _ACEOF
19451 if ac_fn_c_try_compile "$LINENO"; then :
19452 glibcxx_cv_system_error15=yes
19453 else
19454 glibcxx_cv_system_error15=no
19456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19461 $as_echo "$glibcxx_cv_system_error15" >&6; }
19462 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19464 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19468 $as_echo_n "checking for ENOSPC... " >&6; }
19469 if ${glibcxx_cv_system_error16+:} false; then :
19470 $as_echo_n "(cached) " >&6
19471 else
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 #include <errno.h>
19477 main ()
19479 int i = ENOSPC;
19481 return 0;
19483 _ACEOF
19484 if ac_fn_c_try_compile "$LINENO"; then :
19485 glibcxx_cv_system_error16=yes
19486 else
19487 glibcxx_cv_system_error16=no
19489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19494 $as_echo "$glibcxx_cv_system_error16" >&6; }
19495 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19497 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19501 $as_echo_n "checking for EPERM... " >&6; }
19502 if ${glibcxx_cv_system_error17+:} false; then :
19503 $as_echo_n "(cached) " >&6
19504 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #include <errno.h>
19510 main ()
19512 int i = EPERM;
19514 return 0;
19516 _ACEOF
19517 if ac_fn_c_try_compile "$LINENO"; then :
19518 glibcxx_cv_system_error17=yes
19519 else
19520 glibcxx_cv_system_error17=no
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19527 $as_echo "$glibcxx_cv_system_error17" >&6; }
19528 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19530 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19534 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19535 if ${glibcxx_cv_system_error18+:} false; then :
19536 $as_echo_n "(cached) " >&6
19537 else
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 #include <errno.h>
19543 main ()
19545 int i = ETIMEDOUT;
19547 return 0;
19549 _ACEOF
19550 if ac_fn_c_try_compile "$LINENO"; then :
19551 glibcxx_cv_system_error18=yes
19552 else
19553 glibcxx_cv_system_error18=no
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19560 $as_echo "$glibcxx_cv_system_error18" >&6; }
19561 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19563 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19567 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19568 if ${glibcxx_cv_system_error19+:} false; then :
19569 $as_echo_n "(cached) " >&6
19570 else
19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19574 #include <errno.h>
19576 main ()
19578 int i = EWOULDBLOCK;
19580 return 0;
19582 _ACEOF
19583 if ac_fn_c_try_compile "$LINENO"; then :
19584 glibcxx_cv_system_error19=yes
19585 else
19586 glibcxx_cv_system_error19=no
19588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19593 $as_echo "$glibcxx_cv_system_error19" >&6; }
19594 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19596 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19603 # Test uchar.h.
19604 for ac_header in uchar.h
19605 do :
19606 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19607 if test "x$ac_cv_header_uchar_h" = xyes; then :
19608 cat >>confdefs.h <<_ACEOF
19609 #define HAVE_UCHAR_H 1
19610 _ACEOF
19611 ac_has_uchar_h=yes
19612 else
19613 ac_has_uchar_h=no
19616 done
19620 ac_ext=cpp
19621 ac_cpp='$CXXCPP $CPPFLAGS'
19622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19626 ac_save_CXXFLAGS="$CXXFLAGS"
19627 CXXFLAGS="$CXXFLAGS -std=c++11"
19629 if test x"$ac_has_uchar_h" = x"yes"; then
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19631 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633 /* end confdefs.h. */
19634 #include <uchar.h>
19635 #ifdef __STDC_UTF_16__
19636 long i = __STDC_UTF_16__;
19637 #endif
19638 #ifdef __STDC_UTF_32__
19639 long j = __STDC_UTF_32__;
19640 #endif
19641 namespace test
19643 using ::c16rtomb;
19644 using ::c32rtomb;
19645 using ::mbrtoc16;
19646 using ::mbrtoc32;
19650 main ()
19654 return 0;
19656 _ACEOF
19657 if ac_fn_cxx_try_compile "$LINENO"; then :
19658 ac_c11_uchar_cxx11=yes
19659 else
19660 ac_c11_uchar_cxx11=no
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 else
19664 ac_c11_uchar_cxx11=no
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19667 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19668 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19670 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19674 CXXFLAGS="$ac_save_CXXFLAGS"
19675 ac_ext=c
19676 ac_cpp='$CPP $CPPFLAGS'
19677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19683 # For the streamoff typedef.
19687 ac_ext=cpp
19688 ac_cpp='$CXXCPP $CPPFLAGS'
19689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19695 $as_echo_n "checking for int64_t... " >&6; }
19696 if ${glibcxx_cv_INT64_T+:} false; then :
19697 $as_echo_n "(cached) " >&6
19698 else
19700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701 /* end confdefs.h. */
19702 #include <stdint.h>
19704 main ()
19706 int64_t var;
19708 return 0;
19710 _ACEOF
19711 if ac_fn_cxx_try_compile "$LINENO"; then :
19712 glibcxx_cv_INT64_T=yes
19713 else
19714 glibcxx_cv_INT64_T=no
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 if test $glibcxx_cv_INT64_T = yes; then
19723 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19726 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19729 $as_echo_n "checking for int64_t as long... " >&6; }
19730 if ${glibcxx_cv_int64_t_long+:} false; then :
19731 $as_echo_n "(cached) " >&6
19732 else
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19736 #include <stdint.h>
19737 template<typename, typename> struct same { enum { value = -1 }; };
19738 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19739 int array[same<int64_t, long>::value];
19741 main ()
19745 return 0;
19747 _ACEOF
19748 if ac_fn_cxx_try_compile "$LINENO"; then :
19749 glibcxx_cv_int64_t_long=yes
19750 else
19751 glibcxx_cv_int64_t_long=no
19753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19758 if test $glibcxx_cv_int64_t_long = yes; then
19760 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19763 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19767 $as_echo_n "checking for int64_t as long long... " >&6; }
19768 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19769 $as_echo_n "(cached) " >&6
19770 else
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19774 #include <stdint.h>
19775 template<typename, typename> struct same { enum { value = -1 }; };
19776 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19777 int array[same<int64_t, long long>::value];
19779 main ()
19783 return 0;
19785 _ACEOF
19786 if ac_fn_cxx_try_compile "$LINENO"; then :
19787 glibcxx_cv_int64_t_long_long=yes
19788 else
19789 glibcxx_cv_int64_t_long_long=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 if test $glibcxx_cv_int64_t_long_long = yes; then
19798 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19801 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19805 ac_ext=c
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19813 # For LFS support.
19816 ac_ext=cpp
19817 ac_cpp='$CXXCPP $CPPFLAGS'
19818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19822 ac_save_CXXFLAGS="$CXXFLAGS"
19823 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19825 $as_echo_n "checking for LFS support... " >&6; }
19826 if ${glibcxx_cv_LFS+:} false; then :
19827 $as_echo_n "(cached) " >&6
19828 else
19830 if test x$gcc_no_link = xyes; then
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833 #include <unistd.h>
19834 #include <stdio.h>
19835 #include <sys/stat.h>
19838 main ()
19840 FILE* fp;
19841 fopen64("t", "w");
19842 fseeko64(fp, 0, SEEK_CUR);
19843 ftello64(fp);
19844 lseek64(1, 0, SEEK_CUR);
19845 struct stat64 buf;
19846 fstat64(1, &buf);
19848 return 0;
19850 _ACEOF
19851 if ac_fn_cxx_try_compile "$LINENO"; then :
19852 glibcxx_cv_LFS=yes
19853 else
19854 glibcxx_cv_LFS=no
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19857 else
19858 if test x$gcc_no_link = xyes; then
19859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19863 #include <unistd.h>
19864 #include <stdio.h>
19865 #include <sys/stat.h>
19868 main ()
19870 FILE* fp;
19871 fopen64("t", "w");
19872 fseeko64(fp, 0, SEEK_CUR);
19873 ftello64(fp);
19874 lseek64(1, 0, SEEK_CUR);
19875 struct stat64 buf;
19876 fstat64(1, &buf);
19878 return 0;
19880 _ACEOF
19881 if ac_fn_cxx_try_link "$LINENO"; then :
19882 glibcxx_cv_LFS=yes
19883 else
19884 glibcxx_cv_LFS=no
19886 rm -f core conftest.err conftest.$ac_objext \
19887 conftest$ac_exeext conftest.$ac_ext
19892 if test $glibcxx_cv_LFS = yes; then
19894 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19898 $as_echo "$glibcxx_cv_LFS" >&6; }
19899 CXXFLAGS="$ac_save_CXXFLAGS"
19900 ac_ext=c
19901 ac_cpp='$CPP $CPPFLAGS'
19902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19908 # For showmanyc_helper().
19909 for ac_header in sys/ioctl.h sys/filio.h
19910 do :
19911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19912 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19914 cat >>confdefs.h <<_ACEOF
19915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19916 _ACEOF
19920 done
19925 ac_ext=cpp
19926 ac_cpp='$CXXCPP $CPPFLAGS'
19927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19931 ac_save_CXXFLAGS="$CXXFLAGS"
19932 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19935 $as_echo_n "checking for poll... " >&6; }
19936 if ${glibcxx_cv_POLL+:} false; then :
19937 $as_echo_n "(cached) " >&6
19938 else
19940 if test x$gcc_no_link = xyes; then
19941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19943 #include <poll.h>
19945 main ()
19947 struct pollfd pfd[1];
19948 pfd[0].events = POLLIN;
19949 poll(pfd, 1, 0);
19951 return 0;
19953 _ACEOF
19954 if ac_fn_cxx_try_compile "$LINENO"; then :
19955 glibcxx_cv_POLL=yes
19956 else
19957 glibcxx_cv_POLL=no
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960 else
19961 if test x$gcc_no_link = xyes; then
19962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19965 /* end confdefs.h. */
19966 #include <poll.h>
19968 main ()
19970 struct pollfd pfd[1];
19971 pfd[0].events = POLLIN;
19972 poll(pfd, 1, 0);
19974 return 0;
19976 _ACEOF
19977 if ac_fn_cxx_try_link "$LINENO"; then :
19978 glibcxx_cv_POLL=yes
19979 else
19980 glibcxx_cv_POLL=no
19982 rm -f core conftest.err conftest.$ac_objext \
19983 conftest$ac_exeext conftest.$ac_ext
19988 if test $glibcxx_cv_POLL = yes; then
19990 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19994 $as_echo "$glibcxx_cv_POLL" >&6; }
19996 CXXFLAGS="$ac_save_CXXFLAGS"
19997 ac_ext=c
19998 ac_cpp='$CPP $CPPFLAGS'
19999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20007 ac_ext=cpp
20008 ac_cpp='$CXXCPP $CPPFLAGS'
20009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20013 ac_save_CXXFLAGS="$CXXFLAGS"
20014 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20017 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20018 if ${glibcxx_cv_S_ISREG+:} false; then :
20019 $as_echo_n "(cached) " >&6
20020 else
20022 if test x$gcc_no_link = xyes; then
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20025 #include <sys/stat.h>
20027 main ()
20029 struct stat buffer;
20030 fstat(0, &buffer);
20031 S_ISREG(buffer.st_mode);
20033 return 0;
20035 _ACEOF
20036 if ac_fn_cxx_try_compile "$LINENO"; then :
20037 glibcxx_cv_S_ISREG=yes
20038 else
20039 glibcxx_cv_S_ISREG=no
20041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20042 else
20043 if test x$gcc_no_link = xyes; then
20044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20047 /* end confdefs.h. */
20048 #include <sys/stat.h>
20050 main ()
20052 struct stat buffer;
20053 fstat(0, &buffer);
20054 S_ISREG(buffer.st_mode);
20056 return 0;
20058 _ACEOF
20059 if ac_fn_cxx_try_link "$LINENO"; then :
20060 glibcxx_cv_S_ISREG=yes
20061 else
20062 glibcxx_cv_S_ISREG=no
20064 rm -f core conftest.err conftest.$ac_objext \
20065 conftest$ac_exeext conftest.$ac_ext
20070 if ${glibcxx_cv_S_IFREG+:} false; then :
20071 $as_echo_n "(cached) " >&6
20072 else
20074 if test x$gcc_no_link = xyes; then
20075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20077 #include <sys/stat.h>
20079 main ()
20081 struct stat buffer;
20082 fstat(0, &buffer);
20083 S_IFREG & buffer.st_mode;
20085 return 0;
20087 _ACEOF
20088 if ac_fn_cxx_try_compile "$LINENO"; then :
20089 glibcxx_cv_S_IFREG=yes
20090 else
20091 glibcxx_cv_S_IFREG=no
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 else
20095 if test x$gcc_no_link = xyes; then
20096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h. */
20100 #include <sys/stat.h>
20102 main ()
20104 struct stat buffer;
20105 fstat(0, &buffer);
20106 S_IFREG & buffer.st_mode;
20108 return 0;
20110 _ACEOF
20111 if ac_fn_cxx_try_link "$LINENO"; then :
20112 glibcxx_cv_S_IFREG=yes
20113 else
20114 glibcxx_cv_S_IFREG=no
20116 rm -f core conftest.err conftest.$ac_objext \
20117 conftest$ac_exeext conftest.$ac_ext
20122 res=no
20123 if test $glibcxx_cv_S_ISREG = yes; then
20125 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20127 res=S_ISREG
20128 elif test $glibcxx_cv_S_IFREG = yes; then
20130 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20132 res=S_IFREG
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20135 $as_echo "$res" >&6; }
20137 CXXFLAGS="$ac_save_CXXFLAGS"
20138 ac_ext=c
20139 ac_cpp='$CPP $CPPFLAGS'
20140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20146 # For xsputn_2().
20147 for ac_header in sys/uio.h
20148 do :
20149 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20150 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20151 cat >>confdefs.h <<_ACEOF
20152 #define HAVE_SYS_UIO_H 1
20153 _ACEOF
20157 done
20162 ac_ext=cpp
20163 ac_cpp='$CXXCPP $CPPFLAGS'
20164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20168 ac_save_CXXFLAGS="$CXXFLAGS"
20169 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20172 $as_echo_n "checking for writev... " >&6; }
20173 if ${glibcxx_cv_WRITEV+:} false; then :
20174 $as_echo_n "(cached) " >&6
20175 else
20177 if test x$gcc_no_link = xyes; then
20178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20179 /* end confdefs.h. */
20180 #include <sys/uio.h>
20182 main ()
20184 struct iovec iov[2];
20185 writev(0, iov, 0);
20187 return 0;
20189 _ACEOF
20190 if ac_fn_cxx_try_compile "$LINENO"; then :
20191 glibcxx_cv_WRITEV=yes
20192 else
20193 glibcxx_cv_WRITEV=no
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 else
20197 if test x$gcc_no_link = xyes; then
20198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20202 #include <sys/uio.h>
20204 main ()
20206 struct iovec iov[2];
20207 writev(0, iov, 0);
20209 return 0;
20211 _ACEOF
20212 if ac_fn_cxx_try_link "$LINENO"; then :
20213 glibcxx_cv_WRITEV=yes
20214 else
20215 glibcxx_cv_WRITEV=no
20217 rm -f core conftest.err conftest.$ac_objext \
20218 conftest$ac_exeext conftest.$ac_ext
20223 if test $glibcxx_cv_WRITEV = yes; then
20225 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20229 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20231 CXXFLAGS="$ac_save_CXXFLAGS"
20232 ac_ext=c
20233 ac_cpp='$CPP $CPPFLAGS'
20234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20240 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20241 # so that the check is done with the C compiler (not C++).
20242 # Checking with C++ can break a canadian cross build if either
20243 # file does not exist in C but does in C++.
20244 for ac_header in fenv.h complex.h
20245 do :
20246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20247 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20248 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20249 cat >>confdefs.h <<_ACEOF
20250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20251 _ACEOF
20255 done
20258 # For C99 support to TR1.
20262 ac_ext=cpp
20263 ac_cpp='$CXXCPP $CPPFLAGS'
20264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20269 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20270 # undefined and fake C99 facilities may be spuriously enabled.
20271 ac_save_CXXFLAGS="$CXXFLAGS"
20272 CXXFLAGS="$CXXFLAGS -std=c++98"
20274 # Check for the existence of <complex.h> complex math functions used
20275 # by tr1/complex.
20276 for ac_header in complex.h
20277 do :
20278 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20279 if test "x$ac_cv_header_complex_h" = xyes; then :
20280 cat >>confdefs.h <<_ACEOF
20281 #define HAVE_COMPLEX_H 1
20282 _ACEOF
20283 ac_has_complex_h=yes
20284 else
20285 ac_has_complex_h=no
20288 done
20290 ac_c99_complex_tr1=no;
20291 if test x"$ac_has_complex_h" = x"yes"; then
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20293 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20295 /* end confdefs.h. */
20296 #include <complex.h>
20298 main ()
20300 typedef __complex__ float float_type; float_type tmpf;
20301 cacosf(tmpf);
20302 casinf(tmpf);
20303 catanf(tmpf);
20304 cacoshf(tmpf);
20305 casinhf(tmpf);
20306 catanhf(tmpf);
20307 typedef __complex__ double double_type; double_type tmpd;
20308 cacos(tmpd);
20309 casin(tmpd);
20310 catan(tmpd);
20311 cacosh(tmpd);
20312 casinh(tmpd);
20313 catanh(tmpd);
20314 typedef __complex__ long double ld_type; ld_type tmpld;
20315 cacosl(tmpld);
20316 casinl(tmpld);
20317 catanl(tmpld);
20318 cacoshl(tmpld);
20319 casinhl(tmpld);
20320 catanhl(tmpld);
20323 return 0;
20325 _ACEOF
20326 if ac_fn_cxx_try_compile "$LINENO"; then :
20327 ac_c99_complex_tr1=yes
20328 else
20329 ac_c99_complex_tr1=no
20331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20334 $as_echo "$ac_c99_complex_tr1" >&6; }
20335 if test x"$ac_c99_complex_tr1" = x"yes"; then
20337 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20341 # Check for the existence of <ctype.h> functions.
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20343 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20344 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20345 $as_echo_n "(cached) " >&6
20346 else
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #include <ctype.h>
20352 main ()
20354 int ch;
20355 int ret;
20356 ret = isblank(ch);
20359 return 0;
20361 _ACEOF
20362 if ac_fn_cxx_try_compile "$LINENO"; then :
20363 glibcxx_cv_c99_ctype_tr1=yes
20364 else
20365 glibcxx_cv_c99_ctype_tr1=no
20367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20372 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20373 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20375 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20379 # Check for the existence of <fenv.h> functions.
20380 for ac_header in fenv.h
20381 do :
20382 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20383 if test "x$ac_cv_header_fenv_h" = xyes; then :
20384 cat >>confdefs.h <<_ACEOF
20385 #define HAVE_FENV_H 1
20386 _ACEOF
20387 ac_has_fenv_h=yes
20388 else
20389 ac_has_fenv_h=no
20392 done
20394 ac_c99_fenv_tr1=no;
20395 if test x"$ac_has_fenv_h" = x"yes"; then
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20397 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20399 /* end confdefs.h. */
20400 #include <fenv.h>
20402 main ()
20404 int except, mode;
20405 fexcept_t* pflag;
20406 fenv_t* penv;
20407 int ret;
20408 ret = feclearexcept(except);
20409 ret = fegetexceptflag(pflag, except);
20410 ret = feraiseexcept(except);
20411 ret = fesetexceptflag(pflag, except);
20412 ret = fetestexcept(except);
20413 ret = fegetround();
20414 ret = fesetround(mode);
20415 ret = fegetenv(penv);
20416 ret = feholdexcept(penv);
20417 ret = fesetenv(penv);
20418 ret = feupdateenv(penv);
20421 return 0;
20423 _ACEOF
20424 if ac_fn_cxx_try_compile "$LINENO"; then :
20425 ac_c99_fenv_tr1=yes
20426 else
20427 ac_c99_fenv_tr1=no
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20432 $as_echo "$ac_c99_fenv_tr1" >&6; }
20433 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20435 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20439 # Check for the existence of <stdint.h> types.
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20441 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20442 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20443 $as_echo_n "(cached) " >&6
20444 else
20446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20447 /* end confdefs.h. */
20448 #define __STDC_LIMIT_MACROS
20449 #define __STDC_CONSTANT_MACROS
20450 #include <stdint.h>
20452 main ()
20454 typedef int8_t my_int8_t;
20455 my_int8_t i8 = INT8_MIN;
20456 i8 = INT8_MAX;
20457 typedef int16_t my_int16_t;
20458 my_int16_t i16 = INT16_MIN;
20459 i16 = INT16_MAX;
20460 typedef int32_t my_int32_t;
20461 my_int32_t i32 = INT32_MIN;
20462 i32 = INT32_MAX;
20463 typedef int64_t my_int64_t;
20464 my_int64_t i64 = INT64_MIN;
20465 i64 = INT64_MAX;
20466 typedef int_fast8_t my_int_fast8_t;
20467 my_int_fast8_t if8 = INT_FAST8_MIN;
20468 if8 = INT_FAST8_MAX;
20469 typedef int_fast16_t my_int_fast16_t;
20470 my_int_fast16_t if16 = INT_FAST16_MIN;
20471 if16 = INT_FAST16_MAX;
20472 typedef int_fast32_t my_int_fast32_t;
20473 my_int_fast32_t if32 = INT_FAST32_MIN;
20474 if32 = INT_FAST32_MAX;
20475 typedef int_fast64_t my_int_fast64_t;
20476 my_int_fast64_t if64 = INT_FAST64_MIN;
20477 if64 = INT_FAST64_MAX;
20478 typedef int_least8_t my_int_least8_t;
20479 my_int_least8_t il8 = INT_LEAST8_MIN;
20480 il8 = INT_LEAST8_MAX;
20481 typedef int_least16_t my_int_least16_t;
20482 my_int_least16_t il16 = INT_LEAST16_MIN;
20483 il16 = INT_LEAST16_MAX;
20484 typedef int_least32_t my_int_least32_t;
20485 my_int_least32_t il32 = INT_LEAST32_MIN;
20486 il32 = INT_LEAST32_MAX;
20487 typedef int_least64_t my_int_least64_t;
20488 my_int_least64_t il64 = INT_LEAST64_MIN;
20489 il64 = INT_LEAST64_MAX;
20490 typedef intmax_t my_intmax_t;
20491 my_intmax_t im = INTMAX_MAX;
20492 im = INTMAX_MIN;
20493 typedef intptr_t my_intptr_t;
20494 my_intptr_t ip = INTPTR_MAX;
20495 ip = INTPTR_MIN;
20496 typedef uint8_t my_uint8_t;
20497 my_uint8_t ui8 = UINT8_MAX;
20498 ui8 = UINT8_MAX;
20499 typedef uint16_t my_uint16_t;
20500 my_uint16_t ui16 = UINT16_MAX;
20501 ui16 = UINT16_MAX;
20502 typedef uint32_t my_uint32_t;
20503 my_uint32_t ui32 = UINT32_MAX;
20504 ui32 = UINT32_MAX;
20505 typedef uint64_t my_uint64_t;
20506 my_uint64_t ui64 = UINT64_MAX;
20507 ui64 = UINT64_MAX;
20508 typedef uint_fast8_t my_uint_fast8_t;
20509 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20510 uif8 = UINT_FAST8_MAX;
20511 typedef uint_fast16_t my_uint_fast16_t;
20512 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20513 uif16 = UINT_FAST16_MAX;
20514 typedef uint_fast32_t my_uint_fast32_t;
20515 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20516 uif32 = UINT_FAST32_MAX;
20517 typedef uint_fast64_t my_uint_fast64_t;
20518 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20519 uif64 = UINT_FAST64_MAX;
20520 typedef uint_least8_t my_uint_least8_t;
20521 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20522 uil8 = UINT_LEAST8_MAX;
20523 typedef uint_least16_t my_uint_least16_t;
20524 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20525 uil16 = UINT_LEAST16_MAX;
20526 typedef uint_least32_t my_uint_least32_t;
20527 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20528 uil32 = UINT_LEAST32_MAX;
20529 typedef uint_least64_t my_uint_least64_t;
20530 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20531 uil64 = UINT_LEAST64_MAX;
20532 typedef uintmax_t my_uintmax_t;
20533 my_uintmax_t uim = UINTMAX_MAX;
20534 uim = UINTMAX_MAX;
20535 typedef uintptr_t my_uintptr_t;
20536 my_uintptr_t uip = UINTPTR_MAX;
20537 uip = UINTPTR_MAX;
20540 return 0;
20542 _ACEOF
20543 if ac_fn_cxx_try_compile "$LINENO"; then :
20544 glibcxx_cv_c99_stdint_tr1=yes
20545 else
20546 glibcxx_cv_c99_stdint_tr1=no
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20553 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20554 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20556 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20560 # Check for the existence of <math.h> functions.
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20562 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20563 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20564 $as_echo_n "(cached) " >&6
20565 else
20567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20568 /* end confdefs.h. */
20569 #include <math.h>
20571 main ()
20573 typedef double_t my_double_t;
20574 typedef float_t my_float_t;
20575 acosh(0.0);
20576 acoshf(0.0f);
20577 acoshl(0.0l);
20578 asinh(0.0);
20579 asinhf(0.0f);
20580 asinhl(0.0l);
20581 atanh(0.0);
20582 atanhf(0.0f);
20583 atanhl(0.0l);
20584 cbrt(0.0);
20585 cbrtf(0.0f);
20586 cbrtl(0.0l);
20587 copysign(0.0, 0.0);
20588 copysignf(0.0f, 0.0f);
20589 copysignl(0.0l, 0.0l);
20590 erf(0.0);
20591 erff(0.0f);
20592 erfl(0.0l);
20593 erfc(0.0);
20594 erfcf(0.0f);
20595 erfcl(0.0l);
20596 exp2(0.0);
20597 exp2f(0.0f);
20598 exp2l(0.0l);
20599 expm1(0.0);
20600 expm1f(0.0f);
20601 expm1l(0.0l);
20602 fdim(0.0, 0.0);
20603 fdimf(0.0f, 0.0f);
20604 fdiml(0.0l, 0.0l);
20605 fma(0.0, 0.0, 0.0);
20606 fmaf(0.0f, 0.0f, 0.0f);
20607 fmal(0.0l, 0.0l, 0.0l);
20608 fmax(0.0, 0.0);
20609 fmaxf(0.0f, 0.0f);
20610 fmaxl(0.0l, 0.0l);
20611 fmin(0.0, 0.0);
20612 fminf(0.0f, 0.0f);
20613 fminl(0.0l, 0.0l);
20614 hypot(0.0, 0.0);
20615 hypotf(0.0f, 0.0f);
20616 hypotl(0.0l, 0.0l);
20617 ilogb(0.0);
20618 ilogbf(0.0f);
20619 ilogbl(0.0l);
20620 lgamma(0.0);
20621 lgammaf(0.0f);
20622 lgammal(0.0l);
20623 #ifndef __APPLE__ /* see below */
20624 llrint(0.0);
20625 llrintf(0.0f);
20626 llrintl(0.0l);
20627 llround(0.0);
20628 llroundf(0.0f);
20629 llroundl(0.0l);
20630 #endif
20631 log1p(0.0);
20632 log1pf(0.0f);
20633 log1pl(0.0l);
20634 log2(0.0);
20635 log2f(0.0f);
20636 log2l(0.0l);
20637 logb(0.0);
20638 logbf(0.0f);
20639 logbl(0.0l);
20640 lrint(0.0);
20641 lrintf(0.0f);
20642 lrintl(0.0l);
20643 lround(0.0);
20644 lroundf(0.0f);
20645 lroundl(0.0l);
20646 nan(0);
20647 nanf(0);
20648 nanl(0);
20649 nearbyint(0.0);
20650 nearbyintf(0.0f);
20651 nearbyintl(0.0l);
20652 nextafter(0.0, 0.0);
20653 nextafterf(0.0f, 0.0f);
20654 nextafterl(0.0l, 0.0l);
20655 nexttoward(0.0, 0.0);
20656 nexttowardf(0.0f, 0.0f);
20657 nexttowardl(0.0l, 0.0l);
20658 remainder(0.0, 0.0);
20659 remainderf(0.0f, 0.0f);
20660 remainderl(0.0l, 0.0l);
20661 remquo(0.0, 0.0, 0);
20662 remquof(0.0f, 0.0f, 0);
20663 remquol(0.0l, 0.0l, 0);
20664 rint(0.0);
20665 rintf(0.0f);
20666 rintl(0.0l);
20667 round(0.0);
20668 roundf(0.0f);
20669 roundl(0.0l);
20670 scalbln(0.0, 0l);
20671 scalblnf(0.0f, 0l);
20672 scalblnl(0.0l, 0l);
20673 scalbn(0.0, 0);
20674 scalbnf(0.0f, 0);
20675 scalbnl(0.0l, 0);
20676 tgamma(0.0);
20677 tgammaf(0.0f);
20678 tgammal(0.0l);
20679 trunc(0.0);
20680 truncf(0.0f);
20681 truncl(0.0l);
20684 return 0;
20686 _ACEOF
20687 if ac_fn_cxx_try_compile "$LINENO"; then :
20688 glibcxx_cv_c99_math_tr1=yes
20689 else
20690 glibcxx_cv_c99_math_tr1=no
20692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20697 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20698 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20700 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20703 case "${target_os}" in
20704 darwin*)
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20706 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20707 if ${glibcxx_cv_c99_math_llround+:} false; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20713 #include <math.h>
20715 main ()
20717 llrint(0.0);
20718 llrintf(0.0f);
20719 llrintl(0.0l);
20720 llround(0.0);
20721 llroundf(0.0f);
20722 llroundl(0.0l);
20725 return 0;
20727 _ACEOF
20728 if ac_fn_cxx_try_compile "$LINENO"; then :
20729 glibcxx_cv_c99_math_llround=yes
20730 else
20731 glibcxx_cv_c99_math_llround=no
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20738 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20740 esac
20741 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20743 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20748 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20749 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20750 ac_c99_inttypes_tr1=no;
20751 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20753 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20756 #include <inttypes.h>
20758 main ()
20760 intmax_t i, numer, denom, base;
20761 const char* s;
20762 char** endptr;
20763 intmax_t ret = imaxabs(i);
20764 imaxdiv_t dret = imaxdiv(numer, denom);
20765 ret = strtoimax(s, endptr, base);
20766 uintmax_t uret = strtoumax(s, endptr, base);
20769 return 0;
20771 _ACEOF
20772 if ac_fn_cxx_try_compile "$LINENO"; then :
20773 ac_c99_inttypes_tr1=yes
20774 else
20775 ac_c99_inttypes_tr1=no
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20780 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20781 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20783 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20787 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20788 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20789 ac_c99_inttypes_wchar_t_tr1=no;
20790 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20792 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20794 /* end confdefs.h. */
20795 #include <inttypes.h>
20797 main ()
20799 intmax_t base;
20800 const wchar_t* s;
20801 wchar_t** endptr;
20802 intmax_t ret = wcstoimax(s, endptr, base);
20803 uintmax_t uret = wcstoumax(s, endptr, base);
20806 return 0;
20808 _ACEOF
20809 if ac_fn_cxx_try_compile "$LINENO"; then :
20810 ac_c99_inttypes_wchar_t_tr1=yes
20811 else
20812 ac_c99_inttypes_wchar_t_tr1=no
20814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20817 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20818 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20820 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20824 # Check for the existence of the <stdbool.h> header.
20825 for ac_header in stdbool.h
20826 do :
20827 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20828 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20829 cat >>confdefs.h <<_ACEOF
20830 #define HAVE_STDBOOL_H 1
20831 _ACEOF
20835 done
20838 # Check for the existence of the <stdalign.h> header.
20839 for ac_header in stdalign.h
20840 do :
20841 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20842 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20843 cat >>confdefs.h <<_ACEOF
20844 #define HAVE_STDALIGN_H 1
20845 _ACEOF
20849 done
20852 CXXFLAGS="$ac_save_CXXFLAGS"
20853 ac_ext=c
20854 ac_cpp='$CPP $CPPFLAGS'
20855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20861 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20865 $as_echo_n "checking for the value of EOF... " >&6; }
20866 if ${glibcxx_cv_stdio_eof+:} false; then :
20867 $as_echo_n "(cached) " >&6
20868 else
20870 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20872 else
20873 as_fn_error $? "computing EOF failed" "$LINENO" 5
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20879 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20881 cat >>confdefs.h <<_ACEOF
20882 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20883 _ACEOF
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20887 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20888 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20889 $as_echo_n "(cached) " >&6
20890 else
20892 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20894 else
20895 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20901 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20903 cat >>confdefs.h <<_ACEOF
20904 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20905 _ACEOF
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20909 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20910 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20911 $as_echo_n "(cached) " >&6
20912 else
20914 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20916 else
20917 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20923 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20925 cat >>confdefs.h <<_ACEOF
20926 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20927 _ACEOF
20931 # For gettimeofday support.
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20935 $as_echo_n "checking for gettimeofday... " >&6; }
20938 ac_ext=cpp
20939 ac_cpp='$CXXCPP $CPPFLAGS'
20940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20944 ac_save_CXXFLAGS="$CXXFLAGS"
20945 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20947 ac_has_gettimeofday=no;
20948 for ac_header in sys/time.h
20949 do :
20950 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20951 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20952 cat >>confdefs.h <<_ACEOF
20953 #define HAVE_SYS_TIME_H 1
20954 _ACEOF
20955 ac_has_sys_time_h=yes
20956 else
20957 ac_has_sys_time_h=no
20960 done
20962 if test x"$ac_has_sys_time_h" = x"yes"; then
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20964 $as_echo_n "checking for gettimeofday... " >&6; }
20965 if test x$gcc_no_link = xyes; then
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #include <sys/time.h>
20970 main ()
20972 timeval tv; gettimeofday(&tv, 0);
20974 return 0;
20976 _ACEOF
20977 if ac_fn_cxx_try_compile "$LINENO"; then :
20978 ac_has_gettimeofday=yes
20979 else
20980 ac_has_gettimeofday=no
20982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20983 else
20984 if test x$gcc_no_link = xyes; then
20985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #include <sys/time.h>
20991 main ()
20993 timeval tv; gettimeofday(&tv, 0);
20995 return 0;
20997 _ACEOF
20998 if ac_fn_cxx_try_link "$LINENO"; then :
20999 ac_has_gettimeofday=yes
21000 else
21001 ac_has_gettimeofday=no
21003 rm -f core conftest.err conftest.$ac_objext \
21004 conftest$ac_exeext conftest.$ac_ext
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21008 $as_echo "$ac_has_gettimeofday" >&6; }
21011 if test x"$ac_has_gettimeofday" = x"yes"; then
21013 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21017 CXXFLAGS="$ac_save_CXXFLAGS"
21018 ac_ext=c
21019 ac_cpp='$CPP $CPPFLAGS'
21020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21026 # For clock_gettime, nanosleep and sched_yield support.
21029 # Check whether --enable-libstdcxx-time was given.
21030 if test "${enable_libstdcxx_time+set}" = set; then :
21031 enableval=$enable_libstdcxx_time;
21032 case "$enableval" in
21033 yes|no|rt) ;;
21034 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21035 esac
21037 else
21038 enable_libstdcxx_time=auto
21044 ac_ext=cpp
21045 ac_cpp='$CXXCPP $CPPFLAGS'
21046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21050 ac_save_CXXFLAGS="$CXXFLAGS"
21051 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21052 ac_save_LIBS="$LIBS"
21054 ac_has_clock_monotonic=no
21055 ac_has_clock_realtime=no
21056 ac_has_nanosleep=no
21057 ac_has_sched_yield=no
21059 if test x"$enable_libstdcxx_time" = x"auto"; then
21061 case "${target_os}" in
21062 cygwin*)
21063 ac_has_nanosleep=yes
21065 darwin*)
21066 ac_has_nanosleep=yes
21067 ac_has_sched_yield=yes
21069 # VxWorks has nanosleep as soon as the kernel is configured with
21070 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21071 vxworks*)
21072 ac_has_nanosleep=yes
21074 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21075 # Don't use link test for freestanding library, in case gcc_no_link=yes
21076 if test x"$is_hosted" = xyes; then
21077 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21079 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21080 if ${ac_cv_search_clock_gettime+:} false; then :
21081 $as_echo_n "(cached) " >&6
21082 else
21083 ac_func_search_save_LIBS=$LIBS
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21087 /* Override any GCC internal prototype to avoid an error.
21088 Use char because int might match the return type of a GCC
21089 builtin and then its argument prototype would still apply. */
21090 #ifdef __cplusplus
21091 extern "C"
21092 #endif
21093 char clock_gettime ();
21095 main ()
21097 return clock_gettime ();
21099 return 0;
21101 _ACEOF
21102 for ac_lib in '' rt; do
21103 if test -z "$ac_lib"; then
21104 ac_res="none required"
21105 else
21106 ac_res=-l$ac_lib
21107 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21109 if test x$gcc_no_link = xyes; then
21110 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21112 if ac_fn_cxx_try_link "$LINENO"; then :
21113 ac_cv_search_clock_gettime=$ac_res
21115 rm -f core conftest.err conftest.$ac_objext \
21116 conftest$ac_exeext
21117 if ${ac_cv_search_clock_gettime+:} false; then :
21118 break
21120 done
21121 if ${ac_cv_search_clock_gettime+:} false; then :
21123 else
21124 ac_cv_search_clock_gettime=no
21126 rm conftest.$ac_ext
21127 LIBS=$ac_func_search_save_LIBS
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21130 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21131 ac_res=$ac_cv_search_clock_gettime
21132 if test "$ac_res" != no; then :
21133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21137 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21138 ac_has_clock_monotonic=yes
21139 ac_has_clock_realtime=yes
21142 ac_has_nanosleep=yes
21143 ac_has_sched_yield=yes
21145 freebsd*|netbsd*|dragonfly*|rtems*)
21146 ac_has_clock_monotonic=yes
21147 ac_has_clock_realtime=yes
21148 ac_has_nanosleep=yes
21149 ac_has_sched_yield=yes
21151 openbsd*)
21152 ac_has_clock_monotonic=yes
21153 ac_has_clock_realtime=yes
21154 ac_has_nanosleep=yes
21156 solaris*)
21157 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
21158 ac_has_clock_monotonic=yes
21159 ac_has_clock_realtime=yes
21160 ac_has_nanosleep=yes
21161 ac_has_sched_yield=yes
21163 uclinux*)
21164 ac_has_nanosleep=yes
21165 ac_has_sched_yield=yes
21166 esac
21168 elif test x"$enable_libstdcxx_time" != x"no"; then
21170 if test x"$enable_libstdcxx_time" = x"rt"; then
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21172 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21173 if ${ac_cv_search_clock_gettime+:} false; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21176 ac_func_search_save_LIBS=$LIBS
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21180 /* Override any GCC internal prototype to avoid an error.
21181 Use char because int might match the return type of a GCC
21182 builtin and then its argument prototype would still apply. */
21183 #ifdef __cplusplus
21184 extern "C"
21185 #endif
21186 char clock_gettime ();
21188 main ()
21190 return clock_gettime ();
21192 return 0;
21194 _ACEOF
21195 for ac_lib in '' rt posix4; do
21196 if test -z "$ac_lib"; then
21197 ac_res="none required"
21198 else
21199 ac_res=-l$ac_lib
21200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21202 if test x$gcc_no_link = xyes; then
21203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21205 if ac_fn_cxx_try_link "$LINENO"; then :
21206 ac_cv_search_clock_gettime=$ac_res
21208 rm -f core conftest.err conftest.$ac_objext \
21209 conftest$ac_exeext
21210 if ${ac_cv_search_clock_gettime+:} false; then :
21211 break
21213 done
21214 if ${ac_cv_search_clock_gettime+:} false; then :
21216 else
21217 ac_cv_search_clock_gettime=no
21219 rm conftest.$ac_ext
21220 LIBS=$ac_func_search_save_LIBS
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21223 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21224 ac_res=$ac_cv_search_clock_gettime
21225 if test "$ac_res" != no; then :
21226 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21231 $as_echo_n "checking for library containing nanosleep... " >&6; }
21232 if ${ac_cv_search_nanosleep+:} false; then :
21233 $as_echo_n "(cached) " >&6
21234 else
21235 ac_func_search_save_LIBS=$LIBS
21236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21239 /* Override any GCC internal prototype to avoid an error.
21240 Use char because int might match the return type of a GCC
21241 builtin and then its argument prototype would still apply. */
21242 #ifdef __cplusplus
21243 extern "C"
21244 #endif
21245 char nanosleep ();
21247 main ()
21249 return nanosleep ();
21251 return 0;
21253 _ACEOF
21254 for ac_lib in '' rt posix4; do
21255 if test -z "$ac_lib"; then
21256 ac_res="none required"
21257 else
21258 ac_res=-l$ac_lib
21259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21261 if test x$gcc_no_link = xyes; then
21262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264 if ac_fn_cxx_try_link "$LINENO"; then :
21265 ac_cv_search_nanosleep=$ac_res
21267 rm -f core conftest.err conftest.$ac_objext \
21268 conftest$ac_exeext
21269 if ${ac_cv_search_nanosleep+:} false; then :
21270 break
21272 done
21273 if ${ac_cv_search_nanosleep+:} false; then :
21275 else
21276 ac_cv_search_nanosleep=no
21278 rm conftest.$ac_ext
21279 LIBS=$ac_func_search_save_LIBS
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21282 $as_echo "$ac_cv_search_nanosleep" >&6; }
21283 ac_res=$ac_cv_search_nanosleep
21284 if test "$ac_res" != no; then :
21285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21289 else
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21291 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21292 if ${ac_cv_search_clock_gettime+:} false; then :
21293 $as_echo_n "(cached) " >&6
21294 else
21295 ac_func_search_save_LIBS=$LIBS
21296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21297 /* end confdefs.h. */
21299 /* Override any GCC internal prototype to avoid an error.
21300 Use char because int might match the return type of a GCC
21301 builtin and then its argument prototype would still apply. */
21302 #ifdef __cplusplus
21303 extern "C"
21304 #endif
21305 char clock_gettime ();
21307 main ()
21309 return clock_gettime ();
21311 return 0;
21313 _ACEOF
21314 for ac_lib in '' posix4; do
21315 if test -z "$ac_lib"; then
21316 ac_res="none required"
21317 else
21318 ac_res=-l$ac_lib
21319 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21321 if test x$gcc_no_link = xyes; then
21322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21324 if ac_fn_cxx_try_link "$LINENO"; then :
21325 ac_cv_search_clock_gettime=$ac_res
21327 rm -f core conftest.err conftest.$ac_objext \
21328 conftest$ac_exeext
21329 if ${ac_cv_search_clock_gettime+:} false; then :
21330 break
21332 done
21333 if ${ac_cv_search_clock_gettime+:} false; then :
21335 else
21336 ac_cv_search_clock_gettime=no
21338 rm conftest.$ac_ext
21339 LIBS=$ac_func_search_save_LIBS
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21342 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21343 ac_res=$ac_cv_search_clock_gettime
21344 if test "$ac_res" != no; then :
21345 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21350 $as_echo_n "checking for library containing nanosleep... " >&6; }
21351 if ${ac_cv_search_nanosleep+:} false; then :
21352 $as_echo_n "(cached) " >&6
21353 else
21354 ac_func_search_save_LIBS=$LIBS
21355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21356 /* end confdefs.h. */
21358 /* Override any GCC internal prototype to avoid an error.
21359 Use char because int might match the return type of a GCC
21360 builtin and then its argument prototype would still apply. */
21361 #ifdef __cplusplus
21362 extern "C"
21363 #endif
21364 char nanosleep ();
21366 main ()
21368 return nanosleep ();
21370 return 0;
21372 _ACEOF
21373 for ac_lib in '' posix4; do
21374 if test -z "$ac_lib"; then
21375 ac_res="none required"
21376 else
21377 ac_res=-l$ac_lib
21378 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21380 if test x$gcc_no_link = xyes; then
21381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21383 if ac_fn_cxx_try_link "$LINENO"; then :
21384 ac_cv_search_nanosleep=$ac_res
21386 rm -f core conftest.err conftest.$ac_objext \
21387 conftest$ac_exeext
21388 if ${ac_cv_search_nanosleep+:} false; then :
21389 break
21391 done
21392 if ${ac_cv_search_nanosleep+:} false; then :
21394 else
21395 ac_cv_search_nanosleep=no
21397 rm conftest.$ac_ext
21398 LIBS=$ac_func_search_save_LIBS
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21401 $as_echo "$ac_cv_search_nanosleep" >&6; }
21402 ac_res=$ac_cv_search_nanosleep
21403 if test "$ac_res" != no; then :
21404 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21410 case "$ac_cv_search_clock_gettime" in
21411 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21413 esac
21414 case "$ac_cv_search_nanosleep" in
21415 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21417 esac
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21420 $as_echo_n "checking for library containing sched_yield... " >&6; }
21421 if ${ac_cv_search_sched_yield+:} false; then :
21422 $as_echo_n "(cached) " >&6
21423 else
21424 ac_func_search_save_LIBS=$LIBS
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21428 /* Override any GCC internal prototype to avoid an error.
21429 Use char because int might match the return type of a GCC
21430 builtin and then its argument prototype would still apply. */
21431 #ifdef __cplusplus
21432 extern "C"
21433 #endif
21434 char sched_yield ();
21436 main ()
21438 return sched_yield ();
21440 return 0;
21442 _ACEOF
21443 for ac_lib in '' rt posix4; do
21444 if test -z "$ac_lib"; then
21445 ac_res="none required"
21446 else
21447 ac_res=-l$ac_lib
21448 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21450 if test x$gcc_no_link = xyes; then
21451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21453 if ac_fn_cxx_try_link "$LINENO"; then :
21454 ac_cv_search_sched_yield=$ac_res
21456 rm -f core conftest.err conftest.$ac_objext \
21457 conftest$ac_exeext
21458 if ${ac_cv_search_sched_yield+:} false; then :
21459 break
21461 done
21462 if ${ac_cv_search_sched_yield+:} false; then :
21464 else
21465 ac_cv_search_sched_yield=no
21467 rm conftest.$ac_ext
21468 LIBS=$ac_func_search_save_LIBS
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21471 $as_echo "$ac_cv_search_sched_yield" >&6; }
21472 ac_res=$ac_cv_search_sched_yield
21473 if test "$ac_res" != no; then :
21474 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21479 case "$ac_cv_search_sched_yield" in
21480 -lposix4*)
21481 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21482 ac_has_sched_yield=yes
21484 -lrt*)
21485 if test x"$enable_libstdcxx_time" = x"rt"; then
21486 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21487 ac_has_sched_yield=yes
21491 ac_has_sched_yield=yes
21493 esac
21495 for ac_header in unistd.h
21496 do :
21497 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21498 if test "x$ac_cv_header_unistd_h" = xyes; then :
21499 cat >>confdefs.h <<_ACEOF
21500 #define HAVE_UNISTD_H 1
21501 _ACEOF
21502 ac_has_unistd_h=yes
21503 else
21504 ac_has_unistd_h=no
21507 done
21510 if test x"$ac_has_unistd_h" = x"yes"; then
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21512 $as_echo_n "checking for monotonic clock... " >&6; }
21513 if test x$gcc_no_link = xyes; then
21514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21517 /* end confdefs.h. */
21518 #include <unistd.h>
21519 #include <time.h>
21522 main ()
21524 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21525 timespec tp;
21526 #endif
21527 clock_gettime(CLOCK_MONOTONIC, &tp);
21530 return 0;
21532 _ACEOF
21533 if ac_fn_cxx_try_link "$LINENO"; then :
21534 ac_has_clock_monotonic=yes
21535 else
21536 ac_has_clock_monotonic=no
21538 rm -f core conftest.err conftest.$ac_objext \
21539 conftest$ac_exeext conftest.$ac_ext
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21542 $as_echo "$ac_has_clock_monotonic" >&6; }
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21545 $as_echo_n "checking for realtime clock... " >&6; }
21546 if test x$gcc_no_link = xyes; then
21547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550 /* end confdefs.h. */
21551 #include <unistd.h>
21552 #include <time.h>
21555 main ()
21557 #if _POSIX_TIMERS > 0
21558 timespec tp;
21559 #endif
21560 clock_gettime(CLOCK_REALTIME, &tp);
21563 return 0;
21565 _ACEOF
21566 if ac_fn_cxx_try_link "$LINENO"; then :
21567 ac_has_clock_realtime=yes
21568 else
21569 ac_has_clock_realtime=no
21571 rm -f core conftest.err conftest.$ac_objext \
21572 conftest$ac_exeext conftest.$ac_ext
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21575 $as_echo "$ac_has_clock_realtime" >&6; }
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21578 $as_echo_n "checking for nanosleep... " >&6; }
21579 if test x$gcc_no_link = xyes; then
21580 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21583 /* end confdefs.h. */
21584 #include <unistd.h>
21585 #include <time.h>
21588 main ()
21590 #if _POSIX_TIMERS > 0
21591 timespec tp;
21592 #endif
21593 nanosleep(&tp, 0);
21596 return 0;
21598 _ACEOF
21599 if ac_fn_cxx_try_link "$LINENO"; then :
21600 ac_has_nanosleep=yes
21601 else
21602 ac_has_nanosleep=no
21604 rm -f core conftest.err conftest.$ac_objext \
21605 conftest$ac_exeext conftest.$ac_ext
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21608 $as_echo "$ac_has_nanosleep" >&6; }
21612 if test x"$ac_has_clock_monotonic" != x"yes"; then
21613 case ${target_os} in
21614 linux* | uclinux*)
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21616 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21618 /* end confdefs.h. */
21619 #include <unistd.h>
21620 #include <time.h>
21621 #include <sys/syscall.h>
21624 main ()
21626 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21627 timespec tp;
21628 #endif
21629 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21630 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21633 return 0;
21635 _ACEOF
21636 if ac_fn_cxx_try_compile "$LINENO"; then :
21637 ac_has_clock_monotonic_syscall=yes
21638 else
21639 ac_has_clock_monotonic_syscall=no
21641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21643 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21644 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21646 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21648 ac_has_clock_monotonic=yes
21649 ac_has_clock_realtime=yes
21650 fi;;
21651 esac
21654 if test x"$ac_has_clock_monotonic" = x"yes"; then
21656 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21660 if test x"$ac_has_clock_realtime" = x"yes"; then
21662 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21666 if test x"$ac_has_sched_yield" = x"yes"; then
21668 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21672 if test x"$ac_has_nanosleep" = x"yes"; then
21674 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21676 else
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21678 $as_echo_n "checking for sleep... " >&6; }
21679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21681 #include <unistd.h>
21683 main ()
21685 sleep(1)
21687 return 0;
21689 _ACEOF
21690 if ac_fn_cxx_try_compile "$LINENO"; then :
21691 ac_has_sleep=yes
21692 else
21693 ac_has_sleep=no
21695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21696 if test x"$ac_has_sleep" = x"yes"; then
21698 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21702 $as_echo "$ac_has_sleep" >&6; }
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21704 $as_echo_n "checking for usleep... " >&6; }
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21707 #include <unistd.h>
21709 main ()
21711 sleep(1);
21712 usleep(100);
21714 return 0;
21716 _ACEOF
21717 if ac_fn_cxx_try_compile "$LINENO"; then :
21718 ac_has_usleep=yes
21719 else
21720 ac_has_usleep=no
21722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21723 if test x"$ac_has_usleep" = x"yes"; then
21725 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21729 $as_echo "$ac_has_usleep" >&6; }
21732 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21734 $as_echo_n "checking for Sleep... " >&6; }
21735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21736 /* end confdefs.h. */
21737 #include <windows.h>
21739 main ()
21741 Sleep(1)
21743 return 0;
21745 _ACEOF
21746 if ac_fn_cxx_try_compile "$LINENO"; then :
21747 ac_has_win32_sleep=yes
21748 else
21749 ac_has_win32_sleep=no
21751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752 if test x"$ac_has_win32_sleep" = x"yes"; then
21754 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21758 $as_echo "$ac_has_win32_sleep" >&6; }
21763 CXXFLAGS="$ac_save_CXXFLAGS"
21764 LIBS="$ac_save_LIBS"
21765 ac_ext=c
21766 ac_cpp='$CPP $CPPFLAGS'
21767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21773 # Check for tmpnam which is obsolescent in POSIX.1-2008
21775 ac_ext=cpp
21776 ac_cpp='$CXXCPP $CPPFLAGS'
21777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21781 ac_save_CXXFLAGS="$CXXFLAGS"
21782 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21784 $as_echo_n "checking for tmpnam... " >&6; }
21785 if ${glibcxx_cv_TMPNAM+:} false; then :
21786 $as_echo_n "(cached) " >&6
21787 else
21788 if test x$gcc_no_link = xyes; then
21789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21790 /* end confdefs.h. */
21791 #include <stdio.h>
21793 main ()
21795 char *tmp = tmpnam(NULL);
21797 return 0;
21799 _ACEOF
21800 if ac_fn_cxx_try_compile "$LINENO"; then :
21801 glibcxx_cv_TMPNAM=yes
21802 else
21803 glibcxx_cv_TMPNAM=no
21805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21806 else
21807 if test x$gcc_no_link = xyes; then
21808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21812 #include <stdio.h>
21814 main ()
21816 char *tmp = tmpnam(NULL);
21818 return 0;
21820 _ACEOF
21821 if ac_fn_cxx_try_link "$LINENO"; then :
21822 glibcxx_cv_TMPNAM=yes
21823 else
21824 glibcxx_cv_TMPNAM=no
21826 rm -f core conftest.err conftest.$ac_objext \
21827 conftest$ac_exeext conftest.$ac_ext
21832 if test $glibcxx_cv_TMPNAM = yes; then
21834 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21838 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21839 CXXFLAGS="$ac_save_CXXFLAGS"
21840 ac_ext=c
21841 ac_cpp='$CPP $CPPFLAGS'
21842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21848 # For pthread_cond_clockwait
21852 ac_ext=cpp
21853 ac_cpp='$CXXCPP $CPPFLAGS'
21854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21858 ac_save_CXXFLAGS="$CXXFLAGS"
21859 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21860 ac_save_LIBS="$LIBS"
21861 LIBS="$LIBS -lpthread"
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21864 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21865 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21866 $as_echo_n "(cached) " >&6
21867 else
21869 if test x$gcc_no_link = xyes; then
21870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21871 /* end confdefs.h. */
21872 #include <pthread.h>
21874 main ()
21876 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21878 return 0;
21880 _ACEOF
21881 if ac_fn_cxx_try_compile "$LINENO"; then :
21882 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21883 else
21884 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887 else
21888 if test x$gcc_no_link = xyes; then
21889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21892 /* end confdefs.h. */
21893 #include <pthread.h>
21895 main ()
21897 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21899 return 0;
21901 _ACEOF
21902 if ac_fn_cxx_try_link "$LINENO"; then :
21903 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21904 else
21905 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21907 rm -f core conftest.err conftest.$ac_objext \
21908 conftest$ac_exeext conftest.$ac_ext
21913 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21915 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21919 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21921 CXXFLAGS="$ac_save_CXXFLAGS"
21922 LIBS="$ac_save_LIBS"
21923 ac_ext=c
21924 ac_cpp='$CPP $CPPFLAGS'
21925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21931 # For pthread_mutex_clocklock
21935 ac_ext=cpp
21936 ac_cpp='$CXXCPP $CPPFLAGS'
21937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21941 ac_save_CXXFLAGS="$CXXFLAGS"
21942 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21943 ac_save_LIBS="$LIBS"
21944 LIBS="$LIBS -lpthread"
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21947 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21948 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21949 $as_echo_n "(cached) " >&6
21950 else
21952 if test x$gcc_no_link = xyes; then
21953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21954 /* end confdefs.h. */
21955 #include <pthread.h>
21957 main ()
21959 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21961 return 0;
21963 _ACEOF
21964 if ac_fn_cxx_try_compile "$LINENO"; then :
21965 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21966 else
21967 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 else
21971 if test x$gcc_no_link = xyes; then
21972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975 /* end confdefs.h. */
21976 #include <pthread.h>
21978 main ()
21980 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21982 return 0;
21984 _ACEOF
21985 if ac_fn_cxx_try_link "$LINENO"; then :
21986 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21987 else
21988 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21990 rm -f core conftest.err conftest.$ac_objext \
21991 conftest$ac_exeext conftest.$ac_ext
21996 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21998 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22002 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22004 CXXFLAGS="$ac_save_CXXFLAGS"
22005 LIBS="$ac_save_LIBS"
22006 ac_ext=c
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22014 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22018 ac_ext=cpp
22019 ac_cpp='$CXXCPP $CPPFLAGS'
22020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22024 ac_save_CXXFLAGS="$CXXFLAGS"
22025 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22026 ac_save_LIBS="$LIBS"
22027 LIBS="$LIBS -lpthread"
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22030 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22031 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22032 $as_echo_n "(cached) " >&6
22033 else
22035 if test x$gcc_no_link = xyes; then
22036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22037 /* end confdefs.h. */
22038 #include <pthread.h>
22040 main ()
22042 pthread_rwlock_t rwl; struct timespec ts;
22043 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22044 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22046 return 0;
22048 _ACEOF
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22051 else
22052 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 else
22056 if test x$gcc_no_link = xyes; then
22057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h. */
22061 #include <pthread.h>
22063 main ()
22065 pthread_rwlock_t rwl; struct timespec ts;
22066 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22067 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22069 return 0;
22071 _ACEOF
22072 if ac_fn_cxx_try_link "$LINENO"; then :
22073 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22074 else
22075 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22077 rm -f core conftest.err conftest.$ac_objext \
22078 conftest$ac_exeext conftest.$ac_ext
22083 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22085 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22089 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22091 CXXFLAGS="$ac_save_CXXFLAGS"
22092 LIBS="$ac_save_LIBS"
22093 ac_ext=c
22094 ac_cpp='$CPP $CPPFLAGS'
22095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22102 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22103 if test "x$ac_cv_header_locale_h" = xyes; then :
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22106 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22107 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22108 $as_echo_n "(cached) " >&6
22109 else
22110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22111 /* end confdefs.h. */
22112 #include <locale.h>
22114 main ()
22116 return LC_MESSAGES
22118 return 0;
22120 _ACEOF
22121 if ac_fn_c_try_compile "$LINENO"; then :
22122 ac_cv_val_LC_MESSAGES=yes
22123 else
22124 ac_cv_val_LC_MESSAGES=no
22126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22129 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22130 if test $ac_cv_val_LC_MESSAGES = yes; then
22132 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22141 # For hardware_concurrency
22142 for ac_header in sys/sysinfo.h
22143 do :
22144 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22145 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_SYS_SYSINFO_H 1
22148 _ACEOF
22152 done
22157 ac_ext=cpp
22158 ac_cpp='$CXXCPP $CPPFLAGS'
22159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22163 ac_save_CXXFLAGS="$CXXFLAGS"
22164 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22167 $as_echo_n "checking for get_nprocs... " >&6; }
22168 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22172 if test x$gcc_no_link = xyes; then
22173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h. */
22175 #include <sys/sysinfo.h>
22177 main ()
22179 int n = get_nprocs();
22181 return 0;
22183 _ACEOF
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185 glibcxx_cv_GET_NPROCS=yes
22186 else
22187 glibcxx_cv_GET_NPROCS=no
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 else
22191 if test x$gcc_no_link = xyes; then
22192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22195 /* end confdefs.h. */
22196 #include <sys/sysinfo.h>
22198 main ()
22200 int n = get_nprocs();
22202 return 0;
22204 _ACEOF
22205 if ac_fn_cxx_try_link "$LINENO"; then :
22206 glibcxx_cv_GET_NPROCS=yes
22207 else
22208 glibcxx_cv_GET_NPROCS=no
22210 rm -f core conftest.err conftest.$ac_objext \
22211 conftest$ac_exeext conftest.$ac_ext
22216 if test $glibcxx_cv_GET_NPROCS = yes; then
22218 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22222 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22224 CXXFLAGS="$ac_save_CXXFLAGS"
22225 ac_ext=c
22226 ac_cpp='$CPP $CPPFLAGS'
22227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22232 for ac_header in unistd.h
22233 do :
22234 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22235 if test "x$ac_cv_header_unistd_h" = xyes; then :
22236 cat >>confdefs.h <<_ACEOF
22237 #define HAVE_UNISTD_H 1
22238 _ACEOF
22242 done
22247 ac_ext=cpp
22248 ac_cpp='$CXXCPP $CPPFLAGS'
22249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22253 ac_save_CXXFLAGS="$CXXFLAGS"
22254 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22257 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22258 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22259 $as_echo_n "(cached) " >&6
22260 else
22262 if test x$gcc_no_link = xyes; then
22263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22264 /* end confdefs.h. */
22265 #include <unistd.h>
22267 main ()
22269 int n = sysconf(_SC_NPROCESSORS_ONLN);
22271 return 0;
22273 _ACEOF
22274 if ac_fn_cxx_try_compile "$LINENO"; then :
22275 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22276 else
22277 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22280 else
22281 if test x$gcc_no_link = xyes; then
22282 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22285 /* end confdefs.h. */
22286 #include <unistd.h>
22288 main ()
22290 int n = sysconf(_SC_NPROCESSORS_ONLN);
22292 return 0;
22294 _ACEOF
22295 if ac_fn_cxx_try_link "$LINENO"; then :
22296 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22297 else
22298 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22300 rm -f core conftest.err conftest.$ac_objext \
22301 conftest$ac_exeext conftest.$ac_ext
22306 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22308 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22312 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22314 CXXFLAGS="$ac_save_CXXFLAGS"
22315 ac_ext=c
22316 ac_cpp='$CPP $CPPFLAGS'
22317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22325 ac_ext=cpp
22326 ac_cpp='$CXXCPP $CPPFLAGS'
22327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22331 ac_save_CXXFLAGS="$CXXFLAGS"
22332 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22335 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22336 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22337 $as_echo_n "(cached) " >&6
22338 else
22340 if test x$gcc_no_link = xyes; then
22341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22342 /* end confdefs.h. */
22343 #include <unistd.h>
22345 main ()
22347 int n = sysconf(_SC_NPROC_ONLN);
22349 return 0;
22351 _ACEOF
22352 if ac_fn_cxx_try_compile "$LINENO"; then :
22353 glibcxx_cv_SC_NPROC_ONLN=yes
22354 else
22355 glibcxx_cv_SC_NPROC_ONLN=no
22357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22358 else
22359 if test x$gcc_no_link = xyes; then
22360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h. */
22364 #include <unistd.h>
22366 main ()
22368 int n = sysconf(_SC_NPROC_ONLN);
22370 return 0;
22372 _ACEOF
22373 if ac_fn_cxx_try_link "$LINENO"; then :
22374 glibcxx_cv_SC_NPROC_ONLN=yes
22375 else
22376 glibcxx_cv_SC_NPROC_ONLN=no
22378 rm -f core conftest.err conftest.$ac_objext \
22379 conftest$ac_exeext conftest.$ac_ext
22384 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22386 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22390 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22392 CXXFLAGS="$ac_save_CXXFLAGS"
22393 ac_ext=c
22394 ac_cpp='$CPP $CPPFLAGS'
22395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22403 ac_ext=cpp
22404 ac_cpp='$CXXCPP $CPPFLAGS'
22405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22409 ac_save_CXXFLAGS="$CXXFLAGS"
22410 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22413 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22414 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22415 $as_echo_n "(cached) " >&6
22416 else
22418 if test x$gcc_no_link = xyes; then
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421 #include <pthread.h>
22423 main ()
22425 int n = pthread_num_processors_np();
22427 return 0;
22429 _ACEOF
22430 if ac_fn_cxx_try_compile "$LINENO"; then :
22431 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22432 else
22433 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 else
22437 if test x$gcc_no_link = xyes; then
22438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22442 #include <pthread.h>
22444 main ()
22446 int n = pthread_num_processors_np();
22448 return 0;
22450 _ACEOF
22451 if ac_fn_cxx_try_link "$LINENO"; then :
22452 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22453 else
22454 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22456 rm -f core conftest.err conftest.$ac_objext \
22457 conftest$ac_exeext conftest.$ac_ext
22462 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22464 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22468 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22470 CXXFLAGS="$ac_save_CXXFLAGS"
22471 ac_ext=c
22472 ac_cpp='$CPP $CPPFLAGS'
22473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481 ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487 ac_save_CXXFLAGS="$CXXFLAGS"
22488 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22491 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22492 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22493 $as_echo_n "(cached) " >&6
22494 else
22496 if test x$gcc_no_link = xyes; then
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22500 #include <stddef.h>
22501 #include <sys/sysctl.h>
22504 main ()
22507 int count;
22508 size_t size = sizeof(count);
22509 int mib[] = { CTL_HW, HW_NCPU };
22510 sysctl(mib, 2, &count, &size, NULL, 0);
22513 return 0;
22515 _ACEOF
22516 if ac_fn_cxx_try_compile "$LINENO"; then :
22517 glibcxx_cv_SYSCTL_HW_NCPU=yes
22518 else
22519 glibcxx_cv_SYSCTL_HW_NCPU=no
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 else
22523 if test x$gcc_no_link = xyes; then
22524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22527 /* end confdefs.h. */
22529 #include <stddef.h>
22530 #include <sys/sysctl.h>
22533 main ()
22536 int count;
22537 size_t size = sizeof(count);
22538 int mib[] = { CTL_HW, HW_NCPU };
22539 sysctl(mib, 2, &count, &size, NULL, 0);
22542 return 0;
22544 _ACEOF
22545 if ac_fn_cxx_try_link "$LINENO"; then :
22546 glibcxx_cv_SYSCTL_HW_NCPU=yes
22547 else
22548 glibcxx_cv_SYSCTL_HW_NCPU=no
22550 rm -f core conftest.err conftest.$ac_objext \
22551 conftest$ac_exeext conftest.$ac_ext
22556 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22558 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22562 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22564 CXXFLAGS="$ac_save_CXXFLAGS"
22565 ac_ext=c
22566 ac_cpp='$CPP $CPPFLAGS'
22567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22574 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22575 # Note that this test has to be run with the C language.
22576 # Otherwise, sdt.h will try to include some headers from
22577 # libstdc++ itself.
22579 ac_ext=c
22580 ac_cpp='$CPP $CPPFLAGS'
22581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22585 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22586 $as_echo_n "(cached) " >&6
22587 else
22589 # Because we have to run the test in C, we use grep rather
22590 # than the compiler to check for the bug. The bug is that
22591 # were strings without trailing whitespace, causing g++
22592 # to look for operator"". The pattern searches for the fixed
22593 # output.
22594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22595 /* end confdefs.h. */
22597 #include <sys/sdt.h>
22598 int f() { STAP_PROBE(hi, bob); }
22600 _ACEOF
22601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22602 $EGREP " \",\" " >/dev/null 2>&1; then :
22603 glibcxx_cv_sys_sdt_h=yes
22604 else
22605 glibcxx_cv_sys_sdt_h=no
22607 rm -f conftest*
22612 ac_ext=c
22613 ac_cpp='$CPP $CPPFLAGS'
22614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22618 if test $glibcxx_cv_sys_sdt_h = yes; then
22620 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22624 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22627 # Check for available headers.
22628 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22629 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22630 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22631 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22632 wchar.h wctype.h linux/types.h
22633 do :
22634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22635 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22636 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22637 cat >>confdefs.h <<_ACEOF
22638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22639 _ACEOF
22643 done
22646 for ac_header in linux/random.h
22647 do :
22648 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22649 # include <linux/types.h>
22650 #endif
22653 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22654 cat >>confdefs.h <<_ACEOF
22655 #define HAVE_LINUX_RANDOM_H 1
22656 _ACEOF
22660 done
22663 # Only do link tests if native. Else, hardcode.
22664 if $GLIBCXX_IS_NATIVE; then
22666 # We can do more elaborate tests that assume a working linker.
22667 CANADIAN=no
22671 # Check whether --with-gnu-ld was given.
22672 if test "${with_gnu_ld+set}" = set; then :
22673 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22674 else
22675 with_gnu_ld=no
22678 ac_prog=ld
22679 if test "$GCC" = yes; then
22680 # Check if gcc -print-prog-name=ld gives a path.
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22682 $as_echo_n "checking for ld used by $CC... " >&6; }
22683 case $host in
22684 *-*-mingw*)
22685 # gcc leaves a trailing carriage return which upsets mingw
22686 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22688 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22689 esac
22690 case $ac_prog in
22691 # Accept absolute paths.
22692 [\\/]* | ?:[\\/]*)
22693 re_direlt='/[^/][^/]*/\.\./'
22694 # Canonicalize the pathname of ld
22695 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22696 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22697 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22698 done
22699 test -z "$LD" && LD="$ac_prog"
22702 # If it fails, then pretend we aren't using GCC.
22703 ac_prog=ld
22706 # If it is relative, then search for the first ld in PATH.
22707 with_gnu_ld=unknown
22709 esac
22710 elif test "$with_gnu_ld" = yes; then
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22712 $as_echo_n "checking for GNU ld... " >&6; }
22713 else
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22715 $as_echo_n "checking for non-GNU ld... " >&6; }
22717 if ${lt_cv_path_LD+:} false; then :
22718 $as_echo_n "(cached) " >&6
22719 else
22720 if test -z "$LD"; then
22721 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22722 for ac_dir in $PATH; do
22723 IFS="$lt_save_ifs"
22724 test -z "$ac_dir" && ac_dir=.
22725 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22726 lt_cv_path_LD="$ac_dir/$ac_prog"
22727 # Check to see if the program is GNU ld. I'd rather use --version,
22728 # but apparently some variants of GNU ld only accept -v.
22729 # Break only if it was the GNU/non-GNU ld that we prefer.
22730 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22731 *GNU* | *'with BFD'*)
22732 test "$with_gnu_ld" != no && break
22735 test "$with_gnu_ld" != yes && break
22737 esac
22739 done
22740 IFS="$lt_save_ifs"
22741 else
22742 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22746 LD="$lt_cv_path_LD"
22747 if test -n "$LD"; then
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22749 $as_echo "$LD" >&6; }
22750 else
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22752 $as_echo "no" >&6; }
22754 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22756 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22757 if ${lt_cv_prog_gnu_ld+:} false; then :
22758 $as_echo_n "(cached) " >&6
22759 else
22760 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22761 case `$LD -v 2>&1 </dev/null` in
22762 *GNU* | *'with BFD'*)
22763 lt_cv_prog_gnu_ld=yes
22766 lt_cv_prog_gnu_ld=no
22768 esac
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22771 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22772 with_gnu_ld=$lt_cv_prog_gnu_ld
22780 # If we're not using GNU ld, then there's no point in even trying these
22781 # tests. Check for that first. We should have already tested for gld
22782 # by now (in libtool), but require it now just to be safe...
22783 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22784 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22788 # The name set by libtool depends on the version of libtool. Shame on us
22789 # for depending on an impl detail, but c'est la vie. Older versions used
22790 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22791 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22792 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22793 # set (hence we're using an older libtool), then set it.
22794 if test x${with_gnu_ld+set} != xset; then
22795 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22796 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22797 with_gnu_ld=no
22798 else
22799 with_gnu_ld=$ac_cv_prog_gnu_ld
22803 # Start by getting the version number. I think the libtool test already
22804 # does some of this, but throws away the result.
22805 glibcxx_ld_is_gold=no
22806 if test x"$with_gnu_ld" = x"yes"; then
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22808 $as_echo_n "checking for ld version... " >&6; }
22810 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22811 glibcxx_ld_is_gold=yes
22813 ldver=`$LD --version 2>/dev/null |
22814 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22816 glibcxx_gnu_ld_version=`echo $ldver | \
22817 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22819 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22822 # Set --gc-sections.
22823 glibcxx_have_gc_sections=no
22824 if test "$glibcxx_ld_is_gold" = "yes"; then
22825 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22826 glibcxx_have_gc_sections=yes
22828 else
22829 glibcxx_gcsections_min_ld=21602
22830 if test x"$with_gnu_ld" = x"yes" &&
22831 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22832 glibcxx_have_gc_sections=yes
22835 if test "$glibcxx_have_gc_sections" = "yes"; then
22836 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22837 # NB: This flag only works reliably after 2.16.1. Configure tests
22838 # for this are difficult, so hard wire a value that should work.
22840 ac_test_CFLAGS="${CFLAGS+set}"
22841 ac_save_CFLAGS="$CFLAGS"
22842 CFLAGS='-Wl,--gc-sections'
22844 # Check for -Wl,--gc-sections
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22846 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22847 if test x$gcc_no_link = xyes; then
22848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851 /* end confdefs.h. */
22852 int one(void) { return 1; }
22853 int two(void) { return 2; }
22856 main ()
22858 two();
22860 return 0;
22862 _ACEOF
22863 if ac_fn_c_try_link "$LINENO"; then :
22864 ac_gcsections=yes
22865 else
22866 ac_gcsections=no
22868 rm -f core conftest.err conftest.$ac_objext \
22869 conftest$ac_exeext conftest.$ac_ext
22870 if test "$ac_gcsections" = "yes"; then
22871 rm -f conftest.c
22872 touch conftest.c
22873 if $CC -c conftest.c; then
22874 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22875 grep "Warning: gc-sections option ignored" > /dev/null; then
22876 ac_gcsections=no
22879 rm -f conftest.c conftest.o conftest
22881 if test "$ac_gcsections" = "yes"; then
22882 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22885 $as_echo "$ac_gcsections" >&6; }
22887 if test "$ac_test_CFLAGS" = set; then
22888 CFLAGS="$ac_save_CFLAGS"
22889 else
22890 # this is the suspicious part
22891 CFLAGS=''
22895 # Set -z,relro.
22896 # Note this is only for shared objects.
22897 ac_ld_relro=no
22898 if test x"$with_gnu_ld" = x"yes"; then
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22900 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22901 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22902 if test -n "$cxx_z_relo"; then
22903 OPT_LDFLAGS="-Wl,-z,relro"
22904 ac_ld_relro=yes
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22907 $as_echo "$ac_ld_relro" >&6; }
22910 # Set linker optimization flags.
22911 if test x"$with_gnu_ld" = x"yes"; then
22912 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22919 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22920 ac_save_CXXFLAGS="$CXXFLAGS"
22921 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22924 $as_echo_n "checking for sin in -lm... " >&6; }
22925 if ${ac_cv_lib_m_sin+:} false; then :
22926 $as_echo_n "(cached) " >&6
22927 else
22928 ac_check_lib_save_LIBS=$LIBS
22929 LIBS="-lm $LIBS"
22930 if test x$gcc_no_link = xyes; then
22931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h. */
22936 /* Override any GCC internal prototype to avoid an error.
22937 Use char because int might match the return type of a GCC
22938 builtin and then its argument prototype would still apply. */
22939 #ifdef __cplusplus
22940 extern "C"
22941 #endif
22942 char sin ();
22944 main ()
22946 return sin ();
22948 return 0;
22950 _ACEOF
22951 if ac_fn_c_try_link "$LINENO"; then :
22952 ac_cv_lib_m_sin=yes
22953 else
22954 ac_cv_lib_m_sin=no
22956 rm -f core conftest.err conftest.$ac_objext \
22957 conftest$ac_exeext conftest.$ac_ext
22958 LIBS=$ac_check_lib_save_LIBS
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22961 $as_echo "$ac_cv_lib_m_sin" >&6; }
22962 if test "x$ac_cv_lib_m_sin" = xyes; then :
22963 libm="-lm"
22966 ac_save_LIBS="$LIBS"
22967 LIBS="$LIBS $libm"
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22972 $as_echo_n "checking for isinf declaration... " >&6; }
22973 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22974 if ${glibcxx_cv_func_isinf_use+:} false; then :
22975 $as_echo_n "(cached) " >&6
22976 else
22979 ac_ext=cpp
22980 ac_cpp='$CXXCPP $CPPFLAGS'
22981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22986 /* end confdefs.h. */
22987 #include <math.h>
22988 #ifdef HAVE_IEEEFP_H
22989 #include <ieeefp.h>
22990 #endif
22993 main ()
22995 isinf(0);
22997 return 0;
22999 _ACEOF
23000 if ac_fn_cxx_try_compile "$LINENO"; then :
23001 glibcxx_cv_func_isinf_use=yes
23002 else
23003 glibcxx_cv_func_isinf_use=no
23005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23006 ac_ext=c
23007 ac_cpp='$CPP $CPPFLAGS'
23008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23017 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23019 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23020 for ac_func in isinf
23021 do :
23022 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23023 if test "x$ac_cv_func_isinf" = xyes; then :
23024 cat >>confdefs.h <<_ACEOF
23025 #define HAVE_ISINF 1
23026 _ACEOF
23029 done
23031 else
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23034 $as_echo_n "checking for _isinf declaration... " >&6; }
23035 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23036 if ${glibcxx_cv_func__isinf_use+:} false; then :
23037 $as_echo_n "(cached) " >&6
23038 else
23041 ac_ext=cpp
23042 ac_cpp='$CXXCPP $CPPFLAGS'
23043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23048 /* end confdefs.h. */
23049 #include <math.h>
23050 #ifdef HAVE_IEEEFP_H
23051 #include <ieeefp.h>
23052 #endif
23055 main ()
23057 _isinf(0);
23059 return 0;
23061 _ACEOF
23062 if ac_fn_cxx_try_compile "$LINENO"; then :
23063 glibcxx_cv_func__isinf_use=yes
23064 else
23065 glibcxx_cv_func__isinf_use=no
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068 ac_ext=c
23069 ac_cpp='$CPP $CPPFLAGS'
23070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23079 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23081 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23082 for ac_func in _isinf
23083 do :
23084 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23085 if test "x$ac_cv_func__isinf" = xyes; then :
23086 cat >>confdefs.h <<_ACEOF
23087 #define HAVE__ISINF 1
23088 _ACEOF
23091 done
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23101 $as_echo_n "checking for isnan declaration... " >&6; }
23102 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23103 if ${glibcxx_cv_func_isnan_use+:} false; then :
23104 $as_echo_n "(cached) " >&6
23105 else
23108 ac_ext=cpp
23109 ac_cpp='$CXXCPP $CPPFLAGS'
23110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h. */
23116 #include <math.h>
23117 #ifdef HAVE_IEEEFP_H
23118 #include <ieeefp.h>
23119 #endif
23122 main ()
23124 isnan(0);
23126 return 0;
23128 _ACEOF
23129 if ac_fn_cxx_try_compile "$LINENO"; then :
23130 glibcxx_cv_func_isnan_use=yes
23131 else
23132 glibcxx_cv_func_isnan_use=no
23134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135 ac_ext=c
23136 ac_cpp='$CPP $CPPFLAGS'
23137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23146 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23148 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23149 for ac_func in isnan
23150 do :
23151 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23152 if test "x$ac_cv_func_isnan" = xyes; then :
23153 cat >>confdefs.h <<_ACEOF
23154 #define HAVE_ISNAN 1
23155 _ACEOF
23158 done
23160 else
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23163 $as_echo_n "checking for _isnan declaration... " >&6; }
23164 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23165 if ${glibcxx_cv_func__isnan_use+:} false; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23170 ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178 #include <math.h>
23179 #ifdef HAVE_IEEEFP_H
23180 #include <ieeefp.h>
23181 #endif
23184 main ()
23186 _isnan(0);
23188 return 0;
23190 _ACEOF
23191 if ac_fn_cxx_try_compile "$LINENO"; then :
23192 glibcxx_cv_func__isnan_use=yes
23193 else
23194 glibcxx_cv_func__isnan_use=no
23196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197 ac_ext=c
23198 ac_cpp='$CPP $CPPFLAGS'
23199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23208 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23210 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23211 for ac_func in _isnan
23212 do :
23213 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23214 if test "x$ac_cv_func__isnan" = xyes; then :
23215 cat >>confdefs.h <<_ACEOF
23216 #define HAVE__ISNAN 1
23217 _ACEOF
23220 done
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23230 $as_echo_n "checking for finite declaration... " >&6; }
23231 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23232 if ${glibcxx_cv_func_finite_use+:} false; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23237 ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23245 #include <math.h>
23246 #ifdef HAVE_IEEEFP_H
23247 #include <ieeefp.h>
23248 #endif
23251 main ()
23253 finite(0);
23255 return 0;
23257 _ACEOF
23258 if ac_fn_cxx_try_compile "$LINENO"; then :
23259 glibcxx_cv_func_finite_use=yes
23260 else
23261 glibcxx_cv_func_finite_use=no
23263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23264 ac_ext=c
23265 ac_cpp='$CPP $CPPFLAGS'
23266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23275 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23277 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23278 for ac_func in finite
23279 do :
23280 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23281 if test "x$ac_cv_func_finite" = xyes; then :
23282 cat >>confdefs.h <<_ACEOF
23283 #define HAVE_FINITE 1
23284 _ACEOF
23287 done
23289 else
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23292 $as_echo_n "checking for _finite declaration... " >&6; }
23293 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23294 if ${glibcxx_cv_func__finite_use+:} false; then :
23295 $as_echo_n "(cached) " >&6
23296 else
23299 ac_ext=cpp
23300 ac_cpp='$CXXCPP $CPPFLAGS'
23301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23306 /* end confdefs.h. */
23307 #include <math.h>
23308 #ifdef HAVE_IEEEFP_H
23309 #include <ieeefp.h>
23310 #endif
23313 main ()
23315 _finite(0);
23317 return 0;
23319 _ACEOF
23320 if ac_fn_cxx_try_compile "$LINENO"; then :
23321 glibcxx_cv_func__finite_use=yes
23322 else
23323 glibcxx_cv_func__finite_use=no
23325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23326 ac_ext=c
23327 ac_cpp='$CPP $CPPFLAGS'
23328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23337 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23339 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23340 for ac_func in _finite
23341 do :
23342 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23343 if test "x$ac_cv_func__finite" = xyes; then :
23344 cat >>confdefs.h <<_ACEOF
23345 #define HAVE__FINITE 1
23346 _ACEOF
23349 done
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23359 $as_echo_n "checking for sincos declaration... " >&6; }
23360 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23361 if ${glibcxx_cv_func_sincos_use+:} false; then :
23362 $as_echo_n "(cached) " >&6
23363 else
23366 ac_ext=cpp
23367 ac_cpp='$CXXCPP $CPPFLAGS'
23368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h. */
23374 #include <math.h>
23376 main ()
23378 sincos(0, 0, 0);
23380 return 0;
23382 _ACEOF
23383 if ac_fn_cxx_try_compile "$LINENO"; then :
23384 glibcxx_cv_func_sincos_use=yes
23385 else
23386 glibcxx_cv_func_sincos_use=no
23388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 ac_ext=c
23390 ac_cpp='$CPP $CPPFLAGS'
23391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23400 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23402 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23403 for ac_func in sincos
23404 do :
23405 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23406 if test "x$ac_cv_func_sincos" = xyes; then :
23407 cat >>confdefs.h <<_ACEOF
23408 #define HAVE_SINCOS 1
23409 _ACEOF
23412 done
23414 else
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23417 $as_echo_n "checking for _sincos declaration... " >&6; }
23418 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23419 if ${glibcxx_cv_func__sincos_use+:} false; then :
23420 $as_echo_n "(cached) " >&6
23421 else
23424 ac_ext=cpp
23425 ac_cpp='$CXXCPP $CPPFLAGS'
23426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23431 /* end confdefs.h. */
23432 #include <math.h>
23434 main ()
23436 _sincos(0, 0, 0);
23438 return 0;
23440 _ACEOF
23441 if ac_fn_cxx_try_compile "$LINENO"; then :
23442 glibcxx_cv_func__sincos_use=yes
23443 else
23444 glibcxx_cv_func__sincos_use=no
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447 ac_ext=c
23448 ac_cpp='$CPP $CPPFLAGS'
23449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23458 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23460 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23461 for ac_func in _sincos
23462 do :
23463 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23464 if test "x$ac_cv_func__sincos" = xyes; then :
23465 cat >>confdefs.h <<_ACEOF
23466 #define HAVE__SINCOS 1
23467 _ACEOF
23470 done
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23480 $as_echo_n "checking for fpclass declaration... " >&6; }
23481 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23482 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23483 $as_echo_n "(cached) " >&6
23484 else
23487 ac_ext=cpp
23488 ac_cpp='$CXXCPP $CPPFLAGS'
23489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23495 #include <math.h>
23496 #ifdef HAVE_IEEEFP_H
23497 #include <ieeefp.h>
23498 #endif
23501 main ()
23503 fpclass(0);
23505 return 0;
23507 _ACEOF
23508 if ac_fn_cxx_try_compile "$LINENO"; then :
23509 glibcxx_cv_func_fpclass_use=yes
23510 else
23511 glibcxx_cv_func_fpclass_use=no
23513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23514 ac_ext=c
23515 ac_cpp='$CPP $CPPFLAGS'
23516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23525 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23527 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23528 for ac_func in fpclass
23529 do :
23530 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23531 if test "x$ac_cv_func_fpclass" = xyes; then :
23532 cat >>confdefs.h <<_ACEOF
23533 #define HAVE_FPCLASS 1
23534 _ACEOF
23537 done
23539 else
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23542 $as_echo_n "checking for _fpclass declaration... " >&6; }
23543 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23544 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23545 $as_echo_n "(cached) " >&6
23546 else
23549 ac_ext=cpp
23550 ac_cpp='$CXXCPP $CPPFLAGS'
23551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23556 /* end confdefs.h. */
23557 #include <math.h>
23558 #ifdef HAVE_IEEEFP_H
23559 #include <ieeefp.h>
23560 #endif
23563 main ()
23565 _fpclass(0);
23567 return 0;
23569 _ACEOF
23570 if ac_fn_cxx_try_compile "$LINENO"; then :
23571 glibcxx_cv_func__fpclass_use=yes
23572 else
23573 glibcxx_cv_func__fpclass_use=no
23575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23576 ac_ext=c
23577 ac_cpp='$CPP $CPPFLAGS'
23578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23587 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23589 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23590 for ac_func in _fpclass
23591 do :
23592 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23593 if test "x$ac_cv_func__fpclass" = xyes; then :
23594 cat >>confdefs.h <<_ACEOF
23595 #define HAVE__FPCLASS 1
23596 _ACEOF
23599 done
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23609 $as_echo_n "checking for qfpclass declaration... " >&6; }
23610 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23611 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23612 $as_echo_n "(cached) " >&6
23613 else
23616 ac_ext=cpp
23617 ac_cpp='$CXXCPP $CPPFLAGS'
23618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23623 /* end confdefs.h. */
23624 #include <math.h>
23625 #ifdef HAVE_IEEEFP_H
23626 #include <ieeefp.h>
23627 #endif
23630 main ()
23632 qfpclass(0);
23634 return 0;
23636 _ACEOF
23637 if ac_fn_cxx_try_compile "$LINENO"; then :
23638 glibcxx_cv_func_qfpclass_use=yes
23639 else
23640 glibcxx_cv_func_qfpclass_use=no
23642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23643 ac_ext=c
23644 ac_cpp='$CPP $CPPFLAGS'
23645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23654 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23656 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23657 for ac_func in qfpclass
23658 do :
23659 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23660 if test "x$ac_cv_func_qfpclass" = xyes; then :
23661 cat >>confdefs.h <<_ACEOF
23662 #define HAVE_QFPCLASS 1
23663 _ACEOF
23666 done
23668 else
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23671 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23672 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23673 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23674 $as_echo_n "(cached) " >&6
23675 else
23678 ac_ext=cpp
23679 ac_cpp='$CXXCPP $CPPFLAGS'
23680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23685 /* end confdefs.h. */
23686 #include <math.h>
23687 #ifdef HAVE_IEEEFP_H
23688 #include <ieeefp.h>
23689 #endif
23692 main ()
23694 _qfpclass(0);
23696 return 0;
23698 _ACEOF
23699 if ac_fn_cxx_try_compile "$LINENO"; then :
23700 glibcxx_cv_func__qfpclass_use=yes
23701 else
23702 glibcxx_cv_func__qfpclass_use=no
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23705 ac_ext=c
23706 ac_cpp='$CPP $CPPFLAGS'
23707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23716 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23718 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23719 for ac_func in _qfpclass
23720 do :
23721 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23722 if test "x$ac_cv_func__qfpclass" = xyes; then :
23723 cat >>confdefs.h <<_ACEOF
23724 #define HAVE__QFPCLASS 1
23725 _ACEOF
23728 done
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23738 $as_echo_n "checking for hypot declaration... " >&6; }
23739 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23740 if ${glibcxx_cv_func_hypot_use+:} false; then :
23741 $as_echo_n "(cached) " >&6
23742 else
23745 ac_ext=cpp
23746 ac_cpp='$CXXCPP $CPPFLAGS'
23747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23752 /* end confdefs.h. */
23753 #include <math.h>
23755 main ()
23757 hypot(0, 0);
23759 return 0;
23761 _ACEOF
23762 if ac_fn_cxx_try_compile "$LINENO"; then :
23763 glibcxx_cv_func_hypot_use=yes
23764 else
23765 glibcxx_cv_func_hypot_use=no
23767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768 ac_ext=c
23769 ac_cpp='$CPP $CPPFLAGS'
23770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23779 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23781 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23782 for ac_func in hypot
23783 do :
23784 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23785 if test "x$ac_cv_func_hypot" = xyes; then :
23786 cat >>confdefs.h <<_ACEOF
23787 #define HAVE_HYPOT 1
23788 _ACEOF
23791 done
23793 else
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23796 $as_echo_n "checking for _hypot declaration... " >&6; }
23797 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23798 if ${glibcxx_cv_func__hypot_use+:} false; then :
23799 $as_echo_n "(cached) " >&6
23800 else
23803 ac_ext=cpp
23804 ac_cpp='$CXXCPP $CPPFLAGS'
23805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23810 /* end confdefs.h. */
23811 #include <math.h>
23813 main ()
23815 _hypot(0, 0);
23817 return 0;
23819 _ACEOF
23820 if ac_fn_cxx_try_compile "$LINENO"; then :
23821 glibcxx_cv_func__hypot_use=yes
23822 else
23823 glibcxx_cv_func__hypot_use=no
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826 ac_ext=c
23827 ac_cpp='$CPP $CPPFLAGS'
23828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23837 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23839 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23840 for ac_func in _hypot
23841 do :
23842 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23843 if test "x$ac_cv_func__hypot" = xyes; then :
23844 cat >>confdefs.h <<_ACEOF
23845 #define HAVE__HYPOT 1
23846 _ACEOF
23849 done
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23859 $as_echo_n "checking for float trig functions... " >&6; }
23860 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23861 $as_echo_n "(cached) " >&6
23862 else
23865 ac_ext=cpp
23866 ac_cpp='$CXXCPP $CPPFLAGS'
23867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23873 #include <math.h>
23875 main ()
23877 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23879 return 0;
23881 _ACEOF
23882 if ac_fn_cxx_try_compile "$LINENO"; then :
23883 glibcxx_cv_func_float_trig_use=yes
23884 else
23885 glibcxx_cv_func_float_trig_use=no
23887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23888 ac_ext=c
23889 ac_cpp='$CPP $CPPFLAGS'
23890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23897 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23898 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23899 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23900 do :
23901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23904 cat >>confdefs.h <<_ACEOF
23905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23906 _ACEOF
23909 done
23911 else
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23913 $as_echo_n "checking for _float trig functions... " >&6; }
23914 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23915 $as_echo_n "(cached) " >&6
23916 else
23919 ac_ext=cpp
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23927 #include <math.h>
23929 main ()
23931 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23933 return 0;
23935 _ACEOF
23936 if ac_fn_cxx_try_compile "$LINENO"; then :
23937 glibcxx_cv_func__float_trig_use=yes
23938 else
23939 glibcxx_cv_func__float_trig_use=no
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 ac_ext=c
23943 ac_cpp='$CPP $CPPFLAGS'
23944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23951 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23952 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23953 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23954 do :
23955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23957 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23958 cat >>confdefs.h <<_ACEOF
23959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23960 _ACEOF
23963 done
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23973 $as_echo_n "checking for float round functions... " >&6; }
23974 if ${glibcxx_cv_func_float_round_use+:} false; then :
23975 $as_echo_n "(cached) " >&6
23976 else
23979 ac_ext=cpp
23980 ac_cpp='$CXXCPP $CPPFLAGS'
23981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23987 #include <math.h>
23989 main ()
23991 ceilf (0); floorf (0);
23993 return 0;
23995 _ACEOF
23996 if ac_fn_cxx_try_compile "$LINENO"; then :
23997 glibcxx_cv_func_float_round_use=yes
23998 else
23999 glibcxx_cv_func_float_round_use=no
24001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_ext=c
24003 ac_cpp='$CPP $CPPFLAGS'
24004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24011 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24012 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24013 for ac_func in ceilf floorf
24014 do :
24015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24017 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24018 cat >>confdefs.h <<_ACEOF
24019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24020 _ACEOF
24023 done
24025 else
24026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24027 $as_echo_n "checking for _float round functions... " >&6; }
24028 if ${glibcxx_cv_func__float_round_use+:} false; then :
24029 $as_echo_n "(cached) " >&6
24030 else
24033 ac_ext=cpp
24034 ac_cpp='$CXXCPP $CPPFLAGS'
24035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24040 /* end confdefs.h. */
24041 #include <math.h>
24043 main ()
24045 _ceilf (0); _floorf (0);
24047 return 0;
24049 _ACEOF
24050 if ac_fn_cxx_try_compile "$LINENO"; then :
24051 glibcxx_cv_func__float_round_use=yes
24052 else
24053 glibcxx_cv_func__float_round_use=no
24055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24056 ac_ext=c
24057 ac_cpp='$CPP $CPPFLAGS'
24058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24065 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24066 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24067 for ac_func in _ceilf _floorf
24068 do :
24069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24072 cat >>confdefs.h <<_ACEOF
24073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24074 _ACEOF
24077 done
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24088 $as_echo_n "checking for expf declaration... " >&6; }
24089 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24090 if ${glibcxx_cv_func_expf_use+:} false; then :
24091 $as_echo_n "(cached) " >&6
24092 else
24095 ac_ext=cpp
24096 ac_cpp='$CXXCPP $CPPFLAGS'
24097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24102 /* end confdefs.h. */
24103 #include <math.h>
24104 #ifdef HAVE_IEEEFP_H
24105 #include <ieeefp.h>
24106 #endif
24109 main ()
24111 expf(0);
24113 return 0;
24115 _ACEOF
24116 if ac_fn_cxx_try_compile "$LINENO"; then :
24117 glibcxx_cv_func_expf_use=yes
24118 else
24119 glibcxx_cv_func_expf_use=no
24121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 ac_ext=c
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24133 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24135 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24136 for ac_func in expf
24137 do :
24138 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24139 if test "x$ac_cv_func_expf" = xyes; then :
24140 cat >>confdefs.h <<_ACEOF
24141 #define HAVE_EXPF 1
24142 _ACEOF
24145 done
24147 else
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24150 $as_echo_n "checking for _expf declaration... " >&6; }
24151 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24152 if ${glibcxx_cv_func__expf_use+:} false; then :
24153 $as_echo_n "(cached) " >&6
24154 else
24157 ac_ext=cpp
24158 ac_cpp='$CXXCPP $CPPFLAGS'
24159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24164 /* end confdefs.h. */
24165 #include <math.h>
24166 #ifdef HAVE_IEEEFP_H
24167 #include <ieeefp.h>
24168 #endif
24171 main ()
24173 _expf(0);
24175 return 0;
24177 _ACEOF
24178 if ac_fn_cxx_try_compile "$LINENO"; then :
24179 glibcxx_cv_func__expf_use=yes
24180 else
24181 glibcxx_cv_func__expf_use=no
24183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184 ac_ext=c
24185 ac_cpp='$CPP $CPPFLAGS'
24186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24195 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24197 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24198 for ac_func in _expf
24199 do :
24200 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24201 if test "x$ac_cv_func__expf" = xyes; then :
24202 cat >>confdefs.h <<_ACEOF
24203 #define HAVE__EXPF 1
24204 _ACEOF
24207 done
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24217 $as_echo_n "checking for isnanf declaration... " >&6; }
24218 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24219 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24220 $as_echo_n "(cached) " >&6
24221 else
24224 ac_ext=cpp
24225 ac_cpp='$CXXCPP $CPPFLAGS'
24226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24231 /* end confdefs.h. */
24232 #include <math.h>
24233 #ifdef HAVE_IEEEFP_H
24234 #include <ieeefp.h>
24235 #endif
24238 main ()
24240 isnanf(0);
24242 return 0;
24244 _ACEOF
24245 if ac_fn_cxx_try_compile "$LINENO"; then :
24246 glibcxx_cv_func_isnanf_use=yes
24247 else
24248 glibcxx_cv_func_isnanf_use=no
24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24251 ac_ext=c
24252 ac_cpp='$CPP $CPPFLAGS'
24253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24262 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24264 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24265 for ac_func in isnanf
24266 do :
24267 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24268 if test "x$ac_cv_func_isnanf" = xyes; then :
24269 cat >>confdefs.h <<_ACEOF
24270 #define HAVE_ISNANF 1
24271 _ACEOF
24274 done
24276 else
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24279 $as_echo_n "checking for _isnanf declaration... " >&6; }
24280 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24281 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24282 $as_echo_n "(cached) " >&6
24283 else
24286 ac_ext=cpp
24287 ac_cpp='$CXXCPP $CPPFLAGS'
24288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24293 /* end confdefs.h. */
24294 #include <math.h>
24295 #ifdef HAVE_IEEEFP_H
24296 #include <ieeefp.h>
24297 #endif
24300 main ()
24302 _isnanf(0);
24304 return 0;
24306 _ACEOF
24307 if ac_fn_cxx_try_compile "$LINENO"; then :
24308 glibcxx_cv_func__isnanf_use=yes
24309 else
24310 glibcxx_cv_func__isnanf_use=no
24312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24313 ac_ext=c
24314 ac_cpp='$CPP $CPPFLAGS'
24315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24324 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24326 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24327 for ac_func in _isnanf
24328 do :
24329 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24330 if test "x$ac_cv_func__isnanf" = xyes; then :
24331 cat >>confdefs.h <<_ACEOF
24332 #define HAVE__ISNANF 1
24333 _ACEOF
24336 done
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24346 $as_echo_n "checking for isinff declaration... " >&6; }
24347 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24348 if ${glibcxx_cv_func_isinff_use+:} false; then :
24349 $as_echo_n "(cached) " >&6
24350 else
24353 ac_ext=cpp
24354 ac_cpp='$CXXCPP $CPPFLAGS'
24355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24361 #include <math.h>
24362 #ifdef HAVE_IEEEFP_H
24363 #include <ieeefp.h>
24364 #endif
24367 main ()
24369 isinff(0);
24371 return 0;
24373 _ACEOF
24374 if ac_fn_cxx_try_compile "$LINENO"; then :
24375 glibcxx_cv_func_isinff_use=yes
24376 else
24377 glibcxx_cv_func_isinff_use=no
24379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380 ac_ext=c
24381 ac_cpp='$CPP $CPPFLAGS'
24382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24391 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24393 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24394 for ac_func in isinff
24395 do :
24396 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24397 if test "x$ac_cv_func_isinff" = xyes; then :
24398 cat >>confdefs.h <<_ACEOF
24399 #define HAVE_ISINFF 1
24400 _ACEOF
24403 done
24405 else
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24408 $as_echo_n "checking for _isinff declaration... " >&6; }
24409 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24410 if ${glibcxx_cv_func__isinff_use+:} false; then :
24411 $as_echo_n "(cached) " >&6
24412 else
24415 ac_ext=cpp
24416 ac_cpp='$CXXCPP $CPPFLAGS'
24417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24422 /* end confdefs.h. */
24423 #include <math.h>
24424 #ifdef HAVE_IEEEFP_H
24425 #include <ieeefp.h>
24426 #endif
24429 main ()
24431 _isinff(0);
24433 return 0;
24435 _ACEOF
24436 if ac_fn_cxx_try_compile "$LINENO"; then :
24437 glibcxx_cv_func__isinff_use=yes
24438 else
24439 glibcxx_cv_func__isinff_use=no
24441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442 ac_ext=c
24443 ac_cpp='$CPP $CPPFLAGS'
24444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24453 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24455 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24456 for ac_func in _isinff
24457 do :
24458 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24459 if test "x$ac_cv_func__isinff" = xyes; then :
24460 cat >>confdefs.h <<_ACEOF
24461 #define HAVE__ISINFF 1
24462 _ACEOF
24465 done
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24475 $as_echo_n "checking for atan2f declaration... " >&6; }
24476 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24477 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24478 $as_echo_n "(cached) " >&6
24479 else
24482 ac_ext=cpp
24483 ac_cpp='$CXXCPP $CPPFLAGS'
24484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24489 /* end confdefs.h. */
24490 #include <math.h>
24492 main ()
24494 atan2f(0, 0);
24496 return 0;
24498 _ACEOF
24499 if ac_fn_cxx_try_compile "$LINENO"; then :
24500 glibcxx_cv_func_atan2f_use=yes
24501 else
24502 glibcxx_cv_func_atan2f_use=no
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 ac_ext=c
24506 ac_cpp='$CPP $CPPFLAGS'
24507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24516 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24518 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24519 for ac_func in atan2f
24520 do :
24521 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24522 if test "x$ac_cv_func_atan2f" = xyes; then :
24523 cat >>confdefs.h <<_ACEOF
24524 #define HAVE_ATAN2F 1
24525 _ACEOF
24528 done
24530 else
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24533 $as_echo_n "checking for _atan2f declaration... " >&6; }
24534 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24535 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24536 $as_echo_n "(cached) " >&6
24537 else
24540 ac_ext=cpp
24541 ac_cpp='$CXXCPP $CPPFLAGS'
24542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24547 /* end confdefs.h. */
24548 #include <math.h>
24550 main ()
24552 _atan2f(0, 0);
24554 return 0;
24556 _ACEOF
24557 if ac_fn_cxx_try_compile "$LINENO"; then :
24558 glibcxx_cv_func__atan2f_use=yes
24559 else
24560 glibcxx_cv_func__atan2f_use=no
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24563 ac_ext=c
24564 ac_cpp='$CPP $CPPFLAGS'
24565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24574 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24576 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24577 for ac_func in _atan2f
24578 do :
24579 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24580 if test "x$ac_cv_func__atan2f" = xyes; then :
24581 cat >>confdefs.h <<_ACEOF
24582 #define HAVE__ATAN2F 1
24583 _ACEOF
24586 done
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24596 $as_echo_n "checking for fabsf declaration... " >&6; }
24597 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24598 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24599 $as_echo_n "(cached) " >&6
24600 else
24603 ac_ext=cpp
24604 ac_cpp='$CXXCPP $CPPFLAGS'
24605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24610 /* end confdefs.h. */
24611 #include <math.h>
24612 #ifdef HAVE_IEEEFP_H
24613 #include <ieeefp.h>
24614 #endif
24617 main ()
24619 fabsf(0);
24621 return 0;
24623 _ACEOF
24624 if ac_fn_cxx_try_compile "$LINENO"; then :
24625 glibcxx_cv_func_fabsf_use=yes
24626 else
24627 glibcxx_cv_func_fabsf_use=no
24629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24630 ac_ext=c
24631 ac_cpp='$CPP $CPPFLAGS'
24632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24641 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24643 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24644 for ac_func in fabsf
24645 do :
24646 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24647 if test "x$ac_cv_func_fabsf" = xyes; then :
24648 cat >>confdefs.h <<_ACEOF
24649 #define HAVE_FABSF 1
24650 _ACEOF
24653 done
24655 else
24657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24658 $as_echo_n "checking for _fabsf declaration... " >&6; }
24659 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24660 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24661 $as_echo_n "(cached) " >&6
24662 else
24665 ac_ext=cpp
24666 ac_cpp='$CXXCPP $CPPFLAGS'
24667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24672 /* end confdefs.h. */
24673 #include <math.h>
24674 #ifdef HAVE_IEEEFP_H
24675 #include <ieeefp.h>
24676 #endif
24679 main ()
24681 _fabsf(0);
24683 return 0;
24685 _ACEOF
24686 if ac_fn_cxx_try_compile "$LINENO"; then :
24687 glibcxx_cv_func__fabsf_use=yes
24688 else
24689 glibcxx_cv_func__fabsf_use=no
24691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24692 ac_ext=c
24693 ac_cpp='$CPP $CPPFLAGS'
24694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24703 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24705 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24706 for ac_func in _fabsf
24707 do :
24708 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24709 if test "x$ac_cv_func__fabsf" = xyes; then :
24710 cat >>confdefs.h <<_ACEOF
24711 #define HAVE__FABSF 1
24712 _ACEOF
24715 done
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24725 $as_echo_n "checking for fmodf declaration... " >&6; }
24726 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24727 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24728 $as_echo_n "(cached) " >&6
24729 else
24732 ac_ext=cpp
24733 ac_cpp='$CXXCPP $CPPFLAGS'
24734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24739 /* end confdefs.h. */
24740 #include <math.h>
24742 main ()
24744 fmodf(0, 0);
24746 return 0;
24748 _ACEOF
24749 if ac_fn_cxx_try_compile "$LINENO"; then :
24750 glibcxx_cv_func_fmodf_use=yes
24751 else
24752 glibcxx_cv_func_fmodf_use=no
24754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24755 ac_ext=c
24756 ac_cpp='$CPP $CPPFLAGS'
24757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24766 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24768 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24769 for ac_func in fmodf
24770 do :
24771 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24772 if test "x$ac_cv_func_fmodf" = xyes; then :
24773 cat >>confdefs.h <<_ACEOF
24774 #define HAVE_FMODF 1
24775 _ACEOF
24778 done
24780 else
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24783 $as_echo_n "checking for _fmodf declaration... " >&6; }
24784 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24785 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24786 $as_echo_n "(cached) " >&6
24787 else
24790 ac_ext=cpp
24791 ac_cpp='$CXXCPP $CPPFLAGS'
24792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24797 /* end confdefs.h. */
24798 #include <math.h>
24800 main ()
24802 _fmodf(0, 0);
24804 return 0;
24806 _ACEOF
24807 if ac_fn_cxx_try_compile "$LINENO"; then :
24808 glibcxx_cv_func__fmodf_use=yes
24809 else
24810 glibcxx_cv_func__fmodf_use=no
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 ac_ext=c
24814 ac_cpp='$CPP $CPPFLAGS'
24815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24824 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24826 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24827 for ac_func in _fmodf
24828 do :
24829 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24830 if test "x$ac_cv_func__fmodf" = xyes; then :
24831 cat >>confdefs.h <<_ACEOF
24832 #define HAVE__FMODF 1
24833 _ACEOF
24836 done
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24846 $as_echo_n "checking for frexpf declaration... " >&6; }
24847 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24848 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24849 $as_echo_n "(cached) " >&6
24850 else
24853 ac_ext=cpp
24854 ac_cpp='$CXXCPP $CPPFLAGS'
24855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24860 /* end confdefs.h. */
24861 #include <math.h>
24863 main ()
24865 frexpf(0, 0);
24867 return 0;
24869 _ACEOF
24870 if ac_fn_cxx_try_compile "$LINENO"; then :
24871 glibcxx_cv_func_frexpf_use=yes
24872 else
24873 glibcxx_cv_func_frexpf_use=no
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876 ac_ext=c
24877 ac_cpp='$CPP $CPPFLAGS'
24878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24887 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24889 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24890 for ac_func in frexpf
24891 do :
24892 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24893 if test "x$ac_cv_func_frexpf" = xyes; then :
24894 cat >>confdefs.h <<_ACEOF
24895 #define HAVE_FREXPF 1
24896 _ACEOF
24899 done
24901 else
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24904 $as_echo_n "checking for _frexpf declaration... " >&6; }
24905 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24906 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24907 $as_echo_n "(cached) " >&6
24908 else
24911 ac_ext=cpp
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24918 /* end confdefs.h. */
24919 #include <math.h>
24921 main ()
24923 _frexpf(0, 0);
24925 return 0;
24927 _ACEOF
24928 if ac_fn_cxx_try_compile "$LINENO"; then :
24929 glibcxx_cv_func__frexpf_use=yes
24930 else
24931 glibcxx_cv_func__frexpf_use=no
24933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24934 ac_ext=c
24935 ac_cpp='$CPP $CPPFLAGS'
24936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24945 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24947 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24948 for ac_func in _frexpf
24949 do :
24950 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24951 if test "x$ac_cv_func__frexpf" = xyes; then :
24952 cat >>confdefs.h <<_ACEOF
24953 #define HAVE__FREXPF 1
24954 _ACEOF
24957 done
24966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24967 $as_echo_n "checking for hypotf declaration... " >&6; }
24968 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24969 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24970 $as_echo_n "(cached) " >&6
24971 else
24974 ac_ext=cpp
24975 ac_cpp='$CXXCPP $CPPFLAGS'
24976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24982 #include <math.h>
24984 main ()
24986 hypotf(0, 0);
24988 return 0;
24990 _ACEOF
24991 if ac_fn_cxx_try_compile "$LINENO"; then :
24992 glibcxx_cv_func_hypotf_use=yes
24993 else
24994 glibcxx_cv_func_hypotf_use=no
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997 ac_ext=c
24998 ac_cpp='$CPP $CPPFLAGS'
24999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25008 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25010 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25011 for ac_func in hypotf
25012 do :
25013 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25014 if test "x$ac_cv_func_hypotf" = xyes; then :
25015 cat >>confdefs.h <<_ACEOF
25016 #define HAVE_HYPOTF 1
25017 _ACEOF
25020 done
25022 else
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25025 $as_echo_n "checking for _hypotf declaration... " >&6; }
25026 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25027 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25028 $as_echo_n "(cached) " >&6
25029 else
25032 ac_ext=cpp
25033 ac_cpp='$CXXCPP $CPPFLAGS'
25034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h. */
25040 #include <math.h>
25042 main ()
25044 _hypotf(0, 0);
25046 return 0;
25048 _ACEOF
25049 if ac_fn_cxx_try_compile "$LINENO"; then :
25050 glibcxx_cv_func__hypotf_use=yes
25051 else
25052 glibcxx_cv_func__hypotf_use=no
25054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25055 ac_ext=c
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25066 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25068 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25069 for ac_func in _hypotf
25070 do :
25071 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25072 if test "x$ac_cv_func__hypotf" = xyes; then :
25073 cat >>confdefs.h <<_ACEOF
25074 #define HAVE__HYPOTF 1
25075 _ACEOF
25078 done
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25088 $as_echo_n "checking for ldexpf declaration... " >&6; }
25089 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25090 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25091 $as_echo_n "(cached) " >&6
25092 else
25095 ac_ext=cpp
25096 ac_cpp='$CXXCPP $CPPFLAGS'
25097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102 /* end confdefs.h. */
25103 #include <math.h>
25105 main ()
25107 ldexpf(0, 0);
25109 return 0;
25111 _ACEOF
25112 if ac_fn_cxx_try_compile "$LINENO"; then :
25113 glibcxx_cv_func_ldexpf_use=yes
25114 else
25115 glibcxx_cv_func_ldexpf_use=no
25117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25118 ac_ext=c
25119 ac_cpp='$CPP $CPPFLAGS'
25120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25129 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25131 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25132 for ac_func in ldexpf
25133 do :
25134 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25135 if test "x$ac_cv_func_ldexpf" = xyes; then :
25136 cat >>confdefs.h <<_ACEOF
25137 #define HAVE_LDEXPF 1
25138 _ACEOF
25141 done
25143 else
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25146 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25147 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25148 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25149 $as_echo_n "(cached) " >&6
25150 else
25153 ac_ext=cpp
25154 ac_cpp='$CXXCPP $CPPFLAGS'
25155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160 /* end confdefs.h. */
25161 #include <math.h>
25163 main ()
25165 _ldexpf(0, 0);
25167 return 0;
25169 _ACEOF
25170 if ac_fn_cxx_try_compile "$LINENO"; then :
25171 glibcxx_cv_func__ldexpf_use=yes
25172 else
25173 glibcxx_cv_func__ldexpf_use=no
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176 ac_ext=c
25177 ac_cpp='$CPP $CPPFLAGS'
25178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25187 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25189 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25190 for ac_func in _ldexpf
25191 do :
25192 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25193 if test "x$ac_cv_func__ldexpf" = xyes; then :
25194 cat >>confdefs.h <<_ACEOF
25195 #define HAVE__LDEXPF 1
25196 _ACEOF
25199 done
25208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25209 $as_echo_n "checking for logf declaration... " >&6; }
25210 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25211 if ${glibcxx_cv_func_logf_use+:} false; then :
25212 $as_echo_n "(cached) " >&6
25213 else
25216 ac_ext=cpp
25217 ac_cpp='$CXXCPP $CPPFLAGS'
25218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25223 /* end confdefs.h. */
25224 #include <math.h>
25225 #ifdef HAVE_IEEEFP_H
25226 #include <ieeefp.h>
25227 #endif
25230 main ()
25232 logf(0);
25234 return 0;
25236 _ACEOF
25237 if ac_fn_cxx_try_compile "$LINENO"; then :
25238 glibcxx_cv_func_logf_use=yes
25239 else
25240 glibcxx_cv_func_logf_use=no
25242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25243 ac_ext=c
25244 ac_cpp='$CPP $CPPFLAGS'
25245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25254 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25256 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25257 for ac_func in logf
25258 do :
25259 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25260 if test "x$ac_cv_func_logf" = xyes; then :
25261 cat >>confdefs.h <<_ACEOF
25262 #define HAVE_LOGF 1
25263 _ACEOF
25266 done
25268 else
25270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25271 $as_echo_n "checking for _logf declaration... " >&6; }
25272 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25273 if ${glibcxx_cv_func__logf_use+:} false; then :
25274 $as_echo_n "(cached) " >&6
25275 else
25278 ac_ext=cpp
25279 ac_cpp='$CXXCPP $CPPFLAGS'
25280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h. */
25286 #include <math.h>
25287 #ifdef HAVE_IEEEFP_H
25288 #include <ieeefp.h>
25289 #endif
25292 main ()
25294 _logf(0);
25296 return 0;
25298 _ACEOF
25299 if ac_fn_cxx_try_compile "$LINENO"; then :
25300 glibcxx_cv_func__logf_use=yes
25301 else
25302 glibcxx_cv_func__logf_use=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 ac_ext=c
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25316 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25318 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25319 for ac_func in _logf
25320 do :
25321 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25322 if test "x$ac_cv_func__logf" = xyes; then :
25323 cat >>confdefs.h <<_ACEOF
25324 #define HAVE__LOGF 1
25325 _ACEOF
25328 done
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25338 $as_echo_n "checking for log10f declaration... " >&6; }
25339 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25340 if ${glibcxx_cv_func_log10f_use+:} false; then :
25341 $as_echo_n "(cached) " >&6
25342 else
25345 ac_ext=cpp
25346 ac_cpp='$CXXCPP $CPPFLAGS'
25347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25352 /* end confdefs.h. */
25353 #include <math.h>
25354 #ifdef HAVE_IEEEFP_H
25355 #include <ieeefp.h>
25356 #endif
25359 main ()
25361 log10f(0);
25363 return 0;
25365 _ACEOF
25366 if ac_fn_cxx_try_compile "$LINENO"; then :
25367 glibcxx_cv_func_log10f_use=yes
25368 else
25369 glibcxx_cv_func_log10f_use=no
25371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25372 ac_ext=c
25373 ac_cpp='$CPP $CPPFLAGS'
25374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25383 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25385 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25386 for ac_func in log10f
25387 do :
25388 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25389 if test "x$ac_cv_func_log10f" = xyes; then :
25390 cat >>confdefs.h <<_ACEOF
25391 #define HAVE_LOG10F 1
25392 _ACEOF
25395 done
25397 else
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25400 $as_echo_n "checking for _log10f declaration... " >&6; }
25401 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25402 if ${glibcxx_cv_func__log10f_use+:} false; then :
25403 $as_echo_n "(cached) " >&6
25404 else
25407 ac_ext=cpp
25408 ac_cpp='$CXXCPP $CPPFLAGS'
25409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25414 /* end confdefs.h. */
25415 #include <math.h>
25416 #ifdef HAVE_IEEEFP_H
25417 #include <ieeefp.h>
25418 #endif
25421 main ()
25423 _log10f(0);
25425 return 0;
25427 _ACEOF
25428 if ac_fn_cxx_try_compile "$LINENO"; then :
25429 glibcxx_cv_func__log10f_use=yes
25430 else
25431 glibcxx_cv_func__log10f_use=no
25433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25434 ac_ext=c
25435 ac_cpp='$CPP $CPPFLAGS'
25436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25445 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25447 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25448 for ac_func in _log10f
25449 do :
25450 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25451 if test "x$ac_cv_func__log10f" = xyes; then :
25452 cat >>confdefs.h <<_ACEOF
25453 #define HAVE__LOG10F 1
25454 _ACEOF
25457 done
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25467 $as_echo_n "checking for modff declaration... " >&6; }
25468 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25469 if ${glibcxx_cv_func_modff_use+:} false; then :
25470 $as_echo_n "(cached) " >&6
25471 else
25474 ac_ext=cpp
25475 ac_cpp='$CXXCPP $CPPFLAGS'
25476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25481 /* end confdefs.h. */
25482 #include <math.h>
25484 main ()
25486 modff(0, 0);
25488 return 0;
25490 _ACEOF
25491 if ac_fn_cxx_try_compile "$LINENO"; then :
25492 glibcxx_cv_func_modff_use=yes
25493 else
25494 glibcxx_cv_func_modff_use=no
25496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25497 ac_ext=c
25498 ac_cpp='$CPP $CPPFLAGS'
25499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25508 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25510 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25511 for ac_func in modff
25512 do :
25513 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25514 if test "x$ac_cv_func_modff" = xyes; then :
25515 cat >>confdefs.h <<_ACEOF
25516 #define HAVE_MODFF 1
25517 _ACEOF
25520 done
25522 else
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25525 $as_echo_n "checking for _modff declaration... " >&6; }
25526 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25527 if ${glibcxx_cv_func__modff_use+:} false; then :
25528 $as_echo_n "(cached) " >&6
25529 else
25532 ac_ext=cpp
25533 ac_cpp='$CXXCPP $CPPFLAGS'
25534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25539 /* end confdefs.h. */
25540 #include <math.h>
25542 main ()
25544 _modff(0, 0);
25546 return 0;
25548 _ACEOF
25549 if ac_fn_cxx_try_compile "$LINENO"; then :
25550 glibcxx_cv_func__modff_use=yes
25551 else
25552 glibcxx_cv_func__modff_use=no
25554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25555 ac_ext=c
25556 ac_cpp='$CPP $CPPFLAGS'
25557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25566 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25568 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25569 for ac_func in _modff
25570 do :
25571 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25572 if test "x$ac_cv_func__modff" = xyes; then :
25573 cat >>confdefs.h <<_ACEOF
25574 #define HAVE__MODFF 1
25575 _ACEOF
25578 done
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25588 $as_echo_n "checking for modf declaration... " >&6; }
25589 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25590 if ${glibcxx_cv_func_modf_use+:} false; then :
25591 $as_echo_n "(cached) " >&6
25592 else
25595 ac_ext=cpp
25596 ac_cpp='$CXXCPP $CPPFLAGS'
25597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25602 /* end confdefs.h. */
25603 #include <math.h>
25605 main ()
25607 modf(0, 0);
25609 return 0;
25611 _ACEOF
25612 if ac_fn_cxx_try_compile "$LINENO"; then :
25613 glibcxx_cv_func_modf_use=yes
25614 else
25615 glibcxx_cv_func_modf_use=no
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618 ac_ext=c
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25629 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25631 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25632 for ac_func in modf
25633 do :
25634 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25635 if test "x$ac_cv_func_modf" = xyes; then :
25636 cat >>confdefs.h <<_ACEOF
25637 #define HAVE_MODF 1
25638 _ACEOF
25641 done
25643 else
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25646 $as_echo_n "checking for _modf declaration... " >&6; }
25647 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25648 if ${glibcxx_cv_func__modf_use+:} false; then :
25649 $as_echo_n "(cached) " >&6
25650 else
25653 ac_ext=cpp
25654 ac_cpp='$CXXCPP $CPPFLAGS'
25655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25660 /* end confdefs.h. */
25661 #include <math.h>
25663 main ()
25665 _modf(0, 0);
25667 return 0;
25669 _ACEOF
25670 if ac_fn_cxx_try_compile "$LINENO"; then :
25671 glibcxx_cv_func__modf_use=yes
25672 else
25673 glibcxx_cv_func__modf_use=no
25675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25676 ac_ext=c
25677 ac_cpp='$CPP $CPPFLAGS'
25678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25687 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25689 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25690 for ac_func in _modf
25691 do :
25692 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25693 if test "x$ac_cv_func__modf" = xyes; then :
25694 cat >>confdefs.h <<_ACEOF
25695 #define HAVE__MODF 1
25696 _ACEOF
25699 done
25708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25709 $as_echo_n "checking for powf declaration... " >&6; }
25710 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25711 if ${glibcxx_cv_func_powf_use+:} false; then :
25712 $as_echo_n "(cached) " >&6
25713 else
25716 ac_ext=cpp
25717 ac_cpp='$CXXCPP $CPPFLAGS'
25718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25723 /* end confdefs.h. */
25724 #include <math.h>
25726 main ()
25728 powf(0, 0);
25730 return 0;
25732 _ACEOF
25733 if ac_fn_cxx_try_compile "$LINENO"; then :
25734 glibcxx_cv_func_powf_use=yes
25735 else
25736 glibcxx_cv_func_powf_use=no
25738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25739 ac_ext=c
25740 ac_cpp='$CPP $CPPFLAGS'
25741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25750 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25752 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25753 for ac_func in powf
25754 do :
25755 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25756 if test "x$ac_cv_func_powf" = xyes; then :
25757 cat >>confdefs.h <<_ACEOF
25758 #define HAVE_POWF 1
25759 _ACEOF
25762 done
25764 else
25766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25767 $as_echo_n "checking for _powf declaration... " >&6; }
25768 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25769 if ${glibcxx_cv_func__powf_use+:} false; then :
25770 $as_echo_n "(cached) " >&6
25771 else
25774 ac_ext=cpp
25775 ac_cpp='$CXXCPP $CPPFLAGS'
25776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25781 /* end confdefs.h. */
25782 #include <math.h>
25784 main ()
25786 _powf(0, 0);
25788 return 0;
25790 _ACEOF
25791 if ac_fn_cxx_try_compile "$LINENO"; then :
25792 glibcxx_cv_func__powf_use=yes
25793 else
25794 glibcxx_cv_func__powf_use=no
25796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25797 ac_ext=c
25798 ac_cpp='$CPP $CPPFLAGS'
25799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25808 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25810 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25811 for ac_func in _powf
25812 do :
25813 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25814 if test "x$ac_cv_func__powf" = xyes; then :
25815 cat >>confdefs.h <<_ACEOF
25816 #define HAVE__POWF 1
25817 _ACEOF
25820 done
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25830 $as_echo_n "checking for sqrtf declaration... " >&6; }
25831 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25832 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25833 $as_echo_n "(cached) " >&6
25834 else
25837 ac_ext=cpp
25838 ac_cpp='$CXXCPP $CPPFLAGS'
25839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25844 /* end confdefs.h. */
25845 #include <math.h>
25846 #ifdef HAVE_IEEEFP_H
25847 #include <ieeefp.h>
25848 #endif
25851 main ()
25853 sqrtf(0);
25855 return 0;
25857 _ACEOF
25858 if ac_fn_cxx_try_compile "$LINENO"; then :
25859 glibcxx_cv_func_sqrtf_use=yes
25860 else
25861 glibcxx_cv_func_sqrtf_use=no
25863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25864 ac_ext=c
25865 ac_cpp='$CPP $CPPFLAGS'
25866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25875 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25877 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25878 for ac_func in sqrtf
25879 do :
25880 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25881 if test "x$ac_cv_func_sqrtf" = xyes; then :
25882 cat >>confdefs.h <<_ACEOF
25883 #define HAVE_SQRTF 1
25884 _ACEOF
25887 done
25889 else
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25892 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25893 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25894 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25895 $as_echo_n "(cached) " >&6
25896 else
25899 ac_ext=cpp
25900 ac_cpp='$CXXCPP $CPPFLAGS'
25901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25906 /* end confdefs.h. */
25907 #include <math.h>
25908 #ifdef HAVE_IEEEFP_H
25909 #include <ieeefp.h>
25910 #endif
25913 main ()
25915 _sqrtf(0);
25917 return 0;
25919 _ACEOF
25920 if ac_fn_cxx_try_compile "$LINENO"; then :
25921 glibcxx_cv_func__sqrtf_use=yes
25922 else
25923 glibcxx_cv_func__sqrtf_use=no
25925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25926 ac_ext=c
25927 ac_cpp='$CPP $CPPFLAGS'
25928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25937 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25939 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25940 for ac_func in _sqrtf
25941 do :
25942 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25943 if test "x$ac_cv_func__sqrtf" = xyes; then :
25944 cat >>confdefs.h <<_ACEOF
25945 #define HAVE__SQRTF 1
25946 _ACEOF
25949 done
25958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25959 $as_echo_n "checking for sincosf declaration... " >&6; }
25960 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25961 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25962 $as_echo_n "(cached) " >&6
25963 else
25966 ac_ext=cpp
25967 ac_cpp='$CXXCPP $CPPFLAGS'
25968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25973 /* end confdefs.h. */
25974 #include <math.h>
25976 main ()
25978 sincosf(0, 0, 0);
25980 return 0;
25982 _ACEOF
25983 if ac_fn_cxx_try_compile "$LINENO"; then :
25984 glibcxx_cv_func_sincosf_use=yes
25985 else
25986 glibcxx_cv_func_sincosf_use=no
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 ac_ext=c
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26000 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26002 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26003 for ac_func in sincosf
26004 do :
26005 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26006 if test "x$ac_cv_func_sincosf" = xyes; then :
26007 cat >>confdefs.h <<_ACEOF
26008 #define HAVE_SINCOSF 1
26009 _ACEOF
26012 done
26014 else
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26017 $as_echo_n "checking for _sincosf declaration... " >&6; }
26018 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26019 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26020 $as_echo_n "(cached) " >&6
26021 else
26024 ac_ext=cpp
26025 ac_cpp='$CXXCPP $CPPFLAGS'
26026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032 #include <math.h>
26034 main ()
26036 _sincosf(0, 0, 0);
26038 return 0;
26040 _ACEOF
26041 if ac_fn_cxx_try_compile "$LINENO"; then :
26042 glibcxx_cv_func__sincosf_use=yes
26043 else
26044 glibcxx_cv_func__sincosf_use=no
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047 ac_ext=c
26048 ac_cpp='$CPP $CPPFLAGS'
26049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26058 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26060 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26061 for ac_func in _sincosf
26062 do :
26063 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26064 if test "x$ac_cv_func__sincosf" = xyes; then :
26065 cat >>confdefs.h <<_ACEOF
26066 #define HAVE__SINCOSF 1
26067 _ACEOF
26070 done
26079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26080 $as_echo_n "checking for finitef declaration... " >&6; }
26081 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26082 if ${glibcxx_cv_func_finitef_use+:} false; then :
26083 $as_echo_n "(cached) " >&6
26084 else
26087 ac_ext=cpp
26088 ac_cpp='$CXXCPP $CPPFLAGS'
26089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26094 /* end confdefs.h. */
26095 #include <math.h>
26096 #ifdef HAVE_IEEEFP_H
26097 #include <ieeefp.h>
26098 #endif
26101 main ()
26103 finitef(0);
26105 return 0;
26107 _ACEOF
26108 if ac_fn_cxx_try_compile "$LINENO"; then :
26109 glibcxx_cv_func_finitef_use=yes
26110 else
26111 glibcxx_cv_func_finitef_use=no
26113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114 ac_ext=c
26115 ac_cpp='$CPP $CPPFLAGS'
26116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26125 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26127 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26128 for ac_func in finitef
26129 do :
26130 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26131 if test "x$ac_cv_func_finitef" = xyes; then :
26132 cat >>confdefs.h <<_ACEOF
26133 #define HAVE_FINITEF 1
26134 _ACEOF
26137 done
26139 else
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26142 $as_echo_n "checking for _finitef declaration... " >&6; }
26143 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26144 if ${glibcxx_cv_func__finitef_use+:} false; then :
26145 $as_echo_n "(cached) " >&6
26146 else
26149 ac_ext=cpp
26150 ac_cpp='$CXXCPP $CPPFLAGS'
26151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h. */
26157 #include <math.h>
26158 #ifdef HAVE_IEEEFP_H
26159 #include <ieeefp.h>
26160 #endif
26163 main ()
26165 _finitef(0);
26167 return 0;
26169 _ACEOF
26170 if ac_fn_cxx_try_compile "$LINENO"; then :
26171 glibcxx_cv_func__finitef_use=yes
26172 else
26173 glibcxx_cv_func__finitef_use=no
26175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26176 ac_ext=c
26177 ac_cpp='$CPP $CPPFLAGS'
26178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26187 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26189 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26190 for ac_func in _finitef
26191 do :
26192 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26193 if test "x$ac_cv_func__finitef" = xyes; then :
26194 cat >>confdefs.h <<_ACEOF
26195 #define HAVE__FINITEF 1
26196 _ACEOF
26199 done
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26209 $as_echo_n "checking for long double trig functions... " >&6; }
26210 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26211 $as_echo_n "(cached) " >&6
26212 else
26215 ac_ext=cpp
26216 ac_cpp='$CXXCPP $CPPFLAGS'
26217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26222 /* end confdefs.h. */
26223 #include <math.h>
26225 main ()
26227 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26229 return 0;
26231 _ACEOF
26232 if ac_fn_cxx_try_compile "$LINENO"; then :
26233 glibcxx_cv_func_long_double_trig_use=yes
26234 else
26235 glibcxx_cv_func_long_double_trig_use=no
26237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 ac_ext=c
26239 ac_cpp='$CPP $CPPFLAGS'
26240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26247 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26248 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26249 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26250 do :
26251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26253 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26254 cat >>confdefs.h <<_ACEOF
26255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26256 _ACEOF
26259 done
26261 else
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26263 $as_echo_n "checking for _long double trig functions... " >&6; }
26264 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26265 $as_echo_n "(cached) " >&6
26266 else
26269 ac_ext=cpp
26270 ac_cpp='$CXXCPP $CPPFLAGS'
26271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26276 /* end confdefs.h. */
26277 #include <math.h>
26279 main ()
26281 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26283 return 0;
26285 _ACEOF
26286 if ac_fn_cxx_try_compile "$LINENO"; then :
26287 glibcxx_cv_func__long_double_trig_use=yes
26288 else
26289 glibcxx_cv_func__long_double_trig_use=no
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 ac_ext=c
26293 ac_cpp='$CPP $CPPFLAGS'
26294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26301 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26302 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26303 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26304 do :
26305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26308 cat >>confdefs.h <<_ACEOF
26309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26310 _ACEOF
26313 done
26322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26323 $as_echo_n "checking for long double round functions... " >&6; }
26324 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26325 $as_echo_n "(cached) " >&6
26326 else
26329 ac_ext=cpp
26330 ac_cpp='$CXXCPP $CPPFLAGS'
26331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26336 /* end confdefs.h. */
26337 #include <math.h>
26339 main ()
26341 ceill (0); floorl (0);
26343 return 0;
26345 _ACEOF
26346 if ac_fn_cxx_try_compile "$LINENO"; then :
26347 glibcxx_cv_func_long_double_round_use=yes
26348 else
26349 glibcxx_cv_func_long_double_round_use=no
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 ac_ext=c
26353 ac_cpp='$CPP $CPPFLAGS'
26354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26361 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26362 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26363 for ac_func in ceill floorl
26364 do :
26365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26368 cat >>confdefs.h <<_ACEOF
26369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26370 _ACEOF
26373 done
26375 else
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26377 $as_echo_n "checking for _long double round functions... " >&6; }
26378 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26379 $as_echo_n "(cached) " >&6
26380 else
26383 ac_ext=cpp
26384 ac_cpp='$CXXCPP $CPPFLAGS'
26385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26391 #include <math.h>
26393 main ()
26395 _ceill (0); _floorl (0);
26397 return 0;
26399 _ACEOF
26400 if ac_fn_cxx_try_compile "$LINENO"; then :
26401 glibcxx_cv_func__long_double_round_use=yes
26402 else
26403 glibcxx_cv_func__long_double_round_use=no
26405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26406 ac_ext=c
26407 ac_cpp='$CPP $CPPFLAGS'
26408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26415 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26416 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26417 for ac_func in _ceill _floorl
26418 do :
26419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26422 cat >>confdefs.h <<_ACEOF
26423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26424 _ACEOF
26427 done
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26438 $as_echo_n "checking for isnanl declaration... " >&6; }
26439 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26440 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26441 $as_echo_n "(cached) " >&6
26442 else
26445 ac_ext=cpp
26446 ac_cpp='$CXXCPP $CPPFLAGS'
26447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26452 /* end confdefs.h. */
26453 #include <math.h>
26454 #ifdef HAVE_IEEEFP_H
26455 #include <ieeefp.h>
26456 #endif
26459 main ()
26461 isnanl(0);
26463 return 0;
26465 _ACEOF
26466 if ac_fn_cxx_try_compile "$LINENO"; then :
26467 glibcxx_cv_func_isnanl_use=yes
26468 else
26469 glibcxx_cv_func_isnanl_use=no
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 ac_ext=c
26473 ac_cpp='$CPP $CPPFLAGS'
26474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26483 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26485 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26486 for ac_func in isnanl
26487 do :
26488 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26489 if test "x$ac_cv_func_isnanl" = xyes; then :
26490 cat >>confdefs.h <<_ACEOF
26491 #define HAVE_ISNANL 1
26492 _ACEOF
26495 done
26497 else
26499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26500 $as_echo_n "checking for _isnanl declaration... " >&6; }
26501 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26502 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26503 $as_echo_n "(cached) " >&6
26504 else
26507 ac_ext=cpp
26508 ac_cpp='$CXXCPP $CPPFLAGS'
26509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26514 /* end confdefs.h. */
26515 #include <math.h>
26516 #ifdef HAVE_IEEEFP_H
26517 #include <ieeefp.h>
26518 #endif
26521 main ()
26523 _isnanl(0);
26525 return 0;
26527 _ACEOF
26528 if ac_fn_cxx_try_compile "$LINENO"; then :
26529 glibcxx_cv_func__isnanl_use=yes
26530 else
26531 glibcxx_cv_func__isnanl_use=no
26533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26534 ac_ext=c
26535 ac_cpp='$CPP $CPPFLAGS'
26536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26545 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26547 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26548 for ac_func in _isnanl
26549 do :
26550 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26551 if test "x$ac_cv_func__isnanl" = xyes; then :
26552 cat >>confdefs.h <<_ACEOF
26553 #define HAVE__ISNANL 1
26554 _ACEOF
26557 done
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26567 $as_echo_n "checking for isinfl declaration... " >&6; }
26568 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26569 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26570 $as_echo_n "(cached) " >&6
26571 else
26574 ac_ext=cpp
26575 ac_cpp='$CXXCPP $CPPFLAGS'
26576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26581 /* end confdefs.h. */
26582 #include <math.h>
26583 #ifdef HAVE_IEEEFP_H
26584 #include <ieeefp.h>
26585 #endif
26588 main ()
26590 isinfl(0);
26592 return 0;
26594 _ACEOF
26595 if ac_fn_cxx_try_compile "$LINENO"; then :
26596 glibcxx_cv_func_isinfl_use=yes
26597 else
26598 glibcxx_cv_func_isinfl_use=no
26600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26601 ac_ext=c
26602 ac_cpp='$CPP $CPPFLAGS'
26603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26612 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26614 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26615 for ac_func in isinfl
26616 do :
26617 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26618 if test "x$ac_cv_func_isinfl" = xyes; then :
26619 cat >>confdefs.h <<_ACEOF
26620 #define HAVE_ISINFL 1
26621 _ACEOF
26624 done
26626 else
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26629 $as_echo_n "checking for _isinfl declaration... " >&6; }
26630 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26631 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26632 $as_echo_n "(cached) " >&6
26633 else
26636 ac_ext=cpp
26637 ac_cpp='$CXXCPP $CPPFLAGS'
26638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643 /* end confdefs.h. */
26644 #include <math.h>
26645 #ifdef HAVE_IEEEFP_H
26646 #include <ieeefp.h>
26647 #endif
26650 main ()
26652 _isinfl(0);
26654 return 0;
26656 _ACEOF
26657 if ac_fn_cxx_try_compile "$LINENO"; then :
26658 glibcxx_cv_func__isinfl_use=yes
26659 else
26660 glibcxx_cv_func__isinfl_use=no
26662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663 ac_ext=c
26664 ac_cpp='$CPP $CPPFLAGS'
26665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26674 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26676 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26677 for ac_func in _isinfl
26678 do :
26679 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26680 if test "x$ac_cv_func__isinfl" = xyes; then :
26681 cat >>confdefs.h <<_ACEOF
26682 #define HAVE__ISINFL 1
26683 _ACEOF
26686 done
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26696 $as_echo_n "checking for atan2l declaration... " >&6; }
26697 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26698 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26699 $as_echo_n "(cached) " >&6
26700 else
26703 ac_ext=cpp
26704 ac_cpp='$CXXCPP $CPPFLAGS'
26705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26710 /* end confdefs.h. */
26711 #include <math.h>
26713 main ()
26715 atan2l(0, 0);
26717 return 0;
26719 _ACEOF
26720 if ac_fn_cxx_try_compile "$LINENO"; then :
26721 glibcxx_cv_func_atan2l_use=yes
26722 else
26723 glibcxx_cv_func_atan2l_use=no
26725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26726 ac_ext=c
26727 ac_cpp='$CPP $CPPFLAGS'
26728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26737 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26739 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26740 for ac_func in atan2l
26741 do :
26742 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26743 if test "x$ac_cv_func_atan2l" = xyes; then :
26744 cat >>confdefs.h <<_ACEOF
26745 #define HAVE_ATAN2L 1
26746 _ACEOF
26749 done
26751 else
26753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26754 $as_echo_n "checking for _atan2l declaration... " >&6; }
26755 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26756 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26757 $as_echo_n "(cached) " >&6
26758 else
26761 ac_ext=cpp
26762 ac_cpp='$CXXCPP $CPPFLAGS'
26763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h. */
26769 #include <math.h>
26771 main ()
26773 _atan2l(0, 0);
26775 return 0;
26777 _ACEOF
26778 if ac_fn_cxx_try_compile "$LINENO"; then :
26779 glibcxx_cv_func__atan2l_use=yes
26780 else
26781 glibcxx_cv_func__atan2l_use=no
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 ac_ext=c
26785 ac_cpp='$CPP $CPPFLAGS'
26786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26795 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26797 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26798 for ac_func in _atan2l
26799 do :
26800 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26801 if test "x$ac_cv_func__atan2l" = xyes; then :
26802 cat >>confdefs.h <<_ACEOF
26803 #define HAVE__ATAN2L 1
26804 _ACEOF
26807 done
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26817 $as_echo_n "checking for expl declaration... " >&6; }
26818 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26819 if ${glibcxx_cv_func_expl_use+:} false; then :
26820 $as_echo_n "(cached) " >&6
26821 else
26824 ac_ext=cpp
26825 ac_cpp='$CXXCPP $CPPFLAGS'
26826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26832 #include <math.h>
26833 #ifdef HAVE_IEEEFP_H
26834 #include <ieeefp.h>
26835 #endif
26838 main ()
26840 expl(0);
26842 return 0;
26844 _ACEOF
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846 glibcxx_cv_func_expl_use=yes
26847 else
26848 glibcxx_cv_func_expl_use=no
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851 ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26862 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26864 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26865 for ac_func in expl
26866 do :
26867 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26868 if test "x$ac_cv_func_expl" = xyes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE_EXPL 1
26871 _ACEOF
26874 done
26876 else
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26879 $as_echo_n "checking for _expl declaration... " >&6; }
26880 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26881 if ${glibcxx_cv_func__expl_use+:} false; then :
26882 $as_echo_n "(cached) " >&6
26883 else
26886 ac_ext=cpp
26887 ac_cpp='$CXXCPP $CPPFLAGS'
26888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h. */
26894 #include <math.h>
26895 #ifdef HAVE_IEEEFP_H
26896 #include <ieeefp.h>
26897 #endif
26900 main ()
26902 _expl(0);
26904 return 0;
26906 _ACEOF
26907 if ac_fn_cxx_try_compile "$LINENO"; then :
26908 glibcxx_cv_func__expl_use=yes
26909 else
26910 glibcxx_cv_func__expl_use=no
26912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913 ac_ext=c
26914 ac_cpp='$CPP $CPPFLAGS'
26915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26924 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26926 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26927 for ac_func in _expl
26928 do :
26929 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26930 if test "x$ac_cv_func__expl" = xyes; then :
26931 cat >>confdefs.h <<_ACEOF
26932 #define HAVE__EXPL 1
26933 _ACEOF
26936 done
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26946 $as_echo_n "checking for fabsl declaration... " >&6; }
26947 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26948 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26949 $as_echo_n "(cached) " >&6
26950 else
26953 ac_ext=cpp
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 #include <math.h>
26962 #ifdef HAVE_IEEEFP_H
26963 #include <ieeefp.h>
26964 #endif
26967 main ()
26969 fabsl(0);
26971 return 0;
26973 _ACEOF
26974 if ac_fn_cxx_try_compile "$LINENO"; then :
26975 glibcxx_cv_func_fabsl_use=yes
26976 else
26977 glibcxx_cv_func_fabsl_use=no
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980 ac_ext=c
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26991 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26993 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26994 for ac_func in fabsl
26995 do :
26996 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26997 if test "x$ac_cv_func_fabsl" = xyes; then :
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE_FABSL 1
27000 _ACEOF
27003 done
27005 else
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27008 $as_echo_n "checking for _fabsl declaration... " >&6; }
27009 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27010 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27011 $as_echo_n "(cached) " >&6
27012 else
27015 ac_ext=cpp
27016 ac_cpp='$CXXCPP $CPPFLAGS'
27017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27022 /* end confdefs.h. */
27023 #include <math.h>
27024 #ifdef HAVE_IEEEFP_H
27025 #include <ieeefp.h>
27026 #endif
27029 main ()
27031 _fabsl(0);
27033 return 0;
27035 _ACEOF
27036 if ac_fn_cxx_try_compile "$LINENO"; then :
27037 glibcxx_cv_func__fabsl_use=yes
27038 else
27039 glibcxx_cv_func__fabsl_use=no
27041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042 ac_ext=c
27043 ac_cpp='$CPP $CPPFLAGS'
27044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27053 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27055 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27056 for ac_func in _fabsl
27057 do :
27058 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27059 if test "x$ac_cv_func__fabsl" = xyes; then :
27060 cat >>confdefs.h <<_ACEOF
27061 #define HAVE__FABSL 1
27062 _ACEOF
27065 done
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27075 $as_echo_n "checking for fmodl declaration... " >&6; }
27076 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27077 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27078 $as_echo_n "(cached) " >&6
27079 else
27082 ac_ext=cpp
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089 /* end confdefs.h. */
27090 #include <math.h>
27092 main ()
27094 fmodl(0, 0);
27096 return 0;
27098 _ACEOF
27099 if ac_fn_cxx_try_compile "$LINENO"; then :
27100 glibcxx_cv_func_fmodl_use=yes
27101 else
27102 glibcxx_cv_func_fmodl_use=no
27104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27105 ac_ext=c
27106 ac_cpp='$CPP $CPPFLAGS'
27107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27116 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27118 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27119 for ac_func in fmodl
27120 do :
27121 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27122 if test "x$ac_cv_func_fmodl" = xyes; then :
27123 cat >>confdefs.h <<_ACEOF
27124 #define HAVE_FMODL 1
27125 _ACEOF
27128 done
27130 else
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27133 $as_echo_n "checking for _fmodl declaration... " >&6; }
27134 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27135 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27136 $as_echo_n "(cached) " >&6
27137 else
27140 ac_ext=cpp
27141 ac_cpp='$CXXCPP $CPPFLAGS'
27142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h. */
27148 #include <math.h>
27150 main ()
27152 _fmodl(0, 0);
27154 return 0;
27156 _ACEOF
27157 if ac_fn_cxx_try_compile "$LINENO"; then :
27158 glibcxx_cv_func__fmodl_use=yes
27159 else
27160 glibcxx_cv_func__fmodl_use=no
27162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27163 ac_ext=c
27164 ac_cpp='$CPP $CPPFLAGS'
27165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27174 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27176 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27177 for ac_func in _fmodl
27178 do :
27179 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27180 if test "x$ac_cv_func__fmodl" = xyes; then :
27181 cat >>confdefs.h <<_ACEOF
27182 #define HAVE__FMODL 1
27183 _ACEOF
27186 done
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27196 $as_echo_n "checking for frexpl declaration... " >&6; }
27197 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27198 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27199 $as_echo_n "(cached) " >&6
27200 else
27203 ac_ext=cpp
27204 ac_cpp='$CXXCPP $CPPFLAGS'
27205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27210 /* end confdefs.h. */
27211 #include <math.h>
27213 main ()
27215 frexpl(0, 0);
27217 return 0;
27219 _ACEOF
27220 if ac_fn_cxx_try_compile "$LINENO"; then :
27221 glibcxx_cv_func_frexpl_use=yes
27222 else
27223 glibcxx_cv_func_frexpl_use=no
27225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27226 ac_ext=c
27227 ac_cpp='$CPP $CPPFLAGS'
27228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27237 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27239 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27240 for ac_func in frexpl
27241 do :
27242 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27243 if test "x$ac_cv_func_frexpl" = xyes; then :
27244 cat >>confdefs.h <<_ACEOF
27245 #define HAVE_FREXPL 1
27246 _ACEOF
27249 done
27251 else
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27254 $as_echo_n "checking for _frexpl declaration... " >&6; }
27255 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27256 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27257 $as_echo_n "(cached) " >&6
27258 else
27261 ac_ext=cpp
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268 /* end confdefs.h. */
27269 #include <math.h>
27271 main ()
27273 _frexpl(0, 0);
27275 return 0;
27277 _ACEOF
27278 if ac_fn_cxx_try_compile "$LINENO"; then :
27279 glibcxx_cv_func__frexpl_use=yes
27280 else
27281 glibcxx_cv_func__frexpl_use=no
27283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27284 ac_ext=c
27285 ac_cpp='$CPP $CPPFLAGS'
27286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27295 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27297 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27298 for ac_func in _frexpl
27299 do :
27300 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27301 if test "x$ac_cv_func__frexpl" = xyes; then :
27302 cat >>confdefs.h <<_ACEOF
27303 #define HAVE__FREXPL 1
27304 _ACEOF
27307 done
27316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27317 $as_echo_n "checking for hypotl declaration... " >&6; }
27318 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27319 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27320 $as_echo_n "(cached) " >&6
27321 else
27324 ac_ext=cpp
27325 ac_cpp='$CXXCPP $CPPFLAGS'
27326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27331 /* end confdefs.h. */
27332 #include <math.h>
27334 main ()
27336 hypotl(0, 0);
27338 return 0;
27340 _ACEOF
27341 if ac_fn_cxx_try_compile "$LINENO"; then :
27342 glibcxx_cv_func_hypotl_use=yes
27343 else
27344 glibcxx_cv_func_hypotl_use=no
27346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27347 ac_ext=c
27348 ac_cpp='$CPP $CPPFLAGS'
27349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27358 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27360 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27361 for ac_func in hypotl
27362 do :
27363 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27364 if test "x$ac_cv_func_hypotl" = xyes; then :
27365 cat >>confdefs.h <<_ACEOF
27366 #define HAVE_HYPOTL 1
27367 _ACEOF
27370 done
27372 else
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27375 $as_echo_n "checking for _hypotl declaration... " >&6; }
27376 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27377 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27378 $as_echo_n "(cached) " >&6
27379 else
27382 ac_ext=cpp
27383 ac_cpp='$CXXCPP $CPPFLAGS'
27384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27389 /* end confdefs.h. */
27390 #include <math.h>
27392 main ()
27394 _hypotl(0, 0);
27396 return 0;
27398 _ACEOF
27399 if ac_fn_cxx_try_compile "$LINENO"; then :
27400 glibcxx_cv_func__hypotl_use=yes
27401 else
27402 glibcxx_cv_func__hypotl_use=no
27404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27405 ac_ext=c
27406 ac_cpp='$CPP $CPPFLAGS'
27407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27416 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27418 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27419 for ac_func in _hypotl
27420 do :
27421 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27422 if test "x$ac_cv_func__hypotl" = xyes; then :
27423 cat >>confdefs.h <<_ACEOF
27424 #define HAVE__HYPOTL 1
27425 _ACEOF
27428 done
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27438 $as_echo_n "checking for ldexpl declaration... " >&6; }
27439 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27440 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27441 $as_echo_n "(cached) " >&6
27442 else
27445 ac_ext=cpp
27446 ac_cpp='$CXXCPP $CPPFLAGS'
27447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27452 /* end confdefs.h. */
27453 #include <math.h>
27455 main ()
27457 ldexpl(0, 0);
27459 return 0;
27461 _ACEOF
27462 if ac_fn_cxx_try_compile "$LINENO"; then :
27463 glibcxx_cv_func_ldexpl_use=yes
27464 else
27465 glibcxx_cv_func_ldexpl_use=no
27467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27468 ac_ext=c
27469 ac_cpp='$CPP $CPPFLAGS'
27470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27479 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27481 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27482 for ac_func in ldexpl
27483 do :
27484 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27485 if test "x$ac_cv_func_ldexpl" = xyes; then :
27486 cat >>confdefs.h <<_ACEOF
27487 #define HAVE_LDEXPL 1
27488 _ACEOF
27491 done
27493 else
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27496 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27497 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27498 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27499 $as_echo_n "(cached) " >&6
27500 else
27503 ac_ext=cpp
27504 ac_cpp='$CXXCPP $CPPFLAGS'
27505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h. */
27511 #include <math.h>
27513 main ()
27515 _ldexpl(0, 0);
27517 return 0;
27519 _ACEOF
27520 if ac_fn_cxx_try_compile "$LINENO"; then :
27521 glibcxx_cv_func__ldexpl_use=yes
27522 else
27523 glibcxx_cv_func__ldexpl_use=no
27525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27526 ac_ext=c
27527 ac_cpp='$CPP $CPPFLAGS'
27528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27537 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27539 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27540 for ac_func in _ldexpl
27541 do :
27542 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27543 if test "x$ac_cv_func__ldexpl" = xyes; then :
27544 cat >>confdefs.h <<_ACEOF
27545 #define HAVE__LDEXPL 1
27546 _ACEOF
27549 done
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27559 $as_echo_n "checking for logl declaration... " >&6; }
27560 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27561 if ${glibcxx_cv_func_logl_use+:} false; then :
27562 $as_echo_n "(cached) " >&6
27563 else
27566 ac_ext=cpp
27567 ac_cpp='$CXXCPP $CPPFLAGS'
27568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27573 /* end confdefs.h. */
27574 #include <math.h>
27575 #ifdef HAVE_IEEEFP_H
27576 #include <ieeefp.h>
27577 #endif
27580 main ()
27582 logl(0);
27584 return 0;
27586 _ACEOF
27587 if ac_fn_cxx_try_compile "$LINENO"; then :
27588 glibcxx_cv_func_logl_use=yes
27589 else
27590 glibcxx_cv_func_logl_use=no
27592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27593 ac_ext=c
27594 ac_cpp='$CPP $CPPFLAGS'
27595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27604 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27606 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27607 for ac_func in logl
27608 do :
27609 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27610 if test "x$ac_cv_func_logl" = xyes; then :
27611 cat >>confdefs.h <<_ACEOF
27612 #define HAVE_LOGL 1
27613 _ACEOF
27616 done
27618 else
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27621 $as_echo_n "checking for _logl declaration... " >&6; }
27622 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27623 if ${glibcxx_cv_func__logl_use+:} false; then :
27624 $as_echo_n "(cached) " >&6
27625 else
27628 ac_ext=cpp
27629 ac_cpp='$CXXCPP $CPPFLAGS'
27630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635 /* end confdefs.h. */
27636 #include <math.h>
27637 #ifdef HAVE_IEEEFP_H
27638 #include <ieeefp.h>
27639 #endif
27642 main ()
27644 _logl(0);
27646 return 0;
27648 _ACEOF
27649 if ac_fn_cxx_try_compile "$LINENO"; then :
27650 glibcxx_cv_func__logl_use=yes
27651 else
27652 glibcxx_cv_func__logl_use=no
27654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655 ac_ext=c
27656 ac_cpp='$CPP $CPPFLAGS'
27657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27666 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27668 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27669 for ac_func in _logl
27670 do :
27671 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27672 if test "x$ac_cv_func__logl" = xyes; then :
27673 cat >>confdefs.h <<_ACEOF
27674 #define HAVE__LOGL 1
27675 _ACEOF
27678 done
27687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27688 $as_echo_n "checking for log10l declaration... " >&6; }
27689 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27690 if ${glibcxx_cv_func_log10l_use+:} false; then :
27691 $as_echo_n "(cached) " >&6
27692 else
27695 ac_ext=cpp
27696 ac_cpp='$CXXCPP $CPPFLAGS'
27697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27702 /* end confdefs.h. */
27703 #include <math.h>
27704 #ifdef HAVE_IEEEFP_H
27705 #include <ieeefp.h>
27706 #endif
27709 main ()
27711 log10l(0);
27713 return 0;
27715 _ACEOF
27716 if ac_fn_cxx_try_compile "$LINENO"; then :
27717 glibcxx_cv_func_log10l_use=yes
27718 else
27719 glibcxx_cv_func_log10l_use=no
27721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27722 ac_ext=c
27723 ac_cpp='$CPP $CPPFLAGS'
27724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27733 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27735 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27736 for ac_func in log10l
27737 do :
27738 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27739 if test "x$ac_cv_func_log10l" = xyes; then :
27740 cat >>confdefs.h <<_ACEOF
27741 #define HAVE_LOG10L 1
27742 _ACEOF
27745 done
27747 else
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27750 $as_echo_n "checking for _log10l declaration... " >&6; }
27751 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27752 if ${glibcxx_cv_func__log10l_use+:} false; then :
27753 $as_echo_n "(cached) " >&6
27754 else
27757 ac_ext=cpp
27758 ac_cpp='$CXXCPP $CPPFLAGS'
27759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27764 /* end confdefs.h. */
27765 #include <math.h>
27766 #ifdef HAVE_IEEEFP_H
27767 #include <ieeefp.h>
27768 #endif
27771 main ()
27773 _log10l(0);
27775 return 0;
27777 _ACEOF
27778 if ac_fn_cxx_try_compile "$LINENO"; then :
27779 glibcxx_cv_func__log10l_use=yes
27780 else
27781 glibcxx_cv_func__log10l_use=no
27783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27784 ac_ext=c
27785 ac_cpp='$CPP $CPPFLAGS'
27786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27795 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27797 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27798 for ac_func in _log10l
27799 do :
27800 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27801 if test "x$ac_cv_func__log10l" = xyes; then :
27802 cat >>confdefs.h <<_ACEOF
27803 #define HAVE__LOG10L 1
27804 _ACEOF
27807 done
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27817 $as_echo_n "checking for modfl declaration... " >&6; }
27818 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27819 if ${glibcxx_cv_func_modfl_use+:} false; then :
27820 $as_echo_n "(cached) " >&6
27821 else
27824 ac_ext=cpp
27825 ac_cpp='$CXXCPP $CPPFLAGS'
27826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27831 /* end confdefs.h. */
27832 #include <math.h>
27834 main ()
27836 modfl(0, 0);
27838 return 0;
27840 _ACEOF
27841 if ac_fn_cxx_try_compile "$LINENO"; then :
27842 glibcxx_cv_func_modfl_use=yes
27843 else
27844 glibcxx_cv_func_modfl_use=no
27846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27847 ac_ext=c
27848 ac_cpp='$CPP $CPPFLAGS'
27849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27858 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27860 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27861 for ac_func in modfl
27862 do :
27863 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27864 if test "x$ac_cv_func_modfl" = xyes; then :
27865 cat >>confdefs.h <<_ACEOF
27866 #define HAVE_MODFL 1
27867 _ACEOF
27870 done
27872 else
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27875 $as_echo_n "checking for _modfl declaration... " >&6; }
27876 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27877 if ${glibcxx_cv_func__modfl_use+:} false; then :
27878 $as_echo_n "(cached) " >&6
27879 else
27882 ac_ext=cpp
27883 ac_cpp='$CXXCPP $CPPFLAGS'
27884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27890 #include <math.h>
27892 main ()
27894 _modfl(0, 0);
27896 return 0;
27898 _ACEOF
27899 if ac_fn_cxx_try_compile "$LINENO"; then :
27900 glibcxx_cv_func__modfl_use=yes
27901 else
27902 glibcxx_cv_func__modfl_use=no
27904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905 ac_ext=c
27906 ac_cpp='$CPP $CPPFLAGS'
27907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27916 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27918 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27919 for ac_func in _modfl
27920 do :
27921 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27922 if test "x$ac_cv_func__modfl" = xyes; then :
27923 cat >>confdefs.h <<_ACEOF
27924 #define HAVE__MODFL 1
27925 _ACEOF
27928 done
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27938 $as_echo_n "checking for powl declaration... " >&6; }
27939 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27940 if ${glibcxx_cv_func_powl_use+:} false; then :
27941 $as_echo_n "(cached) " >&6
27942 else
27945 ac_ext=cpp
27946 ac_cpp='$CXXCPP $CPPFLAGS'
27947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27952 /* end confdefs.h. */
27953 #include <math.h>
27955 main ()
27957 powl(0, 0);
27959 return 0;
27961 _ACEOF
27962 if ac_fn_cxx_try_compile "$LINENO"; then :
27963 glibcxx_cv_func_powl_use=yes
27964 else
27965 glibcxx_cv_func_powl_use=no
27967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27968 ac_ext=c
27969 ac_cpp='$CPP $CPPFLAGS'
27970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27979 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27981 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27982 for ac_func in powl
27983 do :
27984 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27985 if test "x$ac_cv_func_powl" = xyes; then :
27986 cat >>confdefs.h <<_ACEOF
27987 #define HAVE_POWL 1
27988 _ACEOF
27991 done
27993 else
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27996 $as_echo_n "checking for _powl declaration... " >&6; }
27997 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27998 if ${glibcxx_cv_func__powl_use+:} false; then :
27999 $as_echo_n "(cached) " >&6
28000 else
28003 ac_ext=cpp
28004 ac_cpp='$CXXCPP $CPPFLAGS'
28005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28010 /* end confdefs.h. */
28011 #include <math.h>
28013 main ()
28015 _powl(0, 0);
28017 return 0;
28019 _ACEOF
28020 if ac_fn_cxx_try_compile "$LINENO"; then :
28021 glibcxx_cv_func__powl_use=yes
28022 else
28023 glibcxx_cv_func__powl_use=no
28025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28026 ac_ext=c
28027 ac_cpp='$CPP $CPPFLAGS'
28028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28037 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28039 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28040 for ac_func in _powl
28041 do :
28042 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28043 if test "x$ac_cv_func__powl" = xyes; then :
28044 cat >>confdefs.h <<_ACEOF
28045 #define HAVE__POWL 1
28046 _ACEOF
28049 done
28058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28059 $as_echo_n "checking for sqrtl declaration... " >&6; }
28060 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28061 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28062 $as_echo_n "(cached) " >&6
28063 else
28066 ac_ext=cpp
28067 ac_cpp='$CXXCPP $CPPFLAGS'
28068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28074 #include <math.h>
28075 #ifdef HAVE_IEEEFP_H
28076 #include <ieeefp.h>
28077 #endif
28080 main ()
28082 sqrtl(0);
28084 return 0;
28086 _ACEOF
28087 if ac_fn_cxx_try_compile "$LINENO"; then :
28088 glibcxx_cv_func_sqrtl_use=yes
28089 else
28090 glibcxx_cv_func_sqrtl_use=no
28092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28093 ac_ext=c
28094 ac_cpp='$CPP $CPPFLAGS'
28095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28104 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28106 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28107 for ac_func in sqrtl
28108 do :
28109 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28110 if test "x$ac_cv_func_sqrtl" = xyes; then :
28111 cat >>confdefs.h <<_ACEOF
28112 #define HAVE_SQRTL 1
28113 _ACEOF
28116 done
28118 else
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28121 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28122 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28123 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28124 $as_echo_n "(cached) " >&6
28125 else
28128 ac_ext=cpp
28129 ac_cpp='$CXXCPP $CPPFLAGS'
28130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28135 /* end confdefs.h. */
28136 #include <math.h>
28137 #ifdef HAVE_IEEEFP_H
28138 #include <ieeefp.h>
28139 #endif
28142 main ()
28144 _sqrtl(0);
28146 return 0;
28148 _ACEOF
28149 if ac_fn_cxx_try_compile "$LINENO"; then :
28150 glibcxx_cv_func__sqrtl_use=yes
28151 else
28152 glibcxx_cv_func__sqrtl_use=no
28154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28155 ac_ext=c
28156 ac_cpp='$CPP $CPPFLAGS'
28157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28166 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28168 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28169 for ac_func in _sqrtl
28170 do :
28171 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28172 if test "x$ac_cv_func__sqrtl" = xyes; then :
28173 cat >>confdefs.h <<_ACEOF
28174 #define HAVE__SQRTL 1
28175 _ACEOF
28178 done
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28188 $as_echo_n "checking for sincosl declaration... " >&6; }
28189 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28190 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28191 $as_echo_n "(cached) " >&6
28192 else
28195 ac_ext=cpp
28196 ac_cpp='$CXXCPP $CPPFLAGS'
28197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h. */
28203 #include <math.h>
28205 main ()
28207 sincosl(0, 0, 0);
28209 return 0;
28211 _ACEOF
28212 if ac_fn_cxx_try_compile "$LINENO"; then :
28213 glibcxx_cv_func_sincosl_use=yes
28214 else
28215 glibcxx_cv_func_sincosl_use=no
28217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218 ac_ext=c
28219 ac_cpp='$CPP $CPPFLAGS'
28220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28229 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28231 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28232 for ac_func in sincosl
28233 do :
28234 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28235 if test "x$ac_cv_func_sincosl" = xyes; then :
28236 cat >>confdefs.h <<_ACEOF
28237 #define HAVE_SINCOSL 1
28238 _ACEOF
28241 done
28243 else
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28246 $as_echo_n "checking for _sincosl declaration... " >&6; }
28247 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28248 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28249 $as_echo_n "(cached) " >&6
28250 else
28253 ac_ext=cpp
28254 ac_cpp='$CXXCPP $CPPFLAGS'
28255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28260 /* end confdefs.h. */
28261 #include <math.h>
28263 main ()
28265 _sincosl(0, 0, 0);
28267 return 0;
28269 _ACEOF
28270 if ac_fn_cxx_try_compile "$LINENO"; then :
28271 glibcxx_cv_func__sincosl_use=yes
28272 else
28273 glibcxx_cv_func__sincosl_use=no
28275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28276 ac_ext=c
28277 ac_cpp='$CPP $CPPFLAGS'
28278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28287 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28289 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28290 for ac_func in _sincosl
28291 do :
28292 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28293 if test "x$ac_cv_func__sincosl" = xyes; then :
28294 cat >>confdefs.h <<_ACEOF
28295 #define HAVE__SINCOSL 1
28296 _ACEOF
28299 done
28308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28309 $as_echo_n "checking for finitel declaration... " >&6; }
28310 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28311 if ${glibcxx_cv_func_finitel_use+:} false; then :
28312 $as_echo_n "(cached) " >&6
28313 else
28316 ac_ext=cpp
28317 ac_cpp='$CXXCPP $CPPFLAGS'
28318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28323 /* end confdefs.h. */
28324 #include <math.h>
28325 #ifdef HAVE_IEEEFP_H
28326 #include <ieeefp.h>
28327 #endif
28330 main ()
28332 finitel(0);
28334 return 0;
28336 _ACEOF
28337 if ac_fn_cxx_try_compile "$LINENO"; then :
28338 glibcxx_cv_func_finitel_use=yes
28339 else
28340 glibcxx_cv_func_finitel_use=no
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343 ac_ext=c
28344 ac_cpp='$CPP $CPPFLAGS'
28345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28354 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28356 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28357 for ac_func in finitel
28358 do :
28359 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28360 if test "x$ac_cv_func_finitel" = xyes; then :
28361 cat >>confdefs.h <<_ACEOF
28362 #define HAVE_FINITEL 1
28363 _ACEOF
28366 done
28368 else
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28371 $as_echo_n "checking for _finitel declaration... " >&6; }
28372 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28373 if ${glibcxx_cv_func__finitel_use+:} false; then :
28374 $as_echo_n "(cached) " >&6
28375 else
28378 ac_ext=cpp
28379 ac_cpp='$CXXCPP $CPPFLAGS'
28380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28385 /* end confdefs.h. */
28386 #include <math.h>
28387 #ifdef HAVE_IEEEFP_H
28388 #include <ieeefp.h>
28389 #endif
28392 main ()
28394 _finitel(0);
28396 return 0;
28398 _ACEOF
28399 if ac_fn_cxx_try_compile "$LINENO"; then :
28400 glibcxx_cv_func__finitel_use=yes
28401 else
28402 glibcxx_cv_func__finitel_use=no
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 ac_ext=c
28406 ac_cpp='$CPP $CPPFLAGS'
28407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28416 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28418 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28419 for ac_func in _finitel
28420 do :
28421 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28422 if test "x$ac_cv_func__finitel" = xyes; then :
28423 cat >>confdefs.h <<_ACEOF
28424 #define HAVE__FINITEL 1
28425 _ACEOF
28428 done
28436 LIBS="$ac_save_LIBS"
28437 CXXFLAGS="$ac_save_CXXFLAGS"
28440 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28441 ac_save_CXXFLAGS="$CXXFLAGS"
28442 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28446 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28447 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28448 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28449 $as_echo_n "(cached) " >&6
28450 else
28453 ac_ext=cpp
28454 ac_cpp='$CXXCPP $CPPFLAGS'
28455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28460 /* end confdefs.h. */
28461 #include <stdlib.h>
28463 main ()
28465 at_quick_exit(0);
28467 return 0;
28469 _ACEOF
28470 if ac_fn_cxx_try_compile "$LINENO"; then :
28471 glibcxx_cv_func_at_quick_exit_use=yes
28472 else
28473 glibcxx_cv_func_at_quick_exit_use=no
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 ac_ext=c
28477 ac_cpp='$CPP $CPPFLAGS'
28478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28487 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28488 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28489 for ac_func in at_quick_exit
28490 do :
28491 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28492 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28493 cat >>confdefs.h <<_ACEOF
28494 #define HAVE_AT_QUICK_EXIT 1
28495 _ACEOF
28498 done
28503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28504 $as_echo_n "checking for quick_exit declaration... " >&6; }
28505 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28506 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28507 $as_echo_n "(cached) " >&6
28508 else
28511 ac_ext=cpp
28512 ac_cpp='$CXXCPP $CPPFLAGS'
28513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h. */
28519 #include <stdlib.h>
28521 main ()
28523 quick_exit(0);
28525 return 0;
28527 _ACEOF
28528 if ac_fn_cxx_try_compile "$LINENO"; then :
28529 glibcxx_cv_func_quick_exit_use=yes
28530 else
28531 glibcxx_cv_func_quick_exit_use=no
28533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28534 ac_ext=c
28535 ac_cpp='$CPP $CPPFLAGS'
28536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28545 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28546 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28547 for ac_func in quick_exit
28548 do :
28549 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28550 if test "x$ac_cv_func_quick_exit" = xyes; then :
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE_QUICK_EXIT 1
28553 _ACEOF
28556 done
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28562 $as_echo_n "checking for strtold declaration... " >&6; }
28563 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28564 if ${glibcxx_cv_func_strtold_use+:} false; then :
28565 $as_echo_n "(cached) " >&6
28566 else
28569 ac_ext=cpp
28570 ac_cpp='$CXXCPP $CPPFLAGS'
28571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28576 /* end confdefs.h. */
28577 #include <stdlib.h>
28579 main ()
28581 strtold(0, 0);
28583 return 0;
28585 _ACEOF
28586 if ac_fn_cxx_try_compile "$LINENO"; then :
28587 glibcxx_cv_func_strtold_use=yes
28588 else
28589 glibcxx_cv_func_strtold_use=no
28591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28592 ac_ext=c
28593 ac_cpp='$CPP $CPPFLAGS'
28594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28603 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28604 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28605 for ac_func in strtold
28606 do :
28607 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28608 if test "x$ac_cv_func_strtold" = xyes; then :
28609 cat >>confdefs.h <<_ACEOF
28610 #define HAVE_STRTOLD 1
28611 _ACEOF
28614 done
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28622 $as_echo_n "checking for strtof declaration... " >&6; }
28623 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28624 if ${glibcxx_cv_func_strtof_use+:} false; then :
28625 $as_echo_n "(cached) " >&6
28626 else
28629 ac_ext=cpp
28630 ac_cpp='$CXXCPP $CPPFLAGS'
28631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28636 /* end confdefs.h. */
28637 #include <stdlib.h>
28639 main ()
28641 strtof(0, 0);
28643 return 0;
28645 _ACEOF
28646 if ac_fn_cxx_try_compile "$LINENO"; then :
28647 glibcxx_cv_func_strtof_use=yes
28648 else
28649 glibcxx_cv_func_strtof_use=no
28651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28652 ac_ext=c
28653 ac_cpp='$CPP $CPPFLAGS'
28654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28663 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28664 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28665 for ac_func in strtof
28666 do :
28667 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28668 if test "x$ac_cv_func_strtof" = xyes; then :
28669 cat >>confdefs.h <<_ACEOF
28670 #define HAVE_STRTOF 1
28671 _ACEOF
28674 done
28681 CXXFLAGS="$ac_save_CXXFLAGS"
28684 # For /dev/random and /dev/urandom for std::random_device.
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28688 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28689 if ${glibcxx_cv_dev_random+:} false; then :
28690 $as_echo_n "(cached) " >&6
28691 else
28693 if test -r /dev/random && test -r /dev/urandom; then
28694 ## For MSys environment the test above is detected as false-positive
28695 ## on mingw-targets. So disable it explicitly for them.
28696 case ${target_os} in
28697 *mingw*) glibcxx_cv_dev_random=no ;;
28698 *) glibcxx_cv_dev_random=yes ;;
28699 esac
28700 else
28701 glibcxx_cv_dev_random=no;
28706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28707 $as_echo "$glibcxx_cv_dev_random" >&6; }
28709 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28711 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28714 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28720 # For TLS support.
28723 # Check whether --enable-tls was given.
28724 if test "${enable_tls+set}" = set; then :
28725 enableval=$enable_tls;
28726 case "$enableval" in
28727 yes|no) ;;
28728 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28729 esac
28731 else
28732 enable_tls=yes
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28737 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28738 if ${gcc_cv_have_tls+:} false; then :
28739 $as_echo_n "(cached) " >&6
28740 else
28742 if test "$cross_compiling" = yes; then :
28743 if test x$gcc_no_link = xyes; then
28744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28747 /* end confdefs.h. */
28748 __thread int a; int b; int main() { return a = b; }
28749 _ACEOF
28750 if ac_fn_c_try_link "$LINENO"; then :
28751 chktls_save_LDFLAGS="$LDFLAGS"
28752 case $host in
28753 *-*-linux* | -*-uclinuxfdpic*)
28754 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28756 esac
28757 chktls_save_CFLAGS="$CFLAGS"
28758 CFLAGS="-fPIC $CFLAGS"
28759 if test x$gcc_no_link = xyes; then
28760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h. */
28764 int f() { return 0; }
28765 _ACEOF
28766 if ac_fn_c_try_link "$LINENO"; then :
28767 if test x$gcc_no_link = xyes; then
28768 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28771 /* end confdefs.h. */
28772 __thread int a; int b; int f() { return a = b; }
28773 _ACEOF
28774 if ac_fn_c_try_link "$LINENO"; then :
28775 gcc_cv_have_tls=yes
28776 else
28777 gcc_cv_have_tls=no
28779 rm -f core conftest.err conftest.$ac_objext \
28780 conftest$ac_exeext conftest.$ac_ext
28781 else
28782 gcc_cv_have_tls=yes
28784 rm -f core conftest.err conftest.$ac_objext \
28785 conftest$ac_exeext conftest.$ac_ext
28786 CFLAGS="$chktls_save_CFLAGS"
28787 LDFLAGS="$chktls_save_LDFLAGS"
28788 else
28789 gcc_cv_have_tls=no
28791 rm -f core conftest.err conftest.$ac_objext \
28792 conftest$ac_exeext conftest.$ac_ext
28795 else
28796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797 /* end confdefs.h. */
28798 __thread int a; int b; int main() { return a = b; }
28799 _ACEOF
28800 if ac_fn_c_try_run "$LINENO"; then :
28801 chktls_save_LDFLAGS="$LDFLAGS"
28802 LDFLAGS="-static $LDFLAGS"
28803 if test x$gcc_no_link = xyes; then
28804 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28807 /* end confdefs.h. */
28808 int main() { return 0; }
28809 _ACEOF
28810 if ac_fn_c_try_link "$LINENO"; then :
28811 if test "$cross_compiling" = yes; then :
28812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28814 as_fn_error $? "cannot run test program while cross compiling
28815 See \`config.log' for more details" "$LINENO" 5; }
28816 else
28817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28818 /* end confdefs.h. */
28819 __thread int a; int b; int main() { return a = b; }
28820 _ACEOF
28821 if ac_fn_c_try_run "$LINENO"; then :
28822 gcc_cv_have_tls=yes
28823 else
28824 gcc_cv_have_tls=no
28826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28827 conftest.$ac_objext conftest.beam conftest.$ac_ext
28830 else
28831 gcc_cv_have_tls=yes
28833 rm -f core conftest.err conftest.$ac_objext \
28834 conftest$ac_exeext conftest.$ac_ext
28835 LDFLAGS="$chktls_save_LDFLAGS"
28836 if test $gcc_cv_have_tls = yes; then
28837 chktls_save_CFLAGS="$CFLAGS"
28838 thread_CFLAGS=failed
28839 for flag in '' '-pthread' '-lpthread'; do
28840 CFLAGS="$flag $chktls_save_CFLAGS"
28841 if test x$gcc_no_link = xyes; then
28842 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28845 /* end confdefs.h. */
28846 #include <pthread.h>
28847 void *g(void *d) { return NULL; }
28849 main ()
28851 pthread_t t; pthread_create(&t,NULL,g,NULL);
28853 return 0;
28855 _ACEOF
28856 if ac_fn_c_try_link "$LINENO"; then :
28857 thread_CFLAGS="$flag"
28859 rm -f core conftest.err conftest.$ac_objext \
28860 conftest$ac_exeext conftest.$ac_ext
28861 if test "X$thread_CFLAGS" != Xfailed; then
28862 break
28864 done
28865 CFLAGS="$chktls_save_CFLAGS"
28866 if test "X$thread_CFLAGS" != Xfailed; then
28867 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28868 if test "$cross_compiling" = yes; then :
28869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28871 as_fn_error $? "cannot run test program while cross compiling
28872 See \`config.log' for more details" "$LINENO" 5; }
28873 else
28874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28875 /* end confdefs.h. */
28876 #include <pthread.h>
28877 __thread int a;
28878 static int *volatile a_in_other_thread;
28879 static void *
28880 thread_func (void *arg)
28882 a_in_other_thread = &a;
28883 return (void *)0;
28886 main ()
28888 pthread_t thread;
28889 void *thread_retval;
28890 int *volatile a_in_main_thread;
28891 a_in_main_thread = &a;
28892 if (pthread_create (&thread, (pthread_attr_t *)0,
28893 thread_func, (void *)0))
28894 return 0;
28895 if (pthread_join (thread, &thread_retval))
28896 return 0;
28897 return (a_in_other_thread == a_in_main_thread);
28899 return 0;
28901 _ACEOF
28902 if ac_fn_c_try_run "$LINENO"; then :
28903 gcc_cv_have_tls=yes
28904 else
28905 gcc_cv_have_tls=no
28907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28908 conftest.$ac_objext conftest.beam conftest.$ac_ext
28911 CFLAGS="$chktls_save_CFLAGS"
28914 else
28915 gcc_cv_have_tls=no
28917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28918 conftest.$ac_objext conftest.beam conftest.$ac_ext
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28923 $as_echo "$gcc_cv_have_tls" >&6; }
28924 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28926 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28930 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28931 do :
28932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28934 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28935 cat >>confdefs.h <<_ACEOF
28936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28937 _ACEOF
28940 done
28942 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28943 do :
28944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28946 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28947 cat >>confdefs.h <<_ACEOF
28948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28949 _ACEOF
28952 done
28954 for ac_func in _wfopen
28955 do :
28956 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28957 if test "x$ac_cv_func__wfopen" = xyes; then :
28958 cat >>confdefs.h <<_ACEOF
28959 #define HAVE__WFOPEN 1
28960 _ACEOF
28963 done
28966 # C11 functions for C++17 library
28967 for ac_func in timespec_get
28968 do :
28969 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28970 if test "x$ac_cv_func_timespec_get" = xyes; then :
28971 cat >>confdefs.h <<_ACEOF
28972 #define HAVE_TIMESPEC_GET 1
28973 _ACEOF
28976 done
28979 # For Networking TS.
28980 for ac_func in sockatmark
28981 do :
28982 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28983 if test "x$ac_cv_func_sockatmark" = xyes; then :
28984 cat >>confdefs.h <<_ACEOF
28985 #define HAVE_SOCKATMARK 1
28986 _ACEOF
28989 done
28992 # For iconv support.
28994 if test "X$prefix" = "XNONE"; then
28995 acl_final_prefix="$ac_default_prefix"
28996 else
28997 acl_final_prefix="$prefix"
28999 if test "X$exec_prefix" = "XNONE"; then
29000 acl_final_exec_prefix='${prefix}'
29001 else
29002 acl_final_exec_prefix="$exec_prefix"
29004 acl_save_prefix="$prefix"
29005 prefix="$acl_final_prefix"
29006 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29007 prefix="$acl_save_prefix"
29010 # Check whether --with-gnu-ld was given.
29011 if test "${with_gnu_ld+set}" = set; then :
29012 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29013 else
29014 with_gnu_ld=no
29017 # Prepare PATH_SEPARATOR.
29018 # The user is always right.
29019 if test "${PATH_SEPARATOR+set}" != set; then
29020 echo "#! /bin/sh" >conf$$.sh
29021 echo "exit 0" >>conf$$.sh
29022 chmod +x conf$$.sh
29023 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29024 PATH_SEPARATOR=';'
29025 else
29026 PATH_SEPARATOR=:
29028 rm -f conf$$.sh
29030 ac_prog=ld
29031 if test "$GCC" = yes; then
29032 # Check if gcc -print-prog-name=ld gives a path.
29033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29034 $as_echo_n "checking for ld used by GCC... " >&6; }
29035 case $host in
29036 *-*-mingw*)
29037 # gcc leaves a trailing carriage return which upsets mingw
29038 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29040 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29041 esac
29042 case $ac_prog in
29043 # Accept absolute paths.
29044 [\\/]* | [A-Za-z]:[\\/]*)
29045 re_direlt='/[^/][^/]*/\.\./'
29046 # Canonicalize the path of ld
29047 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29048 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29049 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29050 done
29051 test -z "$LD" && LD="$ac_prog"
29054 # If it fails, then pretend we aren't using GCC.
29055 ac_prog=ld
29058 # If it is relative, then search for the first ld in PATH.
29059 with_gnu_ld=unknown
29061 esac
29062 elif test "$with_gnu_ld" = yes; then
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29064 $as_echo_n "checking for GNU ld... " >&6; }
29065 else
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29067 $as_echo_n "checking for non-GNU ld... " >&6; }
29069 if ${acl_cv_path_LD+:} false; then :
29070 $as_echo_n "(cached) " >&6
29071 else
29072 if test -z "$LD"; then
29073 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29074 for ac_dir in $PATH; do
29075 test -z "$ac_dir" && ac_dir=.
29076 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29077 acl_cv_path_LD="$ac_dir/$ac_prog"
29078 # Check to see if the program is GNU ld. I'd rather use --version,
29079 # but apparently some GNU ld's only accept -v.
29080 # Break only if it was the GNU/non-GNU ld that we prefer.
29081 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29082 test "$with_gnu_ld" != no && break
29083 else
29084 test "$with_gnu_ld" != yes && break
29087 done
29088 IFS="$ac_save_ifs"
29089 else
29090 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29094 LD="$acl_cv_path_LD"
29095 if test -n "$LD"; then
29096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29097 $as_echo "$LD" >&6; }
29098 else
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29100 $as_echo "no" >&6; }
29102 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29104 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29105 if ${acl_cv_prog_gnu_ld+:} false; then :
29106 $as_echo_n "(cached) " >&6
29107 else
29108 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29109 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29110 acl_cv_prog_gnu_ld=yes
29111 else
29112 acl_cv_prog_gnu_ld=no
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29116 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29117 with_gnu_ld=$acl_cv_prog_gnu_ld
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29122 $as_echo_n "checking for shared library run path origin... " >&6; }
29123 if ${acl_cv_rpath+:} false; then :
29124 $as_echo_n "(cached) " >&6
29125 else
29127 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29128 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29129 . ./conftest.sh
29130 rm -f ./conftest.sh
29131 acl_cv_rpath=done
29134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29135 $as_echo "$acl_cv_rpath" >&6; }
29136 wl="$acl_cv_wl"
29137 libext="$acl_cv_libext"
29138 shlibext="$acl_cv_shlibext"
29139 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29140 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29141 hardcode_direct="$acl_cv_hardcode_direct"
29142 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29143 # Check whether --enable-rpath was given.
29144 if test "${enable_rpath+set}" = set; then :
29145 enableval=$enable_rpath; :
29146 else
29147 enable_rpath=yes
29157 use_additional=yes
29159 acl_save_prefix="$prefix"
29160 prefix="$acl_final_prefix"
29161 acl_save_exec_prefix="$exec_prefix"
29162 exec_prefix="$acl_final_exec_prefix"
29164 eval additional_includedir=\"$includedir\"
29165 eval additional_libdir=\"$libdir\"
29167 exec_prefix="$acl_save_exec_prefix"
29168 prefix="$acl_save_prefix"
29171 # Check whether --with-libiconv-prefix was given.
29172 if test "${with_libiconv_prefix+set}" = set; then :
29173 withval=$with_libiconv_prefix;
29174 if test "X$withval" = "Xno"; then
29175 use_additional=no
29176 else
29177 if test "X$withval" = "X"; then
29179 acl_save_prefix="$prefix"
29180 prefix="$acl_final_prefix"
29181 acl_save_exec_prefix="$exec_prefix"
29182 exec_prefix="$acl_final_exec_prefix"
29184 eval additional_includedir=\"$includedir\"
29185 eval additional_libdir=\"$libdir\"
29187 exec_prefix="$acl_save_exec_prefix"
29188 prefix="$acl_save_prefix"
29190 else
29191 additional_includedir="$withval/include"
29192 additional_libdir="$withval/lib"
29199 # Check whether --with-libiconv-type was given.
29200 if test "${with_libiconv_type+set}" = set; then :
29201 withval=$with_libiconv_type; with_libiconv_type=$withval
29202 else
29203 with_libiconv_type=auto
29206 lib_type=`eval echo \$with_libiconv_type`
29208 LIBICONV=
29209 LTLIBICONV=
29210 INCICONV=
29211 rpathdirs=
29212 ltrpathdirs=
29213 names_already_handled=
29214 names_next_round='iconv '
29215 while test -n "$names_next_round"; do
29216 names_this_round="$names_next_round"
29217 names_next_round=
29218 for name in $names_this_round; do
29219 already_handled=
29220 for n in $names_already_handled; do
29221 if test "$n" = "$name"; then
29222 already_handled=yes
29223 break
29225 done
29226 if test -z "$already_handled"; then
29227 names_already_handled="$names_already_handled $name"
29228 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29229 eval value=\"\$HAVE_LIB$uppername\"
29230 if test -n "$value"; then
29231 if test "$value" = yes; then
29232 eval value=\"\$LIB$uppername\"
29233 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29234 eval value=\"\$LTLIB$uppername\"
29235 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29236 else
29239 else
29240 found_dir=
29241 found_la=
29242 found_so=
29243 found_a=
29244 if test $use_additional = yes; then
29245 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29246 found_dir="$additional_libdir"
29247 found_so="$additional_libdir/lib$name.$shlibext"
29248 if test -f "$additional_libdir/lib$name.la"; then
29249 found_la="$additional_libdir/lib$name.la"
29251 elif test x$lib_type != xshared; then
29252 if test -f "$additional_libdir/lib$name.$libext"; then
29253 found_dir="$additional_libdir"
29254 found_a="$additional_libdir/lib$name.$libext"
29255 if test -f "$additional_libdir/lib$name.la"; then
29256 found_la="$additional_libdir/lib$name.la"
29261 if test "X$found_dir" = "X"; then
29262 for x in $LDFLAGS $LTLIBICONV; do
29264 acl_save_prefix="$prefix"
29265 prefix="$acl_final_prefix"
29266 acl_save_exec_prefix="$exec_prefix"
29267 exec_prefix="$acl_final_exec_prefix"
29268 eval x=\"$x\"
29269 exec_prefix="$acl_save_exec_prefix"
29270 prefix="$acl_save_prefix"
29272 case "$x" in
29273 -L*)
29274 dir=`echo "X$x" | sed -e 's/^X-L//'`
29275 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29276 found_dir="$dir"
29277 found_so="$dir/lib$name.$shlibext"
29278 if test -f "$dir/lib$name.la"; then
29279 found_la="$dir/lib$name.la"
29281 elif test x$lib_type != xshared; then
29282 if test -f "$dir/lib$name.$libext"; then
29283 found_dir="$dir"
29284 found_a="$dir/lib$name.$libext"
29285 if test -f "$dir/lib$name.la"; then
29286 found_la="$dir/lib$name.la"
29291 esac
29292 if test "X$found_dir" != "X"; then
29293 break
29295 done
29297 if test "X$found_dir" != "X"; then
29298 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29299 if test "X$found_so" != "X"; then
29300 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29301 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29302 else
29303 haveit=
29304 for x in $ltrpathdirs; do
29305 if test "X$x" = "X$found_dir"; then
29306 haveit=yes
29307 break
29309 done
29310 if test -z "$haveit"; then
29311 ltrpathdirs="$ltrpathdirs $found_dir"
29313 if test "$hardcode_direct" = yes; then
29314 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29315 else
29316 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29317 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29318 haveit=
29319 for x in $rpathdirs; do
29320 if test "X$x" = "X$found_dir"; then
29321 haveit=yes
29322 break
29324 done
29325 if test -z "$haveit"; then
29326 rpathdirs="$rpathdirs $found_dir"
29328 else
29329 haveit=
29330 for x in $LDFLAGS $LIBICONV; do
29332 acl_save_prefix="$prefix"
29333 prefix="$acl_final_prefix"
29334 acl_save_exec_prefix="$exec_prefix"
29335 exec_prefix="$acl_final_exec_prefix"
29336 eval x=\"$x\"
29337 exec_prefix="$acl_save_exec_prefix"
29338 prefix="$acl_save_prefix"
29340 if test "X$x" = "X-L$found_dir"; then
29341 haveit=yes
29342 break
29344 done
29345 if test -z "$haveit"; then
29346 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29348 if test "$hardcode_minus_L" != no; then
29349 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29350 else
29351 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29356 else
29357 if test "X$found_a" != "X"; then
29358 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29359 else
29360 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29363 additional_includedir=
29364 case "$found_dir" in
29365 */lib | */lib/)
29366 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29367 additional_includedir="$basedir/include"
29369 esac
29370 if test "X$additional_includedir" != "X"; then
29371 if test "X$additional_includedir" != "X/usr/include"; then
29372 haveit=
29373 if test "X$additional_includedir" = "X/usr/local/include"; then
29374 if test -n "$GCC"; then
29375 case $host_os in
29376 linux*) haveit=yes;;
29377 esac
29380 if test -z "$haveit"; then
29381 for x in $CPPFLAGS $INCICONV; do
29383 acl_save_prefix="$prefix"
29384 prefix="$acl_final_prefix"
29385 acl_save_exec_prefix="$exec_prefix"
29386 exec_prefix="$acl_final_exec_prefix"
29387 eval x=\"$x\"
29388 exec_prefix="$acl_save_exec_prefix"
29389 prefix="$acl_save_prefix"
29391 if test "X$x" = "X-I$additional_includedir"; then
29392 haveit=yes
29393 break
29395 done
29396 if test -z "$haveit"; then
29397 if test -d "$additional_includedir"; then
29398 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29404 if test -n "$found_la"; then
29405 save_libdir="$libdir"
29406 case "$found_la" in
29407 */* | *\\*) . "$found_la" ;;
29408 *) . "./$found_la" ;;
29409 esac
29410 libdir="$save_libdir"
29411 for dep in $dependency_libs; do
29412 case "$dep" in
29413 -L*)
29414 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29415 if test "X$additional_libdir" != "X/usr/lib"; then
29416 haveit=
29417 if test "X$additional_libdir" = "X/usr/local/lib"; then
29418 if test -n "$GCC"; then
29419 case $host_os in
29420 linux*) haveit=yes;;
29421 esac
29424 if test -z "$haveit"; then
29425 haveit=
29426 for x in $LDFLAGS $LIBICONV; do
29428 acl_save_prefix="$prefix"
29429 prefix="$acl_final_prefix"
29430 acl_save_exec_prefix="$exec_prefix"
29431 exec_prefix="$acl_final_exec_prefix"
29432 eval x=\"$x\"
29433 exec_prefix="$acl_save_exec_prefix"
29434 prefix="$acl_save_prefix"
29436 if test "X$x" = "X-L$additional_libdir"; then
29437 haveit=yes
29438 break
29440 done
29441 if test -z "$haveit"; then
29442 if test -d "$additional_libdir"; then
29443 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29446 haveit=
29447 for x in $LDFLAGS $LTLIBICONV; do
29449 acl_save_prefix="$prefix"
29450 prefix="$acl_final_prefix"
29451 acl_save_exec_prefix="$exec_prefix"
29452 exec_prefix="$acl_final_exec_prefix"
29453 eval x=\"$x\"
29454 exec_prefix="$acl_save_exec_prefix"
29455 prefix="$acl_save_prefix"
29457 if test "X$x" = "X-L$additional_libdir"; then
29458 haveit=yes
29459 break
29461 done
29462 if test -z "$haveit"; then
29463 if test -d "$additional_libdir"; then
29464 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29470 -R*)
29471 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29472 if test "$enable_rpath" != no; then
29473 haveit=
29474 for x in $rpathdirs; do
29475 if test "X$x" = "X$dir"; then
29476 haveit=yes
29477 break
29479 done
29480 if test -z "$haveit"; then
29481 rpathdirs="$rpathdirs $dir"
29483 haveit=
29484 for x in $ltrpathdirs; do
29485 if test "X$x" = "X$dir"; then
29486 haveit=yes
29487 break
29489 done
29490 if test -z "$haveit"; then
29491 ltrpathdirs="$ltrpathdirs $dir"
29495 -l*)
29496 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29498 *.la)
29499 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29502 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29503 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29505 esac
29506 done
29508 else
29509 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29510 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29511 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29512 else
29513 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29514 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29519 done
29520 done
29521 if test "X$rpathdirs" != "X"; then
29522 if test -n "$hardcode_libdir_separator"; then
29523 alldirs=
29524 for found_dir in $rpathdirs; do
29525 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29526 done
29527 acl_save_libdir="$libdir"
29528 libdir="$alldirs"
29529 eval flag=\"$hardcode_libdir_flag_spec\"
29530 libdir="$acl_save_libdir"
29531 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29532 else
29533 for found_dir in $rpathdirs; do
29534 acl_save_libdir="$libdir"
29535 libdir="$found_dir"
29536 eval flag=\"$hardcode_libdir_flag_spec\"
29537 libdir="$acl_save_libdir"
29538 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29539 done
29542 if test "X$ltrpathdirs" != "X"; then
29543 for found_dir in $ltrpathdirs; do
29544 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29545 done
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29555 $as_echo_n "checking for iconv... " >&6; }
29556 if ${am_cv_func_iconv+:} false; then :
29557 $as_echo_n "(cached) " >&6
29558 else
29560 am_cv_func_iconv="no, consider installing GNU libiconv"
29561 am_cv_lib_iconv=no
29562 am_save_CPPFLAGS="$CPPFLAGS"
29563 CPPFLAGS="$CPPFLAGS $INCICONV"
29564 if test x$gcc_no_link = xyes; then
29565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h. */
29569 #include <stdlib.h>
29570 #include <iconv.h>
29572 main ()
29574 iconv_t cd = iconv_open("","");
29575 iconv(cd,NULL,NULL,NULL,NULL);
29576 iconv_close(cd);
29578 return 0;
29580 _ACEOF
29581 if ac_fn_c_try_link "$LINENO"; then :
29582 am_cv_func_iconv=yes
29584 rm -f core conftest.err conftest.$ac_objext \
29585 conftest$ac_exeext conftest.$ac_ext
29586 CPPFLAGS="$am_save_CPPFLAGS"
29588 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29589 for _libs in .libs _libs; do
29590 am_save_CPPFLAGS="$CPPFLAGS"
29591 am_save_LIBS="$LIBS"
29592 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29593 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29594 if test x$gcc_no_link = xyes; then
29595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29598 /* end confdefs.h. */
29599 #include <stdlib.h>
29600 #include <iconv.h>
29602 main ()
29604 iconv_t cd = iconv_open("","");
29605 iconv(cd,NULL,NULL,NULL,NULL);
29606 iconv_close(cd);
29608 return 0;
29610 _ACEOF
29611 if ac_fn_c_try_link "$LINENO"; then :
29612 INCICONV="-I../libiconv/include"
29613 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29614 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29615 am_cv_lib_iconv=yes
29616 am_cv_func_iconv=yes
29618 rm -f core conftest.err conftest.$ac_objext \
29619 conftest$ac_exeext conftest.$ac_ext
29620 CPPFLAGS="$am_save_CPPFLAGS"
29621 LIBS="$am_save_LIBS"
29622 if test "$am_cv_func_iconv" = "yes"; then
29623 break
29625 done
29628 if test "$am_cv_func_iconv" != yes; then
29629 am_save_CPPFLAGS="$CPPFLAGS"
29630 am_save_LIBS="$LIBS"
29631 CPPFLAGS="$CPPFLAGS $INCICONV"
29632 LIBS="$LIBS $LIBICONV"
29633 if test x$gcc_no_link = xyes; then
29634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <stdlib.h>
29639 #include <iconv.h>
29641 main ()
29643 iconv_t cd = iconv_open("","");
29644 iconv(cd,NULL,NULL,NULL,NULL);
29645 iconv_close(cd);
29647 return 0;
29649 _ACEOF
29650 if ac_fn_c_try_link "$LINENO"; then :
29651 am_cv_lib_iconv=yes
29652 am_cv_func_iconv=yes
29654 rm -f core conftest.err conftest.$ac_objext \
29655 conftest$ac_exeext conftest.$ac_ext
29656 CPPFLAGS="$am_save_CPPFLAGS"
29657 LIBS="$am_save_LIBS"
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29662 $as_echo "$am_cv_func_iconv" >&6; }
29663 if test "$am_cv_func_iconv" = yes; then
29665 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29668 if test "$am_cv_lib_iconv" = yes; then
29670 for element in $INCICONV; do
29671 haveit=
29672 for x in $CPPFLAGS; do
29674 acl_save_prefix="$prefix"
29675 prefix="$acl_final_prefix"
29676 acl_save_exec_prefix="$exec_prefix"
29677 exec_prefix="$acl_final_exec_prefix"
29678 eval x=\"$x\"
29679 exec_prefix="$acl_save_exec_prefix"
29680 prefix="$acl_save_prefix"
29682 if test "X$x" = "X$element"; then
29683 haveit=yes
29684 break
29686 done
29687 if test -z "$haveit"; then
29688 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29690 done
29692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29693 $as_echo_n "checking how to link with libiconv... " >&6; }
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29695 $as_echo "$LIBICONV" >&6; }
29696 else
29697 LIBICONV=
29698 LTLIBICONV=
29703 if test "$am_cv_func_iconv" = yes; then
29704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29705 $as_echo_n "checking for iconv declaration... " >&6; }
29706 if ${am_cv_proto_iconv+:} false; then :
29707 $as_echo_n "(cached) " >&6
29708 else
29710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h. */
29713 #include <stdlib.h>
29714 #include <iconv.h>
29715 extern
29716 #ifdef __cplusplus
29718 #endif
29719 #if defined(__STDC__) || defined(__cplusplus)
29720 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29721 #else
29722 size_t iconv();
29723 #endif
29726 main ()
29730 return 0;
29732 _ACEOF
29733 if ac_fn_c_try_compile "$LINENO"; then :
29734 am_cv_proto_iconv_arg1=""
29735 else
29736 am_cv_proto_iconv_arg1="const"
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 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);"
29742 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29744 }$am_cv_proto_iconv" >&5
29745 $as_echo "${ac_t:-
29746 }$am_cv_proto_iconv" >&6; }
29748 cat >>confdefs.h <<_ACEOF
29749 #define ICONV_CONST $am_cv_proto_iconv_arg1
29750 _ACEOF
29755 else
29757 # This lets us hard-code the functionality we know we'll have in the cross
29758 # target environment. "Let" is a sugar-coated word placed on an especially
29759 # dull and tedious hack, actually.
29761 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29762 # that involve linking, can't be used:
29763 # "cannot open sim-crt0.o"
29764 # "cannot open crt0.o"
29765 # etc. All this is because there currently exists no unified, consistent
29766 # way for top level CC information to be passed down to target directories:
29767 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29768 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29769 # crosses can be removed.
29771 # If Canadian cross, then don't pick up tools from the build directory.
29772 # Used only in GLIBCXX_EXPORT_INCLUDES.
29773 if test -n "$with_cross_host" &&
29774 test x"$build_alias" != x"$with_cross_host" &&
29775 test x"$build" != x"$target";
29776 then
29777 CANADIAN=yes
29778 else
29779 CANADIAN=no
29782 # Construct crosses by hand, eliminating bits that need ld...
29783 # GLIBCXX_CHECK_MATH_SUPPORT
29785 # First, test for "known" system libraries. We may be using newlib even
29786 # on a hosted environment.
29787 if test "x${with_newlib}" = "xyes"; then
29788 os_include_dir="os/newlib"
29789 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29792 # GLIBCXX_CHECK_STDLIB_SUPPORT
29793 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29796 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29798 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29800 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29802 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29804 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29806 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29808 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29810 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29812 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29814 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29816 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29818 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29820 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29822 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29824 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29826 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29828 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29830 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29832 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29834 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29836 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29838 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29841 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29843 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29845 else
29847 # Base decisions on target environment.
29848 case "${host}" in
29849 arm*-*-symbianelf*)
29850 # This is a freestanding configuration; there is nothing to do here.
29853 avr*-*-*)
29854 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29856 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29858 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29860 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29862 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29864 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29866 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29868 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29870 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29872 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29874 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29876 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29878 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29880 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29882 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29884 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29886 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29888 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29890 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29892 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29894 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29896 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29898 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29902 mips*-sde-elf*)
29903 # These definitions are for the SDE C library rather than newlib.
29904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29907 # All these tests are for C++; save the language and the compiler flags.
29908 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29909 # found in GLIBCXX_CONFIGURE.
29911 ac_ext=cpp
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29917 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29918 ac_save_CXXFLAGS="$CXXFLAGS"
29920 # Check for -ffunction-sections -fdata-sections
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29922 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29923 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29925 /* end confdefs.h. */
29926 int foo; void bar() { };
29928 main ()
29932 return 0;
29934 _ACEOF
29935 if ac_fn_cxx_try_compile "$LINENO"; then :
29936 ac_fdsections=yes
29937 else
29938 ac_fdsections=no
29940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29941 if test "$ac_test_CXXFLAGS" = set; then
29942 CXXFLAGS="$ac_save_CXXFLAGS"
29943 else
29944 # this is the suspicious part
29945 CXXFLAGS=''
29947 if test x"$ac_fdsections" = x"yes"; then
29948 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29951 $as_echo "$ac_fdsections" >&6; }
29953 ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29962 # If we're not using GNU ld, then there's no point in even trying these
29963 # tests. Check for that first. We should have already tested for gld
29964 # by now (in libtool), but require it now just to be safe...
29965 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29966 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29970 # The name set by libtool depends on the version of libtool. Shame on us
29971 # for depending on an impl detail, but c'est la vie. Older versions used
29972 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29973 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29974 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29975 # set (hence we're using an older libtool), then set it.
29976 if test x${with_gnu_ld+set} != xset; then
29977 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29978 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29979 with_gnu_ld=no
29980 else
29981 with_gnu_ld=$ac_cv_prog_gnu_ld
29985 # Start by getting the version number. I think the libtool test already
29986 # does some of this, but throws away the result.
29987 glibcxx_ld_is_gold=no
29988 if test x"$with_gnu_ld" = x"yes"; then
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29990 $as_echo_n "checking for ld version... " >&6; }
29992 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29993 glibcxx_ld_is_gold=yes
29995 ldver=`$LD --version 2>/dev/null |
29996 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29998 glibcxx_gnu_ld_version=`echo $ldver | \
29999 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
30001 $as_echo "$glibcxx_gnu_ld_version" >&6; }
30004 # Set --gc-sections.
30005 glibcxx_have_gc_sections=no
30006 if test "$glibcxx_ld_is_gold" = "yes"; then
30007 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
30008 glibcxx_have_gc_sections=yes
30010 else
30011 glibcxx_gcsections_min_ld=21602
30012 if test x"$with_gnu_ld" = x"yes" &&
30013 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
30014 glibcxx_have_gc_sections=yes
30017 if test "$glibcxx_have_gc_sections" = "yes"; then
30018 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
30019 # NB: This flag only works reliably after 2.16.1. Configure tests
30020 # for this are difficult, so hard wire a value that should work.
30022 ac_test_CFLAGS="${CFLAGS+set}"
30023 ac_save_CFLAGS="$CFLAGS"
30024 CFLAGS='-Wl,--gc-sections'
30026 # Check for -Wl,--gc-sections
30027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
30028 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
30029 if test x$gcc_no_link = xyes; then
30030 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30033 /* end confdefs.h. */
30034 int one(void) { return 1; }
30035 int two(void) { return 2; }
30038 main ()
30040 two();
30042 return 0;
30044 _ACEOF
30045 if ac_fn_c_try_link "$LINENO"; then :
30046 ac_gcsections=yes
30047 else
30048 ac_gcsections=no
30050 rm -f core conftest.err conftest.$ac_objext \
30051 conftest$ac_exeext conftest.$ac_ext
30052 if test "$ac_gcsections" = "yes"; then
30053 rm -f conftest.c
30054 touch conftest.c
30055 if $CC -c conftest.c; then
30056 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
30057 grep "Warning: gc-sections option ignored" > /dev/null; then
30058 ac_gcsections=no
30061 rm -f conftest.c conftest.o conftest
30063 if test "$ac_gcsections" = "yes"; then
30064 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30067 $as_echo "$ac_gcsections" >&6; }
30069 if test "$ac_test_CFLAGS" = set; then
30070 CFLAGS="$ac_save_CFLAGS"
30071 else
30072 # this is the suspicious part
30073 CFLAGS=''
30077 # Set -z,relro.
30078 # Note this is only for shared objects.
30079 ac_ld_relro=no
30080 if test x"$with_gnu_ld" = x"yes"; then
30081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30082 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30083 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30084 if test -n "$cxx_z_relo"; then
30085 OPT_LDFLAGS="-Wl,-z,relro"
30086 ac_ld_relro=yes
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30089 $as_echo "$ac_ld_relro" >&6; }
30092 # Set linker optimization flags.
30093 if test x"$with_gnu_ld" = x"yes"; then
30094 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30102 ac_save_CXXFLAGS="$CXXFLAGS"
30103 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30106 $as_echo_n "checking for sin in -lm... " >&6; }
30107 if ${ac_cv_lib_m_sin+:} false; then :
30108 $as_echo_n "(cached) " >&6
30109 else
30110 ac_check_lib_save_LIBS=$LIBS
30111 LIBS="-lm $LIBS"
30112 if test x$gcc_no_link = xyes; then
30113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30116 /* end confdefs.h. */
30118 /* Override any GCC internal prototype to avoid an error.
30119 Use char because int might match the return type of a GCC
30120 builtin and then its argument prototype would still apply. */
30121 #ifdef __cplusplus
30122 extern "C"
30123 #endif
30124 char sin ();
30126 main ()
30128 return sin ();
30130 return 0;
30132 _ACEOF
30133 if ac_fn_c_try_link "$LINENO"; then :
30134 ac_cv_lib_m_sin=yes
30135 else
30136 ac_cv_lib_m_sin=no
30138 rm -f core conftest.err conftest.$ac_objext \
30139 conftest$ac_exeext conftest.$ac_ext
30140 LIBS=$ac_check_lib_save_LIBS
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30143 $as_echo "$ac_cv_lib_m_sin" >&6; }
30144 if test "x$ac_cv_lib_m_sin" = xyes; then :
30145 libm="-lm"
30148 ac_save_LIBS="$LIBS"
30149 LIBS="$LIBS $libm"
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30154 $as_echo_n "checking for isinf declaration... " >&6; }
30155 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30156 if ${glibcxx_cv_func_isinf_use+:} false; then :
30157 $as_echo_n "(cached) " >&6
30158 else
30161 ac_ext=cpp
30162 ac_cpp='$CXXCPP $CPPFLAGS'
30163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30168 /* end confdefs.h. */
30169 #include <math.h>
30170 #ifdef HAVE_IEEEFP_H
30171 #include <ieeefp.h>
30172 #endif
30175 main ()
30177 isinf(0);
30179 return 0;
30181 _ACEOF
30182 if ac_fn_cxx_try_compile "$LINENO"; then :
30183 glibcxx_cv_func_isinf_use=yes
30184 else
30185 glibcxx_cv_func_isinf_use=no
30187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30188 ac_ext=c
30189 ac_cpp='$CPP $CPPFLAGS'
30190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30199 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30201 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30202 for ac_func in isinf
30203 do :
30204 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30205 if test "x$ac_cv_func_isinf" = xyes; then :
30206 cat >>confdefs.h <<_ACEOF
30207 #define HAVE_ISINF 1
30208 _ACEOF
30211 done
30213 else
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30216 $as_echo_n "checking for _isinf declaration... " >&6; }
30217 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30218 if ${glibcxx_cv_func__isinf_use+:} false; then :
30219 $as_echo_n "(cached) " >&6
30220 else
30223 ac_ext=cpp
30224 ac_cpp='$CXXCPP $CPPFLAGS'
30225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30230 /* end confdefs.h. */
30231 #include <math.h>
30232 #ifdef HAVE_IEEEFP_H
30233 #include <ieeefp.h>
30234 #endif
30237 main ()
30239 _isinf(0);
30241 return 0;
30243 _ACEOF
30244 if ac_fn_cxx_try_compile "$LINENO"; then :
30245 glibcxx_cv_func__isinf_use=yes
30246 else
30247 glibcxx_cv_func__isinf_use=no
30249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30250 ac_ext=c
30251 ac_cpp='$CPP $CPPFLAGS'
30252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30261 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30263 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30264 for ac_func in _isinf
30265 do :
30266 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30267 if test "x$ac_cv_func__isinf" = xyes; then :
30268 cat >>confdefs.h <<_ACEOF
30269 #define HAVE__ISINF 1
30270 _ACEOF
30273 done
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30283 $as_echo_n "checking for isnan declaration... " >&6; }
30284 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30285 if ${glibcxx_cv_func_isnan_use+:} false; then :
30286 $as_echo_n "(cached) " >&6
30287 else
30290 ac_ext=cpp
30291 ac_cpp='$CXXCPP $CPPFLAGS'
30292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30297 /* end confdefs.h. */
30298 #include <math.h>
30299 #ifdef HAVE_IEEEFP_H
30300 #include <ieeefp.h>
30301 #endif
30304 main ()
30306 isnan(0);
30308 return 0;
30310 _ACEOF
30311 if ac_fn_cxx_try_compile "$LINENO"; then :
30312 glibcxx_cv_func_isnan_use=yes
30313 else
30314 glibcxx_cv_func_isnan_use=no
30316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30317 ac_ext=c
30318 ac_cpp='$CPP $CPPFLAGS'
30319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30328 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30330 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30331 for ac_func in isnan
30332 do :
30333 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30334 if test "x$ac_cv_func_isnan" = xyes; then :
30335 cat >>confdefs.h <<_ACEOF
30336 #define HAVE_ISNAN 1
30337 _ACEOF
30340 done
30342 else
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30345 $as_echo_n "checking for _isnan declaration... " >&6; }
30346 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30347 if ${glibcxx_cv_func__isnan_use+:} false; then :
30348 $as_echo_n "(cached) " >&6
30349 else
30352 ac_ext=cpp
30353 ac_cpp='$CXXCPP $CPPFLAGS'
30354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30359 /* end confdefs.h. */
30360 #include <math.h>
30361 #ifdef HAVE_IEEEFP_H
30362 #include <ieeefp.h>
30363 #endif
30366 main ()
30368 _isnan(0);
30370 return 0;
30372 _ACEOF
30373 if ac_fn_cxx_try_compile "$LINENO"; then :
30374 glibcxx_cv_func__isnan_use=yes
30375 else
30376 glibcxx_cv_func__isnan_use=no
30378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30379 ac_ext=c
30380 ac_cpp='$CPP $CPPFLAGS'
30381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30390 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30392 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30393 for ac_func in _isnan
30394 do :
30395 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30396 if test "x$ac_cv_func__isnan" = xyes; then :
30397 cat >>confdefs.h <<_ACEOF
30398 #define HAVE__ISNAN 1
30399 _ACEOF
30402 done
30411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30412 $as_echo_n "checking for finite declaration... " >&6; }
30413 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30414 if ${glibcxx_cv_func_finite_use+:} false; then :
30415 $as_echo_n "(cached) " >&6
30416 else
30419 ac_ext=cpp
30420 ac_cpp='$CXXCPP $CPPFLAGS'
30421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h. */
30427 #include <math.h>
30428 #ifdef HAVE_IEEEFP_H
30429 #include <ieeefp.h>
30430 #endif
30433 main ()
30435 finite(0);
30437 return 0;
30439 _ACEOF
30440 if ac_fn_cxx_try_compile "$LINENO"; then :
30441 glibcxx_cv_func_finite_use=yes
30442 else
30443 glibcxx_cv_func_finite_use=no
30445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30446 ac_ext=c
30447 ac_cpp='$CPP $CPPFLAGS'
30448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30457 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30459 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30460 for ac_func in finite
30461 do :
30462 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30463 if test "x$ac_cv_func_finite" = xyes; then :
30464 cat >>confdefs.h <<_ACEOF
30465 #define HAVE_FINITE 1
30466 _ACEOF
30469 done
30471 else
30473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30474 $as_echo_n "checking for _finite declaration... " >&6; }
30475 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30476 if ${glibcxx_cv_func__finite_use+:} false; then :
30477 $as_echo_n "(cached) " >&6
30478 else
30481 ac_ext=cpp
30482 ac_cpp='$CXXCPP $CPPFLAGS'
30483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30488 /* end confdefs.h. */
30489 #include <math.h>
30490 #ifdef HAVE_IEEEFP_H
30491 #include <ieeefp.h>
30492 #endif
30495 main ()
30497 _finite(0);
30499 return 0;
30501 _ACEOF
30502 if ac_fn_cxx_try_compile "$LINENO"; then :
30503 glibcxx_cv_func__finite_use=yes
30504 else
30505 glibcxx_cv_func__finite_use=no
30507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30508 ac_ext=c
30509 ac_cpp='$CPP $CPPFLAGS'
30510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30519 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30521 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30522 for ac_func in _finite
30523 do :
30524 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30525 if test "x$ac_cv_func__finite" = xyes; then :
30526 cat >>confdefs.h <<_ACEOF
30527 #define HAVE__FINITE 1
30528 _ACEOF
30531 done
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30541 $as_echo_n "checking for sincos declaration... " >&6; }
30542 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30543 if ${glibcxx_cv_func_sincos_use+:} false; then :
30544 $as_echo_n "(cached) " >&6
30545 else
30548 ac_ext=cpp
30549 ac_cpp='$CXXCPP $CPPFLAGS'
30550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30556 #include <math.h>
30558 main ()
30560 sincos(0, 0, 0);
30562 return 0;
30564 _ACEOF
30565 if ac_fn_cxx_try_compile "$LINENO"; then :
30566 glibcxx_cv_func_sincos_use=yes
30567 else
30568 glibcxx_cv_func_sincos_use=no
30570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30571 ac_ext=c
30572 ac_cpp='$CPP $CPPFLAGS'
30573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30582 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30584 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30585 for ac_func in sincos
30586 do :
30587 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30588 if test "x$ac_cv_func_sincos" = xyes; then :
30589 cat >>confdefs.h <<_ACEOF
30590 #define HAVE_SINCOS 1
30591 _ACEOF
30594 done
30596 else
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30599 $as_echo_n "checking for _sincos declaration... " >&6; }
30600 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30601 if ${glibcxx_cv_func__sincos_use+:} false; then :
30602 $as_echo_n "(cached) " >&6
30603 else
30606 ac_ext=cpp
30607 ac_cpp='$CXXCPP $CPPFLAGS'
30608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h. */
30614 #include <math.h>
30616 main ()
30618 _sincos(0, 0, 0);
30620 return 0;
30622 _ACEOF
30623 if ac_fn_cxx_try_compile "$LINENO"; then :
30624 glibcxx_cv_func__sincos_use=yes
30625 else
30626 glibcxx_cv_func__sincos_use=no
30628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30629 ac_ext=c
30630 ac_cpp='$CPP $CPPFLAGS'
30631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30640 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30642 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30643 for ac_func in _sincos
30644 do :
30645 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30646 if test "x$ac_cv_func__sincos" = xyes; then :
30647 cat >>confdefs.h <<_ACEOF
30648 #define HAVE__SINCOS 1
30649 _ACEOF
30652 done
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30662 $as_echo_n "checking for fpclass declaration... " >&6; }
30663 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30664 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30665 $as_echo_n "(cached) " >&6
30666 else
30669 ac_ext=cpp
30670 ac_cpp='$CXXCPP $CPPFLAGS'
30671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30676 /* end confdefs.h. */
30677 #include <math.h>
30678 #ifdef HAVE_IEEEFP_H
30679 #include <ieeefp.h>
30680 #endif
30683 main ()
30685 fpclass(0);
30687 return 0;
30689 _ACEOF
30690 if ac_fn_cxx_try_compile "$LINENO"; then :
30691 glibcxx_cv_func_fpclass_use=yes
30692 else
30693 glibcxx_cv_func_fpclass_use=no
30695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30696 ac_ext=c
30697 ac_cpp='$CPP $CPPFLAGS'
30698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30707 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30709 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30710 for ac_func in fpclass
30711 do :
30712 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30713 if test "x$ac_cv_func_fpclass" = xyes; then :
30714 cat >>confdefs.h <<_ACEOF
30715 #define HAVE_FPCLASS 1
30716 _ACEOF
30719 done
30721 else
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30724 $as_echo_n "checking for _fpclass declaration... " >&6; }
30725 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30726 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30727 $as_echo_n "(cached) " >&6
30728 else
30731 ac_ext=cpp
30732 ac_cpp='$CXXCPP $CPPFLAGS'
30733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30738 /* end confdefs.h. */
30739 #include <math.h>
30740 #ifdef HAVE_IEEEFP_H
30741 #include <ieeefp.h>
30742 #endif
30745 main ()
30747 _fpclass(0);
30749 return 0;
30751 _ACEOF
30752 if ac_fn_cxx_try_compile "$LINENO"; then :
30753 glibcxx_cv_func__fpclass_use=yes
30754 else
30755 glibcxx_cv_func__fpclass_use=no
30757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30758 ac_ext=c
30759 ac_cpp='$CPP $CPPFLAGS'
30760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30769 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30771 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30772 for ac_func in _fpclass
30773 do :
30774 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30775 if test "x$ac_cv_func__fpclass" = xyes; then :
30776 cat >>confdefs.h <<_ACEOF
30777 #define HAVE__FPCLASS 1
30778 _ACEOF
30781 done
30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30791 $as_echo_n "checking for qfpclass declaration... " >&6; }
30792 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30793 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30794 $as_echo_n "(cached) " >&6
30795 else
30798 ac_ext=cpp
30799 ac_cpp='$CXXCPP $CPPFLAGS'
30800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30805 /* end confdefs.h. */
30806 #include <math.h>
30807 #ifdef HAVE_IEEEFP_H
30808 #include <ieeefp.h>
30809 #endif
30812 main ()
30814 qfpclass(0);
30816 return 0;
30818 _ACEOF
30819 if ac_fn_cxx_try_compile "$LINENO"; then :
30820 glibcxx_cv_func_qfpclass_use=yes
30821 else
30822 glibcxx_cv_func_qfpclass_use=no
30824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30825 ac_ext=c
30826 ac_cpp='$CPP $CPPFLAGS'
30827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30836 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30838 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30839 for ac_func in qfpclass
30840 do :
30841 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30842 if test "x$ac_cv_func_qfpclass" = xyes; then :
30843 cat >>confdefs.h <<_ACEOF
30844 #define HAVE_QFPCLASS 1
30845 _ACEOF
30848 done
30850 else
30852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30853 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30854 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30855 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30856 $as_echo_n "(cached) " >&6
30857 else
30860 ac_ext=cpp
30861 ac_cpp='$CXXCPP $CPPFLAGS'
30862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30867 /* end confdefs.h. */
30868 #include <math.h>
30869 #ifdef HAVE_IEEEFP_H
30870 #include <ieeefp.h>
30871 #endif
30874 main ()
30876 _qfpclass(0);
30878 return 0;
30880 _ACEOF
30881 if ac_fn_cxx_try_compile "$LINENO"; then :
30882 glibcxx_cv_func__qfpclass_use=yes
30883 else
30884 glibcxx_cv_func__qfpclass_use=no
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30887 ac_ext=c
30888 ac_cpp='$CPP $CPPFLAGS'
30889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30898 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30900 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30901 for ac_func in _qfpclass
30902 do :
30903 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30904 if test "x$ac_cv_func__qfpclass" = xyes; then :
30905 cat >>confdefs.h <<_ACEOF
30906 #define HAVE__QFPCLASS 1
30907 _ACEOF
30910 done
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30920 $as_echo_n "checking for hypot declaration... " >&6; }
30921 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30922 if ${glibcxx_cv_func_hypot_use+:} false; then :
30923 $as_echo_n "(cached) " >&6
30924 else
30927 ac_ext=cpp
30928 ac_cpp='$CXXCPP $CPPFLAGS'
30929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30935 #include <math.h>
30937 main ()
30939 hypot(0, 0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_hypot_use=yes
30946 else
30947 glibcxx_cv_func_hypot_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30961 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30963 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30964 for ac_func in hypot
30965 do :
30966 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30967 if test "x$ac_cv_func_hypot" = xyes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE_HYPOT 1
30970 _ACEOF
30973 done
30975 else
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30978 $as_echo_n "checking for _hypot declaration... " >&6; }
30979 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30980 if ${glibcxx_cv_func__hypot_use+:} false; then :
30981 $as_echo_n "(cached) " >&6
30982 else
30985 ac_ext=cpp
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992 /* end confdefs.h. */
30993 #include <math.h>
30995 main ()
30997 _hypot(0, 0);
30999 return 0;
31001 _ACEOF
31002 if ac_fn_cxx_try_compile "$LINENO"; then :
31003 glibcxx_cv_func__hypot_use=yes
31004 else
31005 glibcxx_cv_func__hypot_use=no
31007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31008 ac_ext=c
31009 ac_cpp='$CPP $CPPFLAGS'
31010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
31019 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
31021 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
31022 for ac_func in _hypot
31023 do :
31024 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
31025 if test "x$ac_cv_func__hypot" = xyes; then :
31026 cat >>confdefs.h <<_ACEOF
31027 #define HAVE__HYPOT 1
31028 _ACEOF
31031 done
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
31041 $as_echo_n "checking for float trig functions... " >&6; }
31042 if ${glibcxx_cv_func_float_trig_use+:} false; then :
31043 $as_echo_n "(cached) " >&6
31044 else
31047 ac_ext=cpp
31048 ac_cpp='$CXXCPP $CPPFLAGS'
31049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054 /* end confdefs.h. */
31055 #include <math.h>
31057 main ()
31059 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31061 return 0;
31063 _ACEOF
31064 if ac_fn_cxx_try_compile "$LINENO"; then :
31065 glibcxx_cv_func_float_trig_use=yes
31066 else
31067 glibcxx_cv_func_float_trig_use=no
31069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070 ac_ext=c
31071 ac_cpp='$CPP $CPPFLAGS'
31072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31079 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31080 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31081 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31082 do :
31083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31085 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31086 cat >>confdefs.h <<_ACEOF
31087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31088 _ACEOF
31091 done
31093 else
31094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31095 $as_echo_n "checking for _float trig functions... " >&6; }
31096 if ${glibcxx_cv_func__float_trig_use+:} false; then :
31097 $as_echo_n "(cached) " >&6
31098 else
31101 ac_ext=cpp
31102 ac_cpp='$CXXCPP $CPPFLAGS'
31103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31108 /* end confdefs.h. */
31109 #include <math.h>
31111 main ()
31113 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31115 return 0;
31117 _ACEOF
31118 if ac_fn_cxx_try_compile "$LINENO"; then :
31119 glibcxx_cv_func__float_trig_use=yes
31120 else
31121 glibcxx_cv_func__float_trig_use=no
31123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31124 ac_ext=c
31125 ac_cpp='$CPP $CPPFLAGS'
31126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31133 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31134 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31135 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31136 do :
31137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31139 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31140 cat >>confdefs.h <<_ACEOF
31141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31142 _ACEOF
31145 done
31154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31155 $as_echo_n "checking for float round functions... " >&6; }
31156 if ${glibcxx_cv_func_float_round_use+:} false; then :
31157 $as_echo_n "(cached) " >&6
31158 else
31161 ac_ext=cpp
31162 ac_cpp='$CXXCPP $CPPFLAGS'
31163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168 /* end confdefs.h. */
31169 #include <math.h>
31171 main ()
31173 ceilf (0); floorf (0);
31175 return 0;
31177 _ACEOF
31178 if ac_fn_cxx_try_compile "$LINENO"; then :
31179 glibcxx_cv_func_float_round_use=yes
31180 else
31181 glibcxx_cv_func_float_round_use=no
31183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31184 ac_ext=c
31185 ac_cpp='$CPP $CPPFLAGS'
31186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31193 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31194 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31195 for ac_func in ceilf floorf
31196 do :
31197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31199 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31200 cat >>confdefs.h <<_ACEOF
31201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31202 _ACEOF
31205 done
31207 else
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31209 $as_echo_n "checking for _float round functions... " >&6; }
31210 if ${glibcxx_cv_func__float_round_use+:} false; then :
31211 $as_echo_n "(cached) " >&6
31212 else
31215 ac_ext=cpp
31216 ac_cpp='$CXXCPP $CPPFLAGS'
31217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31222 /* end confdefs.h. */
31223 #include <math.h>
31225 main ()
31227 _ceilf (0); _floorf (0);
31229 return 0;
31231 _ACEOF
31232 if ac_fn_cxx_try_compile "$LINENO"; then :
31233 glibcxx_cv_func__float_round_use=yes
31234 else
31235 glibcxx_cv_func__float_round_use=no
31237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31238 ac_ext=c
31239 ac_cpp='$CPP $CPPFLAGS'
31240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31247 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31248 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31249 for ac_func in _ceilf _floorf
31250 do :
31251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31253 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31254 cat >>confdefs.h <<_ACEOF
31255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31256 _ACEOF
31259 done
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31270 $as_echo_n "checking for expf declaration... " >&6; }
31271 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31272 if ${glibcxx_cv_func_expf_use+:} false; then :
31273 $as_echo_n "(cached) " >&6
31274 else
31277 ac_ext=cpp
31278 ac_cpp='$CXXCPP $CPPFLAGS'
31279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31284 /* end confdefs.h. */
31285 #include <math.h>
31286 #ifdef HAVE_IEEEFP_H
31287 #include <ieeefp.h>
31288 #endif
31291 main ()
31293 expf(0);
31295 return 0;
31297 _ACEOF
31298 if ac_fn_cxx_try_compile "$LINENO"; then :
31299 glibcxx_cv_func_expf_use=yes
31300 else
31301 glibcxx_cv_func_expf_use=no
31303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31304 ac_ext=c
31305 ac_cpp='$CPP $CPPFLAGS'
31306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31315 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31317 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31318 for ac_func in expf
31319 do :
31320 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31321 if test "x$ac_cv_func_expf" = xyes; then :
31322 cat >>confdefs.h <<_ACEOF
31323 #define HAVE_EXPF 1
31324 _ACEOF
31327 done
31329 else
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31332 $as_echo_n "checking for _expf declaration... " >&6; }
31333 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31334 if ${glibcxx_cv_func__expf_use+:} false; then :
31335 $as_echo_n "(cached) " >&6
31336 else
31339 ac_ext=cpp
31340 ac_cpp='$CXXCPP $CPPFLAGS'
31341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31346 /* end confdefs.h. */
31347 #include <math.h>
31348 #ifdef HAVE_IEEEFP_H
31349 #include <ieeefp.h>
31350 #endif
31353 main ()
31355 _expf(0);
31357 return 0;
31359 _ACEOF
31360 if ac_fn_cxx_try_compile "$LINENO"; then :
31361 glibcxx_cv_func__expf_use=yes
31362 else
31363 glibcxx_cv_func__expf_use=no
31365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31366 ac_ext=c
31367 ac_cpp='$CPP $CPPFLAGS'
31368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31377 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
31379 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31380 for ac_func in _expf
31381 do :
31382 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31383 if test "x$ac_cv_func__expf" = xyes; then :
31384 cat >>confdefs.h <<_ACEOF
31385 #define HAVE__EXPF 1
31386 _ACEOF
31389 done
31398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31399 $as_echo_n "checking for isnanf declaration... " >&6; }
31400 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31401 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31402 $as_echo_n "(cached) " >&6
31403 else
31406 ac_ext=cpp
31407 ac_cpp='$CXXCPP $CPPFLAGS'
31408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31413 /* end confdefs.h. */
31414 #include <math.h>
31415 #ifdef HAVE_IEEEFP_H
31416 #include <ieeefp.h>
31417 #endif
31420 main ()
31422 isnanf(0);
31424 return 0;
31426 _ACEOF
31427 if ac_fn_cxx_try_compile "$LINENO"; then :
31428 glibcxx_cv_func_isnanf_use=yes
31429 else
31430 glibcxx_cv_func_isnanf_use=no
31432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31433 ac_ext=c
31434 ac_cpp='$CPP $CPPFLAGS'
31435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31444 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31446 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31447 for ac_func in isnanf
31448 do :
31449 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31450 if test "x$ac_cv_func_isnanf" = xyes; then :
31451 cat >>confdefs.h <<_ACEOF
31452 #define HAVE_ISNANF 1
31453 _ACEOF
31456 done
31458 else
31460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31461 $as_echo_n "checking for _isnanf declaration... " >&6; }
31462 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31463 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31464 $as_echo_n "(cached) " >&6
31465 else
31468 ac_ext=cpp
31469 ac_cpp='$CXXCPP $CPPFLAGS'
31470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475 /* end confdefs.h. */
31476 #include <math.h>
31477 #ifdef HAVE_IEEEFP_H
31478 #include <ieeefp.h>
31479 #endif
31482 main ()
31484 _isnanf(0);
31486 return 0;
31488 _ACEOF
31489 if ac_fn_cxx_try_compile "$LINENO"; then :
31490 glibcxx_cv_func__isnanf_use=yes
31491 else
31492 glibcxx_cv_func__isnanf_use=no
31494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31495 ac_ext=c
31496 ac_cpp='$CPP $CPPFLAGS'
31497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31506 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31508 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31509 for ac_func in _isnanf
31510 do :
31511 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31512 if test "x$ac_cv_func__isnanf" = xyes; then :
31513 cat >>confdefs.h <<_ACEOF
31514 #define HAVE__ISNANF 1
31515 _ACEOF
31518 done
31527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31528 $as_echo_n "checking for isinff declaration... " >&6; }
31529 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31530 if ${glibcxx_cv_func_isinff_use+:} false; then :
31531 $as_echo_n "(cached) " >&6
31532 else
31535 ac_ext=cpp
31536 ac_cpp='$CXXCPP $CPPFLAGS'
31537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31542 /* end confdefs.h. */
31543 #include <math.h>
31544 #ifdef HAVE_IEEEFP_H
31545 #include <ieeefp.h>
31546 #endif
31549 main ()
31551 isinff(0);
31553 return 0;
31555 _ACEOF
31556 if ac_fn_cxx_try_compile "$LINENO"; then :
31557 glibcxx_cv_func_isinff_use=yes
31558 else
31559 glibcxx_cv_func_isinff_use=no
31561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31562 ac_ext=c
31563 ac_cpp='$CPP $CPPFLAGS'
31564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31573 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31575 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31576 for ac_func in isinff
31577 do :
31578 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31579 if test "x$ac_cv_func_isinff" = xyes; then :
31580 cat >>confdefs.h <<_ACEOF
31581 #define HAVE_ISINFF 1
31582 _ACEOF
31585 done
31587 else
31589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31590 $as_echo_n "checking for _isinff declaration... " >&6; }
31591 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31592 if ${glibcxx_cv_func__isinff_use+:} false; then :
31593 $as_echo_n "(cached) " >&6
31594 else
31597 ac_ext=cpp
31598 ac_cpp='$CXXCPP $CPPFLAGS'
31599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31604 /* end confdefs.h. */
31605 #include <math.h>
31606 #ifdef HAVE_IEEEFP_H
31607 #include <ieeefp.h>
31608 #endif
31611 main ()
31613 _isinff(0);
31615 return 0;
31617 _ACEOF
31618 if ac_fn_cxx_try_compile "$LINENO"; then :
31619 glibcxx_cv_func__isinff_use=yes
31620 else
31621 glibcxx_cv_func__isinff_use=no
31623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31624 ac_ext=c
31625 ac_cpp='$CPP $CPPFLAGS'
31626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31635 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31637 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31638 for ac_func in _isinff
31639 do :
31640 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31641 if test "x$ac_cv_func__isinff" = xyes; then :
31642 cat >>confdefs.h <<_ACEOF
31643 #define HAVE__ISINFF 1
31644 _ACEOF
31647 done
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31657 $as_echo_n "checking for atan2f declaration... " >&6; }
31658 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31659 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31660 $as_echo_n "(cached) " >&6
31661 else
31664 ac_ext=cpp
31665 ac_cpp='$CXXCPP $CPPFLAGS'
31666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31671 /* end confdefs.h. */
31672 #include <math.h>
31674 main ()
31676 atan2f(0, 0);
31678 return 0;
31680 _ACEOF
31681 if ac_fn_cxx_try_compile "$LINENO"; then :
31682 glibcxx_cv_func_atan2f_use=yes
31683 else
31684 glibcxx_cv_func_atan2f_use=no
31686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31687 ac_ext=c
31688 ac_cpp='$CPP $CPPFLAGS'
31689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31698 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31700 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31701 for ac_func in atan2f
31702 do :
31703 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31704 if test "x$ac_cv_func_atan2f" = xyes; then :
31705 cat >>confdefs.h <<_ACEOF
31706 #define HAVE_ATAN2F 1
31707 _ACEOF
31710 done
31712 else
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31715 $as_echo_n "checking for _atan2f declaration... " >&6; }
31716 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31717 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31718 $as_echo_n "(cached) " >&6
31719 else
31722 ac_ext=cpp
31723 ac_cpp='$CXXCPP $CPPFLAGS'
31724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31729 /* end confdefs.h. */
31730 #include <math.h>
31732 main ()
31734 _atan2f(0, 0);
31736 return 0;
31738 _ACEOF
31739 if ac_fn_cxx_try_compile "$LINENO"; then :
31740 glibcxx_cv_func__atan2f_use=yes
31741 else
31742 glibcxx_cv_func__atan2f_use=no
31744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31745 ac_ext=c
31746 ac_cpp='$CPP $CPPFLAGS'
31747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31756 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31758 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31759 for ac_func in _atan2f
31760 do :
31761 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31762 if test "x$ac_cv_func__atan2f" = xyes; then :
31763 cat >>confdefs.h <<_ACEOF
31764 #define HAVE__ATAN2F 1
31765 _ACEOF
31768 done
31777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31778 $as_echo_n "checking for fabsf declaration... " >&6; }
31779 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31780 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31781 $as_echo_n "(cached) " >&6
31782 else
31785 ac_ext=cpp
31786 ac_cpp='$CXXCPP $CPPFLAGS'
31787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31792 /* end confdefs.h. */
31793 #include <math.h>
31794 #ifdef HAVE_IEEEFP_H
31795 #include <ieeefp.h>
31796 #endif
31799 main ()
31801 fabsf(0);
31803 return 0;
31805 _ACEOF
31806 if ac_fn_cxx_try_compile "$LINENO"; then :
31807 glibcxx_cv_func_fabsf_use=yes
31808 else
31809 glibcxx_cv_func_fabsf_use=no
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812 ac_ext=c
31813 ac_cpp='$CPP $CPPFLAGS'
31814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31823 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31825 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31826 for ac_func in fabsf
31827 do :
31828 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31829 if test "x$ac_cv_func_fabsf" = xyes; then :
31830 cat >>confdefs.h <<_ACEOF
31831 #define HAVE_FABSF 1
31832 _ACEOF
31835 done
31837 else
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31840 $as_echo_n "checking for _fabsf declaration... " >&6; }
31841 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31842 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31843 $as_echo_n "(cached) " >&6
31844 else
31847 ac_ext=cpp
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854 /* end confdefs.h. */
31855 #include <math.h>
31856 #ifdef HAVE_IEEEFP_H
31857 #include <ieeefp.h>
31858 #endif
31861 main ()
31863 _fabsf(0);
31865 return 0;
31867 _ACEOF
31868 if ac_fn_cxx_try_compile "$LINENO"; then :
31869 glibcxx_cv_func__fabsf_use=yes
31870 else
31871 glibcxx_cv_func__fabsf_use=no
31873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31874 ac_ext=c
31875 ac_cpp='$CPP $CPPFLAGS'
31876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31885 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31887 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31888 for ac_func in _fabsf
31889 do :
31890 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31891 if test "x$ac_cv_func__fabsf" = xyes; then :
31892 cat >>confdefs.h <<_ACEOF
31893 #define HAVE__FABSF 1
31894 _ACEOF
31897 done
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31907 $as_echo_n "checking for fmodf declaration... " >&6; }
31908 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31909 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31910 $as_echo_n "(cached) " >&6
31911 else
31914 ac_ext=cpp
31915 ac_cpp='$CXXCPP $CPPFLAGS'
31916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31921 /* end confdefs.h. */
31922 #include <math.h>
31924 main ()
31926 fmodf(0, 0);
31928 return 0;
31930 _ACEOF
31931 if ac_fn_cxx_try_compile "$LINENO"; then :
31932 glibcxx_cv_func_fmodf_use=yes
31933 else
31934 glibcxx_cv_func_fmodf_use=no
31936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31937 ac_ext=c
31938 ac_cpp='$CPP $CPPFLAGS'
31939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31948 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31950 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31951 for ac_func in fmodf
31952 do :
31953 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31954 if test "x$ac_cv_func_fmodf" = xyes; then :
31955 cat >>confdefs.h <<_ACEOF
31956 #define HAVE_FMODF 1
31957 _ACEOF
31960 done
31962 else
31964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31965 $as_echo_n "checking for _fmodf declaration... " >&6; }
31966 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31967 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31968 $as_echo_n "(cached) " >&6
31969 else
31972 ac_ext=cpp
31973 ac_cpp='$CXXCPP $CPPFLAGS'
31974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31979 /* end confdefs.h. */
31980 #include <math.h>
31982 main ()
31984 _fmodf(0, 0);
31986 return 0;
31988 _ACEOF
31989 if ac_fn_cxx_try_compile "$LINENO"; then :
31990 glibcxx_cv_func__fmodf_use=yes
31991 else
31992 glibcxx_cv_func__fmodf_use=no
31994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31995 ac_ext=c
31996 ac_cpp='$CPP $CPPFLAGS'
31997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
32006 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
32008 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32009 for ac_func in _fmodf
32010 do :
32011 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
32012 if test "x$ac_cv_func__fmodf" = xyes; then :
32013 cat >>confdefs.h <<_ACEOF
32014 #define HAVE__FMODF 1
32015 _ACEOF
32018 done
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
32028 $as_echo_n "checking for frexpf declaration... " >&6; }
32029 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32030 if ${glibcxx_cv_func_frexpf_use+:} false; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32035 ac_ext=cpp
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043 #include <math.h>
32045 main ()
32047 frexpf(0, 0);
32049 return 0;
32051 _ACEOF
32052 if ac_fn_cxx_try_compile "$LINENO"; then :
32053 glibcxx_cv_func_frexpf_use=yes
32054 else
32055 glibcxx_cv_func_frexpf_use=no
32057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32058 ac_ext=c
32059 ac_cpp='$CPP $CPPFLAGS'
32060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32069 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32071 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32072 for ac_func in frexpf
32073 do :
32074 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32075 if test "x$ac_cv_func_frexpf" = xyes; then :
32076 cat >>confdefs.h <<_ACEOF
32077 #define HAVE_FREXPF 1
32078 _ACEOF
32081 done
32083 else
32085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32086 $as_echo_n "checking for _frexpf declaration... " >&6; }
32087 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32088 if ${glibcxx_cv_func__frexpf_use+:} false; then :
32089 $as_echo_n "(cached) " >&6
32090 else
32093 ac_ext=cpp
32094 ac_cpp='$CXXCPP $CPPFLAGS'
32095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32100 /* end confdefs.h. */
32101 #include <math.h>
32103 main ()
32105 _frexpf(0, 0);
32107 return 0;
32109 _ACEOF
32110 if ac_fn_cxx_try_compile "$LINENO"; then :
32111 glibcxx_cv_func__frexpf_use=yes
32112 else
32113 glibcxx_cv_func__frexpf_use=no
32115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32116 ac_ext=c
32117 ac_cpp='$CPP $CPPFLAGS'
32118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
32127 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32129 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32130 for ac_func in _frexpf
32131 do :
32132 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32133 if test "x$ac_cv_func__frexpf" = xyes; then :
32134 cat >>confdefs.h <<_ACEOF
32135 #define HAVE__FREXPF 1
32136 _ACEOF
32139 done
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32149 $as_echo_n "checking for hypotf declaration... " >&6; }
32150 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32151 if ${glibcxx_cv_func_hypotf_use+:} false; then :
32152 $as_echo_n "(cached) " >&6
32153 else
32156 ac_ext=cpp
32157 ac_cpp='$CXXCPP $CPPFLAGS'
32158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32163 /* end confdefs.h. */
32164 #include <math.h>
32166 main ()
32168 hypotf(0, 0);
32170 return 0;
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func_hypotf_use=yes
32175 else
32176 glibcxx_cv_func_hypotf_use=no
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32190 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32192 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32193 for ac_func in hypotf
32194 do :
32195 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32196 if test "x$ac_cv_func_hypotf" = xyes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE_HYPOTF 1
32199 _ACEOF
32202 done
32204 else
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32207 $as_echo_n "checking for _hypotf declaration... " >&6; }
32208 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32209 if ${glibcxx_cv_func__hypotf_use+:} false; then :
32210 $as_echo_n "(cached) " >&6
32211 else
32214 ac_ext=cpp
32215 ac_cpp='$CXXCPP $CPPFLAGS'
32216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32221 /* end confdefs.h. */
32222 #include <math.h>
32224 main ()
32226 _hypotf(0, 0);
32228 return 0;
32230 _ACEOF
32231 if ac_fn_cxx_try_compile "$LINENO"; then :
32232 glibcxx_cv_func__hypotf_use=yes
32233 else
32234 glibcxx_cv_func__hypotf_use=no
32236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32237 ac_ext=c
32238 ac_cpp='$CPP $CPPFLAGS'
32239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32248 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32250 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32251 for ac_func in _hypotf
32252 do :
32253 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32254 if test "x$ac_cv_func__hypotf" = xyes; then :
32255 cat >>confdefs.h <<_ACEOF
32256 #define HAVE__HYPOTF 1
32257 _ACEOF
32260 done
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32270 $as_echo_n "checking for ldexpf declaration... " >&6; }
32271 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32272 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32273 $as_echo_n "(cached) " >&6
32274 else
32277 ac_ext=cpp
32278 ac_cpp='$CXXCPP $CPPFLAGS'
32279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32284 /* end confdefs.h. */
32285 #include <math.h>
32287 main ()
32289 ldexpf(0, 0);
32291 return 0;
32293 _ACEOF
32294 if ac_fn_cxx_try_compile "$LINENO"; then :
32295 glibcxx_cv_func_ldexpf_use=yes
32296 else
32297 glibcxx_cv_func_ldexpf_use=no
32299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32300 ac_ext=c
32301 ac_cpp='$CPP $CPPFLAGS'
32302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32311 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32313 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32314 for ac_func in ldexpf
32315 do :
32316 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32317 if test "x$ac_cv_func_ldexpf" = xyes; then :
32318 cat >>confdefs.h <<_ACEOF
32319 #define HAVE_LDEXPF 1
32320 _ACEOF
32323 done
32325 else
32327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32328 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32329 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32330 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32331 $as_echo_n "(cached) " >&6
32332 else
32335 ac_ext=cpp
32336 ac_cpp='$CXXCPP $CPPFLAGS'
32337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32342 /* end confdefs.h. */
32343 #include <math.h>
32345 main ()
32347 _ldexpf(0, 0);
32349 return 0;
32351 _ACEOF
32352 if ac_fn_cxx_try_compile "$LINENO"; then :
32353 glibcxx_cv_func__ldexpf_use=yes
32354 else
32355 glibcxx_cv_func__ldexpf_use=no
32357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32358 ac_ext=c
32359 ac_cpp='$CPP $CPPFLAGS'
32360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32369 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32371 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32372 for ac_func in _ldexpf
32373 do :
32374 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32375 if test "x$ac_cv_func__ldexpf" = xyes; then :
32376 cat >>confdefs.h <<_ACEOF
32377 #define HAVE__LDEXPF 1
32378 _ACEOF
32381 done
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32391 $as_echo_n "checking for logf declaration... " >&6; }
32392 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32393 if ${glibcxx_cv_func_logf_use+:} false; then :
32394 $as_echo_n "(cached) " >&6
32395 else
32398 ac_ext=cpp
32399 ac_cpp='$CXXCPP $CPPFLAGS'
32400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32405 /* end confdefs.h. */
32406 #include <math.h>
32407 #ifdef HAVE_IEEEFP_H
32408 #include <ieeefp.h>
32409 #endif
32412 main ()
32414 logf(0);
32416 return 0;
32418 _ACEOF
32419 if ac_fn_cxx_try_compile "$LINENO"; then :
32420 glibcxx_cv_func_logf_use=yes
32421 else
32422 glibcxx_cv_func_logf_use=no
32424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425 ac_ext=c
32426 ac_cpp='$CPP $CPPFLAGS'
32427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32436 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32438 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32439 for ac_func in logf
32440 do :
32441 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32442 if test "x$ac_cv_func_logf" = xyes; then :
32443 cat >>confdefs.h <<_ACEOF
32444 #define HAVE_LOGF 1
32445 _ACEOF
32448 done
32450 else
32452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32453 $as_echo_n "checking for _logf declaration... " >&6; }
32454 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32455 if ${glibcxx_cv_func__logf_use+:} false; then :
32456 $as_echo_n "(cached) " >&6
32457 else
32460 ac_ext=cpp
32461 ac_cpp='$CXXCPP $CPPFLAGS'
32462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32467 /* end confdefs.h. */
32468 #include <math.h>
32469 #ifdef HAVE_IEEEFP_H
32470 #include <ieeefp.h>
32471 #endif
32474 main ()
32476 _logf(0);
32478 return 0;
32480 _ACEOF
32481 if ac_fn_cxx_try_compile "$LINENO"; then :
32482 glibcxx_cv_func__logf_use=yes
32483 else
32484 glibcxx_cv_func__logf_use=no
32486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32487 ac_ext=c
32488 ac_cpp='$CPP $CPPFLAGS'
32489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32498 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32500 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32501 for ac_func in _logf
32502 do :
32503 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32504 if test "x$ac_cv_func__logf" = xyes; then :
32505 cat >>confdefs.h <<_ACEOF
32506 #define HAVE__LOGF 1
32507 _ACEOF
32510 done
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32520 $as_echo_n "checking for log10f declaration... " >&6; }
32521 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32522 if ${glibcxx_cv_func_log10f_use+:} false; then :
32523 $as_echo_n "(cached) " >&6
32524 else
32527 ac_ext=cpp
32528 ac_cpp='$CXXCPP $CPPFLAGS'
32529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32534 /* end confdefs.h. */
32535 #include <math.h>
32536 #ifdef HAVE_IEEEFP_H
32537 #include <ieeefp.h>
32538 #endif
32541 main ()
32543 log10f(0);
32545 return 0;
32547 _ACEOF
32548 if ac_fn_cxx_try_compile "$LINENO"; then :
32549 glibcxx_cv_func_log10f_use=yes
32550 else
32551 glibcxx_cv_func_log10f_use=no
32553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554 ac_ext=c
32555 ac_cpp='$CPP $CPPFLAGS'
32556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32565 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32567 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32568 for ac_func in log10f
32569 do :
32570 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32571 if test "x$ac_cv_func_log10f" = xyes; then :
32572 cat >>confdefs.h <<_ACEOF
32573 #define HAVE_LOG10F 1
32574 _ACEOF
32577 done
32579 else
32581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32582 $as_echo_n "checking for _log10f declaration... " >&6; }
32583 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32584 if ${glibcxx_cv_func__log10f_use+:} false; then :
32585 $as_echo_n "(cached) " >&6
32586 else
32589 ac_ext=cpp
32590 ac_cpp='$CXXCPP $CPPFLAGS'
32591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32596 /* end confdefs.h. */
32597 #include <math.h>
32598 #ifdef HAVE_IEEEFP_H
32599 #include <ieeefp.h>
32600 #endif
32603 main ()
32605 _log10f(0);
32607 return 0;
32609 _ACEOF
32610 if ac_fn_cxx_try_compile "$LINENO"; then :
32611 glibcxx_cv_func__log10f_use=yes
32612 else
32613 glibcxx_cv_func__log10f_use=no
32615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32616 ac_ext=c
32617 ac_cpp='$CPP $CPPFLAGS'
32618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32627 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32629 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32630 for ac_func in _log10f
32631 do :
32632 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32633 if test "x$ac_cv_func__log10f" = xyes; then :
32634 cat >>confdefs.h <<_ACEOF
32635 #define HAVE__LOG10F 1
32636 _ACEOF
32639 done
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32649 $as_echo_n "checking for modff declaration... " >&6; }
32650 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32651 if ${glibcxx_cv_func_modff_use+:} false; then :
32652 $as_echo_n "(cached) " >&6
32653 else
32656 ac_ext=cpp
32657 ac_cpp='$CXXCPP $CPPFLAGS'
32658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32663 /* end confdefs.h. */
32664 #include <math.h>
32666 main ()
32668 modff(0, 0);
32670 return 0;
32672 _ACEOF
32673 if ac_fn_cxx_try_compile "$LINENO"; then :
32674 glibcxx_cv_func_modff_use=yes
32675 else
32676 glibcxx_cv_func_modff_use=no
32678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32679 ac_ext=c
32680 ac_cpp='$CPP $CPPFLAGS'
32681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32690 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32692 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32693 for ac_func in modff
32694 do :
32695 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32696 if test "x$ac_cv_func_modff" = xyes; then :
32697 cat >>confdefs.h <<_ACEOF
32698 #define HAVE_MODFF 1
32699 _ACEOF
32702 done
32704 else
32706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32707 $as_echo_n "checking for _modff declaration... " >&6; }
32708 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32709 if ${glibcxx_cv_func__modff_use+:} false; then :
32710 $as_echo_n "(cached) " >&6
32711 else
32714 ac_ext=cpp
32715 ac_cpp='$CXXCPP $CPPFLAGS'
32716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32721 /* end confdefs.h. */
32722 #include <math.h>
32724 main ()
32726 _modff(0, 0);
32728 return 0;
32730 _ACEOF
32731 if ac_fn_cxx_try_compile "$LINENO"; then :
32732 glibcxx_cv_func__modff_use=yes
32733 else
32734 glibcxx_cv_func__modff_use=no
32736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32737 ac_ext=c
32738 ac_cpp='$CPP $CPPFLAGS'
32739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32748 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32750 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32751 for ac_func in _modff
32752 do :
32753 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32754 if test "x$ac_cv_func__modff" = xyes; then :
32755 cat >>confdefs.h <<_ACEOF
32756 #define HAVE__MODFF 1
32757 _ACEOF
32760 done
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32770 $as_echo_n "checking for modf declaration... " >&6; }
32771 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32772 if ${glibcxx_cv_func_modf_use+:} false; then :
32773 $as_echo_n "(cached) " >&6
32774 else
32777 ac_ext=cpp
32778 ac_cpp='$CXXCPP $CPPFLAGS'
32779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32784 /* end confdefs.h. */
32785 #include <math.h>
32787 main ()
32789 modf(0, 0);
32791 return 0;
32793 _ACEOF
32794 if ac_fn_cxx_try_compile "$LINENO"; then :
32795 glibcxx_cv_func_modf_use=yes
32796 else
32797 glibcxx_cv_func_modf_use=no
32799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32800 ac_ext=c
32801 ac_cpp='$CPP $CPPFLAGS'
32802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32811 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32813 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32814 for ac_func in modf
32815 do :
32816 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32817 if test "x$ac_cv_func_modf" = xyes; then :
32818 cat >>confdefs.h <<_ACEOF
32819 #define HAVE_MODF 1
32820 _ACEOF
32823 done
32825 else
32827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32828 $as_echo_n "checking for _modf declaration... " >&6; }
32829 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32830 if ${glibcxx_cv_func__modf_use+:} false; then :
32831 $as_echo_n "(cached) " >&6
32832 else
32835 ac_ext=cpp
32836 ac_cpp='$CXXCPP $CPPFLAGS'
32837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32842 /* end confdefs.h. */
32843 #include <math.h>
32845 main ()
32847 _modf(0, 0);
32849 return 0;
32851 _ACEOF
32852 if ac_fn_cxx_try_compile "$LINENO"; then :
32853 glibcxx_cv_func__modf_use=yes
32854 else
32855 glibcxx_cv_func__modf_use=no
32857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32858 ac_ext=c
32859 ac_cpp='$CPP $CPPFLAGS'
32860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32869 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32871 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32872 for ac_func in _modf
32873 do :
32874 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32875 if test "x$ac_cv_func__modf" = xyes; then :
32876 cat >>confdefs.h <<_ACEOF
32877 #define HAVE__MODF 1
32878 _ACEOF
32881 done
32890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32891 $as_echo_n "checking for powf declaration... " >&6; }
32892 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32893 if ${glibcxx_cv_func_powf_use+:} false; then :
32894 $as_echo_n "(cached) " >&6
32895 else
32898 ac_ext=cpp
32899 ac_cpp='$CXXCPP $CPPFLAGS'
32900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32905 /* end confdefs.h. */
32906 #include <math.h>
32908 main ()
32910 powf(0, 0);
32912 return 0;
32914 _ACEOF
32915 if ac_fn_cxx_try_compile "$LINENO"; then :
32916 glibcxx_cv_func_powf_use=yes
32917 else
32918 glibcxx_cv_func_powf_use=no
32920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32921 ac_ext=c
32922 ac_cpp='$CPP $CPPFLAGS'
32923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32932 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32934 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32935 for ac_func in powf
32936 do :
32937 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32938 if test "x$ac_cv_func_powf" = xyes; then :
32939 cat >>confdefs.h <<_ACEOF
32940 #define HAVE_POWF 1
32941 _ACEOF
32944 done
32946 else
32948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32949 $as_echo_n "checking for _powf declaration... " >&6; }
32950 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32951 if ${glibcxx_cv_func__powf_use+:} false; then :
32952 $as_echo_n "(cached) " >&6
32953 else
32956 ac_ext=cpp
32957 ac_cpp='$CXXCPP $CPPFLAGS'
32958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32963 /* end confdefs.h. */
32964 #include <math.h>
32966 main ()
32968 _powf(0, 0);
32970 return 0;
32972 _ACEOF
32973 if ac_fn_cxx_try_compile "$LINENO"; then :
32974 glibcxx_cv_func__powf_use=yes
32975 else
32976 glibcxx_cv_func__powf_use=no
32978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32979 ac_ext=c
32980 ac_cpp='$CPP $CPPFLAGS'
32981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32990 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32992 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32993 for ac_func in _powf
32994 do :
32995 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32996 if test "x$ac_cv_func__powf" = xyes; then :
32997 cat >>confdefs.h <<_ACEOF
32998 #define HAVE__POWF 1
32999 _ACEOF
33002 done
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33012 $as_echo_n "checking for sqrtf declaration... " >&6; }
33013 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33014 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
33015 $as_echo_n "(cached) " >&6
33016 else
33019 ac_ext=cpp
33020 ac_cpp='$CXXCPP $CPPFLAGS'
33021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33026 /* end confdefs.h. */
33027 #include <math.h>
33028 #ifdef HAVE_IEEEFP_H
33029 #include <ieeefp.h>
33030 #endif
33033 main ()
33035 sqrtf(0);
33037 return 0;
33039 _ACEOF
33040 if ac_fn_cxx_try_compile "$LINENO"; then :
33041 glibcxx_cv_func_sqrtf_use=yes
33042 else
33043 glibcxx_cv_func_sqrtf_use=no
33045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046 ac_ext=c
33047 ac_cpp='$CPP $CPPFLAGS'
33048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33057 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33059 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33060 for ac_func in sqrtf
33061 do :
33062 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33063 if test "x$ac_cv_func_sqrtf" = xyes; then :
33064 cat >>confdefs.h <<_ACEOF
33065 #define HAVE_SQRTF 1
33066 _ACEOF
33069 done
33071 else
33073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
33074 $as_echo_n "checking for _sqrtf declaration... " >&6; }
33075 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
33076 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
33077 $as_echo_n "(cached) " >&6
33078 else
33081 ac_ext=cpp
33082 ac_cpp='$CXXCPP $CPPFLAGS'
33083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33088 /* end confdefs.h. */
33089 #include <math.h>
33090 #ifdef HAVE_IEEEFP_H
33091 #include <ieeefp.h>
33092 #endif
33095 main ()
33097 _sqrtf(0);
33099 return 0;
33101 _ACEOF
33102 if ac_fn_cxx_try_compile "$LINENO"; then :
33103 glibcxx_cv_func__sqrtf_use=yes
33104 else
33105 glibcxx_cv_func__sqrtf_use=no
33107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33108 ac_ext=c
33109 ac_cpp='$CPP $CPPFLAGS'
33110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
33119 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
33121 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
33122 for ac_func in _sqrtf
33123 do :
33124 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
33125 if test "x$ac_cv_func__sqrtf" = xyes; then :
33126 cat >>confdefs.h <<_ACEOF
33127 #define HAVE__SQRTF 1
33128 _ACEOF
33131 done
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33141 $as_echo_n "checking for sincosf declaration... " >&6; }
33142 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33143 if ${glibcxx_cv_func_sincosf_use+:} false; then :
33144 $as_echo_n "(cached) " >&6
33145 else
33148 ac_ext=cpp
33149 ac_cpp='$CXXCPP $CPPFLAGS'
33150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33155 /* end confdefs.h. */
33156 #include <math.h>
33158 main ()
33160 sincosf(0, 0, 0);
33162 return 0;
33164 _ACEOF
33165 if ac_fn_cxx_try_compile "$LINENO"; then :
33166 glibcxx_cv_func_sincosf_use=yes
33167 else
33168 glibcxx_cv_func_sincosf_use=no
33170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171 ac_ext=c
33172 ac_cpp='$CPP $CPPFLAGS'
33173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33182 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33184 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33185 for ac_func in sincosf
33186 do :
33187 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33188 if test "x$ac_cv_func_sincosf" = xyes; then :
33189 cat >>confdefs.h <<_ACEOF
33190 #define HAVE_SINCOSF 1
33191 _ACEOF
33194 done
33196 else
33198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33199 $as_echo_n "checking for _sincosf declaration... " >&6; }
33200 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33201 if ${glibcxx_cv_func__sincosf_use+:} false; then :
33202 $as_echo_n "(cached) " >&6
33203 else
33206 ac_ext=cpp
33207 ac_cpp='$CXXCPP $CPPFLAGS'
33208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33213 /* end confdefs.h. */
33214 #include <math.h>
33216 main ()
33218 _sincosf(0, 0, 0);
33220 return 0;
33222 _ACEOF
33223 if ac_fn_cxx_try_compile "$LINENO"; then :
33224 glibcxx_cv_func__sincosf_use=yes
33225 else
33226 glibcxx_cv_func__sincosf_use=no
33228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229 ac_ext=c
33230 ac_cpp='$CPP $CPPFLAGS'
33231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33240 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33242 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33243 for ac_func in _sincosf
33244 do :
33245 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33246 if test "x$ac_cv_func__sincosf" = xyes; then :
33247 cat >>confdefs.h <<_ACEOF
33248 #define HAVE__SINCOSF 1
33249 _ACEOF
33252 done
33261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33262 $as_echo_n "checking for finitef declaration... " >&6; }
33263 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33264 if ${glibcxx_cv_func_finitef_use+:} false; then :
33265 $as_echo_n "(cached) " >&6
33266 else
33269 ac_ext=cpp
33270 ac_cpp='$CXXCPP $CPPFLAGS'
33271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33276 /* end confdefs.h. */
33277 #include <math.h>
33278 #ifdef HAVE_IEEEFP_H
33279 #include <ieeefp.h>
33280 #endif
33283 main ()
33285 finitef(0);
33287 return 0;
33289 _ACEOF
33290 if ac_fn_cxx_try_compile "$LINENO"; then :
33291 glibcxx_cv_func_finitef_use=yes
33292 else
33293 glibcxx_cv_func_finitef_use=no
33295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296 ac_ext=c
33297 ac_cpp='$CPP $CPPFLAGS'
33298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33307 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33309 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33310 for ac_func in finitef
33311 do :
33312 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33313 if test "x$ac_cv_func_finitef" = xyes; then :
33314 cat >>confdefs.h <<_ACEOF
33315 #define HAVE_FINITEF 1
33316 _ACEOF
33319 done
33321 else
33323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33324 $as_echo_n "checking for _finitef declaration... " >&6; }
33325 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33326 if ${glibcxx_cv_func__finitef_use+:} false; then :
33327 $as_echo_n "(cached) " >&6
33328 else
33331 ac_ext=cpp
33332 ac_cpp='$CXXCPP $CPPFLAGS'
33333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33338 /* end confdefs.h. */
33339 #include <math.h>
33340 #ifdef HAVE_IEEEFP_H
33341 #include <ieeefp.h>
33342 #endif
33345 main ()
33347 _finitef(0);
33349 return 0;
33351 _ACEOF
33352 if ac_fn_cxx_try_compile "$LINENO"; then :
33353 glibcxx_cv_func__finitef_use=yes
33354 else
33355 glibcxx_cv_func__finitef_use=no
33357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33358 ac_ext=c
33359 ac_cpp='$CPP $CPPFLAGS'
33360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33369 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33371 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33372 for ac_func in _finitef
33373 do :
33374 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33375 if test "x$ac_cv_func__finitef" = xyes; then :
33376 cat >>confdefs.h <<_ACEOF
33377 #define HAVE__FINITEF 1
33378 _ACEOF
33381 done
33390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33391 $as_echo_n "checking for long double trig functions... " >&6; }
33392 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33393 $as_echo_n "(cached) " >&6
33394 else
33397 ac_ext=cpp
33398 ac_cpp='$CXXCPP $CPPFLAGS'
33399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33404 /* end confdefs.h. */
33405 #include <math.h>
33407 main ()
33409 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33411 return 0;
33413 _ACEOF
33414 if ac_fn_cxx_try_compile "$LINENO"; then :
33415 glibcxx_cv_func_long_double_trig_use=yes
33416 else
33417 glibcxx_cv_func_long_double_trig_use=no
33419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33420 ac_ext=c
33421 ac_cpp='$CPP $CPPFLAGS'
33422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33429 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33430 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33431 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33432 do :
33433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33436 cat >>confdefs.h <<_ACEOF
33437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33438 _ACEOF
33441 done
33443 else
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33445 $as_echo_n "checking for _long double trig functions... " >&6; }
33446 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33447 $as_echo_n "(cached) " >&6
33448 else
33451 ac_ext=cpp
33452 ac_cpp='$CXXCPP $CPPFLAGS'
33453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33458 /* end confdefs.h. */
33459 #include <math.h>
33461 main ()
33463 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33465 return 0;
33467 _ACEOF
33468 if ac_fn_cxx_try_compile "$LINENO"; then :
33469 glibcxx_cv_func__long_double_trig_use=yes
33470 else
33471 glibcxx_cv_func__long_double_trig_use=no
33473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474 ac_ext=c
33475 ac_cpp='$CPP $CPPFLAGS'
33476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33483 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33484 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33485 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33486 do :
33487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33490 cat >>confdefs.h <<_ACEOF
33491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33492 _ACEOF
33495 done
33504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33505 $as_echo_n "checking for long double round functions... " >&6; }
33506 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33507 $as_echo_n "(cached) " >&6
33508 else
33511 ac_ext=cpp
33512 ac_cpp='$CXXCPP $CPPFLAGS'
33513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33518 /* end confdefs.h. */
33519 #include <math.h>
33521 main ()
33523 ceill (0); floorl (0);
33525 return 0;
33527 _ACEOF
33528 if ac_fn_cxx_try_compile "$LINENO"; then :
33529 glibcxx_cv_func_long_double_round_use=yes
33530 else
33531 glibcxx_cv_func_long_double_round_use=no
33533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33534 ac_ext=c
33535 ac_cpp='$CPP $CPPFLAGS'
33536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33543 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33544 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33545 for ac_func in ceill floorl
33546 do :
33547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33550 cat >>confdefs.h <<_ACEOF
33551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33552 _ACEOF
33555 done
33557 else
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33559 $as_echo_n "checking for _long double round functions... " >&6; }
33560 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33561 $as_echo_n "(cached) " >&6
33562 else
33565 ac_ext=cpp
33566 ac_cpp='$CXXCPP $CPPFLAGS'
33567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33572 /* end confdefs.h. */
33573 #include <math.h>
33575 main ()
33577 _ceill (0); _floorl (0);
33579 return 0;
33581 _ACEOF
33582 if ac_fn_cxx_try_compile "$LINENO"; then :
33583 glibcxx_cv_func__long_double_round_use=yes
33584 else
33585 glibcxx_cv_func__long_double_round_use=no
33587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33588 ac_ext=c
33589 ac_cpp='$CPP $CPPFLAGS'
33590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33597 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33598 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33599 for ac_func in _ceill _floorl
33600 do :
33601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33604 cat >>confdefs.h <<_ACEOF
33605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33606 _ACEOF
33609 done
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33620 $as_echo_n "checking for isnanl declaration... " >&6; }
33621 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33622 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33623 $as_echo_n "(cached) " >&6
33624 else
33627 ac_ext=cpp
33628 ac_cpp='$CXXCPP $CPPFLAGS'
33629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33634 /* end confdefs.h. */
33635 #include <math.h>
33636 #ifdef HAVE_IEEEFP_H
33637 #include <ieeefp.h>
33638 #endif
33641 main ()
33643 isnanl(0);
33645 return 0;
33647 _ACEOF
33648 if ac_fn_cxx_try_compile "$LINENO"; then :
33649 glibcxx_cv_func_isnanl_use=yes
33650 else
33651 glibcxx_cv_func_isnanl_use=no
33653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654 ac_ext=c
33655 ac_cpp='$CPP $CPPFLAGS'
33656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33665 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33667 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33668 for ac_func in isnanl
33669 do :
33670 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33671 if test "x$ac_cv_func_isnanl" = xyes; then :
33672 cat >>confdefs.h <<_ACEOF
33673 #define HAVE_ISNANL 1
33674 _ACEOF
33677 done
33679 else
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33682 $as_echo_n "checking for _isnanl declaration... " >&6; }
33683 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33684 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33685 $as_echo_n "(cached) " >&6
33686 else
33689 ac_ext=cpp
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33696 /* end confdefs.h. */
33697 #include <math.h>
33698 #ifdef HAVE_IEEEFP_H
33699 #include <ieeefp.h>
33700 #endif
33703 main ()
33705 _isnanl(0);
33707 return 0;
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711 glibcxx_cv_func__isnanl_use=yes
33712 else
33713 glibcxx_cv_func__isnanl_use=no
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33727 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33729 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33730 for ac_func in _isnanl
33731 do :
33732 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33733 if test "x$ac_cv_func__isnanl" = xyes; then :
33734 cat >>confdefs.h <<_ACEOF
33735 #define HAVE__ISNANL 1
33736 _ACEOF
33739 done
33748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33749 $as_echo_n "checking for isinfl declaration... " >&6; }
33750 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33751 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33752 $as_echo_n "(cached) " >&6
33753 else
33756 ac_ext=cpp
33757 ac_cpp='$CXXCPP $CPPFLAGS'
33758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763 /* end confdefs.h. */
33764 #include <math.h>
33765 #ifdef HAVE_IEEEFP_H
33766 #include <ieeefp.h>
33767 #endif
33770 main ()
33772 isinfl(0);
33774 return 0;
33776 _ACEOF
33777 if ac_fn_cxx_try_compile "$LINENO"; then :
33778 glibcxx_cv_func_isinfl_use=yes
33779 else
33780 glibcxx_cv_func_isinfl_use=no
33782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33783 ac_ext=c
33784 ac_cpp='$CPP $CPPFLAGS'
33785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33794 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33796 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33797 for ac_func in isinfl
33798 do :
33799 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33800 if test "x$ac_cv_func_isinfl" = xyes; then :
33801 cat >>confdefs.h <<_ACEOF
33802 #define HAVE_ISINFL 1
33803 _ACEOF
33806 done
33808 else
33810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33811 $as_echo_n "checking for _isinfl declaration... " >&6; }
33812 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33813 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33814 $as_echo_n "(cached) " >&6
33815 else
33818 ac_ext=cpp
33819 ac_cpp='$CXXCPP $CPPFLAGS'
33820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33825 /* end confdefs.h. */
33826 #include <math.h>
33827 #ifdef HAVE_IEEEFP_H
33828 #include <ieeefp.h>
33829 #endif
33832 main ()
33834 _isinfl(0);
33836 return 0;
33838 _ACEOF
33839 if ac_fn_cxx_try_compile "$LINENO"; then :
33840 glibcxx_cv_func__isinfl_use=yes
33841 else
33842 glibcxx_cv_func__isinfl_use=no
33844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_ext=c
33846 ac_cpp='$CPP $CPPFLAGS'
33847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33856 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33858 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33859 for ac_func in _isinfl
33860 do :
33861 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33862 if test "x$ac_cv_func__isinfl" = xyes; then :
33863 cat >>confdefs.h <<_ACEOF
33864 #define HAVE__ISINFL 1
33865 _ACEOF
33868 done
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33878 $as_echo_n "checking for atan2l declaration... " >&6; }
33879 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33880 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33881 $as_echo_n "(cached) " >&6
33882 else
33885 ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h. */
33893 #include <math.h>
33895 main ()
33897 atan2l(0, 0);
33899 return 0;
33901 _ACEOF
33902 if ac_fn_cxx_try_compile "$LINENO"; then :
33903 glibcxx_cv_func_atan2l_use=yes
33904 else
33905 glibcxx_cv_func_atan2l_use=no
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908 ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33919 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33921 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33922 for ac_func in atan2l
33923 do :
33924 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33925 if test "x$ac_cv_func_atan2l" = xyes; then :
33926 cat >>confdefs.h <<_ACEOF
33927 #define HAVE_ATAN2L 1
33928 _ACEOF
33931 done
33933 else
33935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33936 $as_echo_n "checking for _atan2l declaration... " >&6; }
33937 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33938 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33939 $as_echo_n "(cached) " >&6
33940 else
33943 ac_ext=cpp
33944 ac_cpp='$CXXCPP $CPPFLAGS'
33945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33950 /* end confdefs.h. */
33951 #include <math.h>
33953 main ()
33955 _atan2l(0, 0);
33957 return 0;
33959 _ACEOF
33960 if ac_fn_cxx_try_compile "$LINENO"; then :
33961 glibcxx_cv_func__atan2l_use=yes
33962 else
33963 glibcxx_cv_func__atan2l_use=no
33965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33966 ac_ext=c
33967 ac_cpp='$CPP $CPPFLAGS'
33968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33977 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33979 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33980 for ac_func in _atan2l
33981 do :
33982 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33983 if test "x$ac_cv_func__atan2l" = xyes; then :
33984 cat >>confdefs.h <<_ACEOF
33985 #define HAVE__ATAN2L 1
33986 _ACEOF
33989 done
33998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33999 $as_echo_n "checking for expl declaration... " >&6; }
34000 if test x${glibcxx_cv_func_expl_use+set} != xset; then
34001 if ${glibcxx_cv_func_expl_use+:} false; then :
34002 $as_echo_n "(cached) " >&6
34003 else
34006 ac_ext=cpp
34007 ac_cpp='$CXXCPP $CPPFLAGS'
34008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34013 /* end confdefs.h. */
34014 #include <math.h>
34015 #ifdef HAVE_IEEEFP_H
34016 #include <ieeefp.h>
34017 #endif
34020 main ()
34022 expl(0);
34024 return 0;
34026 _ACEOF
34027 if ac_fn_cxx_try_compile "$LINENO"; then :
34028 glibcxx_cv_func_expl_use=yes
34029 else
34030 glibcxx_cv_func_expl_use=no
34032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34033 ac_ext=c
34034 ac_cpp='$CPP $CPPFLAGS'
34035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34044 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
34046 if test x$glibcxx_cv_func_expl_use = x"yes"; then
34047 for ac_func in expl
34048 do :
34049 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
34050 if test "x$ac_cv_func_expl" = xyes; then :
34051 cat >>confdefs.h <<_ACEOF
34052 #define HAVE_EXPL 1
34053 _ACEOF
34056 done
34058 else
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
34061 $as_echo_n "checking for _expl declaration... " >&6; }
34062 if test x${glibcxx_cv_func__expl_use+set} != xset; then
34063 if ${glibcxx_cv_func__expl_use+:} false; then :
34064 $as_echo_n "(cached) " >&6
34065 else
34068 ac_ext=cpp
34069 ac_cpp='$CXXCPP $CPPFLAGS'
34070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075 /* end confdefs.h. */
34076 #include <math.h>
34077 #ifdef HAVE_IEEEFP_H
34078 #include <ieeefp.h>
34079 #endif
34082 main ()
34084 _expl(0);
34086 return 0;
34088 _ACEOF
34089 if ac_fn_cxx_try_compile "$LINENO"; then :
34090 glibcxx_cv_func__expl_use=yes
34091 else
34092 glibcxx_cv_func__expl_use=no
34094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34095 ac_ext=c
34096 ac_cpp='$CPP $CPPFLAGS'
34097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
34106 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
34108 if test x$glibcxx_cv_func__expl_use = x"yes"; then
34109 for ac_func in _expl
34110 do :
34111 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
34112 if test "x$ac_cv_func__expl" = xyes; then :
34113 cat >>confdefs.h <<_ACEOF
34114 #define HAVE__EXPL 1
34115 _ACEOF
34118 done
34127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34128 $as_echo_n "checking for fabsl declaration... " >&6; }
34129 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34130 if ${glibcxx_cv_func_fabsl_use+:} false; then :
34131 $as_echo_n "(cached) " >&6
34132 else
34135 ac_ext=cpp
34136 ac_cpp='$CXXCPP $CPPFLAGS'
34137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34142 /* end confdefs.h. */
34143 #include <math.h>
34144 #ifdef HAVE_IEEEFP_H
34145 #include <ieeefp.h>
34146 #endif
34149 main ()
34151 fabsl(0);
34153 return 0;
34155 _ACEOF
34156 if ac_fn_cxx_try_compile "$LINENO"; then :
34157 glibcxx_cv_func_fabsl_use=yes
34158 else
34159 glibcxx_cv_func_fabsl_use=no
34161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34162 ac_ext=c
34163 ac_cpp='$CPP $CPPFLAGS'
34164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34173 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34175 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34176 for ac_func in fabsl
34177 do :
34178 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34179 if test "x$ac_cv_func_fabsl" = xyes; then :
34180 cat >>confdefs.h <<_ACEOF
34181 #define HAVE_FABSL 1
34182 _ACEOF
34185 done
34187 else
34189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
34190 $as_echo_n "checking for _fabsl declaration... " >&6; }
34191 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
34192 if ${glibcxx_cv_func__fabsl_use+:} false; then :
34193 $as_echo_n "(cached) " >&6
34194 else
34197 ac_ext=cpp
34198 ac_cpp='$CXXCPP $CPPFLAGS'
34199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34204 /* end confdefs.h. */
34205 #include <math.h>
34206 #ifdef HAVE_IEEEFP_H
34207 #include <ieeefp.h>
34208 #endif
34211 main ()
34213 _fabsl(0);
34215 return 0;
34217 _ACEOF
34218 if ac_fn_cxx_try_compile "$LINENO"; then :
34219 glibcxx_cv_func__fabsl_use=yes
34220 else
34221 glibcxx_cv_func__fabsl_use=no
34223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34224 ac_ext=c
34225 ac_cpp='$CPP $CPPFLAGS'
34226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
34235 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34237 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34238 for ac_func in _fabsl
34239 do :
34240 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34241 if test "x$ac_cv_func__fabsl" = xyes; then :
34242 cat >>confdefs.h <<_ACEOF
34243 #define HAVE__FABSL 1
34244 _ACEOF
34247 done
34256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34257 $as_echo_n "checking for fmodl declaration... " >&6; }
34258 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34259 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34260 $as_echo_n "(cached) " >&6
34261 else
34264 ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h. */
34272 #include <math.h>
34274 main ()
34276 fmodl(0, 0);
34278 return 0;
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func_fmodl_use=yes
34283 else
34284 glibcxx_cv_func_fmodl_use=no
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34298 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34300 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34301 for ac_func in fmodl
34302 do :
34303 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34304 if test "x$ac_cv_func_fmodl" = xyes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE_FMODL 1
34307 _ACEOF
34310 done
34312 else
34314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34315 $as_echo_n "checking for _fmodl declaration... " >&6; }
34316 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34317 if ${glibcxx_cv_func__fmodl_use+:} false; then :
34318 $as_echo_n "(cached) " >&6
34319 else
34322 ac_ext=cpp
34323 ac_cpp='$CXXCPP $CPPFLAGS'
34324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34329 /* end confdefs.h. */
34330 #include <math.h>
34332 main ()
34334 _fmodl(0, 0);
34336 return 0;
34338 _ACEOF
34339 if ac_fn_cxx_try_compile "$LINENO"; then :
34340 glibcxx_cv_func__fmodl_use=yes
34341 else
34342 glibcxx_cv_func__fmodl_use=no
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345 ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34356 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34358 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34359 for ac_func in _fmodl
34360 do :
34361 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34362 if test "x$ac_cv_func__fmodl" = xyes; then :
34363 cat >>confdefs.h <<_ACEOF
34364 #define HAVE__FMODL 1
34365 _ACEOF
34368 done
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34378 $as_echo_n "checking for frexpl declaration... " >&6; }
34379 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34380 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34395 main ()
34397 frexpl(0, 0);
34399 return 0;
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403 glibcxx_cv_func_frexpl_use=yes
34404 else
34405 glibcxx_cv_func_frexpl_use=no
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34419 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34421 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34422 for ac_func in frexpl
34423 do :
34424 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34425 if test "x$ac_cv_func_frexpl" = xyes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define HAVE_FREXPL 1
34428 _ACEOF
34431 done
34433 else
34435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34436 $as_echo_n "checking for _frexpl declaration... " >&6; }
34437 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34438 if ${glibcxx_cv_func__frexpl_use+:} false; then :
34439 $as_echo_n "(cached) " >&6
34440 else
34443 ac_ext=cpp
34444 ac_cpp='$CXXCPP $CPPFLAGS'
34445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34450 /* end confdefs.h. */
34451 #include <math.h>
34453 main ()
34455 _frexpl(0, 0);
34457 return 0;
34459 _ACEOF
34460 if ac_fn_cxx_try_compile "$LINENO"; then :
34461 glibcxx_cv_func__frexpl_use=yes
34462 else
34463 glibcxx_cv_func__frexpl_use=no
34465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466 ac_ext=c
34467 ac_cpp='$CPP $CPPFLAGS'
34468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34477 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34479 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34480 for ac_func in _frexpl
34481 do :
34482 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34483 if test "x$ac_cv_func__frexpl" = xyes; then :
34484 cat >>confdefs.h <<_ACEOF
34485 #define HAVE__FREXPL 1
34486 _ACEOF
34489 done
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34499 $as_echo_n "checking for hypotl declaration... " >&6; }
34500 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34501 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34502 $as_echo_n "(cached) " >&6
34503 else
34506 ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h. */
34514 #include <math.h>
34516 main ()
34518 hypotl(0, 0);
34520 return 0;
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func_hypotl_use=yes
34525 else
34526 glibcxx_cv_func_hypotl_use=no
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529 ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34540 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34542 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34543 for ac_func in hypotl
34544 do :
34545 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34546 if test "x$ac_cv_func_hypotl" = xyes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE_HYPOTL 1
34549 _ACEOF
34552 done
34554 else
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34557 $as_echo_n "checking for _hypotl declaration... " >&6; }
34558 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34559 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34560 $as_echo_n "(cached) " >&6
34561 else
34564 ac_ext=cpp
34565 ac_cpp='$CXXCPP $CPPFLAGS'
34566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34571 /* end confdefs.h. */
34572 #include <math.h>
34574 main ()
34576 _hypotl(0, 0);
34578 return 0;
34580 _ACEOF
34581 if ac_fn_cxx_try_compile "$LINENO"; then :
34582 glibcxx_cv_func__hypotl_use=yes
34583 else
34584 glibcxx_cv_func__hypotl_use=no
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587 ac_ext=c
34588 ac_cpp='$CPP $CPPFLAGS'
34589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34598 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34600 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34601 for ac_func in _hypotl
34602 do :
34603 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34604 if test "x$ac_cv_func__hypotl" = xyes; then :
34605 cat >>confdefs.h <<_ACEOF
34606 #define HAVE__HYPOTL 1
34607 _ACEOF
34610 done
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34620 $as_echo_n "checking for ldexpl declaration... " >&6; }
34621 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34622 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34623 $as_echo_n "(cached) " >&6
34624 else
34627 ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h. */
34635 #include <math.h>
34637 main ()
34639 ldexpl(0, 0);
34641 return 0;
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func_ldexpl_use=yes
34646 else
34647 glibcxx_cv_func_ldexpl_use=no
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34661 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34663 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34664 for ac_func in ldexpl
34665 do :
34666 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34667 if test "x$ac_cv_func_ldexpl" = xyes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE_LDEXPL 1
34670 _ACEOF
34673 done
34675 else
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34678 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34679 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34680 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34681 $as_echo_n "(cached) " >&6
34682 else
34685 ac_ext=cpp
34686 ac_cpp='$CXXCPP $CPPFLAGS'
34687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34692 /* end confdefs.h. */
34693 #include <math.h>
34695 main ()
34697 _ldexpl(0, 0);
34699 return 0;
34701 _ACEOF
34702 if ac_fn_cxx_try_compile "$LINENO"; then :
34703 glibcxx_cv_func__ldexpl_use=yes
34704 else
34705 glibcxx_cv_func__ldexpl_use=no
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 ac_ext=c
34709 ac_cpp='$CPP $CPPFLAGS'
34710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34719 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34721 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34722 for ac_func in _ldexpl
34723 do :
34724 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34725 if test "x$ac_cv_func__ldexpl" = xyes; then :
34726 cat >>confdefs.h <<_ACEOF
34727 #define HAVE__LDEXPL 1
34728 _ACEOF
34731 done
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34741 $as_echo_n "checking for logl declaration... " >&6; }
34742 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34743 if ${glibcxx_cv_func_logl_use+:} false; then :
34744 $as_echo_n "(cached) " >&6
34745 else
34748 ac_ext=cpp
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755 /* end confdefs.h. */
34756 #include <math.h>
34757 #ifdef HAVE_IEEEFP_H
34758 #include <ieeefp.h>
34759 #endif
34762 main ()
34764 logl(0);
34766 return 0;
34768 _ACEOF
34769 if ac_fn_cxx_try_compile "$LINENO"; then :
34770 glibcxx_cv_func_logl_use=yes
34771 else
34772 glibcxx_cv_func_logl_use=no
34774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775 ac_ext=c
34776 ac_cpp='$CPP $CPPFLAGS'
34777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34786 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34788 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34789 for ac_func in logl
34790 do :
34791 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34792 if test "x$ac_cv_func_logl" = xyes; then :
34793 cat >>confdefs.h <<_ACEOF
34794 #define HAVE_LOGL 1
34795 _ACEOF
34798 done
34800 else
34802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34803 $as_echo_n "checking for _logl declaration... " >&6; }
34804 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34805 if ${glibcxx_cv_func__logl_use+:} false; then :
34806 $as_echo_n "(cached) " >&6
34807 else
34810 ac_ext=cpp
34811 ac_cpp='$CXXCPP $CPPFLAGS'
34812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34817 /* end confdefs.h. */
34818 #include <math.h>
34819 #ifdef HAVE_IEEEFP_H
34820 #include <ieeefp.h>
34821 #endif
34824 main ()
34826 _logl(0);
34828 return 0;
34830 _ACEOF
34831 if ac_fn_cxx_try_compile "$LINENO"; then :
34832 glibcxx_cv_func__logl_use=yes
34833 else
34834 glibcxx_cv_func__logl_use=no
34836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34837 ac_ext=c
34838 ac_cpp='$CPP $CPPFLAGS'
34839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34848 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34850 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34851 for ac_func in _logl
34852 do :
34853 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34854 if test "x$ac_cv_func__logl" = xyes; then :
34855 cat >>confdefs.h <<_ACEOF
34856 #define HAVE__LOGL 1
34857 _ACEOF
34860 done
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34870 $as_echo_n "checking for log10l declaration... " >&6; }
34871 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34872 if ${glibcxx_cv_func_log10l_use+:} false; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34886 #ifdef HAVE_IEEEFP_H
34887 #include <ieeefp.h>
34888 #endif
34891 main ()
34893 log10l(0);
34895 return 0;
34897 _ACEOF
34898 if ac_fn_cxx_try_compile "$LINENO"; then :
34899 glibcxx_cv_func_log10l_use=yes
34900 else
34901 glibcxx_cv_func_log10l_use=no
34903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34904 ac_ext=c
34905 ac_cpp='$CPP $CPPFLAGS'
34906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34915 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34917 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34918 for ac_func in log10l
34919 do :
34920 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34921 if test "x$ac_cv_func_log10l" = xyes; then :
34922 cat >>confdefs.h <<_ACEOF
34923 #define HAVE_LOG10L 1
34924 _ACEOF
34927 done
34929 else
34931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34932 $as_echo_n "checking for _log10l declaration... " >&6; }
34933 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34934 if ${glibcxx_cv_func__log10l_use+:} false; then :
34935 $as_echo_n "(cached) " >&6
34936 else
34939 ac_ext=cpp
34940 ac_cpp='$CXXCPP $CPPFLAGS'
34941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34946 /* end confdefs.h. */
34947 #include <math.h>
34948 #ifdef HAVE_IEEEFP_H
34949 #include <ieeefp.h>
34950 #endif
34953 main ()
34955 _log10l(0);
34957 return 0;
34959 _ACEOF
34960 if ac_fn_cxx_try_compile "$LINENO"; then :
34961 glibcxx_cv_func__log10l_use=yes
34962 else
34963 glibcxx_cv_func__log10l_use=no
34965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34966 ac_ext=c
34967 ac_cpp='$CPP $CPPFLAGS'
34968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34977 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34979 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34980 for ac_func in _log10l
34981 do :
34982 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34983 if test "x$ac_cv_func__log10l" = xyes; then :
34984 cat >>confdefs.h <<_ACEOF
34985 #define HAVE__LOG10L 1
34986 _ACEOF
34989 done
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34999 $as_echo_n "checking for modfl declaration... " >&6; }
35000 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
35001 if ${glibcxx_cv_func_modfl_use+:} false; then :
35002 $as_echo_n "(cached) " >&6
35003 else
35006 ac_ext=cpp
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35014 #include <math.h>
35016 main ()
35018 modfl(0, 0);
35020 return 0;
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func_modfl_use=yes
35025 else
35026 glibcxx_cv_func_modfl_use=no
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029 ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
35040 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
35042 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35043 for ac_func in modfl
35044 do :
35045 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
35046 if test "x$ac_cv_func_modfl" = xyes; then :
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE_MODFL 1
35049 _ACEOF
35052 done
35054 else
35056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
35057 $as_echo_n "checking for _modfl declaration... " >&6; }
35058 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35059 if ${glibcxx_cv_func__modfl_use+:} false; then :
35060 $as_echo_n "(cached) " >&6
35061 else
35064 ac_ext=cpp
35065 ac_cpp='$CXXCPP $CPPFLAGS'
35066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35071 /* end confdefs.h. */
35072 #include <math.h>
35074 main ()
35076 _modfl(0, 0);
35078 return 0;
35080 _ACEOF
35081 if ac_fn_cxx_try_compile "$LINENO"; then :
35082 glibcxx_cv_func__modfl_use=yes
35083 else
35084 glibcxx_cv_func__modfl_use=no
35086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087 ac_ext=c
35088 ac_cpp='$CPP $CPPFLAGS'
35089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
35098 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35100 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35101 for ac_func in _modfl
35102 do :
35103 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35104 if test "x$ac_cv_func__modfl" = xyes; then :
35105 cat >>confdefs.h <<_ACEOF
35106 #define HAVE__MODFL 1
35107 _ACEOF
35110 done
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35120 $as_echo_n "checking for powl declaration... " >&6; }
35121 if test x${glibcxx_cv_func_powl_use+set} != xset; then
35122 if ${glibcxx_cv_func_powl_use+:} false; then :
35123 $as_echo_n "(cached) " >&6
35124 else
35127 ac_ext=cpp
35128 ac_cpp='$CXXCPP $CPPFLAGS'
35129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35134 /* end confdefs.h. */
35135 #include <math.h>
35137 main ()
35139 powl(0, 0);
35141 return 0;
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145 glibcxx_cv_func_powl_use=yes
35146 else
35147 glibcxx_cv_func_powl_use=no
35149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35161 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
35163 if test x$glibcxx_cv_func_powl_use = x"yes"; then
35164 for ac_func in powl
35165 do :
35166 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35167 if test "x$ac_cv_func_powl" = xyes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define HAVE_POWL 1
35170 _ACEOF
35173 done
35175 else
35177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35178 $as_echo_n "checking for _powl declaration... " >&6; }
35179 if test x${glibcxx_cv_func__powl_use+set} != xset; then
35180 if ${glibcxx_cv_func__powl_use+:} false; then :
35181 $as_echo_n "(cached) " >&6
35182 else
35185 ac_ext=cpp
35186 ac_cpp='$CXXCPP $CPPFLAGS'
35187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192 /* end confdefs.h. */
35193 #include <math.h>
35195 main ()
35197 _powl(0, 0);
35199 return 0;
35201 _ACEOF
35202 if ac_fn_cxx_try_compile "$LINENO"; then :
35203 glibcxx_cv_func__powl_use=yes
35204 else
35205 glibcxx_cv_func__powl_use=no
35207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208 ac_ext=c
35209 ac_cpp='$CPP $CPPFLAGS'
35210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35219 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35221 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35222 for ac_func in _powl
35223 do :
35224 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35225 if test "x$ac_cv_func__powl" = xyes; then :
35226 cat >>confdefs.h <<_ACEOF
35227 #define HAVE__POWL 1
35228 _ACEOF
35231 done
35240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35241 $as_echo_n "checking for sqrtl declaration... " >&6; }
35242 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35243 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35244 $as_echo_n "(cached) " >&6
35245 else
35248 ac_ext=cpp
35249 ac_cpp='$CXXCPP $CPPFLAGS'
35250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h. */
35256 #include <math.h>
35257 #ifdef HAVE_IEEEFP_H
35258 #include <ieeefp.h>
35259 #endif
35262 main ()
35264 sqrtl(0);
35266 return 0;
35268 _ACEOF
35269 if ac_fn_cxx_try_compile "$LINENO"; then :
35270 glibcxx_cv_func_sqrtl_use=yes
35271 else
35272 glibcxx_cv_func_sqrtl_use=no
35274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35275 ac_ext=c
35276 ac_cpp='$CPP $CPPFLAGS'
35277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35286 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35288 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35289 for ac_func in sqrtl
35290 do :
35291 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35292 if test "x$ac_cv_func_sqrtl" = xyes; then :
35293 cat >>confdefs.h <<_ACEOF
35294 #define HAVE_SQRTL 1
35295 _ACEOF
35298 done
35300 else
35302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35303 $as_echo_n "checking for _sqrtl declaration... " >&6; }
35304 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35305 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
35306 $as_echo_n "(cached) " >&6
35307 else
35310 ac_ext=cpp
35311 ac_cpp='$CXXCPP $CPPFLAGS'
35312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35317 /* end confdefs.h. */
35318 #include <math.h>
35319 #ifdef HAVE_IEEEFP_H
35320 #include <ieeefp.h>
35321 #endif
35324 main ()
35326 _sqrtl(0);
35328 return 0;
35330 _ACEOF
35331 if ac_fn_cxx_try_compile "$LINENO"; then :
35332 glibcxx_cv_func__sqrtl_use=yes
35333 else
35334 glibcxx_cv_func__sqrtl_use=no
35336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35337 ac_ext=c
35338 ac_cpp='$CPP $CPPFLAGS'
35339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35348 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35350 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35351 for ac_func in _sqrtl
35352 do :
35353 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35354 if test "x$ac_cv_func__sqrtl" = xyes; then :
35355 cat >>confdefs.h <<_ACEOF
35356 #define HAVE__SQRTL 1
35357 _ACEOF
35360 done
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35370 $as_echo_n "checking for sincosl declaration... " >&6; }
35371 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35372 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35373 $as_echo_n "(cached) " >&6
35374 else
35377 ac_ext=cpp
35378 ac_cpp='$CXXCPP $CPPFLAGS'
35379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35384 /* end confdefs.h. */
35385 #include <math.h>
35387 main ()
35389 sincosl(0, 0, 0);
35391 return 0;
35393 _ACEOF
35394 if ac_fn_cxx_try_compile "$LINENO"; then :
35395 glibcxx_cv_func_sincosl_use=yes
35396 else
35397 glibcxx_cv_func_sincosl_use=no
35399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400 ac_ext=c
35401 ac_cpp='$CPP $CPPFLAGS'
35402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35411 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35413 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35414 for ac_func in sincosl
35415 do :
35416 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35417 if test "x$ac_cv_func_sincosl" = xyes; then :
35418 cat >>confdefs.h <<_ACEOF
35419 #define HAVE_SINCOSL 1
35420 _ACEOF
35423 done
35425 else
35427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35428 $as_echo_n "checking for _sincosl declaration... " >&6; }
35429 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35430 if ${glibcxx_cv_func__sincosl_use+:} false; then :
35431 $as_echo_n "(cached) " >&6
35432 else
35435 ac_ext=cpp
35436 ac_cpp='$CXXCPP $CPPFLAGS'
35437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35442 /* end confdefs.h. */
35443 #include <math.h>
35445 main ()
35447 _sincosl(0, 0, 0);
35449 return 0;
35451 _ACEOF
35452 if ac_fn_cxx_try_compile "$LINENO"; then :
35453 glibcxx_cv_func__sincosl_use=yes
35454 else
35455 glibcxx_cv_func__sincosl_use=no
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458 ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35469 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35471 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35472 for ac_func in _sincosl
35473 do :
35474 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35475 if test "x$ac_cv_func__sincosl" = xyes; then :
35476 cat >>confdefs.h <<_ACEOF
35477 #define HAVE__SINCOSL 1
35478 _ACEOF
35481 done
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35491 $as_echo_n "checking for finitel declaration... " >&6; }
35492 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35493 if ${glibcxx_cv_func_finitel_use+:} false; then :
35494 $as_echo_n "(cached) " >&6
35495 else
35498 ac_ext=cpp
35499 ac_cpp='$CXXCPP $CPPFLAGS'
35500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h. */
35506 #include <math.h>
35507 #ifdef HAVE_IEEEFP_H
35508 #include <ieeefp.h>
35509 #endif
35512 main ()
35514 finitel(0);
35516 return 0;
35518 _ACEOF
35519 if ac_fn_cxx_try_compile "$LINENO"; then :
35520 glibcxx_cv_func_finitel_use=yes
35521 else
35522 glibcxx_cv_func_finitel_use=no
35524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525 ac_ext=c
35526 ac_cpp='$CPP $CPPFLAGS'
35527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35536 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35538 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35539 for ac_func in finitel
35540 do :
35541 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35542 if test "x$ac_cv_func_finitel" = xyes; then :
35543 cat >>confdefs.h <<_ACEOF
35544 #define HAVE_FINITEL 1
35545 _ACEOF
35548 done
35550 else
35552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35553 $as_echo_n "checking for _finitel declaration... " >&6; }
35554 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35555 if ${glibcxx_cv_func__finitel_use+:} false; then :
35556 $as_echo_n "(cached) " >&6
35557 else
35560 ac_ext=cpp
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567 /* end confdefs.h. */
35568 #include <math.h>
35569 #ifdef HAVE_IEEEFP_H
35570 #include <ieeefp.h>
35571 #endif
35574 main ()
35576 _finitel(0);
35578 return 0;
35580 _ACEOF
35581 if ac_fn_cxx_try_compile "$LINENO"; then :
35582 glibcxx_cv_func__finitel_use=yes
35583 else
35584 glibcxx_cv_func__finitel_use=no
35586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587 ac_ext=c
35588 ac_cpp='$CPP $CPPFLAGS'
35589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35598 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35600 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35601 for ac_func in _finitel
35602 do :
35603 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35604 if test "x$ac_cv_func__finitel" = xyes; then :
35605 cat >>confdefs.h <<_ACEOF
35606 #define HAVE__FINITEL 1
35607 _ACEOF
35610 done
35618 LIBS="$ac_save_LIBS"
35619 CXXFLAGS="$ac_save_CXXFLAGS"
35622 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35623 ac_save_CXXFLAGS="$CXXFLAGS"
35624 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35628 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35629 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35630 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35631 $as_echo_n "(cached) " >&6
35632 else
35635 ac_ext=cpp
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35642 /* end confdefs.h. */
35643 #include <stdlib.h>
35645 main ()
35647 at_quick_exit(0);
35649 return 0;
35651 _ACEOF
35652 if ac_fn_cxx_try_compile "$LINENO"; then :
35653 glibcxx_cv_func_at_quick_exit_use=yes
35654 else
35655 glibcxx_cv_func_at_quick_exit_use=no
35657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35658 ac_ext=c
35659 ac_cpp='$CPP $CPPFLAGS'
35660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35669 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35670 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35671 for ac_func in at_quick_exit
35672 do :
35673 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35674 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35675 cat >>confdefs.h <<_ACEOF
35676 #define HAVE_AT_QUICK_EXIT 1
35677 _ACEOF
35680 done
35685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35686 $as_echo_n "checking for quick_exit declaration... " >&6; }
35687 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35688 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35689 $as_echo_n "(cached) " >&6
35690 else
35693 ac_ext=cpp
35694 ac_cpp='$CXXCPP $CPPFLAGS'
35695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35700 /* end confdefs.h. */
35701 #include <stdlib.h>
35703 main ()
35705 quick_exit(0);
35707 return 0;
35709 _ACEOF
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711 glibcxx_cv_func_quick_exit_use=yes
35712 else
35713 glibcxx_cv_func_quick_exit_use=no
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716 ac_ext=c
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35727 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35728 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35729 for ac_func in quick_exit
35730 do :
35731 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35732 if test "x$ac_cv_func_quick_exit" = xyes; then :
35733 cat >>confdefs.h <<_ACEOF
35734 #define HAVE_QUICK_EXIT 1
35735 _ACEOF
35738 done
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35744 $as_echo_n "checking for strtold declaration... " >&6; }
35745 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35746 if ${glibcxx_cv_func_strtold_use+:} false; then :
35747 $as_echo_n "(cached) " >&6
35748 else
35751 ac_ext=cpp
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h. */
35759 #include <stdlib.h>
35761 main ()
35763 strtold(0, 0);
35765 return 0;
35767 _ACEOF
35768 if ac_fn_cxx_try_compile "$LINENO"; then :
35769 glibcxx_cv_func_strtold_use=yes
35770 else
35771 glibcxx_cv_func_strtold_use=no
35773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35774 ac_ext=c
35775 ac_cpp='$CPP $CPPFLAGS'
35776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35785 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35786 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35787 for ac_func in strtold
35788 do :
35789 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35790 if test "x$ac_cv_func_strtold" = xyes; then :
35791 cat >>confdefs.h <<_ACEOF
35792 #define HAVE_STRTOLD 1
35793 _ACEOF
35796 done
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35804 $as_echo_n "checking for strtof declaration... " >&6; }
35805 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35806 if ${glibcxx_cv_func_strtof_use+:} false; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <stdlib.h>
35821 main ()
35823 strtof(0, 0);
35825 return 0;
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func_strtof_use=yes
35830 else
35831 glibcxx_cv_func_strtof_use=no
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35845 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35846 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35847 for ac_func in strtof
35848 do :
35849 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35850 if test "x$ac_cv_func_strtof" = xyes; then :
35851 cat >>confdefs.h <<_ACEOF
35852 #define HAVE_STRTOF 1
35853 _ACEOF
35856 done
35863 CXXFLAGS="$ac_save_CXXFLAGS"
35866 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35868 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35870 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35872 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35875 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35877 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35879 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35883 *-aix*)
35885 # If we're not using GNU ld, then there's no point in even trying these
35886 # tests. Check for that first. We should have already tested for gld
35887 # by now (in libtool), but require it now just to be safe...
35888 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35889 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35893 # The name set by libtool depends on the version of libtool. Shame on us
35894 # for depending on an impl detail, but c'est la vie. Older versions used
35895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35898 # set (hence we're using an older libtool), then set it.
35899 if test x${with_gnu_ld+set} != xset; then
35900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35902 with_gnu_ld=no
35903 else
35904 with_gnu_ld=$ac_cv_prog_gnu_ld
35908 # Start by getting the version number. I think the libtool test already
35909 # does some of this, but throws away the result.
35910 glibcxx_ld_is_gold=no
35911 if test x"$with_gnu_ld" = x"yes"; then
35912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35913 $as_echo_n "checking for ld version... " >&6; }
35915 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35916 glibcxx_ld_is_gold=yes
35918 ldver=`$LD --version 2>/dev/null |
35919 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35921 glibcxx_gnu_ld_version=`echo $ldver | \
35922 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35924 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35927 # Set --gc-sections.
35928 glibcxx_have_gc_sections=no
35929 if test "$glibcxx_ld_is_gold" = "yes"; then
35930 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35931 glibcxx_have_gc_sections=yes
35933 else
35934 glibcxx_gcsections_min_ld=21602
35935 if test x"$with_gnu_ld" = x"yes" &&
35936 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35937 glibcxx_have_gc_sections=yes
35940 if test "$glibcxx_have_gc_sections" = "yes"; then
35941 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35942 # NB: This flag only works reliably after 2.16.1. Configure tests
35943 # for this are difficult, so hard wire a value that should work.
35945 ac_test_CFLAGS="${CFLAGS+set}"
35946 ac_save_CFLAGS="$CFLAGS"
35947 CFLAGS='-Wl,--gc-sections'
35949 # Check for -Wl,--gc-sections
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35951 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35952 if test x$gcc_no_link = xyes; then
35953 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35956 /* end confdefs.h. */
35957 int one(void) { return 1; }
35958 int two(void) { return 2; }
35961 main ()
35963 two();
35965 return 0;
35967 _ACEOF
35968 if ac_fn_c_try_link "$LINENO"; then :
35969 ac_gcsections=yes
35970 else
35971 ac_gcsections=no
35973 rm -f core conftest.err conftest.$ac_objext \
35974 conftest$ac_exeext conftest.$ac_ext
35975 if test "$ac_gcsections" = "yes"; then
35976 rm -f conftest.c
35977 touch conftest.c
35978 if $CC -c conftest.c; then
35979 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35980 grep "Warning: gc-sections option ignored" > /dev/null; then
35981 ac_gcsections=no
35984 rm -f conftest.c conftest.o conftest
35986 if test "$ac_gcsections" = "yes"; then
35987 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35990 $as_echo "$ac_gcsections" >&6; }
35992 if test "$ac_test_CFLAGS" = set; then
35993 CFLAGS="$ac_save_CFLAGS"
35994 else
35995 # this is the suspicious part
35996 CFLAGS=''
36000 # Set -z,relro.
36001 # Note this is only for shared objects.
36002 ac_ld_relro=no
36003 if test x"$with_gnu_ld" = x"yes"; then
36004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
36005 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
36006 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
36007 if test -n "$cxx_z_relo"; then
36008 OPT_LDFLAGS="-Wl,-z,relro"
36009 ac_ld_relro=yes
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
36012 $as_echo "$ac_ld_relro" >&6; }
36015 # Set linker optimization flags.
36016 if test x"$with_gnu_ld" = x"yes"; then
36017 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
36024 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36025 ac_save_CXXFLAGS="$CXXFLAGS"
36026 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
36029 $as_echo_n "checking for sin in -lm... " >&6; }
36030 if ${ac_cv_lib_m_sin+:} false; then :
36031 $as_echo_n "(cached) " >&6
36032 else
36033 ac_check_lib_save_LIBS=$LIBS
36034 LIBS="-lm $LIBS"
36035 if test x$gcc_no_link = xyes; then
36036 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36039 /* end confdefs.h. */
36041 /* Override any GCC internal prototype to avoid an error.
36042 Use char because int might match the return type of a GCC
36043 builtin and then its argument prototype would still apply. */
36044 #ifdef __cplusplus
36045 extern "C"
36046 #endif
36047 char sin ();
36049 main ()
36051 return sin ();
36053 return 0;
36055 _ACEOF
36056 if ac_fn_c_try_link "$LINENO"; then :
36057 ac_cv_lib_m_sin=yes
36058 else
36059 ac_cv_lib_m_sin=no
36061 rm -f core conftest.err conftest.$ac_objext \
36062 conftest$ac_exeext conftest.$ac_ext
36063 LIBS=$ac_check_lib_save_LIBS
36065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36066 $as_echo "$ac_cv_lib_m_sin" >&6; }
36067 if test "x$ac_cv_lib_m_sin" = xyes; then :
36068 libm="-lm"
36071 ac_save_LIBS="$LIBS"
36072 LIBS="$LIBS $libm"
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36077 $as_echo_n "checking for isinf declaration... " >&6; }
36078 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36079 if ${glibcxx_cv_func_isinf_use+:} false; then :
36080 $as_echo_n "(cached) " >&6
36081 else
36084 ac_ext=cpp
36085 ac_cpp='$CXXCPP $CPPFLAGS'
36086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36091 /* end confdefs.h. */
36092 #include <math.h>
36093 #ifdef HAVE_IEEEFP_H
36094 #include <ieeefp.h>
36095 #endif
36098 main ()
36100 isinf(0);
36102 return 0;
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func_isinf_use=yes
36107 else
36108 glibcxx_cv_func_isinf_use=no
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36122 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36124 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36125 for ac_func in isinf
36126 do :
36127 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36128 if test "x$ac_cv_func_isinf" = xyes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE_ISINF 1
36131 _ACEOF
36134 done
36136 else
36138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36139 $as_echo_n "checking for _isinf declaration... " >&6; }
36140 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36141 if ${glibcxx_cv_func__isinf_use+:} false; then :
36142 $as_echo_n "(cached) " >&6
36143 else
36146 ac_ext=cpp
36147 ac_cpp='$CXXCPP $CPPFLAGS'
36148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36153 /* end confdefs.h. */
36154 #include <math.h>
36155 #ifdef HAVE_IEEEFP_H
36156 #include <ieeefp.h>
36157 #endif
36160 main ()
36162 _isinf(0);
36164 return 0;
36166 _ACEOF
36167 if ac_fn_cxx_try_compile "$LINENO"; then :
36168 glibcxx_cv_func__isinf_use=yes
36169 else
36170 glibcxx_cv_func__isinf_use=no
36172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36173 ac_ext=c
36174 ac_cpp='$CPP $CPPFLAGS'
36175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
36184 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36186 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36187 for ac_func in _isinf
36188 do :
36189 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36190 if test "x$ac_cv_func__isinf" = xyes; then :
36191 cat >>confdefs.h <<_ACEOF
36192 #define HAVE__ISINF 1
36193 _ACEOF
36196 done
36205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36206 $as_echo_n "checking for isnan declaration... " >&6; }
36207 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36208 if ${glibcxx_cv_func_isnan_use+:} false; then :
36209 $as_echo_n "(cached) " >&6
36210 else
36213 ac_ext=cpp
36214 ac_cpp='$CXXCPP $CPPFLAGS'
36215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220 /* end confdefs.h. */
36221 #include <math.h>
36222 #ifdef HAVE_IEEEFP_H
36223 #include <ieeefp.h>
36224 #endif
36227 main ()
36229 isnan(0);
36231 return 0;
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func_isnan_use=yes
36236 else
36237 glibcxx_cv_func_isnan_use=no
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36251 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36253 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36254 for ac_func in isnan
36255 do :
36256 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36257 if test "x$ac_cv_func_isnan" = xyes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE_ISNAN 1
36260 _ACEOF
36263 done
36265 else
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36268 $as_echo_n "checking for _isnan declaration... " >&6; }
36269 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36270 if ${glibcxx_cv_func__isnan_use+:} false; then :
36271 $as_echo_n "(cached) " >&6
36272 else
36275 ac_ext=cpp
36276 ac_cpp='$CXXCPP $CPPFLAGS'
36277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282 /* end confdefs.h. */
36283 #include <math.h>
36284 #ifdef HAVE_IEEEFP_H
36285 #include <ieeefp.h>
36286 #endif
36289 main ()
36291 _isnan(0);
36293 return 0;
36295 _ACEOF
36296 if ac_fn_cxx_try_compile "$LINENO"; then :
36297 glibcxx_cv_func__isnan_use=yes
36298 else
36299 glibcxx_cv_func__isnan_use=no
36301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36302 ac_ext=c
36303 ac_cpp='$CPP $CPPFLAGS'
36304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36313 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36315 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36316 for ac_func in _isnan
36317 do :
36318 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36319 if test "x$ac_cv_func__isnan" = xyes; then :
36320 cat >>confdefs.h <<_ACEOF
36321 #define HAVE__ISNAN 1
36322 _ACEOF
36325 done
36334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36335 $as_echo_n "checking for finite declaration... " >&6; }
36336 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36337 if ${glibcxx_cv_func_finite_use+:} false; then :
36338 $as_echo_n "(cached) " >&6
36339 else
36342 ac_ext=cpp
36343 ac_cpp='$CXXCPP $CPPFLAGS'
36344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36349 /* end confdefs.h. */
36350 #include <math.h>
36351 #ifdef HAVE_IEEEFP_H
36352 #include <ieeefp.h>
36353 #endif
36356 main ()
36358 finite(0);
36360 return 0;
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364 glibcxx_cv_func_finite_use=yes
36365 else
36366 glibcxx_cv_func_finite_use=no
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36380 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36382 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36383 for ac_func in finite
36384 do :
36385 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36386 if test "x$ac_cv_func_finite" = xyes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define HAVE_FINITE 1
36389 _ACEOF
36392 done
36394 else
36396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36397 $as_echo_n "checking for _finite declaration... " >&6; }
36398 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36399 if ${glibcxx_cv_func__finite_use+:} false; then :
36400 $as_echo_n "(cached) " >&6
36401 else
36404 ac_ext=cpp
36405 ac_cpp='$CXXCPP $CPPFLAGS'
36406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36411 /* end confdefs.h. */
36412 #include <math.h>
36413 #ifdef HAVE_IEEEFP_H
36414 #include <ieeefp.h>
36415 #endif
36418 main ()
36420 _finite(0);
36422 return 0;
36424 _ACEOF
36425 if ac_fn_cxx_try_compile "$LINENO"; then :
36426 glibcxx_cv_func__finite_use=yes
36427 else
36428 glibcxx_cv_func__finite_use=no
36430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36431 ac_ext=c
36432 ac_cpp='$CPP $CPPFLAGS'
36433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36442 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36444 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36445 for ac_func in _finite
36446 do :
36447 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36448 if test "x$ac_cv_func__finite" = xyes; then :
36449 cat >>confdefs.h <<_ACEOF
36450 #define HAVE__FINITE 1
36451 _ACEOF
36454 done
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36464 $as_echo_n "checking for sincos declaration... " >&6; }
36465 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36466 if ${glibcxx_cv_func_sincos_use+:} false; then :
36467 $as_echo_n "(cached) " >&6
36468 else
36471 ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h. */
36479 #include <math.h>
36481 main ()
36483 sincos(0, 0, 0);
36485 return 0;
36487 _ACEOF
36488 if ac_fn_cxx_try_compile "$LINENO"; then :
36489 glibcxx_cv_func_sincos_use=yes
36490 else
36491 glibcxx_cv_func_sincos_use=no
36493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36494 ac_ext=c
36495 ac_cpp='$CPP $CPPFLAGS'
36496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36505 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36507 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36508 for ac_func in sincos
36509 do :
36510 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36511 if test "x$ac_cv_func_sincos" = xyes; then :
36512 cat >>confdefs.h <<_ACEOF
36513 #define HAVE_SINCOS 1
36514 _ACEOF
36517 done
36519 else
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36522 $as_echo_n "checking for _sincos declaration... " >&6; }
36523 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36524 if ${glibcxx_cv_func__sincos_use+:} false; then :
36525 $as_echo_n "(cached) " >&6
36526 else
36529 ac_ext=cpp
36530 ac_cpp='$CXXCPP $CPPFLAGS'
36531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36536 /* end confdefs.h. */
36537 #include <math.h>
36539 main ()
36541 _sincos(0, 0, 0);
36543 return 0;
36545 _ACEOF
36546 if ac_fn_cxx_try_compile "$LINENO"; then :
36547 glibcxx_cv_func__sincos_use=yes
36548 else
36549 glibcxx_cv_func__sincos_use=no
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552 ac_ext=c
36553 ac_cpp='$CPP $CPPFLAGS'
36554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36563 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36565 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36566 for ac_func in _sincos
36567 do :
36568 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36569 if test "x$ac_cv_func__sincos" = xyes; then :
36570 cat >>confdefs.h <<_ACEOF
36571 #define HAVE__SINCOS 1
36572 _ACEOF
36575 done
36584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36585 $as_echo_n "checking for fpclass declaration... " >&6; }
36586 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36587 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36588 $as_echo_n "(cached) " >&6
36589 else
36592 ac_ext=cpp
36593 ac_cpp='$CXXCPP $CPPFLAGS'
36594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36599 /* end confdefs.h. */
36600 #include <math.h>
36601 #ifdef HAVE_IEEEFP_H
36602 #include <ieeefp.h>
36603 #endif
36606 main ()
36608 fpclass(0);
36610 return 0;
36612 _ACEOF
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614 glibcxx_cv_func_fpclass_use=yes
36615 else
36616 glibcxx_cv_func_fpclass_use=no
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619 ac_ext=c
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36630 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36632 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36633 for ac_func in fpclass
36634 do :
36635 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36636 if test "x$ac_cv_func_fpclass" = xyes; then :
36637 cat >>confdefs.h <<_ACEOF
36638 #define HAVE_FPCLASS 1
36639 _ACEOF
36642 done
36644 else
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36647 $as_echo_n "checking for _fpclass declaration... " >&6; }
36648 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36649 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36650 $as_echo_n "(cached) " >&6
36651 else
36654 ac_ext=cpp
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661 /* end confdefs.h. */
36662 #include <math.h>
36663 #ifdef HAVE_IEEEFP_H
36664 #include <ieeefp.h>
36665 #endif
36668 main ()
36670 _fpclass(0);
36672 return 0;
36674 _ACEOF
36675 if ac_fn_cxx_try_compile "$LINENO"; then :
36676 glibcxx_cv_func__fpclass_use=yes
36677 else
36678 glibcxx_cv_func__fpclass_use=no
36680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36681 ac_ext=c
36682 ac_cpp='$CPP $CPPFLAGS'
36683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36692 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36694 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36695 for ac_func in _fpclass
36696 do :
36697 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36698 if test "x$ac_cv_func__fpclass" = xyes; then :
36699 cat >>confdefs.h <<_ACEOF
36700 #define HAVE__FPCLASS 1
36701 _ACEOF
36704 done
36713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36714 $as_echo_n "checking for qfpclass declaration... " >&6; }
36715 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36716 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36717 $as_echo_n "(cached) " >&6
36718 else
36721 ac_ext=cpp
36722 ac_cpp='$CXXCPP $CPPFLAGS'
36723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36728 /* end confdefs.h. */
36729 #include <math.h>
36730 #ifdef HAVE_IEEEFP_H
36731 #include <ieeefp.h>
36732 #endif
36735 main ()
36737 qfpclass(0);
36739 return 0;
36741 _ACEOF
36742 if ac_fn_cxx_try_compile "$LINENO"; then :
36743 glibcxx_cv_func_qfpclass_use=yes
36744 else
36745 glibcxx_cv_func_qfpclass_use=no
36747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36748 ac_ext=c
36749 ac_cpp='$CPP $CPPFLAGS'
36750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36759 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36761 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36762 for ac_func in qfpclass
36763 do :
36764 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36765 if test "x$ac_cv_func_qfpclass" = xyes; then :
36766 cat >>confdefs.h <<_ACEOF
36767 #define HAVE_QFPCLASS 1
36768 _ACEOF
36771 done
36773 else
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36776 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36777 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36778 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36779 $as_echo_n "(cached) " >&6
36780 else
36783 ac_ext=cpp
36784 ac_cpp='$CXXCPP $CPPFLAGS'
36785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36790 /* end confdefs.h. */
36791 #include <math.h>
36792 #ifdef HAVE_IEEEFP_H
36793 #include <ieeefp.h>
36794 #endif
36797 main ()
36799 _qfpclass(0);
36801 return 0;
36803 _ACEOF
36804 if ac_fn_cxx_try_compile "$LINENO"; then :
36805 glibcxx_cv_func__qfpclass_use=yes
36806 else
36807 glibcxx_cv_func__qfpclass_use=no
36809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36810 ac_ext=c
36811 ac_cpp='$CPP $CPPFLAGS'
36812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36821 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36823 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36824 for ac_func in _qfpclass
36825 do :
36826 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36827 if test "x$ac_cv_func__qfpclass" = xyes; then :
36828 cat >>confdefs.h <<_ACEOF
36829 #define HAVE__QFPCLASS 1
36830 _ACEOF
36833 done
36842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36843 $as_echo_n "checking for hypot declaration... " >&6; }
36844 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36845 if ${glibcxx_cv_func_hypot_use+:} false; then :
36846 $as_echo_n "(cached) " >&6
36847 else
36850 ac_ext=cpp
36851 ac_cpp='$CXXCPP $CPPFLAGS'
36852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36857 /* end confdefs.h. */
36858 #include <math.h>
36860 main ()
36862 hypot(0, 0);
36864 return 0;
36866 _ACEOF
36867 if ac_fn_cxx_try_compile "$LINENO"; then :
36868 glibcxx_cv_func_hypot_use=yes
36869 else
36870 glibcxx_cv_func_hypot_use=no
36872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36873 ac_ext=c
36874 ac_cpp='$CPP $CPPFLAGS'
36875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36884 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36886 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36887 for ac_func in hypot
36888 do :
36889 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36890 if test "x$ac_cv_func_hypot" = xyes; then :
36891 cat >>confdefs.h <<_ACEOF
36892 #define HAVE_HYPOT 1
36893 _ACEOF
36896 done
36898 else
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36901 $as_echo_n "checking for _hypot declaration... " >&6; }
36902 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36903 if ${glibcxx_cv_func__hypot_use+:} false; then :
36904 $as_echo_n "(cached) " >&6
36905 else
36908 ac_ext=cpp
36909 ac_cpp='$CXXCPP $CPPFLAGS'
36910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36915 /* end confdefs.h. */
36916 #include <math.h>
36918 main ()
36920 _hypot(0, 0);
36922 return 0;
36924 _ACEOF
36925 if ac_fn_cxx_try_compile "$LINENO"; then :
36926 glibcxx_cv_func__hypot_use=yes
36927 else
36928 glibcxx_cv_func__hypot_use=no
36930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36931 ac_ext=c
36932 ac_cpp='$CPP $CPPFLAGS'
36933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36942 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36944 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36945 for ac_func in _hypot
36946 do :
36947 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36948 if test "x$ac_cv_func__hypot" = xyes; then :
36949 cat >>confdefs.h <<_ACEOF
36950 #define HAVE__HYPOT 1
36951 _ACEOF
36954 done
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36964 $as_echo_n "checking for float trig functions... " >&6; }
36965 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36966 $as_echo_n "(cached) " >&6
36967 else
36970 ac_ext=cpp
36971 ac_cpp='$CXXCPP $CPPFLAGS'
36972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36977 /* end confdefs.h. */
36978 #include <math.h>
36980 main ()
36982 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36984 return 0;
36986 _ACEOF
36987 if ac_fn_cxx_try_compile "$LINENO"; then :
36988 glibcxx_cv_func_float_trig_use=yes
36989 else
36990 glibcxx_cv_func_float_trig_use=no
36992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36993 ac_ext=c
36994 ac_cpp='$CPP $CPPFLAGS'
36995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
37002 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
37003 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
37004 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
37005 do :
37006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37008 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37009 cat >>confdefs.h <<_ACEOF
37010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37011 _ACEOF
37014 done
37016 else
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
37018 $as_echo_n "checking for _float trig functions... " >&6; }
37019 if ${glibcxx_cv_func__float_trig_use+:} false; then :
37020 $as_echo_n "(cached) " >&6
37021 else
37024 ac_ext=cpp
37025 ac_cpp='$CXXCPP $CPPFLAGS'
37026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37031 /* end confdefs.h. */
37032 #include <math.h>
37034 main ()
37036 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
37038 return 0;
37040 _ACEOF
37041 if ac_fn_cxx_try_compile "$LINENO"; then :
37042 glibcxx_cv_func__float_trig_use=yes
37043 else
37044 glibcxx_cv_func__float_trig_use=no
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37047 ac_ext=c
37048 ac_cpp='$CPP $CPPFLAGS'
37049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
37056 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
37057 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37058 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37059 do :
37060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37062 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37063 cat >>confdefs.h <<_ACEOF
37064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37065 _ACEOF
37068 done
37077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37078 $as_echo_n "checking for float round functions... " >&6; }
37079 if ${glibcxx_cv_func_float_round_use+:} false; then :
37080 $as_echo_n "(cached) " >&6
37081 else
37084 ac_ext=cpp
37085 ac_cpp='$CXXCPP $CPPFLAGS'
37086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37091 /* end confdefs.h. */
37092 #include <math.h>
37094 main ()
37096 ceilf (0); floorf (0);
37098 return 0;
37100 _ACEOF
37101 if ac_fn_cxx_try_compile "$LINENO"; then :
37102 glibcxx_cv_func_float_round_use=yes
37103 else
37104 glibcxx_cv_func_float_round_use=no
37106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37107 ac_ext=c
37108 ac_cpp='$CPP $CPPFLAGS'
37109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37116 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37117 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37118 for ac_func in ceilf floorf
37119 do :
37120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37122 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37123 cat >>confdefs.h <<_ACEOF
37124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37125 _ACEOF
37128 done
37130 else
37131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37132 $as_echo_n "checking for _float round functions... " >&6; }
37133 if ${glibcxx_cv_func__float_round_use+:} false; then :
37134 $as_echo_n "(cached) " >&6
37135 else
37138 ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h. */
37146 #include <math.h>
37148 main ()
37150 _ceilf (0); _floorf (0);
37152 return 0;
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156 glibcxx_cv_func__float_round_use=yes
37157 else
37158 glibcxx_cv_func__float_round_use=no
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37170 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37171 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37172 for ac_func in _ceilf _floorf
37173 do :
37174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37176 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37177 cat >>confdefs.h <<_ACEOF
37178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37179 _ACEOF
37182 done
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37193 $as_echo_n "checking for expf declaration... " >&6; }
37194 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37195 if ${glibcxx_cv_func_expf_use+:} false; then :
37196 $as_echo_n "(cached) " >&6
37197 else
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <math.h>
37209 #ifdef HAVE_IEEEFP_H
37210 #include <ieeefp.h>
37211 #endif
37214 main ()
37216 expf(0);
37218 return 0;
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222 glibcxx_cv_func_expf_use=yes
37223 else
37224 glibcxx_cv_func_expf_use=no
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227 ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37238 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37240 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37241 for ac_func in expf
37242 do :
37243 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37244 if test "x$ac_cv_func_expf" = xyes; then :
37245 cat >>confdefs.h <<_ACEOF
37246 #define HAVE_EXPF 1
37247 _ACEOF
37250 done
37252 else
37254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37255 $as_echo_n "checking for _expf declaration... " >&6; }
37256 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37257 if ${glibcxx_cv_func__expf_use+:} false; then :
37258 $as_echo_n "(cached) " >&6
37259 else
37262 ac_ext=cpp
37263 ac_cpp='$CXXCPP $CPPFLAGS'
37264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37269 /* end confdefs.h. */
37270 #include <math.h>
37271 #ifdef HAVE_IEEEFP_H
37272 #include <ieeefp.h>
37273 #endif
37276 main ()
37278 _expf(0);
37280 return 0;
37282 _ACEOF
37283 if ac_fn_cxx_try_compile "$LINENO"; then :
37284 glibcxx_cv_func__expf_use=yes
37285 else
37286 glibcxx_cv_func__expf_use=no
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37300 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37302 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37303 for ac_func in _expf
37304 do :
37305 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37306 if test "x$ac_cv_func__expf" = xyes; then :
37307 cat >>confdefs.h <<_ACEOF
37308 #define HAVE__EXPF 1
37309 _ACEOF
37312 done
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37322 $as_echo_n "checking for isnanf declaration... " >&6; }
37323 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37324 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37325 $as_echo_n "(cached) " >&6
37326 else
37329 ac_ext=cpp
37330 ac_cpp='$CXXCPP $CPPFLAGS'
37331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336 /* end confdefs.h. */
37337 #include <math.h>
37338 #ifdef HAVE_IEEEFP_H
37339 #include <ieeefp.h>
37340 #endif
37343 main ()
37345 isnanf(0);
37347 return 0;
37349 _ACEOF
37350 if ac_fn_cxx_try_compile "$LINENO"; then :
37351 glibcxx_cv_func_isnanf_use=yes
37352 else
37353 glibcxx_cv_func_isnanf_use=no
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356 ac_ext=c
37357 ac_cpp='$CPP $CPPFLAGS'
37358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37367 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37369 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37370 for ac_func in isnanf
37371 do :
37372 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37373 if test "x$ac_cv_func_isnanf" = xyes; then :
37374 cat >>confdefs.h <<_ACEOF
37375 #define HAVE_ISNANF 1
37376 _ACEOF
37379 done
37381 else
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37384 $as_echo_n "checking for _isnanf declaration... " >&6; }
37385 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37386 if ${glibcxx_cv_func__isnanf_use+:} false; then :
37387 $as_echo_n "(cached) " >&6
37388 else
37391 ac_ext=cpp
37392 ac_cpp='$CXXCPP $CPPFLAGS'
37393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37398 /* end confdefs.h. */
37399 #include <math.h>
37400 #ifdef HAVE_IEEEFP_H
37401 #include <ieeefp.h>
37402 #endif
37405 main ()
37407 _isnanf(0);
37409 return 0;
37411 _ACEOF
37412 if ac_fn_cxx_try_compile "$LINENO"; then :
37413 glibcxx_cv_func__isnanf_use=yes
37414 else
37415 glibcxx_cv_func__isnanf_use=no
37417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37418 ac_ext=c
37419 ac_cpp='$CPP $CPPFLAGS'
37420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37429 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37431 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37432 for ac_func in _isnanf
37433 do :
37434 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37435 if test "x$ac_cv_func__isnanf" = xyes; then :
37436 cat >>confdefs.h <<_ACEOF
37437 #define HAVE__ISNANF 1
37438 _ACEOF
37441 done
37450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37451 $as_echo_n "checking for isinff declaration... " >&6; }
37452 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37453 if ${glibcxx_cv_func_isinff_use+:} false; then :
37454 $as_echo_n "(cached) " >&6
37455 else
37458 ac_ext=cpp
37459 ac_cpp='$CXXCPP $CPPFLAGS'
37460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37465 /* end confdefs.h. */
37466 #include <math.h>
37467 #ifdef HAVE_IEEEFP_H
37468 #include <ieeefp.h>
37469 #endif
37472 main ()
37474 isinff(0);
37476 return 0;
37478 _ACEOF
37479 if ac_fn_cxx_try_compile "$LINENO"; then :
37480 glibcxx_cv_func_isinff_use=yes
37481 else
37482 glibcxx_cv_func_isinff_use=no
37484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37485 ac_ext=c
37486 ac_cpp='$CPP $CPPFLAGS'
37487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37496 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37498 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37499 for ac_func in isinff
37500 do :
37501 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37502 if test "x$ac_cv_func_isinff" = xyes; then :
37503 cat >>confdefs.h <<_ACEOF
37504 #define HAVE_ISINFF 1
37505 _ACEOF
37508 done
37510 else
37512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37513 $as_echo_n "checking for _isinff declaration... " >&6; }
37514 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37515 if ${glibcxx_cv_func__isinff_use+:} false; then :
37516 $as_echo_n "(cached) " >&6
37517 else
37520 ac_ext=cpp
37521 ac_cpp='$CXXCPP $CPPFLAGS'
37522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37527 /* end confdefs.h. */
37528 #include <math.h>
37529 #ifdef HAVE_IEEEFP_H
37530 #include <ieeefp.h>
37531 #endif
37534 main ()
37536 _isinff(0);
37538 return 0;
37540 _ACEOF
37541 if ac_fn_cxx_try_compile "$LINENO"; then :
37542 glibcxx_cv_func__isinff_use=yes
37543 else
37544 glibcxx_cv_func__isinff_use=no
37546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37547 ac_ext=c
37548 ac_cpp='$CPP $CPPFLAGS'
37549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37558 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37560 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37561 for ac_func in _isinff
37562 do :
37563 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37564 if test "x$ac_cv_func__isinff" = xyes; then :
37565 cat >>confdefs.h <<_ACEOF
37566 #define HAVE__ISINFF 1
37567 _ACEOF
37570 done
37579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37580 $as_echo_n "checking for atan2f declaration... " >&6; }
37581 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37582 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37583 $as_echo_n "(cached) " >&6
37584 else
37587 ac_ext=cpp
37588 ac_cpp='$CXXCPP $CPPFLAGS'
37589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37594 /* end confdefs.h. */
37595 #include <math.h>
37597 main ()
37599 atan2f(0, 0);
37601 return 0;
37603 _ACEOF
37604 if ac_fn_cxx_try_compile "$LINENO"; then :
37605 glibcxx_cv_func_atan2f_use=yes
37606 else
37607 glibcxx_cv_func_atan2f_use=no
37609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37610 ac_ext=c
37611 ac_cpp='$CPP $CPPFLAGS'
37612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37621 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37623 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37624 for ac_func in atan2f
37625 do :
37626 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37627 if test "x$ac_cv_func_atan2f" = xyes; then :
37628 cat >>confdefs.h <<_ACEOF
37629 #define HAVE_ATAN2F 1
37630 _ACEOF
37633 done
37635 else
37637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37638 $as_echo_n "checking for _atan2f declaration... " >&6; }
37639 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37640 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37641 $as_echo_n "(cached) " >&6
37642 else
37645 ac_ext=cpp
37646 ac_cpp='$CXXCPP $CPPFLAGS'
37647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37652 /* end confdefs.h. */
37653 #include <math.h>
37655 main ()
37657 _atan2f(0, 0);
37659 return 0;
37661 _ACEOF
37662 if ac_fn_cxx_try_compile "$LINENO"; then :
37663 glibcxx_cv_func__atan2f_use=yes
37664 else
37665 glibcxx_cv_func__atan2f_use=no
37667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37668 ac_ext=c
37669 ac_cpp='$CPP $CPPFLAGS'
37670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37679 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37681 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37682 for ac_func in _atan2f
37683 do :
37684 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37685 if test "x$ac_cv_func__atan2f" = xyes; then :
37686 cat >>confdefs.h <<_ACEOF
37687 #define HAVE__ATAN2F 1
37688 _ACEOF
37691 done
37700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37701 $as_echo_n "checking for fabsf declaration... " >&6; }
37702 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37703 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37704 $as_echo_n "(cached) " >&6
37705 else
37708 ac_ext=cpp
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37715 /* end confdefs.h. */
37716 #include <math.h>
37717 #ifdef HAVE_IEEEFP_H
37718 #include <ieeefp.h>
37719 #endif
37722 main ()
37724 fabsf(0);
37726 return 0;
37728 _ACEOF
37729 if ac_fn_cxx_try_compile "$LINENO"; then :
37730 glibcxx_cv_func_fabsf_use=yes
37731 else
37732 glibcxx_cv_func_fabsf_use=no
37734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37735 ac_ext=c
37736 ac_cpp='$CPP $CPPFLAGS'
37737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37746 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37748 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37749 for ac_func in fabsf
37750 do :
37751 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37752 if test "x$ac_cv_func_fabsf" = xyes; then :
37753 cat >>confdefs.h <<_ACEOF
37754 #define HAVE_FABSF 1
37755 _ACEOF
37758 done
37760 else
37762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37763 $as_echo_n "checking for _fabsf declaration... " >&6; }
37764 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37765 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37766 $as_echo_n "(cached) " >&6
37767 else
37770 ac_ext=cpp
37771 ac_cpp='$CXXCPP $CPPFLAGS'
37772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37777 /* end confdefs.h. */
37778 #include <math.h>
37779 #ifdef HAVE_IEEEFP_H
37780 #include <ieeefp.h>
37781 #endif
37784 main ()
37786 _fabsf(0);
37788 return 0;
37790 _ACEOF
37791 if ac_fn_cxx_try_compile "$LINENO"; then :
37792 glibcxx_cv_func__fabsf_use=yes
37793 else
37794 glibcxx_cv_func__fabsf_use=no
37796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37797 ac_ext=c
37798 ac_cpp='$CPP $CPPFLAGS'
37799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37808 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37810 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37811 for ac_func in _fabsf
37812 do :
37813 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37814 if test "x$ac_cv_func__fabsf" = xyes; then :
37815 cat >>confdefs.h <<_ACEOF
37816 #define HAVE__FABSF 1
37817 _ACEOF
37820 done
37829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37830 $as_echo_n "checking for fmodf declaration... " >&6; }
37831 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37832 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37833 $as_echo_n "(cached) " >&6
37834 else
37837 ac_ext=cpp
37838 ac_cpp='$CXXCPP $CPPFLAGS'
37839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37844 /* end confdefs.h. */
37845 #include <math.h>
37847 main ()
37849 fmodf(0, 0);
37851 return 0;
37853 _ACEOF
37854 if ac_fn_cxx_try_compile "$LINENO"; then :
37855 glibcxx_cv_func_fmodf_use=yes
37856 else
37857 glibcxx_cv_func_fmodf_use=no
37859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37860 ac_ext=c
37861 ac_cpp='$CPP $CPPFLAGS'
37862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37871 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37873 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37874 for ac_func in fmodf
37875 do :
37876 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37877 if test "x$ac_cv_func_fmodf" = xyes; then :
37878 cat >>confdefs.h <<_ACEOF
37879 #define HAVE_FMODF 1
37880 _ACEOF
37883 done
37885 else
37887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37888 $as_echo_n "checking for _fmodf declaration... " >&6; }
37889 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37890 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37891 $as_echo_n "(cached) " >&6
37892 else
37895 ac_ext=cpp
37896 ac_cpp='$CXXCPP $CPPFLAGS'
37897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37902 /* end confdefs.h. */
37903 #include <math.h>
37905 main ()
37907 _fmodf(0, 0);
37909 return 0;
37911 _ACEOF
37912 if ac_fn_cxx_try_compile "$LINENO"; then :
37913 glibcxx_cv_func__fmodf_use=yes
37914 else
37915 glibcxx_cv_func__fmodf_use=no
37917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37918 ac_ext=c
37919 ac_cpp='$CPP $CPPFLAGS'
37920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37929 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37931 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37932 for ac_func in _fmodf
37933 do :
37934 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37935 if test "x$ac_cv_func__fmodf" = xyes; then :
37936 cat >>confdefs.h <<_ACEOF
37937 #define HAVE__FMODF 1
37938 _ACEOF
37941 done
37950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37951 $as_echo_n "checking for frexpf declaration... " >&6; }
37952 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37953 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37954 $as_echo_n "(cached) " >&6
37955 else
37958 ac_ext=cpp
37959 ac_cpp='$CXXCPP $CPPFLAGS'
37960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37965 /* end confdefs.h. */
37966 #include <math.h>
37968 main ()
37970 frexpf(0, 0);
37972 return 0;
37974 _ACEOF
37975 if ac_fn_cxx_try_compile "$LINENO"; then :
37976 glibcxx_cv_func_frexpf_use=yes
37977 else
37978 glibcxx_cv_func_frexpf_use=no
37980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37981 ac_ext=c
37982 ac_cpp='$CPP $CPPFLAGS'
37983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37992 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37994 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37995 for ac_func in frexpf
37996 do :
37997 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37998 if test "x$ac_cv_func_frexpf" = xyes; then :
37999 cat >>confdefs.h <<_ACEOF
38000 #define HAVE_FREXPF 1
38001 _ACEOF
38004 done
38006 else
38008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
38009 $as_echo_n "checking for _frexpf declaration... " >&6; }
38010 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38011 if ${glibcxx_cv_func__frexpf_use+:} false; then :
38012 $as_echo_n "(cached) " >&6
38013 else
38016 ac_ext=cpp
38017 ac_cpp='$CXXCPP $CPPFLAGS'
38018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38023 /* end confdefs.h. */
38024 #include <math.h>
38026 main ()
38028 _frexpf(0, 0);
38030 return 0;
38032 _ACEOF
38033 if ac_fn_cxx_try_compile "$LINENO"; then :
38034 glibcxx_cv_func__frexpf_use=yes
38035 else
38036 glibcxx_cv_func__frexpf_use=no
38038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38039 ac_ext=c
38040 ac_cpp='$CPP $CPPFLAGS'
38041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
38050 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
38052 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38053 for ac_func in _frexpf
38054 do :
38055 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
38056 if test "x$ac_cv_func__frexpf" = xyes; then :
38057 cat >>confdefs.h <<_ACEOF
38058 #define HAVE__FREXPF 1
38059 _ACEOF
38062 done
38071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38072 $as_echo_n "checking for hypotf declaration... " >&6; }
38073 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38074 if ${glibcxx_cv_func_hypotf_use+:} false; then :
38075 $as_echo_n "(cached) " >&6
38076 else
38079 ac_ext=cpp
38080 ac_cpp='$CXXCPP $CPPFLAGS'
38081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38086 /* end confdefs.h. */
38087 #include <math.h>
38089 main ()
38091 hypotf(0, 0);
38093 return 0;
38095 _ACEOF
38096 if ac_fn_cxx_try_compile "$LINENO"; then :
38097 glibcxx_cv_func_hypotf_use=yes
38098 else
38099 glibcxx_cv_func_hypotf_use=no
38101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38102 ac_ext=c
38103 ac_cpp='$CPP $CPPFLAGS'
38104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38113 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38115 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38116 for ac_func in hypotf
38117 do :
38118 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38119 if test "x$ac_cv_func_hypotf" = xyes; then :
38120 cat >>confdefs.h <<_ACEOF
38121 #define HAVE_HYPOTF 1
38122 _ACEOF
38125 done
38127 else
38129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38130 $as_echo_n "checking for _hypotf declaration... " >&6; }
38131 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38132 if ${glibcxx_cv_func__hypotf_use+:} false; then :
38133 $as_echo_n "(cached) " >&6
38134 else
38137 ac_ext=cpp
38138 ac_cpp='$CXXCPP $CPPFLAGS'
38139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38144 /* end confdefs.h. */
38145 #include <math.h>
38147 main ()
38149 _hypotf(0, 0);
38151 return 0;
38153 _ACEOF
38154 if ac_fn_cxx_try_compile "$LINENO"; then :
38155 glibcxx_cv_func__hypotf_use=yes
38156 else
38157 glibcxx_cv_func__hypotf_use=no
38159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160 ac_ext=c
38161 ac_cpp='$CPP $CPPFLAGS'
38162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38171 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38173 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38174 for ac_func in _hypotf
38175 do :
38176 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38177 if test "x$ac_cv_func__hypotf" = xyes; then :
38178 cat >>confdefs.h <<_ACEOF
38179 #define HAVE__HYPOTF 1
38180 _ACEOF
38183 done
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38193 $as_echo_n "checking for ldexpf declaration... " >&6; }
38194 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38195 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38196 $as_echo_n "(cached) " >&6
38197 else
38200 ac_ext=cpp
38201 ac_cpp='$CXXCPP $CPPFLAGS'
38202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <math.h>
38210 main ()
38212 ldexpf(0, 0);
38214 return 0;
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218 glibcxx_cv_func_ldexpf_use=yes
38219 else
38220 glibcxx_cv_func_ldexpf_use=no
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223 ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38234 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38236 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38237 for ac_func in ldexpf
38238 do :
38239 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38240 if test "x$ac_cv_func_ldexpf" = xyes; then :
38241 cat >>confdefs.h <<_ACEOF
38242 #define HAVE_LDEXPF 1
38243 _ACEOF
38246 done
38248 else
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38251 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38252 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38253 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38254 $as_echo_n "(cached) " >&6
38255 else
38258 ac_ext=cpp
38259 ac_cpp='$CXXCPP $CPPFLAGS'
38260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265 /* end confdefs.h. */
38266 #include <math.h>
38268 main ()
38270 _ldexpf(0, 0);
38272 return 0;
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276 glibcxx_cv_func__ldexpf_use=yes
38277 else
38278 glibcxx_cv_func__ldexpf_use=no
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38292 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38294 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38295 for ac_func in _ldexpf
38296 do :
38297 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38298 if test "x$ac_cv_func__ldexpf" = xyes; then :
38299 cat >>confdefs.h <<_ACEOF
38300 #define HAVE__LDEXPF 1
38301 _ACEOF
38304 done
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38314 $as_echo_n "checking for logf declaration... " >&6; }
38315 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38316 if ${glibcxx_cv_func_logf_use+:} false; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h. */
38329 #include <math.h>
38330 #ifdef HAVE_IEEEFP_H
38331 #include <ieeefp.h>
38332 #endif
38335 main ()
38337 logf(0);
38339 return 0;
38341 _ACEOF
38342 if ac_fn_cxx_try_compile "$LINENO"; then :
38343 glibcxx_cv_func_logf_use=yes
38344 else
38345 glibcxx_cv_func_logf_use=no
38347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38348 ac_ext=c
38349 ac_cpp='$CPP $CPPFLAGS'
38350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38359 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38361 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38362 for ac_func in logf
38363 do :
38364 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38365 if test "x$ac_cv_func_logf" = xyes; then :
38366 cat >>confdefs.h <<_ACEOF
38367 #define HAVE_LOGF 1
38368 _ACEOF
38371 done
38373 else
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38376 $as_echo_n "checking for _logf declaration... " >&6; }
38377 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38378 if ${glibcxx_cv_func__logf_use+:} false; then :
38379 $as_echo_n "(cached) " >&6
38380 else
38383 ac_ext=cpp
38384 ac_cpp='$CXXCPP $CPPFLAGS'
38385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38390 /* end confdefs.h. */
38391 #include <math.h>
38392 #ifdef HAVE_IEEEFP_H
38393 #include <ieeefp.h>
38394 #endif
38397 main ()
38399 _logf(0);
38401 return 0;
38403 _ACEOF
38404 if ac_fn_cxx_try_compile "$LINENO"; then :
38405 glibcxx_cv_func__logf_use=yes
38406 else
38407 glibcxx_cv_func__logf_use=no
38409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38410 ac_ext=c
38411 ac_cpp='$CPP $CPPFLAGS'
38412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38421 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38423 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38424 for ac_func in _logf
38425 do :
38426 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38427 if test "x$ac_cv_func__logf" = xyes; then :
38428 cat >>confdefs.h <<_ACEOF
38429 #define HAVE__LOGF 1
38430 _ACEOF
38433 done
38442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38443 $as_echo_n "checking for log10f declaration... " >&6; }
38444 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38445 if ${glibcxx_cv_func_log10f_use+:} false; then :
38446 $as_echo_n "(cached) " >&6
38447 else
38450 ac_ext=cpp
38451 ac_cpp='$CXXCPP $CPPFLAGS'
38452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38457 /* end confdefs.h. */
38458 #include <math.h>
38459 #ifdef HAVE_IEEEFP_H
38460 #include <ieeefp.h>
38461 #endif
38464 main ()
38466 log10f(0);
38468 return 0;
38470 _ACEOF
38471 if ac_fn_cxx_try_compile "$LINENO"; then :
38472 glibcxx_cv_func_log10f_use=yes
38473 else
38474 glibcxx_cv_func_log10f_use=no
38476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38477 ac_ext=c
38478 ac_cpp='$CPP $CPPFLAGS'
38479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38488 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38490 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38491 for ac_func in log10f
38492 do :
38493 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38494 if test "x$ac_cv_func_log10f" = xyes; then :
38495 cat >>confdefs.h <<_ACEOF
38496 #define HAVE_LOG10F 1
38497 _ACEOF
38500 done
38502 else
38504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38505 $as_echo_n "checking for _log10f declaration... " >&6; }
38506 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38507 if ${glibcxx_cv_func__log10f_use+:} false; then :
38508 $as_echo_n "(cached) " >&6
38509 else
38512 ac_ext=cpp
38513 ac_cpp='$CXXCPP $CPPFLAGS'
38514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38519 /* end confdefs.h. */
38520 #include <math.h>
38521 #ifdef HAVE_IEEEFP_H
38522 #include <ieeefp.h>
38523 #endif
38526 main ()
38528 _log10f(0);
38530 return 0;
38532 _ACEOF
38533 if ac_fn_cxx_try_compile "$LINENO"; then :
38534 glibcxx_cv_func__log10f_use=yes
38535 else
38536 glibcxx_cv_func__log10f_use=no
38538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539 ac_ext=c
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38550 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38552 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38553 for ac_func in _log10f
38554 do :
38555 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38556 if test "x$ac_cv_func__log10f" = xyes; then :
38557 cat >>confdefs.h <<_ACEOF
38558 #define HAVE__LOG10F 1
38559 _ACEOF
38562 done
38571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38572 $as_echo_n "checking for modff declaration... " >&6; }
38573 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38574 if ${glibcxx_cv_func_modff_use+:} false; then :
38575 $as_echo_n "(cached) " >&6
38576 else
38579 ac_ext=cpp
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38586 /* end confdefs.h. */
38587 #include <math.h>
38589 main ()
38591 modff(0, 0);
38593 return 0;
38595 _ACEOF
38596 if ac_fn_cxx_try_compile "$LINENO"; then :
38597 glibcxx_cv_func_modff_use=yes
38598 else
38599 glibcxx_cv_func_modff_use=no
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38602 ac_ext=c
38603 ac_cpp='$CPP $CPPFLAGS'
38604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38613 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38615 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38616 for ac_func in modff
38617 do :
38618 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38619 if test "x$ac_cv_func_modff" = xyes; then :
38620 cat >>confdefs.h <<_ACEOF
38621 #define HAVE_MODFF 1
38622 _ACEOF
38625 done
38627 else
38629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38630 $as_echo_n "checking for _modff declaration... " >&6; }
38631 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38632 if ${glibcxx_cv_func__modff_use+:} false; then :
38633 $as_echo_n "(cached) " >&6
38634 else
38637 ac_ext=cpp
38638 ac_cpp='$CXXCPP $CPPFLAGS'
38639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38644 /* end confdefs.h. */
38645 #include <math.h>
38647 main ()
38649 _modff(0, 0);
38651 return 0;
38653 _ACEOF
38654 if ac_fn_cxx_try_compile "$LINENO"; then :
38655 glibcxx_cv_func__modff_use=yes
38656 else
38657 glibcxx_cv_func__modff_use=no
38659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38660 ac_ext=c
38661 ac_cpp='$CPP $CPPFLAGS'
38662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38671 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38673 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38674 for ac_func in _modff
38675 do :
38676 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38677 if test "x$ac_cv_func__modff" = xyes; then :
38678 cat >>confdefs.h <<_ACEOF
38679 #define HAVE__MODFF 1
38680 _ACEOF
38683 done
38692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38693 $as_echo_n "checking for modf declaration... " >&6; }
38694 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38695 if ${glibcxx_cv_func_modf_use+:} false; then :
38696 $as_echo_n "(cached) " >&6
38697 else
38700 ac_ext=cpp
38701 ac_cpp='$CXXCPP $CPPFLAGS'
38702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38707 /* end confdefs.h. */
38708 #include <math.h>
38710 main ()
38712 modf(0, 0);
38714 return 0;
38716 _ACEOF
38717 if ac_fn_cxx_try_compile "$LINENO"; then :
38718 glibcxx_cv_func_modf_use=yes
38719 else
38720 glibcxx_cv_func_modf_use=no
38722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38723 ac_ext=c
38724 ac_cpp='$CPP $CPPFLAGS'
38725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38734 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38736 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38737 for ac_func in modf
38738 do :
38739 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38740 if test "x$ac_cv_func_modf" = xyes; then :
38741 cat >>confdefs.h <<_ACEOF
38742 #define HAVE_MODF 1
38743 _ACEOF
38746 done
38748 else
38750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38751 $as_echo_n "checking for _modf declaration... " >&6; }
38752 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38753 if ${glibcxx_cv_func__modf_use+:} false; then :
38754 $as_echo_n "(cached) " >&6
38755 else
38758 ac_ext=cpp
38759 ac_cpp='$CXXCPP $CPPFLAGS'
38760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38765 /* end confdefs.h. */
38766 #include <math.h>
38768 main ()
38770 _modf(0, 0);
38772 return 0;
38774 _ACEOF
38775 if ac_fn_cxx_try_compile "$LINENO"; then :
38776 glibcxx_cv_func__modf_use=yes
38777 else
38778 glibcxx_cv_func__modf_use=no
38780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38781 ac_ext=c
38782 ac_cpp='$CPP $CPPFLAGS'
38783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38792 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38794 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38795 for ac_func in _modf
38796 do :
38797 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38798 if test "x$ac_cv_func__modf" = xyes; then :
38799 cat >>confdefs.h <<_ACEOF
38800 #define HAVE__MODF 1
38801 _ACEOF
38804 done
38813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38814 $as_echo_n "checking for powf declaration... " >&6; }
38815 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38816 if ${glibcxx_cv_func_powf_use+:} false; then :
38817 $as_echo_n "(cached) " >&6
38818 else
38821 ac_ext=cpp
38822 ac_cpp='$CXXCPP $CPPFLAGS'
38823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38828 /* end confdefs.h. */
38829 #include <math.h>
38831 main ()
38833 powf(0, 0);
38835 return 0;
38837 _ACEOF
38838 if ac_fn_cxx_try_compile "$LINENO"; then :
38839 glibcxx_cv_func_powf_use=yes
38840 else
38841 glibcxx_cv_func_powf_use=no
38843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38844 ac_ext=c
38845 ac_cpp='$CPP $CPPFLAGS'
38846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38855 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38857 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38858 for ac_func in powf
38859 do :
38860 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38861 if test "x$ac_cv_func_powf" = xyes; then :
38862 cat >>confdefs.h <<_ACEOF
38863 #define HAVE_POWF 1
38864 _ACEOF
38867 done
38869 else
38871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38872 $as_echo_n "checking for _powf declaration... " >&6; }
38873 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38874 if ${glibcxx_cv_func__powf_use+:} false; then :
38875 $as_echo_n "(cached) " >&6
38876 else
38879 ac_ext=cpp
38880 ac_cpp='$CXXCPP $CPPFLAGS'
38881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38886 /* end confdefs.h. */
38887 #include <math.h>
38889 main ()
38891 _powf(0, 0);
38893 return 0;
38895 _ACEOF
38896 if ac_fn_cxx_try_compile "$LINENO"; then :
38897 glibcxx_cv_func__powf_use=yes
38898 else
38899 glibcxx_cv_func__powf_use=no
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902 ac_ext=c
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38913 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38915 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38916 for ac_func in _powf
38917 do :
38918 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38919 if test "x$ac_cv_func__powf" = xyes; then :
38920 cat >>confdefs.h <<_ACEOF
38921 #define HAVE__POWF 1
38922 _ACEOF
38925 done
38934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38935 $as_echo_n "checking for sqrtf declaration... " >&6; }
38936 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38937 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38938 $as_echo_n "(cached) " >&6
38939 else
38942 ac_ext=cpp
38943 ac_cpp='$CXXCPP $CPPFLAGS'
38944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38949 /* end confdefs.h. */
38950 #include <math.h>
38951 #ifdef HAVE_IEEEFP_H
38952 #include <ieeefp.h>
38953 #endif
38956 main ()
38958 sqrtf(0);
38960 return 0;
38962 _ACEOF
38963 if ac_fn_cxx_try_compile "$LINENO"; then :
38964 glibcxx_cv_func_sqrtf_use=yes
38965 else
38966 glibcxx_cv_func_sqrtf_use=no
38968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38969 ac_ext=c
38970 ac_cpp='$CPP $CPPFLAGS'
38971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38980 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38982 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38983 for ac_func in sqrtf
38984 do :
38985 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38986 if test "x$ac_cv_func_sqrtf" = xyes; then :
38987 cat >>confdefs.h <<_ACEOF
38988 #define HAVE_SQRTF 1
38989 _ACEOF
38992 done
38994 else
38996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38997 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38998 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38999 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
39000 $as_echo_n "(cached) " >&6
39001 else
39004 ac_ext=cpp
39005 ac_cpp='$CXXCPP $CPPFLAGS'
39006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39011 /* end confdefs.h. */
39012 #include <math.h>
39013 #ifdef HAVE_IEEEFP_H
39014 #include <ieeefp.h>
39015 #endif
39018 main ()
39020 _sqrtf(0);
39022 return 0;
39024 _ACEOF
39025 if ac_fn_cxx_try_compile "$LINENO"; then :
39026 glibcxx_cv_func__sqrtf_use=yes
39027 else
39028 glibcxx_cv_func__sqrtf_use=no
39030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39031 ac_ext=c
39032 ac_cpp='$CPP $CPPFLAGS'
39033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
39042 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
39044 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39045 for ac_func in _sqrtf
39046 do :
39047 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
39048 if test "x$ac_cv_func__sqrtf" = xyes; then :
39049 cat >>confdefs.h <<_ACEOF
39050 #define HAVE__SQRTF 1
39051 _ACEOF
39054 done
39063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39064 $as_echo_n "checking for sincosf declaration... " >&6; }
39065 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39066 if ${glibcxx_cv_func_sincosf_use+:} false; then :
39067 $as_echo_n "(cached) " >&6
39068 else
39071 ac_ext=cpp
39072 ac_cpp='$CXXCPP $CPPFLAGS'
39073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39078 /* end confdefs.h. */
39079 #include <math.h>
39081 main ()
39083 sincosf(0, 0, 0);
39085 return 0;
39087 _ACEOF
39088 if ac_fn_cxx_try_compile "$LINENO"; then :
39089 glibcxx_cv_func_sincosf_use=yes
39090 else
39091 glibcxx_cv_func_sincosf_use=no
39093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39094 ac_ext=c
39095 ac_cpp='$CPP $CPPFLAGS'
39096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39105 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39107 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39108 for ac_func in sincosf
39109 do :
39110 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39111 if test "x$ac_cv_func_sincosf" = xyes; then :
39112 cat >>confdefs.h <<_ACEOF
39113 #define HAVE_SINCOSF 1
39114 _ACEOF
39117 done
39119 else
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39122 $as_echo_n "checking for _sincosf declaration... " >&6; }
39123 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39124 if ${glibcxx_cv_func__sincosf_use+:} false; then :
39125 $as_echo_n "(cached) " >&6
39126 else
39129 ac_ext=cpp
39130 ac_cpp='$CXXCPP $CPPFLAGS'
39131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39136 /* end confdefs.h. */
39137 #include <math.h>
39139 main ()
39141 _sincosf(0, 0, 0);
39143 return 0;
39145 _ACEOF
39146 if ac_fn_cxx_try_compile "$LINENO"; then :
39147 glibcxx_cv_func__sincosf_use=yes
39148 else
39149 glibcxx_cv_func__sincosf_use=no
39151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39152 ac_ext=c
39153 ac_cpp='$CPP $CPPFLAGS'
39154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39163 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39165 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39166 for ac_func in _sincosf
39167 do :
39168 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39169 if test "x$ac_cv_func__sincosf" = xyes; then :
39170 cat >>confdefs.h <<_ACEOF
39171 #define HAVE__SINCOSF 1
39172 _ACEOF
39175 done
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39185 $as_echo_n "checking for finitef declaration... " >&6; }
39186 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39187 if ${glibcxx_cv_func_finitef_use+:} false; then :
39188 $as_echo_n "(cached) " >&6
39189 else
39192 ac_ext=cpp
39193 ac_cpp='$CXXCPP $CPPFLAGS'
39194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39199 /* end confdefs.h. */
39200 #include <math.h>
39201 #ifdef HAVE_IEEEFP_H
39202 #include <ieeefp.h>
39203 #endif
39206 main ()
39208 finitef(0);
39210 return 0;
39212 _ACEOF
39213 if ac_fn_cxx_try_compile "$LINENO"; then :
39214 glibcxx_cv_func_finitef_use=yes
39215 else
39216 glibcxx_cv_func_finitef_use=no
39218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39219 ac_ext=c
39220 ac_cpp='$CPP $CPPFLAGS'
39221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39230 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39232 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39233 for ac_func in finitef
39234 do :
39235 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39236 if test "x$ac_cv_func_finitef" = xyes; then :
39237 cat >>confdefs.h <<_ACEOF
39238 #define HAVE_FINITEF 1
39239 _ACEOF
39242 done
39244 else
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39247 $as_echo_n "checking for _finitef declaration... " >&6; }
39248 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39249 if ${glibcxx_cv_func__finitef_use+:} false; then :
39250 $as_echo_n "(cached) " >&6
39251 else
39254 ac_ext=cpp
39255 ac_cpp='$CXXCPP $CPPFLAGS'
39256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39261 /* end confdefs.h. */
39262 #include <math.h>
39263 #ifdef HAVE_IEEEFP_H
39264 #include <ieeefp.h>
39265 #endif
39268 main ()
39270 _finitef(0);
39272 return 0;
39274 _ACEOF
39275 if ac_fn_cxx_try_compile "$LINENO"; then :
39276 glibcxx_cv_func__finitef_use=yes
39277 else
39278 glibcxx_cv_func__finitef_use=no
39280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39281 ac_ext=c
39282 ac_cpp='$CPP $CPPFLAGS'
39283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39292 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39294 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39295 for ac_func in _finitef
39296 do :
39297 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39298 if test "x$ac_cv_func__finitef" = xyes; then :
39299 cat >>confdefs.h <<_ACEOF
39300 #define HAVE__FINITEF 1
39301 _ACEOF
39304 done
39313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39314 $as_echo_n "checking for long double trig functions... " >&6; }
39315 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39316 $as_echo_n "(cached) " >&6
39317 else
39320 ac_ext=cpp
39321 ac_cpp='$CXXCPP $CPPFLAGS'
39322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39327 /* end confdefs.h. */
39328 #include <math.h>
39330 main ()
39332 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39334 return 0;
39336 _ACEOF
39337 if ac_fn_cxx_try_compile "$LINENO"; then :
39338 glibcxx_cv_func_long_double_trig_use=yes
39339 else
39340 glibcxx_cv_func_long_double_trig_use=no
39342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39343 ac_ext=c
39344 ac_cpp='$CPP $CPPFLAGS'
39345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39352 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39353 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39354 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39355 do :
39356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39359 cat >>confdefs.h <<_ACEOF
39360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39361 _ACEOF
39364 done
39366 else
39367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39368 $as_echo_n "checking for _long double trig functions... " >&6; }
39369 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39370 $as_echo_n "(cached) " >&6
39371 else
39374 ac_ext=cpp
39375 ac_cpp='$CXXCPP $CPPFLAGS'
39376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39381 /* end confdefs.h. */
39382 #include <math.h>
39384 main ()
39386 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39388 return 0;
39390 _ACEOF
39391 if ac_fn_cxx_try_compile "$LINENO"; then :
39392 glibcxx_cv_func__long_double_trig_use=yes
39393 else
39394 glibcxx_cv_func__long_double_trig_use=no
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39397 ac_ext=c
39398 ac_cpp='$CPP $CPPFLAGS'
39399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39406 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39407 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39408 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39409 do :
39410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39413 cat >>confdefs.h <<_ACEOF
39414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39415 _ACEOF
39418 done
39427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39428 $as_echo_n "checking for long double round functions... " >&6; }
39429 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39430 $as_echo_n "(cached) " >&6
39431 else
39434 ac_ext=cpp
39435 ac_cpp='$CXXCPP $CPPFLAGS'
39436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39441 /* end confdefs.h. */
39442 #include <math.h>
39444 main ()
39446 ceill (0); floorl (0);
39448 return 0;
39450 _ACEOF
39451 if ac_fn_cxx_try_compile "$LINENO"; then :
39452 glibcxx_cv_func_long_double_round_use=yes
39453 else
39454 glibcxx_cv_func_long_double_round_use=no
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457 ac_ext=c
39458 ac_cpp='$CPP $CPPFLAGS'
39459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39466 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39467 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39468 for ac_func in ceill floorl
39469 do :
39470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39472 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39473 cat >>confdefs.h <<_ACEOF
39474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39475 _ACEOF
39478 done
39480 else
39481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39482 $as_echo_n "checking for _long double round functions... " >&6; }
39483 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39484 $as_echo_n "(cached) " >&6
39485 else
39488 ac_ext=cpp
39489 ac_cpp='$CXXCPP $CPPFLAGS'
39490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39495 /* end confdefs.h. */
39496 #include <math.h>
39498 main ()
39500 _ceill (0); _floorl (0);
39502 return 0;
39504 _ACEOF
39505 if ac_fn_cxx_try_compile "$LINENO"; then :
39506 glibcxx_cv_func__long_double_round_use=yes
39507 else
39508 glibcxx_cv_func__long_double_round_use=no
39510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39511 ac_ext=c
39512 ac_cpp='$CPP $CPPFLAGS'
39513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39520 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39521 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39522 for ac_func in _ceill _floorl
39523 do :
39524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39527 cat >>confdefs.h <<_ACEOF
39528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39529 _ACEOF
39532 done
39542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39543 $as_echo_n "checking for isnanl declaration... " >&6; }
39544 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39545 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39546 $as_echo_n "(cached) " >&6
39547 else
39550 ac_ext=cpp
39551 ac_cpp='$CXXCPP $CPPFLAGS'
39552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39557 /* end confdefs.h. */
39558 #include <math.h>
39559 #ifdef HAVE_IEEEFP_H
39560 #include <ieeefp.h>
39561 #endif
39564 main ()
39566 isnanl(0);
39568 return 0;
39570 _ACEOF
39571 if ac_fn_cxx_try_compile "$LINENO"; then :
39572 glibcxx_cv_func_isnanl_use=yes
39573 else
39574 glibcxx_cv_func_isnanl_use=no
39576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39577 ac_ext=c
39578 ac_cpp='$CPP $CPPFLAGS'
39579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39588 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39590 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39591 for ac_func in isnanl
39592 do :
39593 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39594 if test "x$ac_cv_func_isnanl" = xyes; then :
39595 cat >>confdefs.h <<_ACEOF
39596 #define HAVE_ISNANL 1
39597 _ACEOF
39600 done
39602 else
39604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39605 $as_echo_n "checking for _isnanl declaration... " >&6; }
39606 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39607 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39608 $as_echo_n "(cached) " >&6
39609 else
39612 ac_ext=cpp
39613 ac_cpp='$CXXCPP $CPPFLAGS'
39614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39619 /* end confdefs.h. */
39620 #include <math.h>
39621 #ifdef HAVE_IEEEFP_H
39622 #include <ieeefp.h>
39623 #endif
39626 main ()
39628 _isnanl(0);
39630 return 0;
39632 _ACEOF
39633 if ac_fn_cxx_try_compile "$LINENO"; then :
39634 glibcxx_cv_func__isnanl_use=yes
39635 else
39636 glibcxx_cv_func__isnanl_use=no
39638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39639 ac_ext=c
39640 ac_cpp='$CPP $CPPFLAGS'
39641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39650 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39652 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39653 for ac_func in _isnanl
39654 do :
39655 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39656 if test "x$ac_cv_func__isnanl" = xyes; then :
39657 cat >>confdefs.h <<_ACEOF
39658 #define HAVE__ISNANL 1
39659 _ACEOF
39662 done
39671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39672 $as_echo_n "checking for isinfl declaration... " >&6; }
39673 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39674 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39675 $as_echo_n "(cached) " >&6
39676 else
39679 ac_ext=cpp
39680 ac_cpp='$CXXCPP $CPPFLAGS'
39681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39686 /* end confdefs.h. */
39687 #include <math.h>
39688 #ifdef HAVE_IEEEFP_H
39689 #include <ieeefp.h>
39690 #endif
39693 main ()
39695 isinfl(0);
39697 return 0;
39699 _ACEOF
39700 if ac_fn_cxx_try_compile "$LINENO"; then :
39701 glibcxx_cv_func_isinfl_use=yes
39702 else
39703 glibcxx_cv_func_isinfl_use=no
39705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39706 ac_ext=c
39707 ac_cpp='$CPP $CPPFLAGS'
39708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39717 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39719 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39720 for ac_func in isinfl
39721 do :
39722 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39723 if test "x$ac_cv_func_isinfl" = xyes; then :
39724 cat >>confdefs.h <<_ACEOF
39725 #define HAVE_ISINFL 1
39726 _ACEOF
39729 done
39731 else
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39734 $as_echo_n "checking for _isinfl declaration... " >&6; }
39735 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39736 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39737 $as_echo_n "(cached) " >&6
39738 else
39741 ac_ext=cpp
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39748 /* end confdefs.h. */
39749 #include <math.h>
39750 #ifdef HAVE_IEEEFP_H
39751 #include <ieeefp.h>
39752 #endif
39755 main ()
39757 _isinfl(0);
39759 return 0;
39761 _ACEOF
39762 if ac_fn_cxx_try_compile "$LINENO"; then :
39763 glibcxx_cv_func__isinfl_use=yes
39764 else
39765 glibcxx_cv_func__isinfl_use=no
39767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39768 ac_ext=c
39769 ac_cpp='$CPP $CPPFLAGS'
39770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39779 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39781 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39782 for ac_func in _isinfl
39783 do :
39784 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39785 if test "x$ac_cv_func__isinfl" = xyes; then :
39786 cat >>confdefs.h <<_ACEOF
39787 #define HAVE__ISINFL 1
39788 _ACEOF
39791 done
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39801 $as_echo_n "checking for atan2l declaration... " >&6; }
39802 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39803 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39804 $as_echo_n "(cached) " >&6
39805 else
39808 ac_ext=cpp
39809 ac_cpp='$CXXCPP $CPPFLAGS'
39810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815 /* end confdefs.h. */
39816 #include <math.h>
39818 main ()
39820 atan2l(0, 0);
39822 return 0;
39824 _ACEOF
39825 if ac_fn_cxx_try_compile "$LINENO"; then :
39826 glibcxx_cv_func_atan2l_use=yes
39827 else
39828 glibcxx_cv_func_atan2l_use=no
39830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39831 ac_ext=c
39832 ac_cpp='$CPP $CPPFLAGS'
39833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39842 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39844 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39845 for ac_func in atan2l
39846 do :
39847 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39848 if test "x$ac_cv_func_atan2l" = xyes; then :
39849 cat >>confdefs.h <<_ACEOF
39850 #define HAVE_ATAN2L 1
39851 _ACEOF
39854 done
39856 else
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39859 $as_echo_n "checking for _atan2l declaration... " >&6; }
39860 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39861 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39862 $as_echo_n "(cached) " >&6
39863 else
39866 ac_ext=cpp
39867 ac_cpp='$CXXCPP $CPPFLAGS'
39868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39873 /* end confdefs.h. */
39874 #include <math.h>
39876 main ()
39878 _atan2l(0, 0);
39880 return 0;
39882 _ACEOF
39883 if ac_fn_cxx_try_compile "$LINENO"; then :
39884 glibcxx_cv_func__atan2l_use=yes
39885 else
39886 glibcxx_cv_func__atan2l_use=no
39888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889 ac_ext=c
39890 ac_cpp='$CPP $CPPFLAGS'
39891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39900 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39902 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39903 for ac_func in _atan2l
39904 do :
39905 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39906 if test "x$ac_cv_func__atan2l" = xyes; then :
39907 cat >>confdefs.h <<_ACEOF
39908 #define HAVE__ATAN2L 1
39909 _ACEOF
39912 done
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39922 $as_echo_n "checking for expl declaration... " >&6; }
39923 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39924 if ${glibcxx_cv_func_expl_use+:} false; then :
39925 $as_echo_n "(cached) " >&6
39926 else
39929 ac_ext=cpp
39930 ac_cpp='$CXXCPP $CPPFLAGS'
39931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39936 /* end confdefs.h. */
39937 #include <math.h>
39938 #ifdef HAVE_IEEEFP_H
39939 #include <ieeefp.h>
39940 #endif
39943 main ()
39945 expl(0);
39947 return 0;
39949 _ACEOF
39950 if ac_fn_cxx_try_compile "$LINENO"; then :
39951 glibcxx_cv_func_expl_use=yes
39952 else
39953 glibcxx_cv_func_expl_use=no
39955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39956 ac_ext=c
39957 ac_cpp='$CPP $CPPFLAGS'
39958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39967 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39969 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39970 for ac_func in expl
39971 do :
39972 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39973 if test "x$ac_cv_func_expl" = xyes; then :
39974 cat >>confdefs.h <<_ACEOF
39975 #define HAVE_EXPL 1
39976 _ACEOF
39979 done
39981 else
39983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39984 $as_echo_n "checking for _expl declaration... " >&6; }
39985 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39986 if ${glibcxx_cv_func__expl_use+:} false; then :
39987 $as_echo_n "(cached) " >&6
39988 else
39991 ac_ext=cpp
39992 ac_cpp='$CXXCPP $CPPFLAGS'
39993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39998 /* end confdefs.h. */
39999 #include <math.h>
40000 #ifdef HAVE_IEEEFP_H
40001 #include <ieeefp.h>
40002 #endif
40005 main ()
40007 _expl(0);
40009 return 0;
40011 _ACEOF
40012 if ac_fn_cxx_try_compile "$LINENO"; then :
40013 glibcxx_cv_func__expl_use=yes
40014 else
40015 glibcxx_cv_func__expl_use=no
40017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40018 ac_ext=c
40019 ac_cpp='$CPP $CPPFLAGS'
40020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
40029 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
40031 if test x$glibcxx_cv_func__expl_use = x"yes"; then
40032 for ac_func in _expl
40033 do :
40034 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
40035 if test "x$ac_cv_func__expl" = xyes; then :
40036 cat >>confdefs.h <<_ACEOF
40037 #define HAVE__EXPL 1
40038 _ACEOF
40041 done
40050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
40051 $as_echo_n "checking for fabsl declaration... " >&6; }
40052 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
40053 if ${glibcxx_cv_func_fabsl_use+:} false; then :
40054 $as_echo_n "(cached) " >&6
40055 else
40058 ac_ext=cpp
40059 ac_cpp='$CXXCPP $CPPFLAGS'
40060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40065 /* end confdefs.h. */
40066 #include <math.h>
40067 #ifdef HAVE_IEEEFP_H
40068 #include <ieeefp.h>
40069 #endif
40072 main ()
40074 fabsl(0);
40076 return 0;
40078 _ACEOF
40079 if ac_fn_cxx_try_compile "$LINENO"; then :
40080 glibcxx_cv_func_fabsl_use=yes
40081 else
40082 glibcxx_cv_func_fabsl_use=no
40084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40085 ac_ext=c
40086 ac_cpp='$CPP $CPPFLAGS'
40087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40096 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40098 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40099 for ac_func in fabsl
40100 do :
40101 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40102 if test "x$ac_cv_func_fabsl" = xyes; then :
40103 cat >>confdefs.h <<_ACEOF
40104 #define HAVE_FABSL 1
40105 _ACEOF
40108 done
40110 else
40112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40113 $as_echo_n "checking for _fabsl declaration... " >&6; }
40114 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40115 if ${glibcxx_cv_func__fabsl_use+:} false; then :
40116 $as_echo_n "(cached) " >&6
40117 else
40120 ac_ext=cpp
40121 ac_cpp='$CXXCPP $CPPFLAGS'
40122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40127 /* end confdefs.h. */
40128 #include <math.h>
40129 #ifdef HAVE_IEEEFP_H
40130 #include <ieeefp.h>
40131 #endif
40134 main ()
40136 _fabsl(0);
40138 return 0;
40140 _ACEOF
40141 if ac_fn_cxx_try_compile "$LINENO"; then :
40142 glibcxx_cv_func__fabsl_use=yes
40143 else
40144 glibcxx_cv_func__fabsl_use=no
40146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40147 ac_ext=c
40148 ac_cpp='$CPP $CPPFLAGS'
40149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40158 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40160 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40161 for ac_func in _fabsl
40162 do :
40163 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40164 if test "x$ac_cv_func__fabsl" = xyes; then :
40165 cat >>confdefs.h <<_ACEOF
40166 #define HAVE__FABSL 1
40167 _ACEOF
40170 done
40179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40180 $as_echo_n "checking for fmodl declaration... " >&6; }
40181 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40182 if ${glibcxx_cv_func_fmodl_use+:} false; then :
40183 $as_echo_n "(cached) " >&6
40184 else
40187 ac_ext=cpp
40188 ac_cpp='$CXXCPP $CPPFLAGS'
40189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40194 /* end confdefs.h. */
40195 #include <math.h>
40197 main ()
40199 fmodl(0, 0);
40201 return 0;
40203 _ACEOF
40204 if ac_fn_cxx_try_compile "$LINENO"; then :
40205 glibcxx_cv_func_fmodl_use=yes
40206 else
40207 glibcxx_cv_func_fmodl_use=no
40209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210 ac_ext=c
40211 ac_cpp='$CPP $CPPFLAGS'
40212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40221 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40223 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40224 for ac_func in fmodl
40225 do :
40226 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40227 if test "x$ac_cv_func_fmodl" = xyes; then :
40228 cat >>confdefs.h <<_ACEOF
40229 #define HAVE_FMODL 1
40230 _ACEOF
40233 done
40235 else
40237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40238 $as_echo_n "checking for _fmodl declaration... " >&6; }
40239 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40240 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40241 $as_echo_n "(cached) " >&6
40242 else
40245 ac_ext=cpp
40246 ac_cpp='$CXXCPP $CPPFLAGS'
40247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40252 /* end confdefs.h. */
40253 #include <math.h>
40255 main ()
40257 _fmodl(0, 0);
40259 return 0;
40261 _ACEOF
40262 if ac_fn_cxx_try_compile "$LINENO"; then :
40263 glibcxx_cv_func__fmodl_use=yes
40264 else
40265 glibcxx_cv_func__fmodl_use=no
40267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40268 ac_ext=c
40269 ac_cpp='$CPP $CPPFLAGS'
40270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40279 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40281 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40282 for ac_func in _fmodl
40283 do :
40284 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40285 if test "x$ac_cv_func__fmodl" = xyes; then :
40286 cat >>confdefs.h <<_ACEOF
40287 #define HAVE__FMODL 1
40288 _ACEOF
40291 done
40300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40301 $as_echo_n "checking for frexpl declaration... " >&6; }
40302 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40303 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40304 $as_echo_n "(cached) " >&6
40305 else
40308 ac_ext=cpp
40309 ac_cpp='$CXXCPP $CPPFLAGS'
40310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40315 /* end confdefs.h. */
40316 #include <math.h>
40318 main ()
40320 frexpl(0, 0);
40322 return 0;
40324 _ACEOF
40325 if ac_fn_cxx_try_compile "$LINENO"; then :
40326 glibcxx_cv_func_frexpl_use=yes
40327 else
40328 glibcxx_cv_func_frexpl_use=no
40330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331 ac_ext=c
40332 ac_cpp='$CPP $CPPFLAGS'
40333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40342 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40344 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40345 for ac_func in frexpl
40346 do :
40347 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40348 if test "x$ac_cv_func_frexpl" = xyes; then :
40349 cat >>confdefs.h <<_ACEOF
40350 #define HAVE_FREXPL 1
40351 _ACEOF
40354 done
40356 else
40358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40359 $as_echo_n "checking for _frexpl declaration... " >&6; }
40360 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40361 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40362 $as_echo_n "(cached) " >&6
40363 else
40366 ac_ext=cpp
40367 ac_cpp='$CXXCPP $CPPFLAGS'
40368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40373 /* end confdefs.h. */
40374 #include <math.h>
40376 main ()
40378 _frexpl(0, 0);
40380 return 0;
40382 _ACEOF
40383 if ac_fn_cxx_try_compile "$LINENO"; then :
40384 glibcxx_cv_func__frexpl_use=yes
40385 else
40386 glibcxx_cv_func__frexpl_use=no
40388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40389 ac_ext=c
40390 ac_cpp='$CPP $CPPFLAGS'
40391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40400 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40402 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40403 for ac_func in _frexpl
40404 do :
40405 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40406 if test "x$ac_cv_func__frexpl" = xyes; then :
40407 cat >>confdefs.h <<_ACEOF
40408 #define HAVE__FREXPL 1
40409 _ACEOF
40412 done
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40422 $as_echo_n "checking for hypotl declaration... " >&6; }
40423 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40424 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40425 $as_echo_n "(cached) " >&6
40426 else
40429 ac_ext=cpp
40430 ac_cpp='$CXXCPP $CPPFLAGS'
40431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40436 /* end confdefs.h. */
40437 #include <math.h>
40439 main ()
40441 hypotl(0, 0);
40443 return 0;
40445 _ACEOF
40446 if ac_fn_cxx_try_compile "$LINENO"; then :
40447 glibcxx_cv_func_hypotl_use=yes
40448 else
40449 glibcxx_cv_func_hypotl_use=no
40451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452 ac_ext=c
40453 ac_cpp='$CPP $CPPFLAGS'
40454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40463 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40465 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40466 for ac_func in hypotl
40467 do :
40468 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40469 if test "x$ac_cv_func_hypotl" = xyes; then :
40470 cat >>confdefs.h <<_ACEOF
40471 #define HAVE_HYPOTL 1
40472 _ACEOF
40475 done
40477 else
40479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40480 $as_echo_n "checking for _hypotl declaration... " >&6; }
40481 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40482 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40483 $as_echo_n "(cached) " >&6
40484 else
40487 ac_ext=cpp
40488 ac_cpp='$CXXCPP $CPPFLAGS'
40489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40494 /* end confdefs.h. */
40495 #include <math.h>
40497 main ()
40499 _hypotl(0, 0);
40501 return 0;
40503 _ACEOF
40504 if ac_fn_cxx_try_compile "$LINENO"; then :
40505 glibcxx_cv_func__hypotl_use=yes
40506 else
40507 glibcxx_cv_func__hypotl_use=no
40509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40510 ac_ext=c
40511 ac_cpp='$CPP $CPPFLAGS'
40512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40521 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40523 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40524 for ac_func in _hypotl
40525 do :
40526 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40527 if test "x$ac_cv_func__hypotl" = xyes; then :
40528 cat >>confdefs.h <<_ACEOF
40529 #define HAVE__HYPOTL 1
40530 _ACEOF
40533 done
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40543 $as_echo_n "checking for ldexpl declaration... " >&6; }
40544 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40545 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40546 $as_echo_n "(cached) " >&6
40547 else
40550 ac_ext=cpp
40551 ac_cpp='$CXXCPP $CPPFLAGS'
40552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40557 /* end confdefs.h. */
40558 #include <math.h>
40560 main ()
40562 ldexpl(0, 0);
40564 return 0;
40566 _ACEOF
40567 if ac_fn_cxx_try_compile "$LINENO"; then :
40568 glibcxx_cv_func_ldexpl_use=yes
40569 else
40570 glibcxx_cv_func_ldexpl_use=no
40572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40573 ac_ext=c
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40584 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40586 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40587 for ac_func in ldexpl
40588 do :
40589 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40590 if test "x$ac_cv_func_ldexpl" = xyes; then :
40591 cat >>confdefs.h <<_ACEOF
40592 #define HAVE_LDEXPL 1
40593 _ACEOF
40596 done
40598 else
40600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40601 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40602 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40603 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40604 $as_echo_n "(cached) " >&6
40605 else
40608 ac_ext=cpp
40609 ac_cpp='$CXXCPP $CPPFLAGS'
40610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40615 /* end confdefs.h. */
40616 #include <math.h>
40618 main ()
40620 _ldexpl(0, 0);
40622 return 0;
40624 _ACEOF
40625 if ac_fn_cxx_try_compile "$LINENO"; then :
40626 glibcxx_cv_func__ldexpl_use=yes
40627 else
40628 glibcxx_cv_func__ldexpl_use=no
40630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40631 ac_ext=c
40632 ac_cpp='$CPP $CPPFLAGS'
40633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40642 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40644 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40645 for ac_func in _ldexpl
40646 do :
40647 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40648 if test "x$ac_cv_func__ldexpl" = xyes; then :
40649 cat >>confdefs.h <<_ACEOF
40650 #define HAVE__LDEXPL 1
40651 _ACEOF
40654 done
40663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40664 $as_echo_n "checking for logl declaration... " >&6; }
40665 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40666 if ${glibcxx_cv_func_logl_use+:} false; then :
40667 $as_echo_n "(cached) " >&6
40668 else
40671 ac_ext=cpp
40672 ac_cpp='$CXXCPP $CPPFLAGS'
40673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40678 /* end confdefs.h. */
40679 #include <math.h>
40680 #ifdef HAVE_IEEEFP_H
40681 #include <ieeefp.h>
40682 #endif
40685 main ()
40687 logl(0);
40689 return 0;
40691 _ACEOF
40692 if ac_fn_cxx_try_compile "$LINENO"; then :
40693 glibcxx_cv_func_logl_use=yes
40694 else
40695 glibcxx_cv_func_logl_use=no
40697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40698 ac_ext=c
40699 ac_cpp='$CPP $CPPFLAGS'
40700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40709 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40711 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40712 for ac_func in logl
40713 do :
40714 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40715 if test "x$ac_cv_func_logl" = xyes; then :
40716 cat >>confdefs.h <<_ACEOF
40717 #define HAVE_LOGL 1
40718 _ACEOF
40721 done
40723 else
40725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40726 $as_echo_n "checking for _logl declaration... " >&6; }
40727 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40728 if ${glibcxx_cv_func__logl_use+:} false; then :
40729 $as_echo_n "(cached) " >&6
40730 else
40733 ac_ext=cpp
40734 ac_cpp='$CXXCPP $CPPFLAGS'
40735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40740 /* end confdefs.h. */
40741 #include <math.h>
40742 #ifdef HAVE_IEEEFP_H
40743 #include <ieeefp.h>
40744 #endif
40747 main ()
40749 _logl(0);
40751 return 0;
40753 _ACEOF
40754 if ac_fn_cxx_try_compile "$LINENO"; then :
40755 glibcxx_cv_func__logl_use=yes
40756 else
40757 glibcxx_cv_func__logl_use=no
40759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40760 ac_ext=c
40761 ac_cpp='$CPP $CPPFLAGS'
40762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40771 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40773 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40774 for ac_func in _logl
40775 do :
40776 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40777 if test "x$ac_cv_func__logl" = xyes; then :
40778 cat >>confdefs.h <<_ACEOF
40779 #define HAVE__LOGL 1
40780 _ACEOF
40783 done
40792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40793 $as_echo_n "checking for log10l declaration... " >&6; }
40794 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40795 if ${glibcxx_cv_func_log10l_use+:} false; then :
40796 $as_echo_n "(cached) " >&6
40797 else
40800 ac_ext=cpp
40801 ac_cpp='$CXXCPP $CPPFLAGS'
40802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40807 /* end confdefs.h. */
40808 #include <math.h>
40809 #ifdef HAVE_IEEEFP_H
40810 #include <ieeefp.h>
40811 #endif
40814 main ()
40816 log10l(0);
40818 return 0;
40820 _ACEOF
40821 if ac_fn_cxx_try_compile "$LINENO"; then :
40822 glibcxx_cv_func_log10l_use=yes
40823 else
40824 glibcxx_cv_func_log10l_use=no
40826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40827 ac_ext=c
40828 ac_cpp='$CPP $CPPFLAGS'
40829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40838 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40840 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40841 for ac_func in log10l
40842 do :
40843 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40844 if test "x$ac_cv_func_log10l" = xyes; then :
40845 cat >>confdefs.h <<_ACEOF
40846 #define HAVE_LOG10L 1
40847 _ACEOF
40850 done
40852 else
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40855 $as_echo_n "checking for _log10l declaration... " >&6; }
40856 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40857 if ${glibcxx_cv_func__log10l_use+:} false; then :
40858 $as_echo_n "(cached) " >&6
40859 else
40862 ac_ext=cpp
40863 ac_cpp='$CXXCPP $CPPFLAGS'
40864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40869 /* end confdefs.h. */
40870 #include <math.h>
40871 #ifdef HAVE_IEEEFP_H
40872 #include <ieeefp.h>
40873 #endif
40876 main ()
40878 _log10l(0);
40880 return 0;
40882 _ACEOF
40883 if ac_fn_cxx_try_compile "$LINENO"; then :
40884 glibcxx_cv_func__log10l_use=yes
40885 else
40886 glibcxx_cv_func__log10l_use=no
40888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40889 ac_ext=c
40890 ac_cpp='$CPP $CPPFLAGS'
40891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40900 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40902 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40903 for ac_func in _log10l
40904 do :
40905 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40906 if test "x$ac_cv_func__log10l" = xyes; then :
40907 cat >>confdefs.h <<_ACEOF
40908 #define HAVE__LOG10L 1
40909 _ACEOF
40912 done
40921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40922 $as_echo_n "checking for modfl declaration... " >&6; }
40923 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40924 if ${glibcxx_cv_func_modfl_use+:} false; then :
40925 $as_echo_n "(cached) " >&6
40926 else
40929 ac_ext=cpp
40930 ac_cpp='$CXXCPP $CPPFLAGS'
40931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40936 /* end confdefs.h. */
40937 #include <math.h>
40939 main ()
40941 modfl(0, 0);
40943 return 0;
40945 _ACEOF
40946 if ac_fn_cxx_try_compile "$LINENO"; then :
40947 glibcxx_cv_func_modfl_use=yes
40948 else
40949 glibcxx_cv_func_modfl_use=no
40951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40952 ac_ext=c
40953 ac_cpp='$CPP $CPPFLAGS'
40954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40963 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40965 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40966 for ac_func in modfl
40967 do :
40968 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40969 if test "x$ac_cv_func_modfl" = xyes; then :
40970 cat >>confdefs.h <<_ACEOF
40971 #define HAVE_MODFL 1
40972 _ACEOF
40975 done
40977 else
40979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40980 $as_echo_n "checking for _modfl declaration... " >&6; }
40981 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40982 if ${glibcxx_cv_func__modfl_use+:} false; then :
40983 $as_echo_n "(cached) " >&6
40984 else
40987 ac_ext=cpp
40988 ac_cpp='$CXXCPP $CPPFLAGS'
40989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994 /* end confdefs.h. */
40995 #include <math.h>
40997 main ()
40999 _modfl(0, 0);
41001 return 0;
41003 _ACEOF
41004 if ac_fn_cxx_try_compile "$LINENO"; then :
41005 glibcxx_cv_func__modfl_use=yes
41006 else
41007 glibcxx_cv_func__modfl_use=no
41009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41010 ac_ext=c
41011 ac_cpp='$CPP $CPPFLAGS'
41012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
41021 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
41023 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
41024 for ac_func in _modfl
41025 do :
41026 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
41027 if test "x$ac_cv_func__modfl" = xyes; then :
41028 cat >>confdefs.h <<_ACEOF
41029 #define HAVE__MODFL 1
41030 _ACEOF
41033 done
41042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41043 $as_echo_n "checking for powl declaration... " >&6; }
41044 if test x${glibcxx_cv_func_powl_use+set} != xset; then
41045 if ${glibcxx_cv_func_powl_use+:} false; then :
41046 $as_echo_n "(cached) " >&6
41047 else
41050 ac_ext=cpp
41051 ac_cpp='$CXXCPP $CPPFLAGS'
41052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41057 /* end confdefs.h. */
41058 #include <math.h>
41060 main ()
41062 powl(0, 0);
41064 return 0;
41066 _ACEOF
41067 if ac_fn_cxx_try_compile "$LINENO"; then :
41068 glibcxx_cv_func_powl_use=yes
41069 else
41070 glibcxx_cv_func_powl_use=no
41072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41073 ac_ext=c
41074 ac_cpp='$CPP $CPPFLAGS'
41075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41084 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41086 if test x$glibcxx_cv_func_powl_use = x"yes"; then
41087 for ac_func in powl
41088 do :
41089 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41090 if test "x$ac_cv_func_powl" = xyes; then :
41091 cat >>confdefs.h <<_ACEOF
41092 #define HAVE_POWL 1
41093 _ACEOF
41096 done
41098 else
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41101 $as_echo_n "checking for _powl declaration... " >&6; }
41102 if test x${glibcxx_cv_func__powl_use+set} != xset; then
41103 if ${glibcxx_cv_func__powl_use+:} false; then :
41104 $as_echo_n "(cached) " >&6
41105 else
41108 ac_ext=cpp
41109 ac_cpp='$CXXCPP $CPPFLAGS'
41110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41115 /* end confdefs.h. */
41116 #include <math.h>
41118 main ()
41120 _powl(0, 0);
41122 return 0;
41124 _ACEOF
41125 if ac_fn_cxx_try_compile "$LINENO"; then :
41126 glibcxx_cv_func__powl_use=yes
41127 else
41128 glibcxx_cv_func__powl_use=no
41130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41131 ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41142 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
41144 if test x$glibcxx_cv_func__powl_use = x"yes"; then
41145 for ac_func in _powl
41146 do :
41147 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41148 if test "x$ac_cv_func__powl" = xyes; then :
41149 cat >>confdefs.h <<_ACEOF
41150 #define HAVE__POWL 1
41151 _ACEOF
41154 done
41163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41164 $as_echo_n "checking for sqrtl declaration... " >&6; }
41165 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41166 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41167 $as_echo_n "(cached) " >&6
41168 else
41171 ac_ext=cpp
41172 ac_cpp='$CXXCPP $CPPFLAGS'
41173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41178 /* end confdefs.h. */
41179 #include <math.h>
41180 #ifdef HAVE_IEEEFP_H
41181 #include <ieeefp.h>
41182 #endif
41185 main ()
41187 sqrtl(0);
41189 return 0;
41191 _ACEOF
41192 if ac_fn_cxx_try_compile "$LINENO"; then :
41193 glibcxx_cv_func_sqrtl_use=yes
41194 else
41195 glibcxx_cv_func_sqrtl_use=no
41197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41198 ac_ext=c
41199 ac_cpp='$CPP $CPPFLAGS'
41200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41209 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41211 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41212 for ac_func in sqrtl
41213 do :
41214 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41215 if test "x$ac_cv_func_sqrtl" = xyes; then :
41216 cat >>confdefs.h <<_ACEOF
41217 #define HAVE_SQRTL 1
41218 _ACEOF
41221 done
41223 else
41225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41226 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41227 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41228 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41229 $as_echo_n "(cached) " >&6
41230 else
41233 ac_ext=cpp
41234 ac_cpp='$CXXCPP $CPPFLAGS'
41235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41240 /* end confdefs.h. */
41241 #include <math.h>
41242 #ifdef HAVE_IEEEFP_H
41243 #include <ieeefp.h>
41244 #endif
41247 main ()
41249 _sqrtl(0);
41251 return 0;
41253 _ACEOF
41254 if ac_fn_cxx_try_compile "$LINENO"; then :
41255 glibcxx_cv_func__sqrtl_use=yes
41256 else
41257 glibcxx_cv_func__sqrtl_use=no
41259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41260 ac_ext=c
41261 ac_cpp='$CPP $CPPFLAGS'
41262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41271 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41273 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41274 for ac_func in _sqrtl
41275 do :
41276 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41277 if test "x$ac_cv_func__sqrtl" = xyes; then :
41278 cat >>confdefs.h <<_ACEOF
41279 #define HAVE__SQRTL 1
41280 _ACEOF
41283 done
41292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41293 $as_echo_n "checking for sincosl declaration... " >&6; }
41294 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41295 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41296 $as_echo_n "(cached) " >&6
41297 else
41300 ac_ext=cpp
41301 ac_cpp='$CXXCPP $CPPFLAGS'
41302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41307 /* end confdefs.h. */
41308 #include <math.h>
41310 main ()
41312 sincosl(0, 0, 0);
41314 return 0;
41316 _ACEOF
41317 if ac_fn_cxx_try_compile "$LINENO"; then :
41318 glibcxx_cv_func_sincosl_use=yes
41319 else
41320 glibcxx_cv_func_sincosl_use=no
41322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41323 ac_ext=c
41324 ac_cpp='$CPP $CPPFLAGS'
41325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41334 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41336 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41337 for ac_func in sincosl
41338 do :
41339 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41340 if test "x$ac_cv_func_sincosl" = xyes; then :
41341 cat >>confdefs.h <<_ACEOF
41342 #define HAVE_SINCOSL 1
41343 _ACEOF
41346 done
41348 else
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41351 $as_echo_n "checking for _sincosl declaration... " >&6; }
41352 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41353 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41354 $as_echo_n "(cached) " >&6
41355 else
41358 ac_ext=cpp
41359 ac_cpp='$CXXCPP $CPPFLAGS'
41360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41365 /* end confdefs.h. */
41366 #include <math.h>
41368 main ()
41370 _sincosl(0, 0, 0);
41372 return 0;
41374 _ACEOF
41375 if ac_fn_cxx_try_compile "$LINENO"; then :
41376 glibcxx_cv_func__sincosl_use=yes
41377 else
41378 glibcxx_cv_func__sincosl_use=no
41380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41381 ac_ext=c
41382 ac_cpp='$CPP $CPPFLAGS'
41383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41392 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41394 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41395 for ac_func in _sincosl
41396 do :
41397 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41398 if test "x$ac_cv_func__sincosl" = xyes; then :
41399 cat >>confdefs.h <<_ACEOF
41400 #define HAVE__SINCOSL 1
41401 _ACEOF
41404 done
41413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41414 $as_echo_n "checking for finitel declaration... " >&6; }
41415 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41416 if ${glibcxx_cv_func_finitel_use+:} false; then :
41417 $as_echo_n "(cached) " >&6
41418 else
41421 ac_ext=cpp
41422 ac_cpp='$CXXCPP $CPPFLAGS'
41423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41428 /* end confdefs.h. */
41429 #include <math.h>
41430 #ifdef HAVE_IEEEFP_H
41431 #include <ieeefp.h>
41432 #endif
41435 main ()
41437 finitel(0);
41439 return 0;
41441 _ACEOF
41442 if ac_fn_cxx_try_compile "$LINENO"; then :
41443 glibcxx_cv_func_finitel_use=yes
41444 else
41445 glibcxx_cv_func_finitel_use=no
41447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41448 ac_ext=c
41449 ac_cpp='$CPP $CPPFLAGS'
41450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41459 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41461 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41462 for ac_func in finitel
41463 do :
41464 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41465 if test "x$ac_cv_func_finitel" = xyes; then :
41466 cat >>confdefs.h <<_ACEOF
41467 #define HAVE_FINITEL 1
41468 _ACEOF
41471 done
41473 else
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41476 $as_echo_n "checking for _finitel declaration... " >&6; }
41477 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41478 if ${glibcxx_cv_func__finitel_use+:} false; then :
41479 $as_echo_n "(cached) " >&6
41480 else
41483 ac_ext=cpp
41484 ac_cpp='$CXXCPP $CPPFLAGS'
41485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41490 /* end confdefs.h. */
41491 #include <math.h>
41492 #ifdef HAVE_IEEEFP_H
41493 #include <ieeefp.h>
41494 #endif
41497 main ()
41499 _finitel(0);
41501 return 0;
41503 _ACEOF
41504 if ac_fn_cxx_try_compile "$LINENO"; then :
41505 glibcxx_cv_func__finitel_use=yes
41506 else
41507 glibcxx_cv_func__finitel_use=no
41509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41510 ac_ext=c
41511 ac_cpp='$CPP $CPPFLAGS'
41512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41521 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41523 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41524 for ac_func in _finitel
41525 do :
41526 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41527 if test "x$ac_cv_func__finitel" = xyes; then :
41528 cat >>confdefs.h <<_ACEOF
41529 #define HAVE__FINITEL 1
41530 _ACEOF
41533 done
41541 LIBS="$ac_save_LIBS"
41542 CXXFLAGS="$ac_save_CXXFLAGS"
41545 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41546 ac_save_CXXFLAGS="$CXXFLAGS"
41547 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41551 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41552 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41553 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41554 $as_echo_n "(cached) " >&6
41555 else
41558 ac_ext=cpp
41559 ac_cpp='$CXXCPP $CPPFLAGS'
41560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41565 /* end confdefs.h. */
41566 #include <stdlib.h>
41568 main ()
41570 at_quick_exit(0);
41572 return 0;
41574 _ACEOF
41575 if ac_fn_cxx_try_compile "$LINENO"; then :
41576 glibcxx_cv_func_at_quick_exit_use=yes
41577 else
41578 glibcxx_cv_func_at_quick_exit_use=no
41580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41581 ac_ext=c
41582 ac_cpp='$CPP $CPPFLAGS'
41583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41592 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41593 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41594 for ac_func in at_quick_exit
41595 do :
41596 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41597 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41598 cat >>confdefs.h <<_ACEOF
41599 #define HAVE_AT_QUICK_EXIT 1
41600 _ACEOF
41603 done
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41609 $as_echo_n "checking for quick_exit declaration... " >&6; }
41610 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41611 if ${glibcxx_cv_func_quick_exit_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 <stdlib.h>
41626 main ()
41628 quick_exit(0);
41630 return 0;
41632 _ACEOF
41633 if ac_fn_cxx_try_compile "$LINENO"; then :
41634 glibcxx_cv_func_quick_exit_use=yes
41635 else
41636 glibcxx_cv_func_quick_exit_use=no
41638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41639 ac_ext=c
41640 ac_cpp='$CPP $CPPFLAGS'
41641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41650 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41651 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41652 for ac_func in quick_exit
41653 do :
41654 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41655 if test "x$ac_cv_func_quick_exit" = xyes; then :
41656 cat >>confdefs.h <<_ACEOF
41657 #define HAVE_QUICK_EXIT 1
41658 _ACEOF
41661 done
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41667 $as_echo_n "checking for strtold declaration... " >&6; }
41668 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41669 if ${glibcxx_cv_func_strtold_use+:} false; then :
41670 $as_echo_n "(cached) " >&6
41671 else
41674 ac_ext=cpp
41675 ac_cpp='$CXXCPP $CPPFLAGS'
41676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41681 /* end confdefs.h. */
41682 #include <stdlib.h>
41684 main ()
41686 strtold(0, 0);
41688 return 0;
41690 _ACEOF
41691 if ac_fn_cxx_try_compile "$LINENO"; then :
41692 glibcxx_cv_func_strtold_use=yes
41693 else
41694 glibcxx_cv_func_strtold_use=no
41696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41697 ac_ext=c
41698 ac_cpp='$CPP $CPPFLAGS'
41699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41708 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41709 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41710 for ac_func in strtold
41711 do :
41712 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41713 if test "x$ac_cv_func_strtold" = xyes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_STRTOLD 1
41716 _ACEOF
41719 done
41726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41727 $as_echo_n "checking for strtof declaration... " >&6; }
41728 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41729 if ${glibcxx_cv_func_strtof_use+:} false; then :
41730 $as_echo_n "(cached) " >&6
41731 else
41734 ac_ext=cpp
41735 ac_cpp='$CXXCPP $CPPFLAGS'
41736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41741 /* end confdefs.h. */
41742 #include <stdlib.h>
41744 main ()
41746 strtof(0, 0);
41748 return 0;
41750 _ACEOF
41751 if ac_fn_cxx_try_compile "$LINENO"; then :
41752 glibcxx_cv_func_strtof_use=yes
41753 else
41754 glibcxx_cv_func_strtof_use=no
41756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757 ac_ext=c
41758 ac_cpp='$CPP $CPPFLAGS'
41759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41768 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41769 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41770 for ac_func in strtof
41771 do :
41772 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41773 if test "x$ac_cv_func_strtof" = xyes; then :
41774 cat >>confdefs.h <<_ACEOF
41775 #define HAVE_STRTOF 1
41776 _ACEOF
41779 done
41786 CXXFLAGS="$ac_save_CXXFLAGS"
41788 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41790 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41792 # We don't yet support AIX's TLS ABI.
41793 #GCC_CHECK_TLS
41799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41800 $as_echo_n "checking for iconv... " >&6; }
41801 if ${am_cv_func_iconv+:} false; then :
41802 $as_echo_n "(cached) " >&6
41803 else
41805 am_cv_func_iconv="no, consider installing GNU libiconv"
41806 am_cv_lib_iconv=no
41807 am_save_CPPFLAGS="$CPPFLAGS"
41808 CPPFLAGS="$CPPFLAGS $INCICONV"
41809 if test x$gcc_no_link = xyes; then
41810 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813 /* end confdefs.h. */
41814 #include <stdlib.h>
41815 #include <iconv.h>
41817 main ()
41819 iconv_t cd = iconv_open("","");
41820 iconv(cd,NULL,NULL,NULL,NULL);
41821 iconv_close(cd);
41823 return 0;
41825 _ACEOF
41826 if ac_fn_c_try_link "$LINENO"; then :
41827 am_cv_func_iconv=yes
41829 rm -f core conftest.err conftest.$ac_objext \
41830 conftest$ac_exeext conftest.$ac_ext
41831 CPPFLAGS="$am_save_CPPFLAGS"
41833 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41834 for _libs in .libs _libs; do
41835 am_save_CPPFLAGS="$CPPFLAGS"
41836 am_save_LIBS="$LIBS"
41837 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41838 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41839 if test x$gcc_no_link = xyes; then
41840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h. */
41844 #include <stdlib.h>
41845 #include <iconv.h>
41847 main ()
41849 iconv_t cd = iconv_open("","");
41850 iconv(cd,NULL,NULL,NULL,NULL);
41851 iconv_close(cd);
41853 return 0;
41855 _ACEOF
41856 if ac_fn_c_try_link "$LINENO"; then :
41857 INCICONV="-I../libiconv/include"
41858 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41859 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41860 am_cv_lib_iconv=yes
41861 am_cv_func_iconv=yes
41863 rm -f core conftest.err conftest.$ac_objext \
41864 conftest$ac_exeext conftest.$ac_ext
41865 CPPFLAGS="$am_save_CPPFLAGS"
41866 LIBS="$am_save_LIBS"
41867 if test "$am_cv_func_iconv" = "yes"; then
41868 break
41870 done
41873 if test "$am_cv_func_iconv" != yes; then
41874 am_save_CPPFLAGS="$CPPFLAGS"
41875 am_save_LIBS="$LIBS"
41876 CPPFLAGS="$CPPFLAGS $INCICONV"
41877 LIBS="$LIBS $LIBICONV"
41878 if test x$gcc_no_link = xyes; then
41879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h. */
41883 #include <stdlib.h>
41884 #include <iconv.h>
41886 main ()
41888 iconv_t cd = iconv_open("","");
41889 iconv(cd,NULL,NULL,NULL,NULL);
41890 iconv_close(cd);
41892 return 0;
41894 _ACEOF
41895 if ac_fn_c_try_link "$LINENO"; then :
41896 am_cv_lib_iconv=yes
41897 am_cv_func_iconv=yes
41899 rm -f core conftest.err conftest.$ac_objext \
41900 conftest$ac_exeext conftest.$ac_ext
41901 CPPFLAGS="$am_save_CPPFLAGS"
41902 LIBS="$am_save_LIBS"
41906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41907 $as_echo "$am_cv_func_iconv" >&6; }
41908 if test "$am_cv_func_iconv" = yes; then
41910 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41913 if test "$am_cv_lib_iconv" = yes; then
41915 for element in $INCICONV; do
41916 haveit=
41917 for x in $CPPFLAGS; do
41919 acl_save_prefix="$prefix"
41920 prefix="$acl_final_prefix"
41921 acl_save_exec_prefix="$exec_prefix"
41922 exec_prefix="$acl_final_exec_prefix"
41923 eval x=\"$x\"
41924 exec_prefix="$acl_save_exec_prefix"
41925 prefix="$acl_save_prefix"
41927 if test "X$x" = "X$element"; then
41928 haveit=yes
41929 break
41931 done
41932 if test -z "$haveit"; then
41933 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41935 done
41937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41938 $as_echo_n "checking how to link with libiconv... " >&6; }
41939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41940 $as_echo "$LIBICONV" >&6; }
41941 else
41942 LIBICONV=
41943 LTLIBICONV=
41948 if test "$am_cv_func_iconv" = yes; then
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41950 $as_echo_n "checking for iconv declaration... " >&6; }
41951 if ${am_cv_proto_iconv+:} false; then :
41952 $as_echo_n "(cached) " >&6
41953 else
41955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41956 /* end confdefs.h. */
41958 #include <stdlib.h>
41959 #include <iconv.h>
41960 extern
41961 #ifdef __cplusplus
41963 #endif
41964 #if defined(__STDC__) || defined(__cplusplus)
41965 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41966 #else
41967 size_t iconv();
41968 #endif
41971 main ()
41975 return 0;
41977 _ACEOF
41978 if ac_fn_c_try_compile "$LINENO"; then :
41979 am_cv_proto_iconv_arg1=""
41980 else
41981 am_cv_proto_iconv_arg1="const"
41983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41984 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);"
41987 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41989 }$am_cv_proto_iconv" >&5
41990 $as_echo "${ac_t:-
41991 }$am_cv_proto_iconv" >&6; }
41993 cat >>confdefs.h <<_ACEOF
41994 #define ICONV_CONST $am_cv_proto_iconv_arg1
41995 _ACEOF
42001 *-darwin*)
42002 # Darwin versions vary, but the linker should work in a cross environment,
42003 # so we just check for all the features here.
42004 # Check for available headers.
42006 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42008 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42009 ac_save_CXXFLAGS="$CXXFLAGS"
42010 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42013 $as_echo_n "checking for sin in -lm... " >&6; }
42014 if ${ac_cv_lib_m_sin+:} false; then :
42015 $as_echo_n "(cached) " >&6
42016 else
42017 ac_check_lib_save_LIBS=$LIBS
42018 LIBS="-lm $LIBS"
42019 if test x$gcc_no_link = xyes; then
42020 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023 /* end confdefs.h. */
42025 /* Override any GCC internal prototype to avoid an error.
42026 Use char because int might match the return type of a GCC
42027 builtin and then its argument prototype would still apply. */
42028 #ifdef __cplusplus
42029 extern "C"
42030 #endif
42031 char sin ();
42033 main ()
42035 return sin ();
42037 return 0;
42039 _ACEOF
42040 if ac_fn_c_try_link "$LINENO"; then :
42041 ac_cv_lib_m_sin=yes
42042 else
42043 ac_cv_lib_m_sin=no
42045 rm -f core conftest.err conftest.$ac_objext \
42046 conftest$ac_exeext conftest.$ac_ext
42047 LIBS=$ac_check_lib_save_LIBS
42049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42050 $as_echo "$ac_cv_lib_m_sin" >&6; }
42051 if test "x$ac_cv_lib_m_sin" = xyes; then :
42052 libm="-lm"
42055 ac_save_LIBS="$LIBS"
42056 LIBS="$LIBS $libm"
42060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42061 $as_echo_n "checking for isinf declaration... " >&6; }
42062 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42063 if ${glibcxx_cv_func_isinf_use+:} false; then :
42064 $as_echo_n "(cached) " >&6
42065 else
42068 ac_ext=cpp
42069 ac_cpp='$CXXCPP $CPPFLAGS'
42070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42075 /* end confdefs.h. */
42076 #include <math.h>
42077 #ifdef HAVE_IEEEFP_H
42078 #include <ieeefp.h>
42079 #endif
42082 main ()
42084 isinf(0);
42086 return 0;
42088 _ACEOF
42089 if ac_fn_cxx_try_compile "$LINENO"; then :
42090 glibcxx_cv_func_isinf_use=yes
42091 else
42092 glibcxx_cv_func_isinf_use=no
42094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42095 ac_ext=c
42096 ac_cpp='$CPP $CPPFLAGS'
42097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42106 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42108 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42109 for ac_func in isinf
42110 do :
42111 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42112 if test "x$ac_cv_func_isinf" = xyes; then :
42113 cat >>confdefs.h <<_ACEOF
42114 #define HAVE_ISINF 1
42115 _ACEOF
42118 done
42120 else
42122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42123 $as_echo_n "checking for _isinf declaration... " >&6; }
42124 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42125 if ${glibcxx_cv_func__isinf_use+:} false; then :
42126 $as_echo_n "(cached) " >&6
42127 else
42130 ac_ext=cpp
42131 ac_cpp='$CXXCPP $CPPFLAGS'
42132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137 /* end confdefs.h. */
42138 #include <math.h>
42139 #ifdef HAVE_IEEEFP_H
42140 #include <ieeefp.h>
42141 #endif
42144 main ()
42146 _isinf(0);
42148 return 0;
42150 _ACEOF
42151 if ac_fn_cxx_try_compile "$LINENO"; then :
42152 glibcxx_cv_func__isinf_use=yes
42153 else
42154 glibcxx_cv_func__isinf_use=no
42156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157 ac_ext=c
42158 ac_cpp='$CPP $CPPFLAGS'
42159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42168 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42170 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42171 for ac_func in _isinf
42172 do :
42173 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42174 if test "x$ac_cv_func__isinf" = xyes; then :
42175 cat >>confdefs.h <<_ACEOF
42176 #define HAVE__ISINF 1
42177 _ACEOF
42180 done
42189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42190 $as_echo_n "checking for isnan declaration... " >&6; }
42191 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42192 if ${glibcxx_cv_func_isnan_use+:} false; then :
42193 $as_echo_n "(cached) " >&6
42194 else
42197 ac_ext=cpp
42198 ac_cpp='$CXXCPP $CPPFLAGS'
42199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42204 /* end confdefs.h. */
42205 #include <math.h>
42206 #ifdef HAVE_IEEEFP_H
42207 #include <ieeefp.h>
42208 #endif
42211 main ()
42213 isnan(0);
42215 return 0;
42217 _ACEOF
42218 if ac_fn_cxx_try_compile "$LINENO"; then :
42219 glibcxx_cv_func_isnan_use=yes
42220 else
42221 glibcxx_cv_func_isnan_use=no
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224 ac_ext=c
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42235 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42237 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42238 for ac_func in isnan
42239 do :
42240 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42241 if test "x$ac_cv_func_isnan" = xyes; then :
42242 cat >>confdefs.h <<_ACEOF
42243 #define HAVE_ISNAN 1
42244 _ACEOF
42247 done
42249 else
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42252 $as_echo_n "checking for _isnan declaration... " >&6; }
42253 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42254 if ${glibcxx_cv_func__isnan_use+:} false; then :
42255 $as_echo_n "(cached) " >&6
42256 else
42259 ac_ext=cpp
42260 ac_cpp='$CXXCPP $CPPFLAGS'
42261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266 /* end confdefs.h. */
42267 #include <math.h>
42268 #ifdef HAVE_IEEEFP_H
42269 #include <ieeefp.h>
42270 #endif
42273 main ()
42275 _isnan(0);
42277 return 0;
42279 _ACEOF
42280 if ac_fn_cxx_try_compile "$LINENO"; then :
42281 glibcxx_cv_func__isnan_use=yes
42282 else
42283 glibcxx_cv_func__isnan_use=no
42285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42286 ac_ext=c
42287 ac_cpp='$CPP $CPPFLAGS'
42288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42297 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42299 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42300 for ac_func in _isnan
42301 do :
42302 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42303 if test "x$ac_cv_func__isnan" = xyes; then :
42304 cat >>confdefs.h <<_ACEOF
42305 #define HAVE__ISNAN 1
42306 _ACEOF
42309 done
42318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42319 $as_echo_n "checking for finite declaration... " >&6; }
42320 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42321 if ${glibcxx_cv_func_finite_use+:} false; then :
42322 $as_echo_n "(cached) " >&6
42323 else
42326 ac_ext=cpp
42327 ac_cpp='$CXXCPP $CPPFLAGS'
42328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42333 /* end confdefs.h. */
42334 #include <math.h>
42335 #ifdef HAVE_IEEEFP_H
42336 #include <ieeefp.h>
42337 #endif
42340 main ()
42342 finite(0);
42344 return 0;
42346 _ACEOF
42347 if ac_fn_cxx_try_compile "$LINENO"; then :
42348 glibcxx_cv_func_finite_use=yes
42349 else
42350 glibcxx_cv_func_finite_use=no
42352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42353 ac_ext=c
42354 ac_cpp='$CPP $CPPFLAGS'
42355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42364 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42366 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42367 for ac_func in finite
42368 do :
42369 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42370 if test "x$ac_cv_func_finite" = xyes; then :
42371 cat >>confdefs.h <<_ACEOF
42372 #define HAVE_FINITE 1
42373 _ACEOF
42376 done
42378 else
42380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42381 $as_echo_n "checking for _finite declaration... " >&6; }
42382 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42383 if ${glibcxx_cv_func__finite_use+:} false; then :
42384 $as_echo_n "(cached) " >&6
42385 else
42388 ac_ext=cpp
42389 ac_cpp='$CXXCPP $CPPFLAGS'
42390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42395 /* end confdefs.h. */
42396 #include <math.h>
42397 #ifdef HAVE_IEEEFP_H
42398 #include <ieeefp.h>
42399 #endif
42402 main ()
42404 _finite(0);
42406 return 0;
42408 _ACEOF
42409 if ac_fn_cxx_try_compile "$LINENO"; then :
42410 glibcxx_cv_func__finite_use=yes
42411 else
42412 glibcxx_cv_func__finite_use=no
42414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415 ac_ext=c
42416 ac_cpp='$CPP $CPPFLAGS'
42417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42426 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42428 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42429 for ac_func in _finite
42430 do :
42431 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42432 if test "x$ac_cv_func__finite" = xyes; then :
42433 cat >>confdefs.h <<_ACEOF
42434 #define HAVE__FINITE 1
42435 _ACEOF
42438 done
42447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42448 $as_echo_n "checking for sincos declaration... " >&6; }
42449 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42450 if ${glibcxx_cv_func_sincos_use+:} false; then :
42451 $as_echo_n "(cached) " >&6
42452 else
42455 ac_ext=cpp
42456 ac_cpp='$CXXCPP $CPPFLAGS'
42457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42462 /* end confdefs.h. */
42463 #include <math.h>
42465 main ()
42467 sincos(0, 0, 0);
42469 return 0;
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473 glibcxx_cv_func_sincos_use=yes
42474 else
42475 glibcxx_cv_func_sincos_use=no
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478 ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42489 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42491 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42492 for ac_func in sincos
42493 do :
42494 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42495 if test "x$ac_cv_func_sincos" = xyes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define HAVE_SINCOS 1
42498 _ACEOF
42501 done
42503 else
42505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42506 $as_echo_n "checking for _sincos declaration... " >&6; }
42507 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42508 if ${glibcxx_cv_func__sincos_use+:} false; then :
42509 $as_echo_n "(cached) " >&6
42510 else
42513 ac_ext=cpp
42514 ac_cpp='$CXXCPP $CPPFLAGS'
42515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42520 /* end confdefs.h. */
42521 #include <math.h>
42523 main ()
42525 _sincos(0, 0, 0);
42527 return 0;
42529 _ACEOF
42530 if ac_fn_cxx_try_compile "$LINENO"; then :
42531 glibcxx_cv_func__sincos_use=yes
42532 else
42533 glibcxx_cv_func__sincos_use=no
42535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42536 ac_ext=c
42537 ac_cpp='$CPP $CPPFLAGS'
42538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42547 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42549 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42550 for ac_func in _sincos
42551 do :
42552 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42553 if test "x$ac_cv_func__sincos" = xyes; then :
42554 cat >>confdefs.h <<_ACEOF
42555 #define HAVE__SINCOS 1
42556 _ACEOF
42559 done
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42569 $as_echo_n "checking for fpclass declaration... " >&6; }
42570 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42571 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42572 $as_echo_n "(cached) " >&6
42573 else
42576 ac_ext=cpp
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h. */
42584 #include <math.h>
42585 #ifdef HAVE_IEEEFP_H
42586 #include <ieeefp.h>
42587 #endif
42590 main ()
42592 fpclass(0);
42594 return 0;
42596 _ACEOF
42597 if ac_fn_cxx_try_compile "$LINENO"; then :
42598 glibcxx_cv_func_fpclass_use=yes
42599 else
42600 glibcxx_cv_func_fpclass_use=no
42602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42603 ac_ext=c
42604 ac_cpp='$CPP $CPPFLAGS'
42605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42614 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42616 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42617 for ac_func in fpclass
42618 do :
42619 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42620 if test "x$ac_cv_func_fpclass" = xyes; then :
42621 cat >>confdefs.h <<_ACEOF
42622 #define HAVE_FPCLASS 1
42623 _ACEOF
42626 done
42628 else
42630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42631 $as_echo_n "checking for _fpclass declaration... " >&6; }
42632 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42633 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42634 $as_echo_n "(cached) " >&6
42635 else
42638 ac_ext=cpp
42639 ac_cpp='$CXXCPP $CPPFLAGS'
42640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42645 /* end confdefs.h. */
42646 #include <math.h>
42647 #ifdef HAVE_IEEEFP_H
42648 #include <ieeefp.h>
42649 #endif
42652 main ()
42654 _fpclass(0);
42656 return 0;
42658 _ACEOF
42659 if ac_fn_cxx_try_compile "$LINENO"; then :
42660 glibcxx_cv_func__fpclass_use=yes
42661 else
42662 glibcxx_cv_func__fpclass_use=no
42664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42665 ac_ext=c
42666 ac_cpp='$CPP $CPPFLAGS'
42667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42676 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42678 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42679 for ac_func in _fpclass
42680 do :
42681 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42682 if test "x$ac_cv_func__fpclass" = xyes; then :
42683 cat >>confdefs.h <<_ACEOF
42684 #define HAVE__FPCLASS 1
42685 _ACEOF
42688 done
42697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42698 $as_echo_n "checking for qfpclass declaration... " >&6; }
42699 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42700 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42701 $as_echo_n "(cached) " >&6
42702 else
42705 ac_ext=cpp
42706 ac_cpp='$CXXCPP $CPPFLAGS'
42707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42712 /* end confdefs.h. */
42713 #include <math.h>
42714 #ifdef HAVE_IEEEFP_H
42715 #include <ieeefp.h>
42716 #endif
42719 main ()
42721 qfpclass(0);
42723 return 0;
42725 _ACEOF
42726 if ac_fn_cxx_try_compile "$LINENO"; then :
42727 glibcxx_cv_func_qfpclass_use=yes
42728 else
42729 glibcxx_cv_func_qfpclass_use=no
42731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42732 ac_ext=c
42733 ac_cpp='$CPP $CPPFLAGS'
42734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42743 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42745 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42746 for ac_func in qfpclass
42747 do :
42748 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42749 if test "x$ac_cv_func_qfpclass" = xyes; then :
42750 cat >>confdefs.h <<_ACEOF
42751 #define HAVE_QFPCLASS 1
42752 _ACEOF
42755 done
42757 else
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42760 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42761 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42762 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42763 $as_echo_n "(cached) " >&6
42764 else
42767 ac_ext=cpp
42768 ac_cpp='$CXXCPP $CPPFLAGS'
42769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42774 /* end confdefs.h. */
42775 #include <math.h>
42776 #ifdef HAVE_IEEEFP_H
42777 #include <ieeefp.h>
42778 #endif
42781 main ()
42783 _qfpclass(0);
42785 return 0;
42787 _ACEOF
42788 if ac_fn_cxx_try_compile "$LINENO"; then :
42789 glibcxx_cv_func__qfpclass_use=yes
42790 else
42791 glibcxx_cv_func__qfpclass_use=no
42793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42794 ac_ext=c
42795 ac_cpp='$CPP $CPPFLAGS'
42796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42805 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42807 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42808 for ac_func in _qfpclass
42809 do :
42810 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42811 if test "x$ac_cv_func__qfpclass" = xyes; then :
42812 cat >>confdefs.h <<_ACEOF
42813 #define HAVE__QFPCLASS 1
42814 _ACEOF
42817 done
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42827 $as_echo_n "checking for hypot declaration... " >&6; }
42828 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42829 if ${glibcxx_cv_func_hypot_use+:} false; then :
42830 $as_echo_n "(cached) " >&6
42831 else
42834 ac_ext=cpp
42835 ac_cpp='$CXXCPP $CPPFLAGS'
42836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42841 /* end confdefs.h. */
42842 #include <math.h>
42844 main ()
42846 hypot(0, 0);
42848 return 0;
42850 _ACEOF
42851 if ac_fn_cxx_try_compile "$LINENO"; then :
42852 glibcxx_cv_func_hypot_use=yes
42853 else
42854 glibcxx_cv_func_hypot_use=no
42856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42857 ac_ext=c
42858 ac_cpp='$CPP $CPPFLAGS'
42859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42868 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42870 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42871 for ac_func in hypot
42872 do :
42873 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42874 if test "x$ac_cv_func_hypot" = xyes; then :
42875 cat >>confdefs.h <<_ACEOF
42876 #define HAVE_HYPOT 1
42877 _ACEOF
42880 done
42882 else
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42885 $as_echo_n "checking for _hypot declaration... " >&6; }
42886 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42887 if ${glibcxx_cv_func__hypot_use+:} false; then :
42888 $as_echo_n "(cached) " >&6
42889 else
42892 ac_ext=cpp
42893 ac_cpp='$CXXCPP $CPPFLAGS'
42894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42899 /* end confdefs.h. */
42900 #include <math.h>
42902 main ()
42904 _hypot(0, 0);
42906 return 0;
42908 _ACEOF
42909 if ac_fn_cxx_try_compile "$LINENO"; then :
42910 glibcxx_cv_func__hypot_use=yes
42911 else
42912 glibcxx_cv_func__hypot_use=no
42914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42915 ac_ext=c
42916 ac_cpp='$CPP $CPPFLAGS'
42917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42926 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42928 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42929 for ac_func in _hypot
42930 do :
42931 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42932 if test "x$ac_cv_func__hypot" = xyes; then :
42933 cat >>confdefs.h <<_ACEOF
42934 #define HAVE__HYPOT 1
42935 _ACEOF
42938 done
42947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42948 $as_echo_n "checking for float trig functions... " >&6; }
42949 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42950 $as_echo_n "(cached) " >&6
42951 else
42954 ac_ext=cpp
42955 ac_cpp='$CXXCPP $CPPFLAGS'
42956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42961 /* end confdefs.h. */
42962 #include <math.h>
42964 main ()
42966 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42968 return 0;
42970 _ACEOF
42971 if ac_fn_cxx_try_compile "$LINENO"; then :
42972 glibcxx_cv_func_float_trig_use=yes
42973 else
42974 glibcxx_cv_func_float_trig_use=no
42976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42977 ac_ext=c
42978 ac_cpp='$CPP $CPPFLAGS'
42979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42986 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42987 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42988 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42989 do :
42990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42993 cat >>confdefs.h <<_ACEOF
42994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42995 _ACEOF
42998 done
43000 else
43001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
43002 $as_echo_n "checking for _float trig functions... " >&6; }
43003 if ${glibcxx_cv_func__float_trig_use+:} false; then :
43004 $as_echo_n "(cached) " >&6
43005 else
43008 ac_ext=cpp
43009 ac_cpp='$CXXCPP $CPPFLAGS'
43010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43015 /* end confdefs.h. */
43016 #include <math.h>
43018 main ()
43020 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
43022 return 0;
43024 _ACEOF
43025 if ac_fn_cxx_try_compile "$LINENO"; then :
43026 glibcxx_cv_func__float_trig_use=yes
43027 else
43028 glibcxx_cv_func__float_trig_use=no
43030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43031 ac_ext=c
43032 ac_cpp='$CPP $CPPFLAGS'
43033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
43040 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
43041 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
43042 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
43043 do :
43044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43047 cat >>confdefs.h <<_ACEOF
43048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43049 _ACEOF
43052 done
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43062 $as_echo_n "checking for float round functions... " >&6; }
43063 if ${glibcxx_cv_func_float_round_use+:} false; then :
43064 $as_echo_n "(cached) " >&6
43065 else
43068 ac_ext=cpp
43069 ac_cpp='$CXXCPP $CPPFLAGS'
43070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43075 /* end confdefs.h. */
43076 #include <math.h>
43078 main ()
43080 ceilf (0); floorf (0);
43082 return 0;
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func_float_round_use=yes
43087 else
43088 glibcxx_cv_func_float_round_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43100 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43101 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43102 for ac_func in ceilf floorf
43103 do :
43104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43106 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43107 cat >>confdefs.h <<_ACEOF
43108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43109 _ACEOF
43112 done
43114 else
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43116 $as_echo_n "checking for _float round functions... " >&6; }
43117 if ${glibcxx_cv_func__float_round_use+:} false; then :
43118 $as_echo_n "(cached) " >&6
43119 else
43122 ac_ext=cpp
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h. */
43130 #include <math.h>
43132 main ()
43134 _ceilf (0); _floorf (0);
43136 return 0;
43138 _ACEOF
43139 if ac_fn_cxx_try_compile "$LINENO"; then :
43140 glibcxx_cv_func__float_round_use=yes
43141 else
43142 glibcxx_cv_func__float_round_use=no
43144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43145 ac_ext=c
43146 ac_cpp='$CPP $CPPFLAGS'
43147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43154 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43155 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43156 for ac_func in _ceilf _floorf
43157 do :
43158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43161 cat >>confdefs.h <<_ACEOF
43162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43163 _ACEOF
43166 done
43176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43177 $as_echo_n "checking for expf declaration... " >&6; }
43178 if test x${glibcxx_cv_func_expf_use+set} != xset; then
43179 if ${glibcxx_cv_func_expf_use+:} false; then :
43180 $as_echo_n "(cached) " >&6
43181 else
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191 /* end confdefs.h. */
43192 #include <math.h>
43193 #ifdef HAVE_IEEEFP_H
43194 #include <ieeefp.h>
43195 #endif
43198 main ()
43200 expf(0);
43202 return 0;
43204 _ACEOF
43205 if ac_fn_cxx_try_compile "$LINENO"; then :
43206 glibcxx_cv_func_expf_use=yes
43207 else
43208 glibcxx_cv_func_expf_use=no
43210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43211 ac_ext=c
43212 ac_cpp='$CPP $CPPFLAGS'
43213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43222 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43224 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43225 for ac_func in expf
43226 do :
43227 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43228 if test "x$ac_cv_func_expf" = xyes; then :
43229 cat >>confdefs.h <<_ACEOF
43230 #define HAVE_EXPF 1
43231 _ACEOF
43234 done
43236 else
43238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43239 $as_echo_n "checking for _expf declaration... " >&6; }
43240 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43241 if ${glibcxx_cv_func__expf_use+:} false; then :
43242 $as_echo_n "(cached) " >&6
43243 else
43246 ac_ext=cpp
43247 ac_cpp='$CXXCPP $CPPFLAGS'
43248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43253 /* end confdefs.h. */
43254 #include <math.h>
43255 #ifdef HAVE_IEEEFP_H
43256 #include <ieeefp.h>
43257 #endif
43260 main ()
43262 _expf(0);
43264 return 0;
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268 glibcxx_cv_func__expf_use=yes
43269 else
43270 glibcxx_cv_func__expf_use=no
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273 ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43284 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43286 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43287 for ac_func in _expf
43288 do :
43289 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43290 if test "x$ac_cv_func__expf" = xyes; then :
43291 cat >>confdefs.h <<_ACEOF
43292 #define HAVE__EXPF 1
43293 _ACEOF
43296 done
43305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43306 $as_echo_n "checking for isnanf declaration... " >&6; }
43307 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43308 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43309 $as_echo_n "(cached) " >&6
43310 else
43313 ac_ext=cpp
43314 ac_cpp='$CXXCPP $CPPFLAGS'
43315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320 /* end confdefs.h. */
43321 #include <math.h>
43322 #ifdef HAVE_IEEEFP_H
43323 #include <ieeefp.h>
43324 #endif
43327 main ()
43329 isnanf(0);
43331 return 0;
43333 _ACEOF
43334 if ac_fn_cxx_try_compile "$LINENO"; then :
43335 glibcxx_cv_func_isnanf_use=yes
43336 else
43337 glibcxx_cv_func_isnanf_use=no
43339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43340 ac_ext=c
43341 ac_cpp='$CPP $CPPFLAGS'
43342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43351 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43353 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43354 for ac_func in isnanf
43355 do :
43356 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43357 if test "x$ac_cv_func_isnanf" = xyes; then :
43358 cat >>confdefs.h <<_ACEOF
43359 #define HAVE_ISNANF 1
43360 _ACEOF
43363 done
43365 else
43367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43368 $as_echo_n "checking for _isnanf declaration... " >&6; }
43369 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43370 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43371 $as_echo_n "(cached) " >&6
43372 else
43375 ac_ext=cpp
43376 ac_cpp='$CXXCPP $CPPFLAGS'
43377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43382 /* end confdefs.h. */
43383 #include <math.h>
43384 #ifdef HAVE_IEEEFP_H
43385 #include <ieeefp.h>
43386 #endif
43389 main ()
43391 _isnanf(0);
43393 return 0;
43395 _ACEOF
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397 glibcxx_cv_func__isnanf_use=yes
43398 else
43399 glibcxx_cv_func__isnanf_use=no
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402 ac_ext=c
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43413 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43415 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43416 for ac_func in _isnanf
43417 do :
43418 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43419 if test "x$ac_cv_func__isnanf" = xyes; then :
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE__ISNANF 1
43422 _ACEOF
43425 done
43434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43435 $as_echo_n "checking for isinff declaration... " >&6; }
43436 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43437 if ${glibcxx_cv_func_isinff_use+:} false; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43451 #ifdef HAVE_IEEEFP_H
43452 #include <ieeefp.h>
43453 #endif
43456 main ()
43458 isinff(0);
43460 return 0;
43462 _ACEOF
43463 if ac_fn_cxx_try_compile "$LINENO"; then :
43464 glibcxx_cv_func_isinff_use=yes
43465 else
43466 glibcxx_cv_func_isinff_use=no
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469 ac_ext=c
43470 ac_cpp='$CPP $CPPFLAGS'
43471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43480 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43482 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43483 for ac_func in isinff
43484 do :
43485 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43486 if test "x$ac_cv_func_isinff" = xyes; then :
43487 cat >>confdefs.h <<_ACEOF
43488 #define HAVE_ISINFF 1
43489 _ACEOF
43492 done
43494 else
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43497 $as_echo_n "checking for _isinff declaration... " >&6; }
43498 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43499 if ${glibcxx_cv_func__isinff_use+:} false; then :
43500 $as_echo_n "(cached) " >&6
43501 else
43504 ac_ext=cpp
43505 ac_cpp='$CXXCPP $CPPFLAGS'
43506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511 /* end confdefs.h. */
43512 #include <math.h>
43513 #ifdef HAVE_IEEEFP_H
43514 #include <ieeefp.h>
43515 #endif
43518 main ()
43520 _isinff(0);
43522 return 0;
43524 _ACEOF
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func__isinff_use=yes
43527 else
43528 glibcxx_cv_func__isinff_use=no
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43542 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43544 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43545 for ac_func in _isinff
43546 do :
43547 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43548 if test "x$ac_cv_func__isinff" = xyes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE__ISINFF 1
43551 _ACEOF
43554 done
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43564 $as_echo_n "checking for atan2f declaration... " >&6; }
43565 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43566 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43581 main ()
43583 atan2f(0, 0);
43585 return 0;
43587 _ACEOF
43588 if ac_fn_cxx_try_compile "$LINENO"; then :
43589 glibcxx_cv_func_atan2f_use=yes
43590 else
43591 glibcxx_cv_func_atan2f_use=no
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594 ac_ext=c
43595 ac_cpp='$CPP $CPPFLAGS'
43596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43605 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43607 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43608 for ac_func in atan2f
43609 do :
43610 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43611 if test "x$ac_cv_func_atan2f" = xyes; then :
43612 cat >>confdefs.h <<_ACEOF
43613 #define HAVE_ATAN2F 1
43614 _ACEOF
43617 done
43619 else
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43622 $as_echo_n "checking for _atan2f declaration... " >&6; }
43623 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43624 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43625 $as_echo_n "(cached) " >&6
43626 else
43629 ac_ext=cpp
43630 ac_cpp='$CXXCPP $CPPFLAGS'
43631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43636 /* end confdefs.h. */
43637 #include <math.h>
43639 main ()
43641 _atan2f(0, 0);
43643 return 0;
43645 _ACEOF
43646 if ac_fn_cxx_try_compile "$LINENO"; then :
43647 glibcxx_cv_func__atan2f_use=yes
43648 else
43649 glibcxx_cv_func__atan2f_use=no
43651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43652 ac_ext=c
43653 ac_cpp='$CPP $CPPFLAGS'
43654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43663 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43665 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43666 for ac_func in _atan2f
43667 do :
43668 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43669 if test "x$ac_cv_func__atan2f" = xyes; then :
43670 cat >>confdefs.h <<_ACEOF
43671 #define HAVE__ATAN2F 1
43672 _ACEOF
43675 done
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43685 $as_echo_n "checking for fabsf declaration... " >&6; }
43686 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43687 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43688 $as_echo_n "(cached) " >&6
43689 else
43692 ac_ext=cpp
43693 ac_cpp='$CXXCPP $CPPFLAGS'
43694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43699 /* end confdefs.h. */
43700 #include <math.h>
43701 #ifdef HAVE_IEEEFP_H
43702 #include <ieeefp.h>
43703 #endif
43706 main ()
43708 fabsf(0);
43710 return 0;
43712 _ACEOF
43713 if ac_fn_cxx_try_compile "$LINENO"; then :
43714 glibcxx_cv_func_fabsf_use=yes
43715 else
43716 glibcxx_cv_func_fabsf_use=no
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719 ac_ext=c
43720 ac_cpp='$CPP $CPPFLAGS'
43721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43730 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43732 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43733 for ac_func in fabsf
43734 do :
43735 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43736 if test "x$ac_cv_func_fabsf" = xyes; then :
43737 cat >>confdefs.h <<_ACEOF
43738 #define HAVE_FABSF 1
43739 _ACEOF
43742 done
43744 else
43746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43747 $as_echo_n "checking for _fabsf declaration... " >&6; }
43748 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43749 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43750 $as_echo_n "(cached) " >&6
43751 else
43754 ac_ext=cpp
43755 ac_cpp='$CXXCPP $CPPFLAGS'
43756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43761 /* end confdefs.h. */
43762 #include <math.h>
43763 #ifdef HAVE_IEEEFP_H
43764 #include <ieeefp.h>
43765 #endif
43768 main ()
43770 _fabsf(0);
43772 return 0;
43774 _ACEOF
43775 if ac_fn_cxx_try_compile "$LINENO"; then :
43776 glibcxx_cv_func__fabsf_use=yes
43777 else
43778 glibcxx_cv_func__fabsf_use=no
43780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43781 ac_ext=c
43782 ac_cpp='$CPP $CPPFLAGS'
43783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43792 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43794 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43795 for ac_func in _fabsf
43796 do :
43797 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43798 if test "x$ac_cv_func__fabsf" = xyes; then :
43799 cat >>confdefs.h <<_ACEOF
43800 #define HAVE__FABSF 1
43801 _ACEOF
43804 done
43813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43814 $as_echo_n "checking for fmodf declaration... " >&6; }
43815 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43816 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43817 $as_echo_n "(cached) " >&6
43818 else
43821 ac_ext=cpp
43822 ac_cpp='$CXXCPP $CPPFLAGS'
43823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43828 /* end confdefs.h. */
43829 #include <math.h>
43831 main ()
43833 fmodf(0, 0);
43835 return 0;
43837 _ACEOF
43838 if ac_fn_cxx_try_compile "$LINENO"; then :
43839 glibcxx_cv_func_fmodf_use=yes
43840 else
43841 glibcxx_cv_func_fmodf_use=no
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844 ac_ext=c
43845 ac_cpp='$CPP $CPPFLAGS'
43846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43855 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43857 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43858 for ac_func in fmodf
43859 do :
43860 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43861 if test "x$ac_cv_func_fmodf" = xyes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE_FMODF 1
43864 _ACEOF
43867 done
43869 else
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43872 $as_echo_n "checking for _fmodf declaration... " >&6; }
43873 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43874 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43875 $as_echo_n "(cached) " >&6
43876 else
43879 ac_ext=cpp
43880 ac_cpp='$CXXCPP $CPPFLAGS'
43881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43886 /* end confdefs.h. */
43887 #include <math.h>
43889 main ()
43891 _fmodf(0, 0);
43893 return 0;
43895 _ACEOF
43896 if ac_fn_cxx_try_compile "$LINENO"; then :
43897 glibcxx_cv_func__fmodf_use=yes
43898 else
43899 glibcxx_cv_func__fmodf_use=no
43901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902 ac_ext=c
43903 ac_cpp='$CPP $CPPFLAGS'
43904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43913 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43915 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43916 for ac_func in _fmodf
43917 do :
43918 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43919 if test "x$ac_cv_func__fmodf" = xyes; then :
43920 cat >>confdefs.h <<_ACEOF
43921 #define HAVE__FMODF 1
43922 _ACEOF
43925 done
43934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43935 $as_echo_n "checking for frexpf declaration... " >&6; }
43936 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43937 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43938 $as_echo_n "(cached) " >&6
43939 else
43942 ac_ext=cpp
43943 ac_cpp='$CXXCPP $CPPFLAGS'
43944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43949 /* end confdefs.h. */
43950 #include <math.h>
43952 main ()
43954 frexpf(0, 0);
43956 return 0;
43958 _ACEOF
43959 if ac_fn_cxx_try_compile "$LINENO"; then :
43960 glibcxx_cv_func_frexpf_use=yes
43961 else
43962 glibcxx_cv_func_frexpf_use=no
43964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43965 ac_ext=c
43966 ac_cpp='$CPP $CPPFLAGS'
43967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43976 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43978 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43979 for ac_func in frexpf
43980 do :
43981 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43982 if test "x$ac_cv_func_frexpf" = xyes; then :
43983 cat >>confdefs.h <<_ACEOF
43984 #define HAVE_FREXPF 1
43985 _ACEOF
43988 done
43990 else
43992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43993 $as_echo_n "checking for _frexpf declaration... " >&6; }
43994 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43995 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43996 $as_echo_n "(cached) " >&6
43997 else
44000 ac_ext=cpp
44001 ac_cpp='$CXXCPP $CPPFLAGS'
44002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44007 /* end confdefs.h. */
44008 #include <math.h>
44010 main ()
44012 _frexpf(0, 0);
44014 return 0;
44016 _ACEOF
44017 if ac_fn_cxx_try_compile "$LINENO"; then :
44018 glibcxx_cv_func__frexpf_use=yes
44019 else
44020 glibcxx_cv_func__frexpf_use=no
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023 ac_ext=c
44024 ac_cpp='$CPP $CPPFLAGS'
44025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
44034 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
44036 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
44037 for ac_func in _frexpf
44038 do :
44039 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
44040 if test "x$ac_cv_func__frexpf" = xyes; then :
44041 cat >>confdefs.h <<_ACEOF
44042 #define HAVE__FREXPF 1
44043 _ACEOF
44046 done
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
44056 $as_echo_n "checking for hypotf declaration... " >&6; }
44057 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44058 if ${glibcxx_cv_func_hypotf_use+:} false; then :
44059 $as_echo_n "(cached) " >&6
44060 else
44063 ac_ext=cpp
44064 ac_cpp='$CXXCPP $CPPFLAGS'
44065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44070 /* end confdefs.h. */
44071 #include <math.h>
44073 main ()
44075 hypotf(0, 0);
44077 return 0;
44079 _ACEOF
44080 if ac_fn_cxx_try_compile "$LINENO"; then :
44081 glibcxx_cv_func_hypotf_use=yes
44082 else
44083 glibcxx_cv_func_hypotf_use=no
44085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44086 ac_ext=c
44087 ac_cpp='$CPP $CPPFLAGS'
44088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44097 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44099 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44100 for ac_func in hypotf
44101 do :
44102 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44103 if test "x$ac_cv_func_hypotf" = xyes; then :
44104 cat >>confdefs.h <<_ACEOF
44105 #define HAVE_HYPOTF 1
44106 _ACEOF
44109 done
44111 else
44113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44114 $as_echo_n "checking for _hypotf declaration... " >&6; }
44115 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44116 if ${glibcxx_cv_func__hypotf_use+:} false; then :
44117 $as_echo_n "(cached) " >&6
44118 else
44121 ac_ext=cpp
44122 ac_cpp='$CXXCPP $CPPFLAGS'
44123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44128 /* end confdefs.h. */
44129 #include <math.h>
44131 main ()
44133 _hypotf(0, 0);
44135 return 0;
44137 _ACEOF
44138 if ac_fn_cxx_try_compile "$LINENO"; then :
44139 glibcxx_cv_func__hypotf_use=yes
44140 else
44141 glibcxx_cv_func__hypotf_use=no
44143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44144 ac_ext=c
44145 ac_cpp='$CPP $CPPFLAGS'
44146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44155 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44157 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44158 for ac_func in _hypotf
44159 do :
44160 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44161 if test "x$ac_cv_func__hypotf" = xyes; then :
44162 cat >>confdefs.h <<_ACEOF
44163 #define HAVE__HYPOTF 1
44164 _ACEOF
44167 done
44176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44177 $as_echo_n "checking for ldexpf declaration... " >&6; }
44178 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44179 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44180 $as_echo_n "(cached) " >&6
44181 else
44184 ac_ext=cpp
44185 ac_cpp='$CXXCPP $CPPFLAGS'
44186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44191 /* end confdefs.h. */
44192 #include <math.h>
44194 main ()
44196 ldexpf(0, 0);
44198 return 0;
44200 _ACEOF
44201 if ac_fn_cxx_try_compile "$LINENO"; then :
44202 glibcxx_cv_func_ldexpf_use=yes
44203 else
44204 glibcxx_cv_func_ldexpf_use=no
44206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44207 ac_ext=c
44208 ac_cpp='$CPP $CPPFLAGS'
44209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44218 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44220 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44221 for ac_func in ldexpf
44222 do :
44223 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44224 if test "x$ac_cv_func_ldexpf" = xyes; then :
44225 cat >>confdefs.h <<_ACEOF
44226 #define HAVE_LDEXPF 1
44227 _ACEOF
44230 done
44232 else
44234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44235 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44236 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44237 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44238 $as_echo_n "(cached) " >&6
44239 else
44242 ac_ext=cpp
44243 ac_cpp='$CXXCPP $CPPFLAGS'
44244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44249 /* end confdefs.h. */
44250 #include <math.h>
44252 main ()
44254 _ldexpf(0, 0);
44256 return 0;
44258 _ACEOF
44259 if ac_fn_cxx_try_compile "$LINENO"; then :
44260 glibcxx_cv_func__ldexpf_use=yes
44261 else
44262 glibcxx_cv_func__ldexpf_use=no
44264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44265 ac_ext=c
44266 ac_cpp='$CPP $CPPFLAGS'
44267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44276 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44278 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44279 for ac_func in _ldexpf
44280 do :
44281 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44282 if test "x$ac_cv_func__ldexpf" = xyes; then :
44283 cat >>confdefs.h <<_ACEOF
44284 #define HAVE__LDEXPF 1
44285 _ACEOF
44288 done
44297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44298 $as_echo_n "checking for logf declaration... " >&6; }
44299 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44300 if ${glibcxx_cv_func_logf_use+:} false; then :
44301 $as_echo_n "(cached) " >&6
44302 else
44305 ac_ext=cpp
44306 ac_cpp='$CXXCPP $CPPFLAGS'
44307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44312 /* end confdefs.h. */
44313 #include <math.h>
44314 #ifdef HAVE_IEEEFP_H
44315 #include <ieeefp.h>
44316 #endif
44319 main ()
44321 logf(0);
44323 return 0;
44325 _ACEOF
44326 if ac_fn_cxx_try_compile "$LINENO"; then :
44327 glibcxx_cv_func_logf_use=yes
44328 else
44329 glibcxx_cv_func_logf_use=no
44331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44332 ac_ext=c
44333 ac_cpp='$CPP $CPPFLAGS'
44334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44343 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44345 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44346 for ac_func in logf
44347 do :
44348 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44349 if test "x$ac_cv_func_logf" = xyes; then :
44350 cat >>confdefs.h <<_ACEOF
44351 #define HAVE_LOGF 1
44352 _ACEOF
44355 done
44357 else
44359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44360 $as_echo_n "checking for _logf declaration... " >&6; }
44361 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44362 if ${glibcxx_cv_func__logf_use+:} false; then :
44363 $as_echo_n "(cached) " >&6
44364 else
44367 ac_ext=cpp
44368 ac_cpp='$CXXCPP $CPPFLAGS'
44369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44374 /* end confdefs.h. */
44375 #include <math.h>
44376 #ifdef HAVE_IEEEFP_H
44377 #include <ieeefp.h>
44378 #endif
44381 main ()
44383 _logf(0);
44385 return 0;
44387 _ACEOF
44388 if ac_fn_cxx_try_compile "$LINENO"; then :
44389 glibcxx_cv_func__logf_use=yes
44390 else
44391 glibcxx_cv_func__logf_use=no
44393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44394 ac_ext=c
44395 ac_cpp='$CPP $CPPFLAGS'
44396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44405 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44407 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44408 for ac_func in _logf
44409 do :
44410 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44411 if test "x$ac_cv_func__logf" = xyes; then :
44412 cat >>confdefs.h <<_ACEOF
44413 #define HAVE__LOGF 1
44414 _ACEOF
44417 done
44426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44427 $as_echo_n "checking for log10f declaration... " >&6; }
44428 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44429 if ${glibcxx_cv_func_log10f_use+:} false; then :
44430 $as_echo_n "(cached) " >&6
44431 else
44434 ac_ext=cpp
44435 ac_cpp='$CXXCPP $CPPFLAGS'
44436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44441 /* end confdefs.h. */
44442 #include <math.h>
44443 #ifdef HAVE_IEEEFP_H
44444 #include <ieeefp.h>
44445 #endif
44448 main ()
44450 log10f(0);
44452 return 0;
44454 _ACEOF
44455 if ac_fn_cxx_try_compile "$LINENO"; then :
44456 glibcxx_cv_func_log10f_use=yes
44457 else
44458 glibcxx_cv_func_log10f_use=no
44460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44461 ac_ext=c
44462 ac_cpp='$CPP $CPPFLAGS'
44463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44472 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44474 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44475 for ac_func in log10f
44476 do :
44477 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44478 if test "x$ac_cv_func_log10f" = xyes; then :
44479 cat >>confdefs.h <<_ACEOF
44480 #define HAVE_LOG10F 1
44481 _ACEOF
44484 done
44486 else
44488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44489 $as_echo_n "checking for _log10f declaration... " >&6; }
44490 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44491 if ${glibcxx_cv_func__log10f_use+:} false; then :
44492 $as_echo_n "(cached) " >&6
44493 else
44496 ac_ext=cpp
44497 ac_cpp='$CXXCPP $CPPFLAGS'
44498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44503 /* end confdefs.h. */
44504 #include <math.h>
44505 #ifdef HAVE_IEEEFP_H
44506 #include <ieeefp.h>
44507 #endif
44510 main ()
44512 _log10f(0);
44514 return 0;
44516 _ACEOF
44517 if ac_fn_cxx_try_compile "$LINENO"; then :
44518 glibcxx_cv_func__log10f_use=yes
44519 else
44520 glibcxx_cv_func__log10f_use=no
44522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44523 ac_ext=c
44524 ac_cpp='$CPP $CPPFLAGS'
44525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44534 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44536 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44537 for ac_func in _log10f
44538 do :
44539 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44540 if test "x$ac_cv_func__log10f" = xyes; then :
44541 cat >>confdefs.h <<_ACEOF
44542 #define HAVE__LOG10F 1
44543 _ACEOF
44546 done
44555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44556 $as_echo_n "checking for modff declaration... " >&6; }
44557 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44558 if ${glibcxx_cv_func_modff_use+:} false; then :
44559 $as_echo_n "(cached) " >&6
44560 else
44563 ac_ext=cpp
44564 ac_cpp='$CXXCPP $CPPFLAGS'
44565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44570 /* end confdefs.h. */
44571 #include <math.h>
44573 main ()
44575 modff(0, 0);
44577 return 0;
44579 _ACEOF
44580 if ac_fn_cxx_try_compile "$LINENO"; then :
44581 glibcxx_cv_func_modff_use=yes
44582 else
44583 glibcxx_cv_func_modff_use=no
44585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44586 ac_ext=c
44587 ac_cpp='$CPP $CPPFLAGS'
44588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44597 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44599 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44600 for ac_func in modff
44601 do :
44602 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44603 if test "x$ac_cv_func_modff" = xyes; then :
44604 cat >>confdefs.h <<_ACEOF
44605 #define HAVE_MODFF 1
44606 _ACEOF
44609 done
44611 else
44613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44614 $as_echo_n "checking for _modff declaration... " >&6; }
44615 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44616 if ${glibcxx_cv_func__modff_use+:} false; then :
44617 $as_echo_n "(cached) " >&6
44618 else
44621 ac_ext=cpp
44622 ac_cpp='$CXXCPP $CPPFLAGS'
44623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44628 /* end confdefs.h. */
44629 #include <math.h>
44631 main ()
44633 _modff(0, 0);
44635 return 0;
44637 _ACEOF
44638 if ac_fn_cxx_try_compile "$LINENO"; then :
44639 glibcxx_cv_func__modff_use=yes
44640 else
44641 glibcxx_cv_func__modff_use=no
44643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44644 ac_ext=c
44645 ac_cpp='$CPP $CPPFLAGS'
44646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44655 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44657 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44658 for ac_func in _modff
44659 do :
44660 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44661 if test "x$ac_cv_func__modff" = xyes; then :
44662 cat >>confdefs.h <<_ACEOF
44663 #define HAVE__MODFF 1
44664 _ACEOF
44667 done
44676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44677 $as_echo_n "checking for modf declaration... " >&6; }
44678 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44679 if ${glibcxx_cv_func_modf_use+:} false; then :
44680 $as_echo_n "(cached) " >&6
44681 else
44684 ac_ext=cpp
44685 ac_cpp='$CXXCPP $CPPFLAGS'
44686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* end confdefs.h. */
44692 #include <math.h>
44694 main ()
44696 modf(0, 0);
44698 return 0;
44700 _ACEOF
44701 if ac_fn_cxx_try_compile "$LINENO"; then :
44702 glibcxx_cv_func_modf_use=yes
44703 else
44704 glibcxx_cv_func_modf_use=no
44706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44707 ac_ext=c
44708 ac_cpp='$CPP $CPPFLAGS'
44709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44718 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44720 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44721 for ac_func in modf
44722 do :
44723 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44724 if test "x$ac_cv_func_modf" = xyes; then :
44725 cat >>confdefs.h <<_ACEOF
44726 #define HAVE_MODF 1
44727 _ACEOF
44730 done
44732 else
44734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44735 $as_echo_n "checking for _modf declaration... " >&6; }
44736 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44737 if ${glibcxx_cv_func__modf_use+:} false; then :
44738 $as_echo_n "(cached) " >&6
44739 else
44742 ac_ext=cpp
44743 ac_cpp='$CXXCPP $CPPFLAGS'
44744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44749 /* end confdefs.h. */
44750 #include <math.h>
44752 main ()
44754 _modf(0, 0);
44756 return 0;
44758 _ACEOF
44759 if ac_fn_cxx_try_compile "$LINENO"; then :
44760 glibcxx_cv_func__modf_use=yes
44761 else
44762 glibcxx_cv_func__modf_use=no
44764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44765 ac_ext=c
44766 ac_cpp='$CPP $CPPFLAGS'
44767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44776 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44778 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44779 for ac_func in _modf
44780 do :
44781 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44782 if test "x$ac_cv_func__modf" = xyes; then :
44783 cat >>confdefs.h <<_ACEOF
44784 #define HAVE__MODF 1
44785 _ACEOF
44788 done
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44798 $as_echo_n "checking for powf declaration... " >&6; }
44799 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44800 if ${glibcxx_cv_func_powf_use+:} false; then :
44801 $as_echo_n "(cached) " >&6
44802 else
44805 ac_ext=cpp
44806 ac_cpp='$CXXCPP $CPPFLAGS'
44807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44812 /* end confdefs.h. */
44813 #include <math.h>
44815 main ()
44817 powf(0, 0);
44819 return 0;
44821 _ACEOF
44822 if ac_fn_cxx_try_compile "$LINENO"; then :
44823 glibcxx_cv_func_powf_use=yes
44824 else
44825 glibcxx_cv_func_powf_use=no
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828 ac_ext=c
44829 ac_cpp='$CPP $CPPFLAGS'
44830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44839 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44841 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44842 for ac_func in powf
44843 do :
44844 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44845 if test "x$ac_cv_func_powf" = xyes; then :
44846 cat >>confdefs.h <<_ACEOF
44847 #define HAVE_POWF 1
44848 _ACEOF
44851 done
44853 else
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44856 $as_echo_n "checking for _powf declaration... " >&6; }
44857 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44858 if ${glibcxx_cv_func__powf_use+:} false; then :
44859 $as_echo_n "(cached) " >&6
44860 else
44863 ac_ext=cpp
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44870 /* end confdefs.h. */
44871 #include <math.h>
44873 main ()
44875 _powf(0, 0);
44877 return 0;
44879 _ACEOF
44880 if ac_fn_cxx_try_compile "$LINENO"; then :
44881 glibcxx_cv_func__powf_use=yes
44882 else
44883 glibcxx_cv_func__powf_use=no
44885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44886 ac_ext=c
44887 ac_cpp='$CPP $CPPFLAGS'
44888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44897 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44899 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44900 for ac_func in _powf
44901 do :
44902 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44903 if test "x$ac_cv_func__powf" = xyes; then :
44904 cat >>confdefs.h <<_ACEOF
44905 #define HAVE__POWF 1
44906 _ACEOF
44909 done
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44919 $as_echo_n "checking for sqrtf declaration... " >&6; }
44920 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44921 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44922 $as_echo_n "(cached) " >&6
44923 else
44926 ac_ext=cpp
44927 ac_cpp='$CXXCPP $CPPFLAGS'
44928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44933 /* end confdefs.h. */
44934 #include <math.h>
44935 #ifdef HAVE_IEEEFP_H
44936 #include <ieeefp.h>
44937 #endif
44940 main ()
44942 sqrtf(0);
44944 return 0;
44946 _ACEOF
44947 if ac_fn_cxx_try_compile "$LINENO"; then :
44948 glibcxx_cv_func_sqrtf_use=yes
44949 else
44950 glibcxx_cv_func_sqrtf_use=no
44952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44953 ac_ext=c
44954 ac_cpp='$CPP $CPPFLAGS'
44955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44964 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44966 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44967 for ac_func in sqrtf
44968 do :
44969 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44970 if test "x$ac_cv_func_sqrtf" = xyes; then :
44971 cat >>confdefs.h <<_ACEOF
44972 #define HAVE_SQRTF 1
44973 _ACEOF
44976 done
44978 else
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44981 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44982 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44983 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44984 $as_echo_n "(cached) " >&6
44985 else
44988 ac_ext=cpp
44989 ac_cpp='$CXXCPP $CPPFLAGS'
44990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44995 /* end confdefs.h. */
44996 #include <math.h>
44997 #ifdef HAVE_IEEEFP_H
44998 #include <ieeefp.h>
44999 #endif
45002 main ()
45004 _sqrtf(0);
45006 return 0;
45008 _ACEOF
45009 if ac_fn_cxx_try_compile "$LINENO"; then :
45010 glibcxx_cv_func__sqrtf_use=yes
45011 else
45012 glibcxx_cv_func__sqrtf_use=no
45014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45015 ac_ext=c
45016 ac_cpp='$CPP $CPPFLAGS'
45017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
45026 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
45028 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
45029 for ac_func in _sqrtf
45030 do :
45031 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
45032 if test "x$ac_cv_func__sqrtf" = xyes; then :
45033 cat >>confdefs.h <<_ACEOF
45034 #define HAVE__SQRTF 1
45035 _ACEOF
45038 done
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
45048 $as_echo_n "checking for sincosf declaration... " >&6; }
45049 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
45050 if ${glibcxx_cv_func_sincosf_use+:} false; then :
45051 $as_echo_n "(cached) " >&6
45052 else
45055 ac_ext=cpp
45056 ac_cpp='$CXXCPP $CPPFLAGS'
45057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45062 /* end confdefs.h. */
45063 #include <math.h>
45065 main ()
45067 sincosf(0, 0, 0);
45069 return 0;
45071 _ACEOF
45072 if ac_fn_cxx_try_compile "$LINENO"; then :
45073 glibcxx_cv_func_sincosf_use=yes
45074 else
45075 glibcxx_cv_func_sincosf_use=no
45077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078 ac_ext=c
45079 ac_cpp='$CPP $CPPFLAGS'
45080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45089 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45091 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45092 for ac_func in sincosf
45093 do :
45094 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45095 if test "x$ac_cv_func_sincosf" = xyes; then :
45096 cat >>confdefs.h <<_ACEOF
45097 #define HAVE_SINCOSF 1
45098 _ACEOF
45101 done
45103 else
45105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45106 $as_echo_n "checking for _sincosf declaration... " >&6; }
45107 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45108 if ${glibcxx_cv_func__sincosf_use+:} false; then :
45109 $as_echo_n "(cached) " >&6
45110 else
45113 ac_ext=cpp
45114 ac_cpp='$CXXCPP $CPPFLAGS'
45115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45120 /* end confdefs.h. */
45121 #include <math.h>
45123 main ()
45125 _sincosf(0, 0, 0);
45127 return 0;
45129 _ACEOF
45130 if ac_fn_cxx_try_compile "$LINENO"; then :
45131 glibcxx_cv_func__sincosf_use=yes
45132 else
45133 glibcxx_cv_func__sincosf_use=no
45135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45136 ac_ext=c
45137 ac_cpp='$CPP $CPPFLAGS'
45138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45147 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45149 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45150 for ac_func in _sincosf
45151 do :
45152 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45153 if test "x$ac_cv_func__sincosf" = xyes; then :
45154 cat >>confdefs.h <<_ACEOF
45155 #define HAVE__SINCOSF 1
45156 _ACEOF
45159 done
45168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45169 $as_echo_n "checking for finitef declaration... " >&6; }
45170 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45171 if ${glibcxx_cv_func_finitef_use+:} false; then :
45172 $as_echo_n "(cached) " >&6
45173 else
45176 ac_ext=cpp
45177 ac_cpp='$CXXCPP $CPPFLAGS'
45178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45183 /* end confdefs.h. */
45184 #include <math.h>
45185 #ifdef HAVE_IEEEFP_H
45186 #include <ieeefp.h>
45187 #endif
45190 main ()
45192 finitef(0);
45194 return 0;
45196 _ACEOF
45197 if ac_fn_cxx_try_compile "$LINENO"; then :
45198 glibcxx_cv_func_finitef_use=yes
45199 else
45200 glibcxx_cv_func_finitef_use=no
45202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45203 ac_ext=c
45204 ac_cpp='$CPP $CPPFLAGS'
45205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45214 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45216 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45217 for ac_func in finitef
45218 do :
45219 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45220 if test "x$ac_cv_func_finitef" = xyes; then :
45221 cat >>confdefs.h <<_ACEOF
45222 #define HAVE_FINITEF 1
45223 _ACEOF
45226 done
45228 else
45230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45231 $as_echo_n "checking for _finitef declaration... " >&6; }
45232 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45233 if ${glibcxx_cv_func__finitef_use+:} false; then :
45234 $as_echo_n "(cached) " >&6
45235 else
45238 ac_ext=cpp
45239 ac_cpp='$CXXCPP $CPPFLAGS'
45240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45245 /* end confdefs.h. */
45246 #include <math.h>
45247 #ifdef HAVE_IEEEFP_H
45248 #include <ieeefp.h>
45249 #endif
45252 main ()
45254 _finitef(0);
45256 return 0;
45258 _ACEOF
45259 if ac_fn_cxx_try_compile "$LINENO"; then :
45260 glibcxx_cv_func__finitef_use=yes
45261 else
45262 glibcxx_cv_func__finitef_use=no
45264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265 ac_ext=c
45266 ac_cpp='$CPP $CPPFLAGS'
45267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45276 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45278 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45279 for ac_func in _finitef
45280 do :
45281 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45282 if test "x$ac_cv_func__finitef" = xyes; then :
45283 cat >>confdefs.h <<_ACEOF
45284 #define HAVE__FINITEF 1
45285 _ACEOF
45288 done
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45298 $as_echo_n "checking for long double trig functions... " >&6; }
45299 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45300 $as_echo_n "(cached) " >&6
45301 else
45304 ac_ext=cpp
45305 ac_cpp='$CXXCPP $CPPFLAGS'
45306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45311 /* end confdefs.h. */
45312 #include <math.h>
45314 main ()
45316 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45318 return 0;
45320 _ACEOF
45321 if ac_fn_cxx_try_compile "$LINENO"; then :
45322 glibcxx_cv_func_long_double_trig_use=yes
45323 else
45324 glibcxx_cv_func_long_double_trig_use=no
45326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45327 ac_ext=c
45328 ac_cpp='$CPP $CPPFLAGS'
45329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45336 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45337 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45338 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45339 do :
45340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45343 cat >>confdefs.h <<_ACEOF
45344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45345 _ACEOF
45348 done
45350 else
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45352 $as_echo_n "checking for _long double trig functions... " >&6; }
45353 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45354 $as_echo_n "(cached) " >&6
45355 else
45358 ac_ext=cpp
45359 ac_cpp='$CXXCPP $CPPFLAGS'
45360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45365 /* end confdefs.h. */
45366 #include <math.h>
45368 main ()
45370 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45372 return 0;
45374 _ACEOF
45375 if ac_fn_cxx_try_compile "$LINENO"; then :
45376 glibcxx_cv_func__long_double_trig_use=yes
45377 else
45378 glibcxx_cv_func__long_double_trig_use=no
45380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45381 ac_ext=c
45382 ac_cpp='$CPP $CPPFLAGS'
45383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45390 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45391 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45392 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45393 do :
45394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45396 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45397 cat >>confdefs.h <<_ACEOF
45398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45399 _ACEOF
45402 done
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45412 $as_echo_n "checking for long double round functions... " >&6; }
45413 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45414 $as_echo_n "(cached) " >&6
45415 else
45418 ac_ext=cpp
45419 ac_cpp='$CXXCPP $CPPFLAGS'
45420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45425 /* end confdefs.h. */
45426 #include <math.h>
45428 main ()
45430 ceill (0); floorl (0);
45432 return 0;
45434 _ACEOF
45435 if ac_fn_cxx_try_compile "$LINENO"; then :
45436 glibcxx_cv_func_long_double_round_use=yes
45437 else
45438 glibcxx_cv_func_long_double_round_use=no
45440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45441 ac_ext=c
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45450 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45451 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45452 for ac_func in ceill floorl
45453 do :
45454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45457 cat >>confdefs.h <<_ACEOF
45458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45459 _ACEOF
45462 done
45464 else
45465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45466 $as_echo_n "checking for _long double round functions... " >&6; }
45467 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45468 $as_echo_n "(cached) " >&6
45469 else
45472 ac_ext=cpp
45473 ac_cpp='$CXXCPP $CPPFLAGS'
45474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45479 /* end confdefs.h. */
45480 #include <math.h>
45482 main ()
45484 _ceill (0); _floorl (0);
45486 return 0;
45488 _ACEOF
45489 if ac_fn_cxx_try_compile "$LINENO"; then :
45490 glibcxx_cv_func__long_double_round_use=yes
45491 else
45492 glibcxx_cv_func__long_double_round_use=no
45494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495 ac_ext=c
45496 ac_cpp='$CPP $CPPFLAGS'
45497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45504 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45505 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45506 for ac_func in _ceill _floorl
45507 do :
45508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45510 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45511 cat >>confdefs.h <<_ACEOF
45512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45513 _ACEOF
45516 done
45526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45527 $as_echo_n "checking for isnanl declaration... " >&6; }
45528 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45529 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45530 $as_echo_n "(cached) " >&6
45531 else
45534 ac_ext=cpp
45535 ac_cpp='$CXXCPP $CPPFLAGS'
45536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45541 /* end confdefs.h. */
45542 #include <math.h>
45543 #ifdef HAVE_IEEEFP_H
45544 #include <ieeefp.h>
45545 #endif
45548 main ()
45550 isnanl(0);
45552 return 0;
45554 _ACEOF
45555 if ac_fn_cxx_try_compile "$LINENO"; then :
45556 glibcxx_cv_func_isnanl_use=yes
45557 else
45558 glibcxx_cv_func_isnanl_use=no
45560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45561 ac_ext=c
45562 ac_cpp='$CPP $CPPFLAGS'
45563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45572 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45574 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45575 for ac_func in isnanl
45576 do :
45577 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45578 if test "x$ac_cv_func_isnanl" = xyes; then :
45579 cat >>confdefs.h <<_ACEOF
45580 #define HAVE_ISNANL 1
45581 _ACEOF
45584 done
45586 else
45588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45589 $as_echo_n "checking for _isnanl declaration... " >&6; }
45590 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45591 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45592 $as_echo_n "(cached) " >&6
45593 else
45596 ac_ext=cpp
45597 ac_cpp='$CXXCPP $CPPFLAGS'
45598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45603 /* end confdefs.h. */
45604 #include <math.h>
45605 #ifdef HAVE_IEEEFP_H
45606 #include <ieeefp.h>
45607 #endif
45610 main ()
45612 _isnanl(0);
45614 return 0;
45616 _ACEOF
45617 if ac_fn_cxx_try_compile "$LINENO"; then :
45618 glibcxx_cv_func__isnanl_use=yes
45619 else
45620 glibcxx_cv_func__isnanl_use=no
45622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45623 ac_ext=c
45624 ac_cpp='$CPP $CPPFLAGS'
45625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45634 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45636 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45637 for ac_func in _isnanl
45638 do :
45639 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45640 if test "x$ac_cv_func__isnanl" = xyes; then :
45641 cat >>confdefs.h <<_ACEOF
45642 #define HAVE__ISNANL 1
45643 _ACEOF
45646 done
45655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45656 $as_echo_n "checking for isinfl declaration... " >&6; }
45657 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45658 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45659 $as_echo_n "(cached) " >&6
45660 else
45663 ac_ext=cpp
45664 ac_cpp='$CXXCPP $CPPFLAGS'
45665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45670 /* end confdefs.h. */
45671 #include <math.h>
45672 #ifdef HAVE_IEEEFP_H
45673 #include <ieeefp.h>
45674 #endif
45677 main ()
45679 isinfl(0);
45681 return 0;
45683 _ACEOF
45684 if ac_fn_cxx_try_compile "$LINENO"; then :
45685 glibcxx_cv_func_isinfl_use=yes
45686 else
45687 glibcxx_cv_func_isinfl_use=no
45689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45690 ac_ext=c
45691 ac_cpp='$CPP $CPPFLAGS'
45692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45701 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45703 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45704 for ac_func in isinfl
45705 do :
45706 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45707 if test "x$ac_cv_func_isinfl" = xyes; then :
45708 cat >>confdefs.h <<_ACEOF
45709 #define HAVE_ISINFL 1
45710 _ACEOF
45713 done
45715 else
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45718 $as_echo_n "checking for _isinfl declaration... " >&6; }
45719 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45720 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45721 $as_echo_n "(cached) " >&6
45722 else
45725 ac_ext=cpp
45726 ac_cpp='$CXXCPP $CPPFLAGS'
45727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45732 /* end confdefs.h. */
45733 #include <math.h>
45734 #ifdef HAVE_IEEEFP_H
45735 #include <ieeefp.h>
45736 #endif
45739 main ()
45741 _isinfl(0);
45743 return 0;
45745 _ACEOF
45746 if ac_fn_cxx_try_compile "$LINENO"; then :
45747 glibcxx_cv_func__isinfl_use=yes
45748 else
45749 glibcxx_cv_func__isinfl_use=no
45751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45752 ac_ext=c
45753 ac_cpp='$CPP $CPPFLAGS'
45754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45763 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45765 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45766 for ac_func in _isinfl
45767 do :
45768 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45769 if test "x$ac_cv_func__isinfl" = xyes; then :
45770 cat >>confdefs.h <<_ACEOF
45771 #define HAVE__ISINFL 1
45772 _ACEOF
45775 done
45784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45785 $as_echo_n "checking for atan2l declaration... " >&6; }
45786 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45787 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45788 $as_echo_n "(cached) " >&6
45789 else
45792 ac_ext=cpp
45793 ac_cpp='$CXXCPP $CPPFLAGS'
45794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799 /* end confdefs.h. */
45800 #include <math.h>
45802 main ()
45804 atan2l(0, 0);
45806 return 0;
45808 _ACEOF
45809 if ac_fn_cxx_try_compile "$LINENO"; then :
45810 glibcxx_cv_func_atan2l_use=yes
45811 else
45812 glibcxx_cv_func_atan2l_use=no
45814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45815 ac_ext=c
45816 ac_cpp='$CPP $CPPFLAGS'
45817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45826 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45828 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45829 for ac_func in atan2l
45830 do :
45831 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45832 if test "x$ac_cv_func_atan2l" = xyes; then :
45833 cat >>confdefs.h <<_ACEOF
45834 #define HAVE_ATAN2L 1
45835 _ACEOF
45838 done
45840 else
45842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45843 $as_echo_n "checking for _atan2l declaration... " >&6; }
45844 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45845 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45846 $as_echo_n "(cached) " >&6
45847 else
45850 ac_ext=cpp
45851 ac_cpp='$CXXCPP $CPPFLAGS'
45852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45857 /* end confdefs.h. */
45858 #include <math.h>
45860 main ()
45862 _atan2l(0, 0);
45864 return 0;
45866 _ACEOF
45867 if ac_fn_cxx_try_compile "$LINENO"; then :
45868 glibcxx_cv_func__atan2l_use=yes
45869 else
45870 glibcxx_cv_func__atan2l_use=no
45872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45873 ac_ext=c
45874 ac_cpp='$CPP $CPPFLAGS'
45875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45884 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45886 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45887 for ac_func in _atan2l
45888 do :
45889 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45890 if test "x$ac_cv_func__atan2l" = xyes; then :
45891 cat >>confdefs.h <<_ACEOF
45892 #define HAVE__ATAN2L 1
45893 _ACEOF
45896 done
45905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45906 $as_echo_n "checking for expl declaration... " >&6; }
45907 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45908 if ${glibcxx_cv_func_expl_use+:} false; then :
45909 $as_echo_n "(cached) " >&6
45910 else
45913 ac_ext=cpp
45914 ac_cpp='$CXXCPP $CPPFLAGS'
45915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45920 /* end confdefs.h. */
45921 #include <math.h>
45922 #ifdef HAVE_IEEEFP_H
45923 #include <ieeefp.h>
45924 #endif
45927 main ()
45929 expl(0);
45931 return 0;
45933 _ACEOF
45934 if ac_fn_cxx_try_compile "$LINENO"; then :
45935 glibcxx_cv_func_expl_use=yes
45936 else
45937 glibcxx_cv_func_expl_use=no
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940 ac_ext=c
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45951 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45953 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45954 for ac_func in expl
45955 do :
45956 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45957 if test "x$ac_cv_func_expl" = xyes; then :
45958 cat >>confdefs.h <<_ACEOF
45959 #define HAVE_EXPL 1
45960 _ACEOF
45963 done
45965 else
45967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45968 $as_echo_n "checking for _expl declaration... " >&6; }
45969 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45970 if ${glibcxx_cv_func__expl_use+:} false; then :
45971 $as_echo_n "(cached) " >&6
45972 else
45975 ac_ext=cpp
45976 ac_cpp='$CXXCPP $CPPFLAGS'
45977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45982 /* end confdefs.h. */
45983 #include <math.h>
45984 #ifdef HAVE_IEEEFP_H
45985 #include <ieeefp.h>
45986 #endif
45989 main ()
45991 _expl(0);
45993 return 0;
45995 _ACEOF
45996 if ac_fn_cxx_try_compile "$LINENO"; then :
45997 glibcxx_cv_func__expl_use=yes
45998 else
45999 glibcxx_cv_func__expl_use=no
46001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46002 ac_ext=c
46003 ac_cpp='$CPP $CPPFLAGS'
46004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
46013 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
46015 if test x$glibcxx_cv_func__expl_use = x"yes"; then
46016 for ac_func in _expl
46017 do :
46018 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
46019 if test "x$ac_cv_func__expl" = xyes; then :
46020 cat >>confdefs.h <<_ACEOF
46021 #define HAVE__EXPL 1
46022 _ACEOF
46025 done
46034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
46035 $as_echo_n "checking for fabsl declaration... " >&6; }
46036 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46037 if ${glibcxx_cv_func_fabsl_use+:} false; then :
46038 $as_echo_n "(cached) " >&6
46039 else
46042 ac_ext=cpp
46043 ac_cpp='$CXXCPP $CPPFLAGS'
46044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46049 /* end confdefs.h. */
46050 #include <math.h>
46051 #ifdef HAVE_IEEEFP_H
46052 #include <ieeefp.h>
46053 #endif
46056 main ()
46058 fabsl(0);
46060 return 0;
46062 _ACEOF
46063 if ac_fn_cxx_try_compile "$LINENO"; then :
46064 glibcxx_cv_func_fabsl_use=yes
46065 else
46066 glibcxx_cv_func_fabsl_use=no
46068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46069 ac_ext=c
46070 ac_cpp='$CPP $CPPFLAGS'
46071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46080 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46082 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46083 for ac_func in fabsl
46084 do :
46085 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46086 if test "x$ac_cv_func_fabsl" = xyes; then :
46087 cat >>confdefs.h <<_ACEOF
46088 #define HAVE_FABSL 1
46089 _ACEOF
46092 done
46094 else
46096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46097 $as_echo_n "checking for _fabsl declaration... " >&6; }
46098 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46099 if ${glibcxx_cv_func__fabsl_use+:} false; then :
46100 $as_echo_n "(cached) " >&6
46101 else
46104 ac_ext=cpp
46105 ac_cpp='$CXXCPP $CPPFLAGS'
46106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46111 /* end confdefs.h. */
46112 #include <math.h>
46113 #ifdef HAVE_IEEEFP_H
46114 #include <ieeefp.h>
46115 #endif
46118 main ()
46120 _fabsl(0);
46122 return 0;
46124 _ACEOF
46125 if ac_fn_cxx_try_compile "$LINENO"; then :
46126 glibcxx_cv_func__fabsl_use=yes
46127 else
46128 glibcxx_cv_func__fabsl_use=no
46130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46131 ac_ext=c
46132 ac_cpp='$CPP $CPPFLAGS'
46133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46142 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46144 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46145 for ac_func in _fabsl
46146 do :
46147 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46148 if test "x$ac_cv_func__fabsl" = xyes; then :
46149 cat >>confdefs.h <<_ACEOF
46150 #define HAVE__FABSL 1
46151 _ACEOF
46154 done
46163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46164 $as_echo_n "checking for fmodl declaration... " >&6; }
46165 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46166 if ${glibcxx_cv_func_fmodl_use+:} false; then :
46167 $as_echo_n "(cached) " >&6
46168 else
46171 ac_ext=cpp
46172 ac_cpp='$CXXCPP $CPPFLAGS'
46173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46178 /* end confdefs.h. */
46179 #include <math.h>
46181 main ()
46183 fmodl(0, 0);
46185 return 0;
46187 _ACEOF
46188 if ac_fn_cxx_try_compile "$LINENO"; then :
46189 glibcxx_cv_func_fmodl_use=yes
46190 else
46191 glibcxx_cv_func_fmodl_use=no
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194 ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46205 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46207 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46208 for ac_func in fmodl
46209 do :
46210 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46211 if test "x$ac_cv_func_fmodl" = xyes; then :
46212 cat >>confdefs.h <<_ACEOF
46213 #define HAVE_FMODL 1
46214 _ACEOF
46217 done
46219 else
46221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46222 $as_echo_n "checking for _fmodl declaration... " >&6; }
46223 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46224 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46225 $as_echo_n "(cached) " >&6
46226 else
46229 ac_ext=cpp
46230 ac_cpp='$CXXCPP $CPPFLAGS'
46231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46236 /* end confdefs.h. */
46237 #include <math.h>
46239 main ()
46241 _fmodl(0, 0);
46243 return 0;
46245 _ACEOF
46246 if ac_fn_cxx_try_compile "$LINENO"; then :
46247 glibcxx_cv_func__fmodl_use=yes
46248 else
46249 glibcxx_cv_func__fmodl_use=no
46251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46252 ac_ext=c
46253 ac_cpp='$CPP $CPPFLAGS'
46254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46263 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46265 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46266 for ac_func in _fmodl
46267 do :
46268 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46269 if test "x$ac_cv_func__fmodl" = xyes; then :
46270 cat >>confdefs.h <<_ACEOF
46271 #define HAVE__FMODL 1
46272 _ACEOF
46275 done
46284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46285 $as_echo_n "checking for frexpl declaration... " >&6; }
46286 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46287 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46288 $as_echo_n "(cached) " >&6
46289 else
46292 ac_ext=cpp
46293 ac_cpp='$CXXCPP $CPPFLAGS'
46294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46299 /* end confdefs.h. */
46300 #include <math.h>
46302 main ()
46304 frexpl(0, 0);
46306 return 0;
46308 _ACEOF
46309 if ac_fn_cxx_try_compile "$LINENO"; then :
46310 glibcxx_cv_func_frexpl_use=yes
46311 else
46312 glibcxx_cv_func_frexpl_use=no
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315 ac_ext=c
46316 ac_cpp='$CPP $CPPFLAGS'
46317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46326 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46328 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46329 for ac_func in frexpl
46330 do :
46331 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46332 if test "x$ac_cv_func_frexpl" = xyes; then :
46333 cat >>confdefs.h <<_ACEOF
46334 #define HAVE_FREXPL 1
46335 _ACEOF
46338 done
46340 else
46342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46343 $as_echo_n "checking for _frexpl declaration... " >&6; }
46344 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46345 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46346 $as_echo_n "(cached) " >&6
46347 else
46350 ac_ext=cpp
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46357 /* end confdefs.h. */
46358 #include <math.h>
46360 main ()
46362 _frexpl(0, 0);
46364 return 0;
46366 _ACEOF
46367 if ac_fn_cxx_try_compile "$LINENO"; then :
46368 glibcxx_cv_func__frexpl_use=yes
46369 else
46370 glibcxx_cv_func__frexpl_use=no
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46373 ac_ext=c
46374 ac_cpp='$CPP $CPPFLAGS'
46375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46384 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46386 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46387 for ac_func in _frexpl
46388 do :
46389 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46390 if test "x$ac_cv_func__frexpl" = xyes; then :
46391 cat >>confdefs.h <<_ACEOF
46392 #define HAVE__FREXPL 1
46393 _ACEOF
46396 done
46405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46406 $as_echo_n "checking for hypotl declaration... " >&6; }
46407 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46408 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46409 $as_echo_n "(cached) " >&6
46410 else
46413 ac_ext=cpp
46414 ac_cpp='$CXXCPP $CPPFLAGS'
46415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46420 /* end confdefs.h. */
46421 #include <math.h>
46423 main ()
46425 hypotl(0, 0);
46427 return 0;
46429 _ACEOF
46430 if ac_fn_cxx_try_compile "$LINENO"; then :
46431 glibcxx_cv_func_hypotl_use=yes
46432 else
46433 glibcxx_cv_func_hypotl_use=no
46435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46436 ac_ext=c
46437 ac_cpp='$CPP $CPPFLAGS'
46438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46447 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46449 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46450 for ac_func in hypotl
46451 do :
46452 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46453 if test "x$ac_cv_func_hypotl" = xyes; then :
46454 cat >>confdefs.h <<_ACEOF
46455 #define HAVE_HYPOTL 1
46456 _ACEOF
46459 done
46461 else
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46464 $as_echo_n "checking for _hypotl declaration... " >&6; }
46465 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46466 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46467 $as_echo_n "(cached) " >&6
46468 else
46471 ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h. */
46479 #include <math.h>
46481 main ()
46483 _hypotl(0, 0);
46485 return 0;
46487 _ACEOF
46488 if ac_fn_cxx_try_compile "$LINENO"; then :
46489 glibcxx_cv_func__hypotl_use=yes
46490 else
46491 glibcxx_cv_func__hypotl_use=no
46493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46494 ac_ext=c
46495 ac_cpp='$CPP $CPPFLAGS'
46496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46505 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46507 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46508 for ac_func in _hypotl
46509 do :
46510 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46511 if test "x$ac_cv_func__hypotl" = xyes; then :
46512 cat >>confdefs.h <<_ACEOF
46513 #define HAVE__HYPOTL 1
46514 _ACEOF
46517 done
46526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46527 $as_echo_n "checking for ldexpl declaration... " >&6; }
46528 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46529 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46530 $as_echo_n "(cached) " >&6
46531 else
46534 ac_ext=cpp
46535 ac_cpp='$CXXCPP $CPPFLAGS'
46536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46541 /* end confdefs.h. */
46542 #include <math.h>
46544 main ()
46546 ldexpl(0, 0);
46548 return 0;
46550 _ACEOF
46551 if ac_fn_cxx_try_compile "$LINENO"; then :
46552 glibcxx_cv_func_ldexpl_use=yes
46553 else
46554 glibcxx_cv_func_ldexpl_use=no
46556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46557 ac_ext=c
46558 ac_cpp='$CPP $CPPFLAGS'
46559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46568 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46570 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46571 for ac_func in ldexpl
46572 do :
46573 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46574 if test "x$ac_cv_func_ldexpl" = xyes; then :
46575 cat >>confdefs.h <<_ACEOF
46576 #define HAVE_LDEXPL 1
46577 _ACEOF
46580 done
46582 else
46584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46585 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46586 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46587 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46588 $as_echo_n "(cached) " >&6
46589 else
46592 ac_ext=cpp
46593 ac_cpp='$CXXCPP $CPPFLAGS'
46594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46599 /* end confdefs.h. */
46600 #include <math.h>
46602 main ()
46604 _ldexpl(0, 0);
46606 return 0;
46608 _ACEOF
46609 if ac_fn_cxx_try_compile "$LINENO"; then :
46610 glibcxx_cv_func__ldexpl_use=yes
46611 else
46612 glibcxx_cv_func__ldexpl_use=no
46614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46615 ac_ext=c
46616 ac_cpp='$CPP $CPPFLAGS'
46617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46626 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46628 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46629 for ac_func in _ldexpl
46630 do :
46631 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46632 if test "x$ac_cv_func__ldexpl" = xyes; then :
46633 cat >>confdefs.h <<_ACEOF
46634 #define HAVE__LDEXPL 1
46635 _ACEOF
46638 done
46647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46648 $as_echo_n "checking for logl declaration... " >&6; }
46649 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46650 if ${glibcxx_cv_func_logl_use+:} false; then :
46651 $as_echo_n "(cached) " >&6
46652 else
46655 ac_ext=cpp
46656 ac_cpp='$CXXCPP $CPPFLAGS'
46657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46662 /* end confdefs.h. */
46663 #include <math.h>
46664 #ifdef HAVE_IEEEFP_H
46665 #include <ieeefp.h>
46666 #endif
46669 main ()
46671 logl(0);
46673 return 0;
46675 _ACEOF
46676 if ac_fn_cxx_try_compile "$LINENO"; then :
46677 glibcxx_cv_func_logl_use=yes
46678 else
46679 glibcxx_cv_func_logl_use=no
46681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46682 ac_ext=c
46683 ac_cpp='$CPP $CPPFLAGS'
46684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46693 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46695 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46696 for ac_func in logl
46697 do :
46698 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46699 if test "x$ac_cv_func_logl" = xyes; then :
46700 cat >>confdefs.h <<_ACEOF
46701 #define HAVE_LOGL 1
46702 _ACEOF
46705 done
46707 else
46709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46710 $as_echo_n "checking for _logl declaration... " >&6; }
46711 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46712 if ${glibcxx_cv_func__logl_use+:} false; then :
46713 $as_echo_n "(cached) " >&6
46714 else
46717 ac_ext=cpp
46718 ac_cpp='$CXXCPP $CPPFLAGS'
46719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46724 /* end confdefs.h. */
46725 #include <math.h>
46726 #ifdef HAVE_IEEEFP_H
46727 #include <ieeefp.h>
46728 #endif
46731 main ()
46733 _logl(0);
46735 return 0;
46737 _ACEOF
46738 if ac_fn_cxx_try_compile "$LINENO"; then :
46739 glibcxx_cv_func__logl_use=yes
46740 else
46741 glibcxx_cv_func__logl_use=no
46743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46744 ac_ext=c
46745 ac_cpp='$CPP $CPPFLAGS'
46746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46755 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46757 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46758 for ac_func in _logl
46759 do :
46760 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46761 if test "x$ac_cv_func__logl" = xyes; then :
46762 cat >>confdefs.h <<_ACEOF
46763 #define HAVE__LOGL 1
46764 _ACEOF
46767 done
46776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46777 $as_echo_n "checking for log10l declaration... " >&6; }
46778 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46779 if ${glibcxx_cv_func_log10l_use+:} false; then :
46780 $as_echo_n "(cached) " >&6
46781 else
46784 ac_ext=cpp
46785 ac_cpp='$CXXCPP $CPPFLAGS'
46786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46791 /* end confdefs.h. */
46792 #include <math.h>
46793 #ifdef HAVE_IEEEFP_H
46794 #include <ieeefp.h>
46795 #endif
46798 main ()
46800 log10l(0);
46802 return 0;
46804 _ACEOF
46805 if ac_fn_cxx_try_compile "$LINENO"; then :
46806 glibcxx_cv_func_log10l_use=yes
46807 else
46808 glibcxx_cv_func_log10l_use=no
46810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46811 ac_ext=c
46812 ac_cpp='$CPP $CPPFLAGS'
46813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46822 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46824 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46825 for ac_func in log10l
46826 do :
46827 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46828 if test "x$ac_cv_func_log10l" = xyes; then :
46829 cat >>confdefs.h <<_ACEOF
46830 #define HAVE_LOG10L 1
46831 _ACEOF
46834 done
46836 else
46838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46839 $as_echo_n "checking for _log10l declaration... " >&6; }
46840 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46841 if ${glibcxx_cv_func__log10l_use+:} false; then :
46842 $as_echo_n "(cached) " >&6
46843 else
46846 ac_ext=cpp
46847 ac_cpp='$CXXCPP $CPPFLAGS'
46848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46853 /* end confdefs.h. */
46854 #include <math.h>
46855 #ifdef HAVE_IEEEFP_H
46856 #include <ieeefp.h>
46857 #endif
46860 main ()
46862 _log10l(0);
46864 return 0;
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func__log10l_use=yes
46869 else
46870 glibcxx_cv_func__log10l_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46884 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46886 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46887 for ac_func in _log10l
46888 do :
46889 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46890 if test "x$ac_cv_func__log10l" = xyes; then :
46891 cat >>confdefs.h <<_ACEOF
46892 #define HAVE__LOG10L 1
46893 _ACEOF
46896 done
46905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46906 $as_echo_n "checking for modfl declaration... " >&6; }
46907 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46908 if ${glibcxx_cv_func_modfl_use+:} false; then :
46909 $as_echo_n "(cached) " >&6
46910 else
46913 ac_ext=cpp
46914 ac_cpp='$CXXCPP $CPPFLAGS'
46915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46920 /* end confdefs.h. */
46921 #include <math.h>
46923 main ()
46925 modfl(0, 0);
46927 return 0;
46929 _ACEOF
46930 if ac_fn_cxx_try_compile "$LINENO"; then :
46931 glibcxx_cv_func_modfl_use=yes
46932 else
46933 glibcxx_cv_func_modfl_use=no
46935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46936 ac_ext=c
46937 ac_cpp='$CPP $CPPFLAGS'
46938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46947 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46949 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46950 for ac_func in modfl
46951 do :
46952 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46953 if test "x$ac_cv_func_modfl" = xyes; then :
46954 cat >>confdefs.h <<_ACEOF
46955 #define HAVE_MODFL 1
46956 _ACEOF
46959 done
46961 else
46963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46964 $as_echo_n "checking for _modfl declaration... " >&6; }
46965 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46966 if ${glibcxx_cv_func__modfl_use+:} false; then :
46967 $as_echo_n "(cached) " >&6
46968 else
46971 ac_ext=cpp
46972 ac_cpp='$CXXCPP $CPPFLAGS'
46973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978 /* end confdefs.h. */
46979 #include <math.h>
46981 main ()
46983 _modfl(0, 0);
46985 return 0;
46987 _ACEOF
46988 if ac_fn_cxx_try_compile "$LINENO"; then :
46989 glibcxx_cv_func__modfl_use=yes
46990 else
46991 glibcxx_cv_func__modfl_use=no
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994 ac_ext=c
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
47005 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
47007 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47008 for ac_func in _modfl
47009 do :
47010 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
47011 if test "x$ac_cv_func__modfl" = xyes; then :
47012 cat >>confdefs.h <<_ACEOF
47013 #define HAVE__MODFL 1
47014 _ACEOF
47017 done
47026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
47027 $as_echo_n "checking for powl declaration... " >&6; }
47028 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47029 if ${glibcxx_cv_func_powl_use+:} false; then :
47030 $as_echo_n "(cached) " >&6
47031 else
47034 ac_ext=cpp
47035 ac_cpp='$CXXCPP $CPPFLAGS'
47036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47041 /* end confdefs.h. */
47042 #include <math.h>
47044 main ()
47046 powl(0, 0);
47048 return 0;
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052 glibcxx_cv_func_powl_use=yes
47053 else
47054 glibcxx_cv_func_powl_use=no
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47068 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
47070 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47071 for ac_func in powl
47072 do :
47073 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47074 if test "x$ac_cv_func_powl" = xyes; then :
47075 cat >>confdefs.h <<_ACEOF
47076 #define HAVE_POWL 1
47077 _ACEOF
47080 done
47082 else
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47085 $as_echo_n "checking for _powl declaration... " >&6; }
47086 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47087 if ${glibcxx_cv_func__powl_use+:} false; then :
47088 $as_echo_n "(cached) " >&6
47089 else
47092 ac_ext=cpp
47093 ac_cpp='$CXXCPP $CPPFLAGS'
47094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099 /* end confdefs.h. */
47100 #include <math.h>
47102 main ()
47104 _powl(0, 0);
47106 return 0;
47108 _ACEOF
47109 if ac_fn_cxx_try_compile "$LINENO"; then :
47110 glibcxx_cv_func__powl_use=yes
47111 else
47112 glibcxx_cv_func__powl_use=no
47114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47115 ac_ext=c
47116 ac_cpp='$CPP $CPPFLAGS'
47117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47126 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
47128 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47129 for ac_func in _powl
47130 do :
47131 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47132 if test "x$ac_cv_func__powl" = xyes; then :
47133 cat >>confdefs.h <<_ACEOF
47134 #define HAVE__POWL 1
47135 _ACEOF
47138 done
47147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47148 $as_echo_n "checking for sqrtl declaration... " >&6; }
47149 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47150 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47151 $as_echo_n "(cached) " >&6
47152 else
47155 ac_ext=cpp
47156 ac_cpp='$CXXCPP $CPPFLAGS'
47157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47162 /* end confdefs.h. */
47163 #include <math.h>
47164 #ifdef HAVE_IEEEFP_H
47165 #include <ieeefp.h>
47166 #endif
47169 main ()
47171 sqrtl(0);
47173 return 0;
47175 _ACEOF
47176 if ac_fn_cxx_try_compile "$LINENO"; then :
47177 glibcxx_cv_func_sqrtl_use=yes
47178 else
47179 glibcxx_cv_func_sqrtl_use=no
47181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47182 ac_ext=c
47183 ac_cpp='$CPP $CPPFLAGS'
47184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47193 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47195 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47196 for ac_func in sqrtl
47197 do :
47198 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47199 if test "x$ac_cv_func_sqrtl" = xyes; then :
47200 cat >>confdefs.h <<_ACEOF
47201 #define HAVE_SQRTL 1
47202 _ACEOF
47205 done
47207 else
47209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47210 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47211 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47212 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47213 $as_echo_n "(cached) " >&6
47214 else
47217 ac_ext=cpp
47218 ac_cpp='$CXXCPP $CPPFLAGS'
47219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47224 /* end confdefs.h. */
47225 #include <math.h>
47226 #ifdef HAVE_IEEEFP_H
47227 #include <ieeefp.h>
47228 #endif
47231 main ()
47233 _sqrtl(0);
47235 return 0;
47237 _ACEOF
47238 if ac_fn_cxx_try_compile "$LINENO"; then :
47239 glibcxx_cv_func__sqrtl_use=yes
47240 else
47241 glibcxx_cv_func__sqrtl_use=no
47243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47244 ac_ext=c
47245 ac_cpp='$CPP $CPPFLAGS'
47246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47255 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47257 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47258 for ac_func in _sqrtl
47259 do :
47260 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47261 if test "x$ac_cv_func__sqrtl" = xyes; then :
47262 cat >>confdefs.h <<_ACEOF
47263 #define HAVE__SQRTL 1
47264 _ACEOF
47267 done
47276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47277 $as_echo_n "checking for sincosl declaration... " >&6; }
47278 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47279 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47280 $as_echo_n "(cached) " >&6
47281 else
47284 ac_ext=cpp
47285 ac_cpp='$CXXCPP $CPPFLAGS'
47286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47291 /* end confdefs.h. */
47292 #include <math.h>
47294 main ()
47296 sincosl(0, 0, 0);
47298 return 0;
47300 _ACEOF
47301 if ac_fn_cxx_try_compile "$LINENO"; then :
47302 glibcxx_cv_func_sincosl_use=yes
47303 else
47304 glibcxx_cv_func_sincosl_use=no
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307 ac_ext=c
47308 ac_cpp='$CPP $CPPFLAGS'
47309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47318 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47320 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47321 for ac_func in sincosl
47322 do :
47323 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47324 if test "x$ac_cv_func_sincosl" = xyes; then :
47325 cat >>confdefs.h <<_ACEOF
47326 #define HAVE_SINCOSL 1
47327 _ACEOF
47330 done
47332 else
47334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47335 $as_echo_n "checking for _sincosl declaration... " >&6; }
47336 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47337 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47338 $as_echo_n "(cached) " >&6
47339 else
47342 ac_ext=cpp
47343 ac_cpp='$CXXCPP $CPPFLAGS'
47344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47349 /* end confdefs.h. */
47350 #include <math.h>
47352 main ()
47354 _sincosl(0, 0, 0);
47356 return 0;
47358 _ACEOF
47359 if ac_fn_cxx_try_compile "$LINENO"; then :
47360 glibcxx_cv_func__sincosl_use=yes
47361 else
47362 glibcxx_cv_func__sincosl_use=no
47364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47365 ac_ext=c
47366 ac_cpp='$CPP $CPPFLAGS'
47367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47376 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47378 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47379 for ac_func in _sincosl
47380 do :
47381 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47382 if test "x$ac_cv_func__sincosl" = xyes; then :
47383 cat >>confdefs.h <<_ACEOF
47384 #define HAVE__SINCOSL 1
47385 _ACEOF
47388 done
47397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47398 $as_echo_n "checking for finitel declaration... " >&6; }
47399 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47400 if ${glibcxx_cv_func_finitel_use+:} false; then :
47401 $as_echo_n "(cached) " >&6
47402 else
47405 ac_ext=cpp
47406 ac_cpp='$CXXCPP $CPPFLAGS'
47407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412 /* end confdefs.h. */
47413 #include <math.h>
47414 #ifdef HAVE_IEEEFP_H
47415 #include <ieeefp.h>
47416 #endif
47419 main ()
47421 finitel(0);
47423 return 0;
47425 _ACEOF
47426 if ac_fn_cxx_try_compile "$LINENO"; then :
47427 glibcxx_cv_func_finitel_use=yes
47428 else
47429 glibcxx_cv_func_finitel_use=no
47431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47432 ac_ext=c
47433 ac_cpp='$CPP $CPPFLAGS'
47434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47443 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47445 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47446 for ac_func in finitel
47447 do :
47448 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47449 if test "x$ac_cv_func_finitel" = xyes; then :
47450 cat >>confdefs.h <<_ACEOF
47451 #define HAVE_FINITEL 1
47452 _ACEOF
47455 done
47457 else
47459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47460 $as_echo_n "checking for _finitel declaration... " >&6; }
47461 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47462 if ${glibcxx_cv_func__finitel_use+:} false; then :
47463 $as_echo_n "(cached) " >&6
47464 else
47467 ac_ext=cpp
47468 ac_cpp='$CXXCPP $CPPFLAGS'
47469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47474 /* end confdefs.h. */
47475 #include <math.h>
47476 #ifdef HAVE_IEEEFP_H
47477 #include <ieeefp.h>
47478 #endif
47481 main ()
47483 _finitel(0);
47485 return 0;
47487 _ACEOF
47488 if ac_fn_cxx_try_compile "$LINENO"; then :
47489 glibcxx_cv_func__finitel_use=yes
47490 else
47491 glibcxx_cv_func__finitel_use=no
47493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47494 ac_ext=c
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47505 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47507 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47508 for ac_func in _finitel
47509 do :
47510 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47511 if test "x$ac_cv_func__finitel" = xyes; then :
47512 cat >>confdefs.h <<_ACEOF
47513 #define HAVE__FINITEL 1
47514 _ACEOF
47517 done
47525 LIBS="$ac_save_LIBS"
47526 CXXFLAGS="$ac_save_CXXFLAGS"
47529 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47530 ac_save_CXXFLAGS="$CXXFLAGS"
47531 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47535 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47536 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47537 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47538 $as_echo_n "(cached) " >&6
47539 else
47542 ac_ext=cpp
47543 ac_cpp='$CXXCPP $CPPFLAGS'
47544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47549 /* end confdefs.h. */
47550 #include <stdlib.h>
47552 main ()
47554 at_quick_exit(0);
47556 return 0;
47558 _ACEOF
47559 if ac_fn_cxx_try_compile "$LINENO"; then :
47560 glibcxx_cv_func_at_quick_exit_use=yes
47561 else
47562 glibcxx_cv_func_at_quick_exit_use=no
47564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47565 ac_ext=c
47566 ac_cpp='$CPP $CPPFLAGS'
47567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47576 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47577 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47578 for ac_func in at_quick_exit
47579 do :
47580 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47581 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47582 cat >>confdefs.h <<_ACEOF
47583 #define HAVE_AT_QUICK_EXIT 1
47584 _ACEOF
47587 done
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47593 $as_echo_n "checking for quick_exit declaration... " >&6; }
47594 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47595 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47596 $as_echo_n "(cached) " >&6
47597 else
47600 ac_ext=cpp
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47607 /* end confdefs.h. */
47608 #include <stdlib.h>
47610 main ()
47612 quick_exit(0);
47614 return 0;
47616 _ACEOF
47617 if ac_fn_cxx_try_compile "$LINENO"; then :
47618 glibcxx_cv_func_quick_exit_use=yes
47619 else
47620 glibcxx_cv_func_quick_exit_use=no
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623 ac_ext=c
47624 ac_cpp='$CPP $CPPFLAGS'
47625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47634 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47635 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47636 for ac_func in quick_exit
47637 do :
47638 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47639 if test "x$ac_cv_func_quick_exit" = xyes; then :
47640 cat >>confdefs.h <<_ACEOF
47641 #define HAVE_QUICK_EXIT 1
47642 _ACEOF
47645 done
47650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47651 $as_echo_n "checking for strtold declaration... " >&6; }
47652 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47653 if ${glibcxx_cv_func_strtold_use+:} false; then :
47654 $as_echo_n "(cached) " >&6
47655 else
47658 ac_ext=cpp
47659 ac_cpp='$CXXCPP $CPPFLAGS'
47660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47665 /* end confdefs.h. */
47666 #include <stdlib.h>
47668 main ()
47670 strtold(0, 0);
47672 return 0;
47674 _ACEOF
47675 if ac_fn_cxx_try_compile "$LINENO"; then :
47676 glibcxx_cv_func_strtold_use=yes
47677 else
47678 glibcxx_cv_func_strtold_use=no
47680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47681 ac_ext=c
47682 ac_cpp='$CPP $CPPFLAGS'
47683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47692 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47693 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47694 for ac_func in strtold
47695 do :
47696 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47697 if test "x$ac_cv_func_strtold" = xyes; then :
47698 cat >>confdefs.h <<_ACEOF
47699 #define HAVE_STRTOLD 1
47700 _ACEOF
47703 done
47710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47711 $as_echo_n "checking for strtof declaration... " >&6; }
47712 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47713 if ${glibcxx_cv_func_strtof_use+:} false; then :
47714 $as_echo_n "(cached) " >&6
47715 else
47718 ac_ext=cpp
47719 ac_cpp='$CXXCPP $CPPFLAGS'
47720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47725 /* end confdefs.h. */
47726 #include <stdlib.h>
47728 main ()
47730 strtof(0, 0);
47732 return 0;
47734 _ACEOF
47735 if ac_fn_cxx_try_compile "$LINENO"; then :
47736 glibcxx_cv_func_strtof_use=yes
47737 else
47738 glibcxx_cv_func_strtof_use=no
47740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47741 ac_ext=c
47742 ac_cpp='$CPP $CPPFLAGS'
47743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47752 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47753 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47754 for ac_func in strtof
47755 do :
47756 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47757 if test "x$ac_cv_func_strtof" = xyes; then :
47758 cat >>confdefs.h <<_ACEOF
47759 #define HAVE_STRTOF 1
47760 _ACEOF
47763 done
47770 CXXFLAGS="$ac_save_CXXFLAGS"
47774 *djgpp)
47775 # GLIBCXX_CHECK_MATH_SUPPORT
47776 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47778 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47780 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47782 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47784 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47788 *-freebsd*)
47789 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47792 # If we're not using GNU ld, then there's no point in even trying these
47793 # tests. Check for that first. We should have already tested for gld
47794 # by now (in libtool), but require it now just to be safe...
47795 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47796 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47800 # The name set by libtool depends on the version of libtool. Shame on us
47801 # for depending on an impl detail, but c'est la vie. Older versions used
47802 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47803 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47804 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47805 # set (hence we're using an older libtool), then set it.
47806 if test x${with_gnu_ld+set} != xset; then
47807 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47808 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47809 with_gnu_ld=no
47810 else
47811 with_gnu_ld=$ac_cv_prog_gnu_ld
47815 # Start by getting the version number. I think the libtool test already
47816 # does some of this, but throws away the result.
47817 glibcxx_ld_is_gold=no
47818 if test x"$with_gnu_ld" = x"yes"; then
47819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47820 $as_echo_n "checking for ld version... " >&6; }
47822 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47823 glibcxx_ld_is_gold=yes
47825 ldver=`$LD --version 2>/dev/null |
47826 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47828 glibcxx_gnu_ld_version=`echo $ldver | \
47829 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47831 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47834 # Set --gc-sections.
47835 glibcxx_have_gc_sections=no
47836 if test "$glibcxx_ld_is_gold" = "yes"; then
47837 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47838 glibcxx_have_gc_sections=yes
47840 else
47841 glibcxx_gcsections_min_ld=21602
47842 if test x"$with_gnu_ld" = x"yes" &&
47843 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47844 glibcxx_have_gc_sections=yes
47847 if test "$glibcxx_have_gc_sections" = "yes"; then
47848 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47849 # NB: This flag only works reliably after 2.16.1. Configure tests
47850 # for this are difficult, so hard wire a value that should work.
47852 ac_test_CFLAGS="${CFLAGS+set}"
47853 ac_save_CFLAGS="$CFLAGS"
47854 CFLAGS='-Wl,--gc-sections'
47856 # Check for -Wl,--gc-sections
47857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47858 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47859 if test x$gcc_no_link = xyes; then
47860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47863 /* end confdefs.h. */
47864 int one(void) { return 1; }
47865 int two(void) { return 2; }
47868 main ()
47870 two();
47872 return 0;
47874 _ACEOF
47875 if ac_fn_c_try_link "$LINENO"; then :
47876 ac_gcsections=yes
47877 else
47878 ac_gcsections=no
47880 rm -f core conftest.err conftest.$ac_objext \
47881 conftest$ac_exeext conftest.$ac_ext
47882 if test "$ac_gcsections" = "yes"; then
47883 rm -f conftest.c
47884 touch conftest.c
47885 if $CC -c conftest.c; then
47886 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47887 grep "Warning: gc-sections option ignored" > /dev/null; then
47888 ac_gcsections=no
47891 rm -f conftest.c conftest.o conftest
47893 if test "$ac_gcsections" = "yes"; then
47894 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47897 $as_echo "$ac_gcsections" >&6; }
47899 if test "$ac_test_CFLAGS" = set; then
47900 CFLAGS="$ac_save_CFLAGS"
47901 else
47902 # this is the suspicious part
47903 CFLAGS=''
47907 # Set -z,relro.
47908 # Note this is only for shared objects.
47909 ac_ld_relro=no
47910 if test x"$with_gnu_ld" = x"yes"; then
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47912 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47913 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47914 if test -n "$cxx_z_relo"; then
47915 OPT_LDFLAGS="-Wl,-z,relro"
47916 ac_ld_relro=yes
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47919 $as_echo "$ac_ld_relro" >&6; }
47922 # Set linker optimization flags.
47923 if test x"$with_gnu_ld" = x"yes"; then
47924 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47930 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47932 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47934 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47936 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47938 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47940 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47942 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47944 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47946 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47949 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47951 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47953 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47955 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47957 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47959 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47961 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47963 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47965 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47967 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47969 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47971 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47973 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47975 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47977 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47979 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47981 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47983 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47985 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47987 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47989 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47991 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47993 if test x"long_double_math_on_this_cpu" = x"yes"; then
47994 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47996 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47998 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
48001 for ac_func in __cxa_thread_atexit
48002 do :
48003 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
48004 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
48005 cat >>confdefs.h <<_ACEOF
48006 #define HAVE___CXA_THREAD_ATEXIT 1
48007 _ACEOF
48010 done
48012 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
48013 do :
48014 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48015 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48016 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48017 cat >>confdefs.h <<_ACEOF
48018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48019 _ACEOF
48022 done
48024 for ac_func in timespec_get
48025 do :
48026 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
48027 if test "x$ac_cv_func_timespec_get" = xyes; then :
48028 cat >>confdefs.h <<_ACEOF
48029 #define HAVE_TIMESPEC_GET 1
48030 _ACEOF
48033 done
48035 for ac_func in sockatmark
48036 do :
48037 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
48038 if test "x$ac_cv_func_sockatmark" = xyes; then :
48039 cat >>confdefs.h <<_ACEOF
48040 #define HAVE_SOCKATMARK 1
48041 _ACEOF
48044 done
48048 *-fuchsia*)
48049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48053 *-hpux*)
48054 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48057 # If we're not using GNU ld, then there's no point in even trying these
48058 # tests. Check for that first. We should have already tested for gld
48059 # by now (in libtool), but require it now just to be safe...
48060 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48061 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48065 # The name set by libtool depends on the version of libtool. Shame on us
48066 # for depending on an impl detail, but c'est la vie. Older versions used
48067 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48068 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48069 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48070 # set (hence we're using an older libtool), then set it.
48071 if test x${with_gnu_ld+set} != xset; then
48072 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48073 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48074 with_gnu_ld=no
48075 else
48076 with_gnu_ld=$ac_cv_prog_gnu_ld
48080 # Start by getting the version number. I think the libtool test already
48081 # does some of this, but throws away the result.
48082 glibcxx_ld_is_gold=no
48083 if test x"$with_gnu_ld" = x"yes"; then
48084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48085 $as_echo_n "checking for ld version... " >&6; }
48087 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48088 glibcxx_ld_is_gold=yes
48090 ldver=`$LD --version 2>/dev/null |
48091 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48093 glibcxx_gnu_ld_version=`echo $ldver | \
48094 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48096 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48099 # Set --gc-sections.
48100 glibcxx_have_gc_sections=no
48101 if test "$glibcxx_ld_is_gold" = "yes"; then
48102 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48103 glibcxx_have_gc_sections=yes
48105 else
48106 glibcxx_gcsections_min_ld=21602
48107 if test x"$with_gnu_ld" = x"yes" &&
48108 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48109 glibcxx_have_gc_sections=yes
48112 if test "$glibcxx_have_gc_sections" = "yes"; then
48113 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48114 # NB: This flag only works reliably after 2.16.1. Configure tests
48115 # for this are difficult, so hard wire a value that should work.
48117 ac_test_CFLAGS="${CFLAGS+set}"
48118 ac_save_CFLAGS="$CFLAGS"
48119 CFLAGS='-Wl,--gc-sections'
48121 # Check for -Wl,--gc-sections
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48123 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48124 if test x$gcc_no_link = xyes; then
48125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48128 /* end confdefs.h. */
48129 int one(void) { return 1; }
48130 int two(void) { return 2; }
48133 main ()
48135 two();
48137 return 0;
48139 _ACEOF
48140 if ac_fn_c_try_link "$LINENO"; then :
48141 ac_gcsections=yes
48142 else
48143 ac_gcsections=no
48145 rm -f core conftest.err conftest.$ac_objext \
48146 conftest$ac_exeext conftest.$ac_ext
48147 if test "$ac_gcsections" = "yes"; then
48148 rm -f conftest.c
48149 touch conftest.c
48150 if $CC -c conftest.c; then
48151 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48152 grep "Warning: gc-sections option ignored" > /dev/null; then
48153 ac_gcsections=no
48156 rm -f conftest.c conftest.o conftest
48158 if test "$ac_gcsections" = "yes"; then
48159 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48162 $as_echo "$ac_gcsections" >&6; }
48164 if test "$ac_test_CFLAGS" = set; then
48165 CFLAGS="$ac_save_CFLAGS"
48166 else
48167 # this is the suspicious part
48168 CFLAGS=''
48172 # Set -z,relro.
48173 # Note this is only for shared objects.
48174 ac_ld_relro=no
48175 if test x"$with_gnu_ld" = x"yes"; then
48176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48177 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48178 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48179 if test -n "$cxx_z_relo"; then
48180 OPT_LDFLAGS="-Wl,-z,relro"
48181 ac_ld_relro=yes
48183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48184 $as_echo "$ac_ld_relro" >&6; }
48187 # Set linker optimization flags.
48188 if test x"$with_gnu_ld" = x"yes"; then
48189 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48196 # GLIBCXX_CHECK_MATH_SUPPORT
48197 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48199 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48201 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48203 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48205 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48207 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48209 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48211 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48213 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48215 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48217 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48219 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48221 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48223 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48225 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48227 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48229 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48231 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48233 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48235 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48237 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48240 # GLIBCXX_CHECK_STDLIB_SUPPORT
48241 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48246 # Check whether --enable-tls was given.
48247 if test "${enable_tls+set}" = set; then :
48248 enableval=$enable_tls;
48249 case "$enableval" in
48250 yes|no) ;;
48251 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48252 esac
48254 else
48255 enable_tls=yes
48259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48260 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48261 if ${gcc_cv_have_tls+:} false; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48265 if test "$cross_compiling" = yes; then :
48266 if test x$gcc_no_link = xyes; then
48267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h. */
48271 __thread int a; int b; int main() { return a = b; }
48272 _ACEOF
48273 if ac_fn_c_try_link "$LINENO"; then :
48274 chktls_save_LDFLAGS="$LDFLAGS"
48275 case $host in
48276 *-*-linux* | -*-uclinuxfdpic*)
48277 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48279 esac
48280 chktls_save_CFLAGS="$CFLAGS"
48281 CFLAGS="-fPIC $CFLAGS"
48282 if test x$gcc_no_link = xyes; then
48283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48286 /* end confdefs.h. */
48287 int f() { return 0; }
48288 _ACEOF
48289 if ac_fn_c_try_link "$LINENO"; then :
48290 if test x$gcc_no_link = xyes; then
48291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h. */
48295 __thread int a; int b; int f() { return a = b; }
48296 _ACEOF
48297 if ac_fn_c_try_link "$LINENO"; then :
48298 gcc_cv_have_tls=yes
48299 else
48300 gcc_cv_have_tls=no
48302 rm -f core conftest.err conftest.$ac_objext \
48303 conftest$ac_exeext conftest.$ac_ext
48304 else
48305 gcc_cv_have_tls=yes
48307 rm -f core conftest.err conftest.$ac_objext \
48308 conftest$ac_exeext conftest.$ac_ext
48309 CFLAGS="$chktls_save_CFLAGS"
48310 LDFLAGS="$chktls_save_LDFLAGS"
48311 else
48312 gcc_cv_have_tls=no
48314 rm -f core conftest.err conftest.$ac_objext \
48315 conftest$ac_exeext conftest.$ac_ext
48318 else
48319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48320 /* end confdefs.h. */
48321 __thread int a; int b; int main() { return a = b; }
48322 _ACEOF
48323 if ac_fn_c_try_run "$LINENO"; then :
48324 chktls_save_LDFLAGS="$LDFLAGS"
48325 LDFLAGS="-static $LDFLAGS"
48326 if test x$gcc_no_link = xyes; then
48327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48330 /* end confdefs.h. */
48331 int main() { return 0; }
48332 _ACEOF
48333 if ac_fn_c_try_link "$LINENO"; then :
48334 if test "$cross_compiling" = yes; then :
48335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48337 as_fn_error $? "cannot run test program while cross compiling
48338 See \`config.log' for more details" "$LINENO" 5; }
48339 else
48340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48341 /* end confdefs.h. */
48342 __thread int a; int b; int main() { return a = b; }
48343 _ACEOF
48344 if ac_fn_c_try_run "$LINENO"; then :
48345 gcc_cv_have_tls=yes
48346 else
48347 gcc_cv_have_tls=no
48349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48350 conftest.$ac_objext conftest.beam conftest.$ac_ext
48353 else
48354 gcc_cv_have_tls=yes
48356 rm -f core conftest.err conftest.$ac_objext \
48357 conftest$ac_exeext conftest.$ac_ext
48358 LDFLAGS="$chktls_save_LDFLAGS"
48359 if test $gcc_cv_have_tls = yes; then
48360 chktls_save_CFLAGS="$CFLAGS"
48361 thread_CFLAGS=failed
48362 for flag in '' '-pthread' '-lpthread'; do
48363 CFLAGS="$flag $chktls_save_CFLAGS"
48364 if test x$gcc_no_link = xyes; then
48365 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48368 /* end confdefs.h. */
48369 #include <pthread.h>
48370 void *g(void *d) { return NULL; }
48372 main ()
48374 pthread_t t; pthread_create(&t,NULL,g,NULL);
48376 return 0;
48378 _ACEOF
48379 if ac_fn_c_try_link "$LINENO"; then :
48380 thread_CFLAGS="$flag"
48382 rm -f core conftest.err conftest.$ac_objext \
48383 conftest$ac_exeext conftest.$ac_ext
48384 if test "X$thread_CFLAGS" != Xfailed; then
48385 break
48387 done
48388 CFLAGS="$chktls_save_CFLAGS"
48389 if test "X$thread_CFLAGS" != Xfailed; then
48390 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48391 if test "$cross_compiling" = yes; then :
48392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48394 as_fn_error $? "cannot run test program while cross compiling
48395 See \`config.log' for more details" "$LINENO" 5; }
48396 else
48397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48398 /* end confdefs.h. */
48399 #include <pthread.h>
48400 __thread int a;
48401 static int *volatile a_in_other_thread;
48402 static void *
48403 thread_func (void *arg)
48405 a_in_other_thread = &a;
48406 return (void *)0;
48409 main ()
48411 pthread_t thread;
48412 void *thread_retval;
48413 int *volatile a_in_main_thread;
48414 a_in_main_thread = &a;
48415 if (pthread_create (&thread, (pthread_attr_t *)0,
48416 thread_func, (void *)0))
48417 return 0;
48418 if (pthread_join (thread, &thread_retval))
48419 return 0;
48420 return (a_in_other_thread == a_in_main_thread);
48422 return 0;
48424 _ACEOF
48425 if ac_fn_c_try_run "$LINENO"; then :
48426 gcc_cv_have_tls=yes
48427 else
48428 gcc_cv_have_tls=no
48430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48431 conftest.$ac_objext conftest.beam conftest.$ac_ext
48434 CFLAGS="$chktls_save_CFLAGS"
48437 else
48438 gcc_cv_have_tls=no
48440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48441 conftest.$ac_objext conftest.beam conftest.$ac_ext
48445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48446 $as_echo "$gcc_cv_have_tls" >&6; }
48447 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48449 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48452 case "$target" in
48453 *-hpux10*)
48454 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48456 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48458 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48460 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48462 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48465 esac
48467 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48469 # All these tests are for C++; save the language and the compiler flags.
48470 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48471 # found in GLIBCXX_CONFIGURE.
48473 ac_ext=cpp
48474 ac_cpp='$CXXCPP $CPPFLAGS'
48475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48480 ac_save_CXXFLAGS="$CXXFLAGS"
48482 # Check for -ffunction-sections -fdata-sections
48483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48484 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48485 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48487 /* end confdefs.h. */
48488 int foo; void bar() { };
48490 main ()
48494 return 0;
48496 _ACEOF
48497 if ac_fn_cxx_try_compile "$LINENO"; then :
48498 ac_fdsections=yes
48499 else
48500 ac_fdsections=no
48502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48503 if test "$ac_test_CXXFLAGS" = set; then
48504 CXXFLAGS="$ac_save_CXXFLAGS"
48505 else
48506 # this is the suspicious part
48507 CXXFLAGS=''
48509 if test x"$ac_fdsections" = x"yes"; then
48510 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48513 $as_echo "$ac_fdsections" >&6; }
48515 ac_ext=c
48516 ac_cpp='$CPP $CPPFLAGS'
48517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48524 # If we're not using GNU ld, then there's no point in even trying these
48525 # tests. Check for that first. We should have already tested for gld
48526 # by now (in libtool), but require it now just to be safe...
48527 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48528 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48532 # The name set by libtool depends on the version of libtool. Shame on us
48533 # for depending on an impl detail, but c'est la vie. Older versions used
48534 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48535 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48536 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48537 # set (hence we're using an older libtool), then set it.
48538 if test x${with_gnu_ld+set} != xset; then
48539 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48540 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48541 with_gnu_ld=no
48542 else
48543 with_gnu_ld=$ac_cv_prog_gnu_ld
48547 # Start by getting the version number. I think the libtool test already
48548 # does some of this, but throws away the result.
48549 glibcxx_ld_is_gold=no
48550 if test x"$with_gnu_ld" = x"yes"; then
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48552 $as_echo_n "checking for ld version... " >&6; }
48554 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48555 glibcxx_ld_is_gold=yes
48557 ldver=`$LD --version 2>/dev/null |
48558 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48560 glibcxx_gnu_ld_version=`echo $ldver | \
48561 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48563 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48566 # Set --gc-sections.
48567 glibcxx_have_gc_sections=no
48568 if test "$glibcxx_ld_is_gold" = "yes"; then
48569 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48570 glibcxx_have_gc_sections=yes
48572 else
48573 glibcxx_gcsections_min_ld=21602
48574 if test x"$with_gnu_ld" = x"yes" &&
48575 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48576 glibcxx_have_gc_sections=yes
48579 if test "$glibcxx_have_gc_sections" = "yes"; then
48580 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48581 # NB: This flag only works reliably after 2.16.1. Configure tests
48582 # for this are difficult, so hard wire a value that should work.
48584 ac_test_CFLAGS="${CFLAGS+set}"
48585 ac_save_CFLAGS="$CFLAGS"
48586 CFLAGS='-Wl,--gc-sections'
48588 # Check for -Wl,--gc-sections
48589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48590 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48591 if test x$gcc_no_link = xyes; then
48592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48595 /* end confdefs.h. */
48596 int one(void) { return 1; }
48597 int two(void) { return 2; }
48600 main ()
48602 two();
48604 return 0;
48606 _ACEOF
48607 if ac_fn_c_try_link "$LINENO"; then :
48608 ac_gcsections=yes
48609 else
48610 ac_gcsections=no
48612 rm -f core conftest.err conftest.$ac_objext \
48613 conftest$ac_exeext conftest.$ac_ext
48614 if test "$ac_gcsections" = "yes"; then
48615 rm -f conftest.c
48616 touch conftest.c
48617 if $CC -c conftest.c; then
48618 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48619 grep "Warning: gc-sections option ignored" > /dev/null; then
48620 ac_gcsections=no
48623 rm -f conftest.c conftest.o conftest
48625 if test "$ac_gcsections" = "yes"; then
48626 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48629 $as_echo "$ac_gcsections" >&6; }
48631 if test "$ac_test_CFLAGS" = set; then
48632 CFLAGS="$ac_save_CFLAGS"
48633 else
48634 # this is the suspicious part
48635 CFLAGS=''
48639 # Set -z,relro.
48640 # Note this is only for shared objects.
48641 ac_ld_relro=no
48642 if test x"$with_gnu_ld" = x"yes"; then
48643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48644 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48645 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48646 if test -n "$cxx_z_relo"; then
48647 OPT_LDFLAGS="-Wl,-z,relro"
48648 ac_ld_relro=yes
48650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48651 $as_echo "$ac_ld_relro" >&6; }
48654 # Set linker optimization flags.
48655 if test x"$with_gnu_ld" = x"yes"; then
48656 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48663 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48664 ac_save_CXXFLAGS="$CXXFLAGS"
48665 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48668 $as_echo_n "checking for sin in -lm... " >&6; }
48669 if ${ac_cv_lib_m_sin+:} false; then :
48670 $as_echo_n "(cached) " >&6
48671 else
48672 ac_check_lib_save_LIBS=$LIBS
48673 LIBS="-lm $LIBS"
48674 if test x$gcc_no_link = xyes; then
48675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48678 /* end confdefs.h. */
48680 /* Override any GCC internal prototype to avoid an error.
48681 Use char because int might match the return type of a GCC
48682 builtin and then its argument prototype would still apply. */
48683 #ifdef __cplusplus
48684 extern "C"
48685 #endif
48686 char sin ();
48688 main ()
48690 return sin ();
48692 return 0;
48694 _ACEOF
48695 if ac_fn_c_try_link "$LINENO"; then :
48696 ac_cv_lib_m_sin=yes
48697 else
48698 ac_cv_lib_m_sin=no
48700 rm -f core conftest.err conftest.$ac_objext \
48701 conftest$ac_exeext conftest.$ac_ext
48702 LIBS=$ac_check_lib_save_LIBS
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48705 $as_echo "$ac_cv_lib_m_sin" >&6; }
48706 if test "x$ac_cv_lib_m_sin" = xyes; then :
48707 libm="-lm"
48710 ac_save_LIBS="$LIBS"
48711 LIBS="$LIBS $libm"
48715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48716 $as_echo_n "checking for isinf declaration... " >&6; }
48717 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48718 if ${glibcxx_cv_func_isinf_use+:} false; then :
48719 $as_echo_n "(cached) " >&6
48720 else
48723 ac_ext=cpp
48724 ac_cpp='$CXXCPP $CPPFLAGS'
48725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48730 /* end confdefs.h. */
48731 #include <math.h>
48732 #ifdef HAVE_IEEEFP_H
48733 #include <ieeefp.h>
48734 #endif
48737 main ()
48739 isinf(0);
48741 return 0;
48743 _ACEOF
48744 if ac_fn_cxx_try_compile "$LINENO"; then :
48745 glibcxx_cv_func_isinf_use=yes
48746 else
48747 glibcxx_cv_func_isinf_use=no
48749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48750 ac_ext=c
48751 ac_cpp='$CPP $CPPFLAGS'
48752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48761 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48763 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48764 for ac_func in isinf
48765 do :
48766 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48767 if test "x$ac_cv_func_isinf" = xyes; then :
48768 cat >>confdefs.h <<_ACEOF
48769 #define HAVE_ISINF 1
48770 _ACEOF
48773 done
48775 else
48777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48778 $as_echo_n "checking for _isinf declaration... " >&6; }
48779 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48780 if ${glibcxx_cv_func__isinf_use+:} false; then :
48781 $as_echo_n "(cached) " >&6
48782 else
48785 ac_ext=cpp
48786 ac_cpp='$CXXCPP $CPPFLAGS'
48787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48792 /* end confdefs.h. */
48793 #include <math.h>
48794 #ifdef HAVE_IEEEFP_H
48795 #include <ieeefp.h>
48796 #endif
48799 main ()
48801 _isinf(0);
48803 return 0;
48805 _ACEOF
48806 if ac_fn_cxx_try_compile "$LINENO"; then :
48807 glibcxx_cv_func__isinf_use=yes
48808 else
48809 glibcxx_cv_func__isinf_use=no
48811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48812 ac_ext=c
48813 ac_cpp='$CPP $CPPFLAGS'
48814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48823 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48825 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48826 for ac_func in _isinf
48827 do :
48828 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48829 if test "x$ac_cv_func__isinf" = xyes; then :
48830 cat >>confdefs.h <<_ACEOF
48831 #define HAVE__ISINF 1
48832 _ACEOF
48835 done
48844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48845 $as_echo_n "checking for isnan declaration... " >&6; }
48846 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48847 if ${glibcxx_cv_func_isnan_use+:} false; then :
48848 $as_echo_n "(cached) " >&6
48849 else
48852 ac_ext=cpp
48853 ac_cpp='$CXXCPP $CPPFLAGS'
48854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48859 /* end confdefs.h. */
48860 #include <math.h>
48861 #ifdef HAVE_IEEEFP_H
48862 #include <ieeefp.h>
48863 #endif
48866 main ()
48868 isnan(0);
48870 return 0;
48872 _ACEOF
48873 if ac_fn_cxx_try_compile "$LINENO"; then :
48874 glibcxx_cv_func_isnan_use=yes
48875 else
48876 glibcxx_cv_func_isnan_use=no
48878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48879 ac_ext=c
48880 ac_cpp='$CPP $CPPFLAGS'
48881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48890 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48892 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48893 for ac_func in isnan
48894 do :
48895 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48896 if test "x$ac_cv_func_isnan" = xyes; then :
48897 cat >>confdefs.h <<_ACEOF
48898 #define HAVE_ISNAN 1
48899 _ACEOF
48902 done
48904 else
48906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48907 $as_echo_n "checking for _isnan declaration... " >&6; }
48908 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48909 if ${glibcxx_cv_func__isnan_use+:} false; then :
48910 $as_echo_n "(cached) " >&6
48911 else
48914 ac_ext=cpp
48915 ac_cpp='$CXXCPP $CPPFLAGS'
48916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48921 /* end confdefs.h. */
48922 #include <math.h>
48923 #ifdef HAVE_IEEEFP_H
48924 #include <ieeefp.h>
48925 #endif
48928 main ()
48930 _isnan(0);
48932 return 0;
48934 _ACEOF
48935 if ac_fn_cxx_try_compile "$LINENO"; then :
48936 glibcxx_cv_func__isnan_use=yes
48937 else
48938 glibcxx_cv_func__isnan_use=no
48940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48941 ac_ext=c
48942 ac_cpp='$CPP $CPPFLAGS'
48943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48952 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48954 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48955 for ac_func in _isnan
48956 do :
48957 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48958 if test "x$ac_cv_func__isnan" = xyes; then :
48959 cat >>confdefs.h <<_ACEOF
48960 #define HAVE__ISNAN 1
48961 _ACEOF
48964 done
48973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48974 $as_echo_n "checking for finite declaration... " >&6; }
48975 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48976 if ${glibcxx_cv_func_finite_use+:} false; then :
48977 $as_echo_n "(cached) " >&6
48978 else
48981 ac_ext=cpp
48982 ac_cpp='$CXXCPP $CPPFLAGS'
48983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48988 /* end confdefs.h. */
48989 #include <math.h>
48990 #ifdef HAVE_IEEEFP_H
48991 #include <ieeefp.h>
48992 #endif
48995 main ()
48997 finite(0);
48999 return 0;
49001 _ACEOF
49002 if ac_fn_cxx_try_compile "$LINENO"; then :
49003 glibcxx_cv_func_finite_use=yes
49004 else
49005 glibcxx_cv_func_finite_use=no
49007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49008 ac_ext=c
49009 ac_cpp='$CPP $CPPFLAGS'
49010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
49019 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
49021 if test x$glibcxx_cv_func_finite_use = x"yes"; then
49022 for ac_func in finite
49023 do :
49024 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
49025 if test "x$ac_cv_func_finite" = xyes; then :
49026 cat >>confdefs.h <<_ACEOF
49027 #define HAVE_FINITE 1
49028 _ACEOF
49031 done
49033 else
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
49036 $as_echo_n "checking for _finite declaration... " >&6; }
49037 if test x${glibcxx_cv_func__finite_use+set} != xset; then
49038 if ${glibcxx_cv_func__finite_use+:} false; then :
49039 $as_echo_n "(cached) " >&6
49040 else
49043 ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h. */
49051 #include <math.h>
49052 #ifdef HAVE_IEEEFP_H
49053 #include <ieeefp.h>
49054 #endif
49057 main ()
49059 _finite(0);
49061 return 0;
49063 _ACEOF
49064 if ac_fn_cxx_try_compile "$LINENO"; then :
49065 glibcxx_cv_func__finite_use=yes
49066 else
49067 glibcxx_cv_func__finite_use=no
49069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49070 ac_ext=c
49071 ac_cpp='$CPP $CPPFLAGS'
49072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49081 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
49083 if test x$glibcxx_cv_func__finite_use = x"yes"; then
49084 for ac_func in _finite
49085 do :
49086 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49087 if test "x$ac_cv_func__finite" = xyes; then :
49088 cat >>confdefs.h <<_ACEOF
49089 #define HAVE__FINITE 1
49090 _ACEOF
49093 done
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49103 $as_echo_n "checking for sincos declaration... " >&6; }
49104 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49105 if ${glibcxx_cv_func_sincos_use+:} false; then :
49106 $as_echo_n "(cached) " >&6
49107 else
49110 ac_ext=cpp
49111 ac_cpp='$CXXCPP $CPPFLAGS'
49112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49117 /* end confdefs.h. */
49118 #include <math.h>
49120 main ()
49122 sincos(0, 0, 0);
49124 return 0;
49126 _ACEOF
49127 if ac_fn_cxx_try_compile "$LINENO"; then :
49128 glibcxx_cv_func_sincos_use=yes
49129 else
49130 glibcxx_cv_func_sincos_use=no
49132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133 ac_ext=c
49134 ac_cpp='$CPP $CPPFLAGS'
49135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49144 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49146 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49147 for ac_func in sincos
49148 do :
49149 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49150 if test "x$ac_cv_func_sincos" = xyes; then :
49151 cat >>confdefs.h <<_ACEOF
49152 #define HAVE_SINCOS 1
49153 _ACEOF
49156 done
49158 else
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49161 $as_echo_n "checking for _sincos declaration... " >&6; }
49162 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49163 if ${glibcxx_cv_func__sincos_use+:} false; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49178 main ()
49180 _sincos(0, 0, 0);
49182 return 0;
49184 _ACEOF
49185 if ac_fn_cxx_try_compile "$LINENO"; then :
49186 glibcxx_cv_func__sincos_use=yes
49187 else
49188 glibcxx_cv_func__sincos_use=no
49190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191 ac_ext=c
49192 ac_cpp='$CPP $CPPFLAGS'
49193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49202 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49204 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49205 for ac_func in _sincos
49206 do :
49207 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49208 if test "x$ac_cv_func__sincos" = xyes; then :
49209 cat >>confdefs.h <<_ACEOF
49210 #define HAVE__SINCOS 1
49211 _ACEOF
49214 done
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49224 $as_echo_n "checking for fpclass declaration... " >&6; }
49225 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49226 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49227 $as_echo_n "(cached) " >&6
49228 else
49231 ac_ext=cpp
49232 ac_cpp='$CXXCPP $CPPFLAGS'
49233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49238 /* end confdefs.h. */
49239 #include <math.h>
49240 #ifdef HAVE_IEEEFP_H
49241 #include <ieeefp.h>
49242 #endif
49245 main ()
49247 fpclass(0);
49249 return 0;
49251 _ACEOF
49252 if ac_fn_cxx_try_compile "$LINENO"; then :
49253 glibcxx_cv_func_fpclass_use=yes
49254 else
49255 glibcxx_cv_func_fpclass_use=no
49257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49258 ac_ext=c
49259 ac_cpp='$CPP $CPPFLAGS'
49260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49269 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49271 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49272 for ac_func in fpclass
49273 do :
49274 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49275 if test "x$ac_cv_func_fpclass" = xyes; then :
49276 cat >>confdefs.h <<_ACEOF
49277 #define HAVE_FPCLASS 1
49278 _ACEOF
49281 done
49283 else
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49286 $as_echo_n "checking for _fpclass declaration... " >&6; }
49287 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49288 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49289 $as_echo_n "(cached) " >&6
49290 else
49293 ac_ext=cpp
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h. */
49301 #include <math.h>
49302 #ifdef HAVE_IEEEFP_H
49303 #include <ieeefp.h>
49304 #endif
49307 main ()
49309 _fpclass(0);
49311 return 0;
49313 _ACEOF
49314 if ac_fn_cxx_try_compile "$LINENO"; then :
49315 glibcxx_cv_func__fpclass_use=yes
49316 else
49317 glibcxx_cv_func__fpclass_use=no
49319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49320 ac_ext=c
49321 ac_cpp='$CPP $CPPFLAGS'
49322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49331 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49333 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49334 for ac_func in _fpclass
49335 do :
49336 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49337 if test "x$ac_cv_func__fpclass" = xyes; then :
49338 cat >>confdefs.h <<_ACEOF
49339 #define HAVE__FPCLASS 1
49340 _ACEOF
49343 done
49352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49353 $as_echo_n "checking for qfpclass declaration... " >&6; }
49354 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49355 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49356 $as_echo_n "(cached) " >&6
49357 else
49360 ac_ext=cpp
49361 ac_cpp='$CXXCPP $CPPFLAGS'
49362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49367 /* end confdefs.h. */
49368 #include <math.h>
49369 #ifdef HAVE_IEEEFP_H
49370 #include <ieeefp.h>
49371 #endif
49374 main ()
49376 qfpclass(0);
49378 return 0;
49380 _ACEOF
49381 if ac_fn_cxx_try_compile "$LINENO"; then :
49382 glibcxx_cv_func_qfpclass_use=yes
49383 else
49384 glibcxx_cv_func_qfpclass_use=no
49386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49387 ac_ext=c
49388 ac_cpp='$CPP $CPPFLAGS'
49389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49398 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49400 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49401 for ac_func in qfpclass
49402 do :
49403 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49404 if test "x$ac_cv_func_qfpclass" = xyes; then :
49405 cat >>confdefs.h <<_ACEOF
49406 #define HAVE_QFPCLASS 1
49407 _ACEOF
49410 done
49412 else
49414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49415 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49416 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49417 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49418 $as_echo_n "(cached) " >&6
49419 else
49422 ac_ext=cpp
49423 ac_cpp='$CXXCPP $CPPFLAGS'
49424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49429 /* end confdefs.h. */
49430 #include <math.h>
49431 #ifdef HAVE_IEEEFP_H
49432 #include <ieeefp.h>
49433 #endif
49436 main ()
49438 _qfpclass(0);
49440 return 0;
49442 _ACEOF
49443 if ac_fn_cxx_try_compile "$LINENO"; then :
49444 glibcxx_cv_func__qfpclass_use=yes
49445 else
49446 glibcxx_cv_func__qfpclass_use=no
49448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49449 ac_ext=c
49450 ac_cpp='$CPP $CPPFLAGS'
49451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49460 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49462 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49463 for ac_func in _qfpclass
49464 do :
49465 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49466 if test "x$ac_cv_func__qfpclass" = xyes; then :
49467 cat >>confdefs.h <<_ACEOF
49468 #define HAVE__QFPCLASS 1
49469 _ACEOF
49472 done
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49482 $as_echo_n "checking for hypot declaration... " >&6; }
49483 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49484 if ${glibcxx_cv_func_hypot_use+:} false; then :
49485 $as_echo_n "(cached) " >&6
49486 else
49489 ac_ext=cpp
49490 ac_cpp='$CXXCPP $CPPFLAGS'
49491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49496 /* end confdefs.h. */
49497 #include <math.h>
49499 main ()
49501 hypot(0, 0);
49503 return 0;
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func_hypot_use=yes
49508 else
49509 glibcxx_cv_func_hypot_use=no
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512 ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49523 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49525 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49526 for ac_func in hypot
49527 do :
49528 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49529 if test "x$ac_cv_func_hypot" = xyes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE_HYPOT 1
49532 _ACEOF
49535 done
49537 else
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49540 $as_echo_n "checking for _hypot declaration... " >&6; }
49541 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49542 if ${glibcxx_cv_func__hypot_use+:} false; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49557 main ()
49559 _hypot(0, 0);
49561 return 0;
49563 _ACEOF
49564 if ac_fn_cxx_try_compile "$LINENO"; then :
49565 glibcxx_cv_func__hypot_use=yes
49566 else
49567 glibcxx_cv_func__hypot_use=no
49569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49570 ac_ext=c
49571 ac_cpp='$CPP $CPPFLAGS'
49572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49581 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49583 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49584 for ac_func in _hypot
49585 do :
49586 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49587 if test "x$ac_cv_func__hypot" = xyes; then :
49588 cat >>confdefs.h <<_ACEOF
49589 #define HAVE__HYPOT 1
49590 _ACEOF
49593 done
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49603 $as_echo_n "checking for float trig functions... " >&6; }
49604 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49605 $as_echo_n "(cached) " >&6
49606 else
49609 ac_ext=cpp
49610 ac_cpp='$CXXCPP $CPPFLAGS'
49611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49616 /* end confdefs.h. */
49617 #include <math.h>
49619 main ()
49621 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49623 return 0;
49625 _ACEOF
49626 if ac_fn_cxx_try_compile "$LINENO"; then :
49627 glibcxx_cv_func_float_trig_use=yes
49628 else
49629 glibcxx_cv_func_float_trig_use=no
49631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49632 ac_ext=c
49633 ac_cpp='$CPP $CPPFLAGS'
49634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49641 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49642 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49643 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49644 do :
49645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49647 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49648 cat >>confdefs.h <<_ACEOF
49649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49650 _ACEOF
49653 done
49655 else
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49657 $as_echo_n "checking for _float trig functions... " >&6; }
49658 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49659 $as_echo_n "(cached) " >&6
49660 else
49663 ac_ext=cpp
49664 ac_cpp='$CXXCPP $CPPFLAGS'
49665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49670 /* end confdefs.h. */
49671 #include <math.h>
49673 main ()
49675 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49677 return 0;
49679 _ACEOF
49680 if ac_fn_cxx_try_compile "$LINENO"; then :
49681 glibcxx_cv_func__float_trig_use=yes
49682 else
49683 glibcxx_cv_func__float_trig_use=no
49685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49686 ac_ext=c
49687 ac_cpp='$CPP $CPPFLAGS'
49688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49695 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49696 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49697 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49698 do :
49699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49701 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49702 cat >>confdefs.h <<_ACEOF
49703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49704 _ACEOF
49707 done
49716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49717 $as_echo_n "checking for float round functions... " >&6; }
49718 if ${glibcxx_cv_func_float_round_use+:} false; then :
49719 $as_echo_n "(cached) " >&6
49720 else
49723 ac_ext=cpp
49724 ac_cpp='$CXXCPP $CPPFLAGS'
49725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49730 /* end confdefs.h. */
49731 #include <math.h>
49733 main ()
49735 ceilf (0); floorf (0);
49737 return 0;
49739 _ACEOF
49740 if ac_fn_cxx_try_compile "$LINENO"; then :
49741 glibcxx_cv_func_float_round_use=yes
49742 else
49743 glibcxx_cv_func_float_round_use=no
49745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49746 ac_ext=c
49747 ac_cpp='$CPP $CPPFLAGS'
49748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49755 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49756 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49757 for ac_func in ceilf floorf
49758 do :
49759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49761 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49762 cat >>confdefs.h <<_ACEOF
49763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49764 _ACEOF
49767 done
49769 else
49770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49771 $as_echo_n "checking for _float round functions... " >&6; }
49772 if ${glibcxx_cv_func__float_round_use+:} false; then :
49773 $as_echo_n "(cached) " >&6
49774 else
49777 ac_ext=cpp
49778 ac_cpp='$CXXCPP $CPPFLAGS'
49779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49784 /* end confdefs.h. */
49785 #include <math.h>
49787 main ()
49789 _ceilf (0); _floorf (0);
49791 return 0;
49793 _ACEOF
49794 if ac_fn_cxx_try_compile "$LINENO"; then :
49795 glibcxx_cv_func__float_round_use=yes
49796 else
49797 glibcxx_cv_func__float_round_use=no
49799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49800 ac_ext=c
49801 ac_cpp='$CPP $CPPFLAGS'
49802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49809 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49810 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49811 for ac_func in _ceilf _floorf
49812 do :
49813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49818 _ACEOF
49821 done
49831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49832 $as_echo_n "checking for expf declaration... " >&6; }
49833 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49834 if ${glibcxx_cv_func_expf_use+:} false; then :
49835 $as_echo_n "(cached) " >&6
49836 else
49839 ac_ext=cpp
49840 ac_cpp='$CXXCPP $CPPFLAGS'
49841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49846 /* end confdefs.h. */
49847 #include <math.h>
49848 #ifdef HAVE_IEEEFP_H
49849 #include <ieeefp.h>
49850 #endif
49853 main ()
49855 expf(0);
49857 return 0;
49859 _ACEOF
49860 if ac_fn_cxx_try_compile "$LINENO"; then :
49861 glibcxx_cv_func_expf_use=yes
49862 else
49863 glibcxx_cv_func_expf_use=no
49865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49866 ac_ext=c
49867 ac_cpp='$CPP $CPPFLAGS'
49868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49877 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49879 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49880 for ac_func in expf
49881 do :
49882 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49883 if test "x$ac_cv_func_expf" = xyes; then :
49884 cat >>confdefs.h <<_ACEOF
49885 #define HAVE_EXPF 1
49886 _ACEOF
49889 done
49891 else
49893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49894 $as_echo_n "checking for _expf declaration... " >&6; }
49895 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49896 if ${glibcxx_cv_func__expf_use+:} false; then :
49897 $as_echo_n "(cached) " >&6
49898 else
49901 ac_ext=cpp
49902 ac_cpp='$CXXCPP $CPPFLAGS'
49903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49908 /* end confdefs.h. */
49909 #include <math.h>
49910 #ifdef HAVE_IEEEFP_H
49911 #include <ieeefp.h>
49912 #endif
49915 main ()
49917 _expf(0);
49919 return 0;
49921 _ACEOF
49922 if ac_fn_cxx_try_compile "$LINENO"; then :
49923 glibcxx_cv_func__expf_use=yes
49924 else
49925 glibcxx_cv_func__expf_use=no
49927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49928 ac_ext=c
49929 ac_cpp='$CPP $CPPFLAGS'
49930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49939 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49941 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49942 for ac_func in _expf
49943 do :
49944 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49945 if test "x$ac_cv_func__expf" = xyes; then :
49946 cat >>confdefs.h <<_ACEOF
49947 #define HAVE__EXPF 1
49948 _ACEOF
49951 done
49960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49961 $as_echo_n "checking for isnanf declaration... " >&6; }
49962 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49963 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49964 $as_echo_n "(cached) " >&6
49965 else
49968 ac_ext=cpp
49969 ac_cpp='$CXXCPP $CPPFLAGS'
49970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49975 /* end confdefs.h. */
49976 #include <math.h>
49977 #ifdef HAVE_IEEEFP_H
49978 #include <ieeefp.h>
49979 #endif
49982 main ()
49984 isnanf(0);
49986 return 0;
49988 _ACEOF
49989 if ac_fn_cxx_try_compile "$LINENO"; then :
49990 glibcxx_cv_func_isnanf_use=yes
49991 else
49992 glibcxx_cv_func_isnanf_use=no
49994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49995 ac_ext=c
49996 ac_cpp='$CPP $CPPFLAGS'
49997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
50006 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
50008 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50009 for ac_func in isnanf
50010 do :
50011 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
50012 if test "x$ac_cv_func_isnanf" = xyes; then :
50013 cat >>confdefs.h <<_ACEOF
50014 #define HAVE_ISNANF 1
50015 _ACEOF
50018 done
50020 else
50022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
50023 $as_echo_n "checking for _isnanf declaration... " >&6; }
50024 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50025 if ${glibcxx_cv_func__isnanf_use+:} false; then :
50026 $as_echo_n "(cached) " >&6
50027 else
50030 ac_ext=cpp
50031 ac_cpp='$CXXCPP $CPPFLAGS'
50032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50037 /* end confdefs.h. */
50038 #include <math.h>
50039 #ifdef HAVE_IEEEFP_H
50040 #include <ieeefp.h>
50041 #endif
50044 main ()
50046 _isnanf(0);
50048 return 0;
50050 _ACEOF
50051 if ac_fn_cxx_try_compile "$LINENO"; then :
50052 glibcxx_cv_func__isnanf_use=yes
50053 else
50054 glibcxx_cv_func__isnanf_use=no
50056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50057 ac_ext=c
50058 ac_cpp='$CPP $CPPFLAGS'
50059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50068 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50070 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50071 for ac_func in _isnanf
50072 do :
50073 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50074 if test "x$ac_cv_func__isnanf" = xyes; then :
50075 cat >>confdefs.h <<_ACEOF
50076 #define HAVE__ISNANF 1
50077 _ACEOF
50080 done
50089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50090 $as_echo_n "checking for isinff declaration... " >&6; }
50091 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50092 if ${glibcxx_cv_func_isinff_use+:} false; then :
50093 $as_echo_n "(cached) " >&6
50094 else
50097 ac_ext=cpp
50098 ac_cpp='$CXXCPP $CPPFLAGS'
50099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50104 /* end confdefs.h. */
50105 #include <math.h>
50106 #ifdef HAVE_IEEEFP_H
50107 #include <ieeefp.h>
50108 #endif
50111 main ()
50113 isinff(0);
50115 return 0;
50117 _ACEOF
50118 if ac_fn_cxx_try_compile "$LINENO"; then :
50119 glibcxx_cv_func_isinff_use=yes
50120 else
50121 glibcxx_cv_func_isinff_use=no
50123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50124 ac_ext=c
50125 ac_cpp='$CPP $CPPFLAGS'
50126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
50135 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50137 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50138 for ac_func in isinff
50139 do :
50140 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50141 if test "x$ac_cv_func_isinff" = xyes; then :
50142 cat >>confdefs.h <<_ACEOF
50143 #define HAVE_ISINFF 1
50144 _ACEOF
50147 done
50149 else
50151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50152 $as_echo_n "checking for _isinff declaration... " >&6; }
50153 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50154 if ${glibcxx_cv_func__isinff_use+:} false; then :
50155 $as_echo_n "(cached) " >&6
50156 else
50159 ac_ext=cpp
50160 ac_cpp='$CXXCPP $CPPFLAGS'
50161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50166 /* end confdefs.h. */
50167 #include <math.h>
50168 #ifdef HAVE_IEEEFP_H
50169 #include <ieeefp.h>
50170 #endif
50173 main ()
50175 _isinff(0);
50177 return 0;
50179 _ACEOF
50180 if ac_fn_cxx_try_compile "$LINENO"; then :
50181 glibcxx_cv_func__isinff_use=yes
50182 else
50183 glibcxx_cv_func__isinff_use=no
50185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50186 ac_ext=c
50187 ac_cpp='$CPP $CPPFLAGS'
50188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50197 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50199 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50200 for ac_func in _isinff
50201 do :
50202 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50203 if test "x$ac_cv_func__isinff" = xyes; then :
50204 cat >>confdefs.h <<_ACEOF
50205 #define HAVE__ISINFF 1
50206 _ACEOF
50209 done
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50219 $as_echo_n "checking for atan2f declaration... " >&6; }
50220 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50221 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50222 $as_echo_n "(cached) " >&6
50223 else
50226 ac_ext=cpp
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h. */
50234 #include <math.h>
50236 main ()
50238 atan2f(0, 0);
50240 return 0;
50242 _ACEOF
50243 if ac_fn_cxx_try_compile "$LINENO"; then :
50244 glibcxx_cv_func_atan2f_use=yes
50245 else
50246 glibcxx_cv_func_atan2f_use=no
50248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50249 ac_ext=c
50250 ac_cpp='$CPP $CPPFLAGS'
50251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50260 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50262 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50263 for ac_func in atan2f
50264 do :
50265 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50266 if test "x$ac_cv_func_atan2f" = xyes; then :
50267 cat >>confdefs.h <<_ACEOF
50268 #define HAVE_ATAN2F 1
50269 _ACEOF
50272 done
50274 else
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50277 $as_echo_n "checking for _atan2f declaration... " >&6; }
50278 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50279 if ${glibcxx_cv_func__atan2f_use+:} false; then :
50280 $as_echo_n "(cached) " >&6
50281 else
50284 ac_ext=cpp
50285 ac_cpp='$CXXCPP $CPPFLAGS'
50286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50291 /* end confdefs.h. */
50292 #include <math.h>
50294 main ()
50296 _atan2f(0, 0);
50298 return 0;
50300 _ACEOF
50301 if ac_fn_cxx_try_compile "$LINENO"; then :
50302 glibcxx_cv_func__atan2f_use=yes
50303 else
50304 glibcxx_cv_func__atan2f_use=no
50306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50307 ac_ext=c
50308 ac_cpp='$CPP $CPPFLAGS'
50309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50318 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50320 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50321 for ac_func in _atan2f
50322 do :
50323 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50324 if test "x$ac_cv_func__atan2f" = xyes; then :
50325 cat >>confdefs.h <<_ACEOF
50326 #define HAVE__ATAN2F 1
50327 _ACEOF
50330 done
50339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50340 $as_echo_n "checking for fabsf declaration... " >&6; }
50341 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50342 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50343 $as_echo_n "(cached) " >&6
50344 else
50347 ac_ext=cpp
50348 ac_cpp='$CXXCPP $CPPFLAGS'
50349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50354 /* end confdefs.h. */
50355 #include <math.h>
50356 #ifdef HAVE_IEEEFP_H
50357 #include <ieeefp.h>
50358 #endif
50361 main ()
50363 fabsf(0);
50365 return 0;
50367 _ACEOF
50368 if ac_fn_cxx_try_compile "$LINENO"; then :
50369 glibcxx_cv_func_fabsf_use=yes
50370 else
50371 glibcxx_cv_func_fabsf_use=no
50373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50374 ac_ext=c
50375 ac_cpp='$CPP $CPPFLAGS'
50376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50385 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50387 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50388 for ac_func in fabsf
50389 do :
50390 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50391 if test "x$ac_cv_func_fabsf" = xyes; then :
50392 cat >>confdefs.h <<_ACEOF
50393 #define HAVE_FABSF 1
50394 _ACEOF
50397 done
50399 else
50401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50402 $as_echo_n "checking for _fabsf declaration... " >&6; }
50403 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50404 if ${glibcxx_cv_func__fabsf_use+:} false; then :
50405 $as_echo_n "(cached) " >&6
50406 else
50409 ac_ext=cpp
50410 ac_cpp='$CXXCPP $CPPFLAGS'
50411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50416 /* end confdefs.h. */
50417 #include <math.h>
50418 #ifdef HAVE_IEEEFP_H
50419 #include <ieeefp.h>
50420 #endif
50423 main ()
50425 _fabsf(0);
50427 return 0;
50429 _ACEOF
50430 if ac_fn_cxx_try_compile "$LINENO"; then :
50431 glibcxx_cv_func__fabsf_use=yes
50432 else
50433 glibcxx_cv_func__fabsf_use=no
50435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50436 ac_ext=c
50437 ac_cpp='$CPP $CPPFLAGS'
50438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50447 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50449 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50450 for ac_func in _fabsf
50451 do :
50452 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50453 if test "x$ac_cv_func__fabsf" = xyes; then :
50454 cat >>confdefs.h <<_ACEOF
50455 #define HAVE__FABSF 1
50456 _ACEOF
50459 done
50468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50469 $as_echo_n "checking for fmodf declaration... " >&6; }
50470 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50471 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50472 $as_echo_n "(cached) " >&6
50473 else
50476 ac_ext=cpp
50477 ac_cpp='$CXXCPP $CPPFLAGS'
50478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50483 /* end confdefs.h. */
50484 #include <math.h>
50486 main ()
50488 fmodf(0, 0);
50490 return 0;
50492 _ACEOF
50493 if ac_fn_cxx_try_compile "$LINENO"; then :
50494 glibcxx_cv_func_fmodf_use=yes
50495 else
50496 glibcxx_cv_func_fmodf_use=no
50498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50499 ac_ext=c
50500 ac_cpp='$CPP $CPPFLAGS'
50501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50510 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50512 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50513 for ac_func in fmodf
50514 do :
50515 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50516 if test "x$ac_cv_func_fmodf" = xyes; then :
50517 cat >>confdefs.h <<_ACEOF
50518 #define HAVE_FMODF 1
50519 _ACEOF
50522 done
50524 else
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50527 $as_echo_n "checking for _fmodf declaration... " >&6; }
50528 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50529 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50530 $as_echo_n "(cached) " >&6
50531 else
50534 ac_ext=cpp
50535 ac_cpp='$CXXCPP $CPPFLAGS'
50536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h. */
50542 #include <math.h>
50544 main ()
50546 _fmodf(0, 0);
50548 return 0;
50550 _ACEOF
50551 if ac_fn_cxx_try_compile "$LINENO"; then :
50552 glibcxx_cv_func__fmodf_use=yes
50553 else
50554 glibcxx_cv_func__fmodf_use=no
50556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50557 ac_ext=c
50558 ac_cpp='$CPP $CPPFLAGS'
50559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50568 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50570 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50571 for ac_func in _fmodf
50572 do :
50573 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50574 if test "x$ac_cv_func__fmodf" = xyes; then :
50575 cat >>confdefs.h <<_ACEOF
50576 #define HAVE__FMODF 1
50577 _ACEOF
50580 done
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50590 $as_echo_n "checking for frexpf declaration... " >&6; }
50591 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50592 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50593 $as_echo_n "(cached) " >&6
50594 else
50597 ac_ext=cpp
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h. */
50605 #include <math.h>
50607 main ()
50609 frexpf(0, 0);
50611 return 0;
50613 _ACEOF
50614 if ac_fn_cxx_try_compile "$LINENO"; then :
50615 glibcxx_cv_func_frexpf_use=yes
50616 else
50617 glibcxx_cv_func_frexpf_use=no
50619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50620 ac_ext=c
50621 ac_cpp='$CPP $CPPFLAGS'
50622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50631 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50633 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50634 for ac_func in frexpf
50635 do :
50636 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50637 if test "x$ac_cv_func_frexpf" = xyes; then :
50638 cat >>confdefs.h <<_ACEOF
50639 #define HAVE_FREXPF 1
50640 _ACEOF
50643 done
50645 else
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50648 $as_echo_n "checking for _frexpf declaration... " >&6; }
50649 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50650 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50651 $as_echo_n "(cached) " >&6
50652 else
50655 ac_ext=cpp
50656 ac_cpp='$CXXCPP $CPPFLAGS'
50657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662 /* end confdefs.h. */
50663 #include <math.h>
50665 main ()
50667 _frexpf(0, 0);
50669 return 0;
50671 _ACEOF
50672 if ac_fn_cxx_try_compile "$LINENO"; then :
50673 glibcxx_cv_func__frexpf_use=yes
50674 else
50675 glibcxx_cv_func__frexpf_use=no
50677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50678 ac_ext=c
50679 ac_cpp='$CPP $CPPFLAGS'
50680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50689 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50691 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50692 for ac_func in _frexpf
50693 do :
50694 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50695 if test "x$ac_cv_func__frexpf" = xyes; then :
50696 cat >>confdefs.h <<_ACEOF
50697 #define HAVE__FREXPF 1
50698 _ACEOF
50701 done
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50711 $as_echo_n "checking for hypotf declaration... " >&6; }
50712 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50713 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50714 $as_echo_n "(cached) " >&6
50715 else
50718 ac_ext=cpp
50719 ac_cpp='$CXXCPP $CPPFLAGS'
50720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725 /* end confdefs.h. */
50726 #include <math.h>
50728 main ()
50730 hypotf(0, 0);
50732 return 0;
50734 _ACEOF
50735 if ac_fn_cxx_try_compile "$LINENO"; then :
50736 glibcxx_cv_func_hypotf_use=yes
50737 else
50738 glibcxx_cv_func_hypotf_use=no
50740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50741 ac_ext=c
50742 ac_cpp='$CPP $CPPFLAGS'
50743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50752 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50754 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50755 for ac_func in hypotf
50756 do :
50757 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50758 if test "x$ac_cv_func_hypotf" = xyes; then :
50759 cat >>confdefs.h <<_ACEOF
50760 #define HAVE_HYPOTF 1
50761 _ACEOF
50764 done
50766 else
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50769 $as_echo_n "checking for _hypotf declaration... " >&6; }
50770 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50771 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50772 $as_echo_n "(cached) " >&6
50773 else
50776 ac_ext=cpp
50777 ac_cpp='$CXXCPP $CPPFLAGS'
50778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50783 /* end confdefs.h. */
50784 #include <math.h>
50786 main ()
50788 _hypotf(0, 0);
50790 return 0;
50792 _ACEOF
50793 if ac_fn_cxx_try_compile "$LINENO"; then :
50794 glibcxx_cv_func__hypotf_use=yes
50795 else
50796 glibcxx_cv_func__hypotf_use=no
50798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50799 ac_ext=c
50800 ac_cpp='$CPP $CPPFLAGS'
50801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50810 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50812 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50813 for ac_func in _hypotf
50814 do :
50815 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50816 if test "x$ac_cv_func__hypotf" = xyes; then :
50817 cat >>confdefs.h <<_ACEOF
50818 #define HAVE__HYPOTF 1
50819 _ACEOF
50822 done
50831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50832 $as_echo_n "checking for ldexpf declaration... " >&6; }
50833 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50834 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50835 $as_echo_n "(cached) " >&6
50836 else
50839 ac_ext=cpp
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50846 /* end confdefs.h. */
50847 #include <math.h>
50849 main ()
50851 ldexpf(0, 0);
50853 return 0;
50855 _ACEOF
50856 if ac_fn_cxx_try_compile "$LINENO"; then :
50857 glibcxx_cv_func_ldexpf_use=yes
50858 else
50859 glibcxx_cv_func_ldexpf_use=no
50861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50862 ac_ext=c
50863 ac_cpp='$CPP $CPPFLAGS'
50864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50873 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50875 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50876 for ac_func in ldexpf
50877 do :
50878 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50879 if test "x$ac_cv_func_ldexpf" = xyes; then :
50880 cat >>confdefs.h <<_ACEOF
50881 #define HAVE_LDEXPF 1
50882 _ACEOF
50885 done
50887 else
50889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50890 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50891 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50892 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50893 $as_echo_n "(cached) " >&6
50894 else
50897 ac_ext=cpp
50898 ac_cpp='$CXXCPP $CPPFLAGS'
50899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50904 /* end confdefs.h. */
50905 #include <math.h>
50907 main ()
50909 _ldexpf(0, 0);
50911 return 0;
50913 _ACEOF
50914 if ac_fn_cxx_try_compile "$LINENO"; then :
50915 glibcxx_cv_func__ldexpf_use=yes
50916 else
50917 glibcxx_cv_func__ldexpf_use=no
50919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50920 ac_ext=c
50921 ac_cpp='$CPP $CPPFLAGS'
50922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50931 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50933 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50934 for ac_func in _ldexpf
50935 do :
50936 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50937 if test "x$ac_cv_func__ldexpf" = xyes; then :
50938 cat >>confdefs.h <<_ACEOF
50939 #define HAVE__LDEXPF 1
50940 _ACEOF
50943 done
50952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50953 $as_echo_n "checking for logf declaration... " >&6; }
50954 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50955 if ${glibcxx_cv_func_logf_use+:} false; then :
50956 $as_echo_n "(cached) " >&6
50957 else
50960 ac_ext=cpp
50961 ac_cpp='$CXXCPP $CPPFLAGS'
50962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50967 /* end confdefs.h. */
50968 #include <math.h>
50969 #ifdef HAVE_IEEEFP_H
50970 #include <ieeefp.h>
50971 #endif
50974 main ()
50976 logf(0);
50978 return 0;
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982 glibcxx_cv_func_logf_use=yes
50983 else
50984 glibcxx_cv_func_logf_use=no
50986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987 ac_ext=c
50988 ac_cpp='$CPP $CPPFLAGS'
50989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50998 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
51000 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51001 for ac_func in logf
51002 do :
51003 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
51004 if test "x$ac_cv_func_logf" = xyes; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define HAVE_LOGF 1
51007 _ACEOF
51010 done
51012 else
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
51015 $as_echo_n "checking for _logf declaration... " >&6; }
51016 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51017 if ${glibcxx_cv_func__logf_use+:} false; then :
51018 $as_echo_n "(cached) " >&6
51019 else
51022 ac_ext=cpp
51023 ac_cpp='$CXXCPP $CPPFLAGS'
51024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51029 /* end confdefs.h. */
51030 #include <math.h>
51031 #ifdef HAVE_IEEEFP_H
51032 #include <ieeefp.h>
51033 #endif
51036 main ()
51038 _logf(0);
51040 return 0;
51042 _ACEOF
51043 if ac_fn_cxx_try_compile "$LINENO"; then :
51044 glibcxx_cv_func__logf_use=yes
51045 else
51046 glibcxx_cv_func__logf_use=no
51048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51049 ac_ext=c
51050 ac_cpp='$CPP $CPPFLAGS'
51051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51060 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
51062 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51063 for ac_func in _logf
51064 do :
51065 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51066 if test "x$ac_cv_func__logf" = xyes; then :
51067 cat >>confdefs.h <<_ACEOF
51068 #define HAVE__LOGF 1
51069 _ACEOF
51072 done
51081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51082 $as_echo_n "checking for log10f declaration... " >&6; }
51083 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51084 if ${glibcxx_cv_func_log10f_use+:} false; then :
51085 $as_echo_n "(cached) " >&6
51086 else
51089 ac_ext=cpp
51090 ac_cpp='$CXXCPP $CPPFLAGS'
51091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51096 /* end confdefs.h. */
51097 #include <math.h>
51098 #ifdef HAVE_IEEEFP_H
51099 #include <ieeefp.h>
51100 #endif
51103 main ()
51105 log10f(0);
51107 return 0;
51109 _ACEOF
51110 if ac_fn_cxx_try_compile "$LINENO"; then :
51111 glibcxx_cv_func_log10f_use=yes
51112 else
51113 glibcxx_cv_func_log10f_use=no
51115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51116 ac_ext=c
51117 ac_cpp='$CPP $CPPFLAGS'
51118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
51127 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51129 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51130 for ac_func in log10f
51131 do :
51132 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51133 if test "x$ac_cv_func_log10f" = xyes; then :
51134 cat >>confdefs.h <<_ACEOF
51135 #define HAVE_LOG10F 1
51136 _ACEOF
51139 done
51141 else
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51144 $as_echo_n "checking for _log10f declaration... " >&6; }
51145 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51146 if ${glibcxx_cv_func__log10f_use+:} false; then :
51147 $as_echo_n "(cached) " >&6
51148 else
51151 ac_ext=cpp
51152 ac_cpp='$CXXCPP $CPPFLAGS'
51153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51158 /* end confdefs.h. */
51159 #include <math.h>
51160 #ifdef HAVE_IEEEFP_H
51161 #include <ieeefp.h>
51162 #endif
51165 main ()
51167 _log10f(0);
51169 return 0;
51171 _ACEOF
51172 if ac_fn_cxx_try_compile "$LINENO"; then :
51173 glibcxx_cv_func__log10f_use=yes
51174 else
51175 glibcxx_cv_func__log10f_use=no
51177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51178 ac_ext=c
51179 ac_cpp='$CPP $CPPFLAGS'
51180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51189 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51191 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51192 for ac_func in _log10f
51193 do :
51194 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51195 if test "x$ac_cv_func__log10f" = xyes; then :
51196 cat >>confdefs.h <<_ACEOF
51197 #define HAVE__LOG10F 1
51198 _ACEOF
51201 done
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51211 $as_echo_n "checking for modff declaration... " >&6; }
51212 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51213 if ${glibcxx_cv_func_modff_use+:} false; then :
51214 $as_echo_n "(cached) " >&6
51215 else
51218 ac_ext=cpp
51219 ac_cpp='$CXXCPP $CPPFLAGS'
51220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51225 /* end confdefs.h. */
51226 #include <math.h>
51228 main ()
51230 modff(0, 0);
51232 return 0;
51234 _ACEOF
51235 if ac_fn_cxx_try_compile "$LINENO"; then :
51236 glibcxx_cv_func_modff_use=yes
51237 else
51238 glibcxx_cv_func_modff_use=no
51240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51241 ac_ext=c
51242 ac_cpp='$CPP $CPPFLAGS'
51243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51252 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51254 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51255 for ac_func in modff
51256 do :
51257 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51258 if test "x$ac_cv_func_modff" = xyes; then :
51259 cat >>confdefs.h <<_ACEOF
51260 #define HAVE_MODFF 1
51261 _ACEOF
51264 done
51266 else
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51269 $as_echo_n "checking for _modff declaration... " >&6; }
51270 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51271 if ${glibcxx_cv_func__modff_use+:} false; then :
51272 $as_echo_n "(cached) " >&6
51273 else
51276 ac_ext=cpp
51277 ac_cpp='$CXXCPP $CPPFLAGS'
51278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51283 /* end confdefs.h. */
51284 #include <math.h>
51286 main ()
51288 _modff(0, 0);
51290 return 0;
51292 _ACEOF
51293 if ac_fn_cxx_try_compile "$LINENO"; then :
51294 glibcxx_cv_func__modff_use=yes
51295 else
51296 glibcxx_cv_func__modff_use=no
51298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51299 ac_ext=c
51300 ac_cpp='$CPP $CPPFLAGS'
51301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51310 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51312 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51313 for ac_func in _modff
51314 do :
51315 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51316 if test "x$ac_cv_func__modff" = xyes; then :
51317 cat >>confdefs.h <<_ACEOF
51318 #define HAVE__MODFF 1
51319 _ACEOF
51322 done
51331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51332 $as_echo_n "checking for modf declaration... " >&6; }
51333 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51334 if ${glibcxx_cv_func_modf_use+:} false; then :
51335 $as_echo_n "(cached) " >&6
51336 else
51339 ac_ext=cpp
51340 ac_cpp='$CXXCPP $CPPFLAGS'
51341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51346 /* end confdefs.h. */
51347 #include <math.h>
51349 main ()
51351 modf(0, 0);
51353 return 0;
51355 _ACEOF
51356 if ac_fn_cxx_try_compile "$LINENO"; then :
51357 glibcxx_cv_func_modf_use=yes
51358 else
51359 glibcxx_cv_func_modf_use=no
51361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51362 ac_ext=c
51363 ac_cpp='$CPP $CPPFLAGS'
51364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51373 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51375 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51376 for ac_func in modf
51377 do :
51378 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51379 if test "x$ac_cv_func_modf" = xyes; then :
51380 cat >>confdefs.h <<_ACEOF
51381 #define HAVE_MODF 1
51382 _ACEOF
51385 done
51387 else
51389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51390 $as_echo_n "checking for _modf declaration... " >&6; }
51391 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51392 if ${glibcxx_cv_func__modf_use+:} false; then :
51393 $as_echo_n "(cached) " >&6
51394 else
51397 ac_ext=cpp
51398 ac_cpp='$CXXCPP $CPPFLAGS'
51399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51404 /* end confdefs.h. */
51405 #include <math.h>
51407 main ()
51409 _modf(0, 0);
51411 return 0;
51413 _ACEOF
51414 if ac_fn_cxx_try_compile "$LINENO"; then :
51415 glibcxx_cv_func__modf_use=yes
51416 else
51417 glibcxx_cv_func__modf_use=no
51419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51420 ac_ext=c
51421 ac_cpp='$CPP $CPPFLAGS'
51422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51431 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51433 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51434 for ac_func in _modf
51435 do :
51436 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51437 if test "x$ac_cv_func__modf" = xyes; then :
51438 cat >>confdefs.h <<_ACEOF
51439 #define HAVE__MODF 1
51440 _ACEOF
51443 done
51452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51453 $as_echo_n "checking for powf declaration... " >&6; }
51454 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51455 if ${glibcxx_cv_func_powf_use+:} false; then :
51456 $as_echo_n "(cached) " >&6
51457 else
51460 ac_ext=cpp
51461 ac_cpp='$CXXCPP $CPPFLAGS'
51462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51467 /* end confdefs.h. */
51468 #include <math.h>
51470 main ()
51472 powf(0, 0);
51474 return 0;
51476 _ACEOF
51477 if ac_fn_cxx_try_compile "$LINENO"; then :
51478 glibcxx_cv_func_powf_use=yes
51479 else
51480 glibcxx_cv_func_powf_use=no
51482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51483 ac_ext=c
51484 ac_cpp='$CPP $CPPFLAGS'
51485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51494 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51496 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51497 for ac_func in powf
51498 do :
51499 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51500 if test "x$ac_cv_func_powf" = xyes; then :
51501 cat >>confdefs.h <<_ACEOF
51502 #define HAVE_POWF 1
51503 _ACEOF
51506 done
51508 else
51510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51511 $as_echo_n "checking for _powf declaration... " >&6; }
51512 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51513 if ${glibcxx_cv_func__powf_use+:} false; then :
51514 $as_echo_n "(cached) " >&6
51515 else
51518 ac_ext=cpp
51519 ac_cpp='$CXXCPP $CPPFLAGS'
51520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h. */
51526 #include <math.h>
51528 main ()
51530 _powf(0, 0);
51532 return 0;
51534 _ACEOF
51535 if ac_fn_cxx_try_compile "$LINENO"; then :
51536 glibcxx_cv_func__powf_use=yes
51537 else
51538 glibcxx_cv_func__powf_use=no
51540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51541 ac_ext=c
51542 ac_cpp='$CPP $CPPFLAGS'
51543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51552 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51554 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51555 for ac_func in _powf
51556 do :
51557 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51558 if test "x$ac_cv_func__powf" = xyes; then :
51559 cat >>confdefs.h <<_ACEOF
51560 #define HAVE__POWF 1
51561 _ACEOF
51564 done
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51574 $as_echo_n "checking for sqrtf declaration... " >&6; }
51575 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51576 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51577 $as_echo_n "(cached) " >&6
51578 else
51581 ac_ext=cpp
51582 ac_cpp='$CXXCPP $CPPFLAGS'
51583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51588 /* end confdefs.h. */
51589 #include <math.h>
51590 #ifdef HAVE_IEEEFP_H
51591 #include <ieeefp.h>
51592 #endif
51595 main ()
51597 sqrtf(0);
51599 return 0;
51601 _ACEOF
51602 if ac_fn_cxx_try_compile "$LINENO"; then :
51603 glibcxx_cv_func_sqrtf_use=yes
51604 else
51605 glibcxx_cv_func_sqrtf_use=no
51607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51608 ac_ext=c
51609 ac_cpp='$CPP $CPPFLAGS'
51610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51619 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51621 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51622 for ac_func in sqrtf
51623 do :
51624 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51625 if test "x$ac_cv_func_sqrtf" = xyes; then :
51626 cat >>confdefs.h <<_ACEOF
51627 #define HAVE_SQRTF 1
51628 _ACEOF
51631 done
51633 else
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51636 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51637 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51638 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51639 $as_echo_n "(cached) " >&6
51640 else
51643 ac_ext=cpp
51644 ac_cpp='$CXXCPP $CPPFLAGS'
51645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51650 /* end confdefs.h. */
51651 #include <math.h>
51652 #ifdef HAVE_IEEEFP_H
51653 #include <ieeefp.h>
51654 #endif
51657 main ()
51659 _sqrtf(0);
51661 return 0;
51663 _ACEOF
51664 if ac_fn_cxx_try_compile "$LINENO"; then :
51665 glibcxx_cv_func__sqrtf_use=yes
51666 else
51667 glibcxx_cv_func__sqrtf_use=no
51669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51670 ac_ext=c
51671 ac_cpp='$CPP $CPPFLAGS'
51672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51681 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51683 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51684 for ac_func in _sqrtf
51685 do :
51686 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51687 if test "x$ac_cv_func__sqrtf" = xyes; then :
51688 cat >>confdefs.h <<_ACEOF
51689 #define HAVE__SQRTF 1
51690 _ACEOF
51693 done
51702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51703 $as_echo_n "checking for sincosf declaration... " >&6; }
51704 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51705 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51706 $as_echo_n "(cached) " >&6
51707 else
51710 ac_ext=cpp
51711 ac_cpp='$CXXCPP $CPPFLAGS'
51712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51717 /* end confdefs.h. */
51718 #include <math.h>
51720 main ()
51722 sincosf(0, 0, 0);
51724 return 0;
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728 glibcxx_cv_func_sincosf_use=yes
51729 else
51730 glibcxx_cv_func_sincosf_use=no
51732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733 ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51744 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51746 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51747 for ac_func in sincosf
51748 do :
51749 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51750 if test "x$ac_cv_func_sincosf" = xyes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE_SINCOSF 1
51753 _ACEOF
51756 done
51758 else
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51761 $as_echo_n "checking for _sincosf declaration... " >&6; }
51762 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51763 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51764 $as_echo_n "(cached) " >&6
51765 else
51768 ac_ext=cpp
51769 ac_cpp='$CXXCPP $CPPFLAGS'
51770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51775 /* end confdefs.h. */
51776 #include <math.h>
51778 main ()
51780 _sincosf(0, 0, 0);
51782 return 0;
51784 _ACEOF
51785 if ac_fn_cxx_try_compile "$LINENO"; then :
51786 glibcxx_cv_func__sincosf_use=yes
51787 else
51788 glibcxx_cv_func__sincosf_use=no
51790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51791 ac_ext=c
51792 ac_cpp='$CPP $CPPFLAGS'
51793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51802 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51804 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51805 for ac_func in _sincosf
51806 do :
51807 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51808 if test "x$ac_cv_func__sincosf" = xyes; then :
51809 cat >>confdefs.h <<_ACEOF
51810 #define HAVE__SINCOSF 1
51811 _ACEOF
51814 done
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51824 $as_echo_n "checking for finitef declaration... " >&6; }
51825 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51826 if ${glibcxx_cv_func_finitef_use+:} false; then :
51827 $as_echo_n "(cached) " >&6
51828 else
51831 ac_ext=cpp
51832 ac_cpp='$CXXCPP $CPPFLAGS'
51833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51838 /* end confdefs.h. */
51839 #include <math.h>
51840 #ifdef HAVE_IEEEFP_H
51841 #include <ieeefp.h>
51842 #endif
51845 main ()
51847 finitef(0);
51849 return 0;
51851 _ACEOF
51852 if ac_fn_cxx_try_compile "$LINENO"; then :
51853 glibcxx_cv_func_finitef_use=yes
51854 else
51855 glibcxx_cv_func_finitef_use=no
51857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51858 ac_ext=c
51859 ac_cpp='$CPP $CPPFLAGS'
51860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51869 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51871 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51872 for ac_func in finitef
51873 do :
51874 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51875 if test "x$ac_cv_func_finitef" = xyes; then :
51876 cat >>confdefs.h <<_ACEOF
51877 #define HAVE_FINITEF 1
51878 _ACEOF
51881 done
51883 else
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51886 $as_echo_n "checking for _finitef declaration... " >&6; }
51887 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51888 if ${glibcxx_cv_func__finitef_use+:} false; then :
51889 $as_echo_n "(cached) " >&6
51890 else
51893 ac_ext=cpp
51894 ac_cpp='$CXXCPP $CPPFLAGS'
51895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51900 /* end confdefs.h. */
51901 #include <math.h>
51902 #ifdef HAVE_IEEEFP_H
51903 #include <ieeefp.h>
51904 #endif
51907 main ()
51909 _finitef(0);
51911 return 0;
51913 _ACEOF
51914 if ac_fn_cxx_try_compile "$LINENO"; then :
51915 glibcxx_cv_func__finitef_use=yes
51916 else
51917 glibcxx_cv_func__finitef_use=no
51919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51920 ac_ext=c
51921 ac_cpp='$CPP $CPPFLAGS'
51922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51931 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51933 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51934 for ac_func in _finitef
51935 do :
51936 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51937 if test "x$ac_cv_func__finitef" = xyes; then :
51938 cat >>confdefs.h <<_ACEOF
51939 #define HAVE__FINITEF 1
51940 _ACEOF
51943 done
51952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51953 $as_echo_n "checking for long double trig functions... " >&6; }
51954 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51955 $as_echo_n "(cached) " >&6
51956 else
51959 ac_ext=cpp
51960 ac_cpp='$CXXCPP $CPPFLAGS'
51961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51966 /* end confdefs.h. */
51967 #include <math.h>
51969 main ()
51971 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51973 return 0;
51975 _ACEOF
51976 if ac_fn_cxx_try_compile "$LINENO"; then :
51977 glibcxx_cv_func_long_double_trig_use=yes
51978 else
51979 glibcxx_cv_func_long_double_trig_use=no
51981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51982 ac_ext=c
51983 ac_cpp='$CPP $CPPFLAGS'
51984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51991 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51992 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51993 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51994 do :
51995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51998 cat >>confdefs.h <<_ACEOF
51999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52000 _ACEOF
52003 done
52005 else
52006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
52007 $as_echo_n "checking for _long double trig functions... " >&6; }
52008 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
52009 $as_echo_n "(cached) " >&6
52010 else
52013 ac_ext=cpp
52014 ac_cpp='$CXXCPP $CPPFLAGS'
52015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52020 /* end confdefs.h. */
52021 #include <math.h>
52023 main ()
52025 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52027 return 0;
52029 _ACEOF
52030 if ac_fn_cxx_try_compile "$LINENO"; then :
52031 glibcxx_cv_func__long_double_trig_use=yes
52032 else
52033 glibcxx_cv_func__long_double_trig_use=no
52035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52036 ac_ext=c
52037 ac_cpp='$CPP $CPPFLAGS'
52038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
52045 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
52046 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52047 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52048 do :
52049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52052 cat >>confdefs.h <<_ACEOF
52053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52054 _ACEOF
52057 done
52066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52067 $as_echo_n "checking for long double round functions... " >&6; }
52068 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
52069 $as_echo_n "(cached) " >&6
52070 else
52073 ac_ext=cpp
52074 ac_cpp='$CXXCPP $CPPFLAGS'
52075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52080 /* end confdefs.h. */
52081 #include <math.h>
52083 main ()
52085 ceill (0); floorl (0);
52087 return 0;
52089 _ACEOF
52090 if ac_fn_cxx_try_compile "$LINENO"; then :
52091 glibcxx_cv_func_long_double_round_use=yes
52092 else
52093 glibcxx_cv_func_long_double_round_use=no
52095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52096 ac_ext=c
52097 ac_cpp='$CPP $CPPFLAGS'
52098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52105 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52106 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52107 for ac_func in ceill floorl
52108 do :
52109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52112 cat >>confdefs.h <<_ACEOF
52113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52114 _ACEOF
52117 done
52119 else
52120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52121 $as_echo_n "checking for _long double round functions... " >&6; }
52122 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52123 $as_echo_n "(cached) " >&6
52124 else
52127 ac_ext=cpp
52128 ac_cpp='$CXXCPP $CPPFLAGS'
52129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52134 /* end confdefs.h. */
52135 #include <math.h>
52137 main ()
52139 _ceill (0); _floorl (0);
52141 return 0;
52143 _ACEOF
52144 if ac_fn_cxx_try_compile "$LINENO"; then :
52145 glibcxx_cv_func__long_double_round_use=yes
52146 else
52147 glibcxx_cv_func__long_double_round_use=no
52149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52150 ac_ext=c
52151 ac_cpp='$CPP $CPPFLAGS'
52152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52159 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52160 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52161 for ac_func in _ceill _floorl
52162 do :
52163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52166 cat >>confdefs.h <<_ACEOF
52167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52168 _ACEOF
52171 done
52181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52182 $as_echo_n "checking for isnanl declaration... " >&6; }
52183 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52184 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52185 $as_echo_n "(cached) " >&6
52186 else
52189 ac_ext=cpp
52190 ac_cpp='$CXXCPP $CPPFLAGS'
52191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52196 /* end confdefs.h. */
52197 #include <math.h>
52198 #ifdef HAVE_IEEEFP_H
52199 #include <ieeefp.h>
52200 #endif
52203 main ()
52205 isnanl(0);
52207 return 0;
52209 _ACEOF
52210 if ac_fn_cxx_try_compile "$LINENO"; then :
52211 glibcxx_cv_func_isnanl_use=yes
52212 else
52213 glibcxx_cv_func_isnanl_use=no
52215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52216 ac_ext=c
52217 ac_cpp='$CPP $CPPFLAGS'
52218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52227 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52229 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52230 for ac_func in isnanl
52231 do :
52232 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52233 if test "x$ac_cv_func_isnanl" = xyes; then :
52234 cat >>confdefs.h <<_ACEOF
52235 #define HAVE_ISNANL 1
52236 _ACEOF
52239 done
52241 else
52243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52244 $as_echo_n "checking for _isnanl declaration... " >&6; }
52245 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52246 if ${glibcxx_cv_func__isnanl_use+:} false; then :
52247 $as_echo_n "(cached) " >&6
52248 else
52251 ac_ext=cpp
52252 ac_cpp='$CXXCPP $CPPFLAGS'
52253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52258 /* end confdefs.h. */
52259 #include <math.h>
52260 #ifdef HAVE_IEEEFP_H
52261 #include <ieeefp.h>
52262 #endif
52265 main ()
52267 _isnanl(0);
52269 return 0;
52271 _ACEOF
52272 if ac_fn_cxx_try_compile "$LINENO"; then :
52273 glibcxx_cv_func__isnanl_use=yes
52274 else
52275 glibcxx_cv_func__isnanl_use=no
52277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52278 ac_ext=c
52279 ac_cpp='$CPP $CPPFLAGS'
52280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52289 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52291 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52292 for ac_func in _isnanl
52293 do :
52294 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52295 if test "x$ac_cv_func__isnanl" = xyes; then :
52296 cat >>confdefs.h <<_ACEOF
52297 #define HAVE__ISNANL 1
52298 _ACEOF
52301 done
52310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52311 $as_echo_n "checking for isinfl declaration... " >&6; }
52312 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52313 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52314 $as_echo_n "(cached) " >&6
52315 else
52318 ac_ext=cpp
52319 ac_cpp='$CXXCPP $CPPFLAGS'
52320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325 /* end confdefs.h. */
52326 #include <math.h>
52327 #ifdef HAVE_IEEEFP_H
52328 #include <ieeefp.h>
52329 #endif
52332 main ()
52334 isinfl(0);
52336 return 0;
52338 _ACEOF
52339 if ac_fn_cxx_try_compile "$LINENO"; then :
52340 glibcxx_cv_func_isinfl_use=yes
52341 else
52342 glibcxx_cv_func_isinfl_use=no
52344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345 ac_ext=c
52346 ac_cpp='$CPP $CPPFLAGS'
52347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52356 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52358 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52359 for ac_func in isinfl
52360 do :
52361 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52362 if test "x$ac_cv_func_isinfl" = xyes; then :
52363 cat >>confdefs.h <<_ACEOF
52364 #define HAVE_ISINFL 1
52365 _ACEOF
52368 done
52370 else
52372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52373 $as_echo_n "checking for _isinfl declaration... " >&6; }
52374 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52375 if ${glibcxx_cv_func__isinfl_use+:} false; then :
52376 $as_echo_n "(cached) " >&6
52377 else
52380 ac_ext=cpp
52381 ac_cpp='$CXXCPP $CPPFLAGS'
52382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52387 /* end confdefs.h. */
52388 #include <math.h>
52389 #ifdef HAVE_IEEEFP_H
52390 #include <ieeefp.h>
52391 #endif
52394 main ()
52396 _isinfl(0);
52398 return 0;
52400 _ACEOF
52401 if ac_fn_cxx_try_compile "$LINENO"; then :
52402 glibcxx_cv_func__isinfl_use=yes
52403 else
52404 glibcxx_cv_func__isinfl_use=no
52406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52407 ac_ext=c
52408 ac_cpp='$CPP $CPPFLAGS'
52409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52418 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52420 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52421 for ac_func in _isinfl
52422 do :
52423 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52424 if test "x$ac_cv_func__isinfl" = xyes; then :
52425 cat >>confdefs.h <<_ACEOF
52426 #define HAVE__ISINFL 1
52427 _ACEOF
52430 done
52439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52440 $as_echo_n "checking for atan2l declaration... " >&6; }
52441 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52442 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52443 $as_echo_n "(cached) " >&6
52444 else
52447 ac_ext=cpp
52448 ac_cpp='$CXXCPP $CPPFLAGS'
52449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h. */
52455 #include <math.h>
52457 main ()
52459 atan2l(0, 0);
52461 return 0;
52463 _ACEOF
52464 if ac_fn_cxx_try_compile "$LINENO"; then :
52465 glibcxx_cv_func_atan2l_use=yes
52466 else
52467 glibcxx_cv_func_atan2l_use=no
52469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52470 ac_ext=c
52471 ac_cpp='$CPP $CPPFLAGS'
52472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52481 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52483 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52484 for ac_func in atan2l
52485 do :
52486 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52487 if test "x$ac_cv_func_atan2l" = xyes; then :
52488 cat >>confdefs.h <<_ACEOF
52489 #define HAVE_ATAN2L 1
52490 _ACEOF
52493 done
52495 else
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52498 $as_echo_n "checking for _atan2l declaration... " >&6; }
52499 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52500 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52501 $as_echo_n "(cached) " >&6
52502 else
52505 ac_ext=cpp
52506 ac_cpp='$CXXCPP $CPPFLAGS'
52507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52512 /* end confdefs.h. */
52513 #include <math.h>
52515 main ()
52517 _atan2l(0, 0);
52519 return 0;
52521 _ACEOF
52522 if ac_fn_cxx_try_compile "$LINENO"; then :
52523 glibcxx_cv_func__atan2l_use=yes
52524 else
52525 glibcxx_cv_func__atan2l_use=no
52527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52528 ac_ext=c
52529 ac_cpp='$CPP $CPPFLAGS'
52530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52539 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52541 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52542 for ac_func in _atan2l
52543 do :
52544 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52545 if test "x$ac_cv_func__atan2l" = xyes; then :
52546 cat >>confdefs.h <<_ACEOF
52547 #define HAVE__ATAN2L 1
52548 _ACEOF
52551 done
52560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52561 $as_echo_n "checking for expl declaration... " >&6; }
52562 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52563 if ${glibcxx_cv_func_expl_use+:} false; then :
52564 $as_echo_n "(cached) " >&6
52565 else
52568 ac_ext=cpp
52569 ac_cpp='$CXXCPP $CPPFLAGS'
52570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52575 /* end confdefs.h. */
52576 #include <math.h>
52577 #ifdef HAVE_IEEEFP_H
52578 #include <ieeefp.h>
52579 #endif
52582 main ()
52584 expl(0);
52586 return 0;
52588 _ACEOF
52589 if ac_fn_cxx_try_compile "$LINENO"; then :
52590 glibcxx_cv_func_expl_use=yes
52591 else
52592 glibcxx_cv_func_expl_use=no
52594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52595 ac_ext=c
52596 ac_cpp='$CPP $CPPFLAGS'
52597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52606 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52608 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52609 for ac_func in expl
52610 do :
52611 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52612 if test "x$ac_cv_func_expl" = xyes; then :
52613 cat >>confdefs.h <<_ACEOF
52614 #define HAVE_EXPL 1
52615 _ACEOF
52618 done
52620 else
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52623 $as_echo_n "checking for _expl declaration... " >&6; }
52624 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52625 if ${glibcxx_cv_func__expl_use+:} false; then :
52626 $as_echo_n "(cached) " >&6
52627 else
52630 ac_ext=cpp
52631 ac_cpp='$CXXCPP $CPPFLAGS'
52632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52637 /* end confdefs.h. */
52638 #include <math.h>
52639 #ifdef HAVE_IEEEFP_H
52640 #include <ieeefp.h>
52641 #endif
52644 main ()
52646 _expl(0);
52648 return 0;
52650 _ACEOF
52651 if ac_fn_cxx_try_compile "$LINENO"; then :
52652 glibcxx_cv_func__expl_use=yes
52653 else
52654 glibcxx_cv_func__expl_use=no
52656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52657 ac_ext=c
52658 ac_cpp='$CPP $CPPFLAGS'
52659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52668 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52670 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52671 for ac_func in _expl
52672 do :
52673 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52674 if test "x$ac_cv_func__expl" = xyes; then :
52675 cat >>confdefs.h <<_ACEOF
52676 #define HAVE__EXPL 1
52677 _ACEOF
52680 done
52689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52690 $as_echo_n "checking for fabsl declaration... " >&6; }
52691 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52692 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52693 $as_echo_n "(cached) " >&6
52694 else
52697 ac_ext=cpp
52698 ac_cpp='$CXXCPP $CPPFLAGS'
52699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52704 /* end confdefs.h. */
52705 #include <math.h>
52706 #ifdef HAVE_IEEEFP_H
52707 #include <ieeefp.h>
52708 #endif
52711 main ()
52713 fabsl(0);
52715 return 0;
52717 _ACEOF
52718 if ac_fn_cxx_try_compile "$LINENO"; then :
52719 glibcxx_cv_func_fabsl_use=yes
52720 else
52721 glibcxx_cv_func_fabsl_use=no
52723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52724 ac_ext=c
52725 ac_cpp='$CPP $CPPFLAGS'
52726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52735 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52737 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52738 for ac_func in fabsl
52739 do :
52740 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52741 if test "x$ac_cv_func_fabsl" = xyes; then :
52742 cat >>confdefs.h <<_ACEOF
52743 #define HAVE_FABSL 1
52744 _ACEOF
52747 done
52749 else
52751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52752 $as_echo_n "checking for _fabsl declaration... " >&6; }
52753 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52754 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52755 $as_echo_n "(cached) " >&6
52756 else
52759 ac_ext=cpp
52760 ac_cpp='$CXXCPP $CPPFLAGS'
52761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52766 /* end confdefs.h. */
52767 #include <math.h>
52768 #ifdef HAVE_IEEEFP_H
52769 #include <ieeefp.h>
52770 #endif
52773 main ()
52775 _fabsl(0);
52777 return 0;
52779 _ACEOF
52780 if ac_fn_cxx_try_compile "$LINENO"; then :
52781 glibcxx_cv_func__fabsl_use=yes
52782 else
52783 glibcxx_cv_func__fabsl_use=no
52785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52786 ac_ext=c
52787 ac_cpp='$CPP $CPPFLAGS'
52788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52797 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52799 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52800 for ac_func in _fabsl
52801 do :
52802 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52803 if test "x$ac_cv_func__fabsl" = xyes; then :
52804 cat >>confdefs.h <<_ACEOF
52805 #define HAVE__FABSL 1
52806 _ACEOF
52809 done
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52819 $as_echo_n "checking for fmodl declaration... " >&6; }
52820 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52821 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52822 $as_echo_n "(cached) " >&6
52823 else
52826 ac_ext=cpp
52827 ac_cpp='$CXXCPP $CPPFLAGS'
52828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52833 /* end confdefs.h. */
52834 #include <math.h>
52836 main ()
52838 fmodl(0, 0);
52840 return 0;
52842 _ACEOF
52843 if ac_fn_cxx_try_compile "$LINENO"; then :
52844 glibcxx_cv_func_fmodl_use=yes
52845 else
52846 glibcxx_cv_func_fmodl_use=no
52848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52849 ac_ext=c
52850 ac_cpp='$CPP $CPPFLAGS'
52851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52860 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52862 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52863 for ac_func in fmodl
52864 do :
52865 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52866 if test "x$ac_cv_func_fmodl" = xyes; then :
52867 cat >>confdefs.h <<_ACEOF
52868 #define HAVE_FMODL 1
52869 _ACEOF
52872 done
52874 else
52876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52877 $as_echo_n "checking for _fmodl declaration... " >&6; }
52878 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52879 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52880 $as_echo_n "(cached) " >&6
52881 else
52884 ac_ext=cpp
52885 ac_cpp='$CXXCPP $CPPFLAGS'
52886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52891 /* end confdefs.h. */
52892 #include <math.h>
52894 main ()
52896 _fmodl(0, 0);
52898 return 0;
52900 _ACEOF
52901 if ac_fn_cxx_try_compile "$LINENO"; then :
52902 glibcxx_cv_func__fmodl_use=yes
52903 else
52904 glibcxx_cv_func__fmodl_use=no
52906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52907 ac_ext=c
52908 ac_cpp='$CPP $CPPFLAGS'
52909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52918 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52920 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52921 for ac_func in _fmodl
52922 do :
52923 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52924 if test "x$ac_cv_func__fmodl" = xyes; then :
52925 cat >>confdefs.h <<_ACEOF
52926 #define HAVE__FMODL 1
52927 _ACEOF
52930 done
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52940 $as_echo_n "checking for frexpl declaration... " >&6; }
52941 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52942 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52943 $as_echo_n "(cached) " >&6
52944 else
52947 ac_ext=cpp
52948 ac_cpp='$CXXCPP $CPPFLAGS'
52949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52954 /* end confdefs.h. */
52955 #include <math.h>
52957 main ()
52959 frexpl(0, 0);
52961 return 0;
52963 _ACEOF
52964 if ac_fn_cxx_try_compile "$LINENO"; then :
52965 glibcxx_cv_func_frexpl_use=yes
52966 else
52967 glibcxx_cv_func_frexpl_use=no
52969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52970 ac_ext=c
52971 ac_cpp='$CPP $CPPFLAGS'
52972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52981 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52983 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52984 for ac_func in frexpl
52985 do :
52986 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52987 if test "x$ac_cv_func_frexpl" = xyes; then :
52988 cat >>confdefs.h <<_ACEOF
52989 #define HAVE_FREXPL 1
52990 _ACEOF
52993 done
52995 else
52997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52998 $as_echo_n "checking for _frexpl declaration... " >&6; }
52999 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
53000 if ${glibcxx_cv_func__frexpl_use+:} false; then :
53001 $as_echo_n "(cached) " >&6
53002 else
53005 ac_ext=cpp
53006 ac_cpp='$CXXCPP $CPPFLAGS'
53007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53012 /* end confdefs.h. */
53013 #include <math.h>
53015 main ()
53017 _frexpl(0, 0);
53019 return 0;
53021 _ACEOF
53022 if ac_fn_cxx_try_compile "$LINENO"; then :
53023 glibcxx_cv_func__frexpl_use=yes
53024 else
53025 glibcxx_cv_func__frexpl_use=no
53027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53028 ac_ext=c
53029 ac_cpp='$CPP $CPPFLAGS'
53030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
53039 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
53041 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
53042 for ac_func in _frexpl
53043 do :
53044 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
53045 if test "x$ac_cv_func__frexpl" = xyes; then :
53046 cat >>confdefs.h <<_ACEOF
53047 #define HAVE__FREXPL 1
53048 _ACEOF
53051 done
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53061 $as_echo_n "checking for hypotl declaration... " >&6; }
53062 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53063 if ${glibcxx_cv_func_hypotl_use+:} false; then :
53064 $as_echo_n "(cached) " >&6
53065 else
53068 ac_ext=cpp
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h. */
53076 #include <math.h>
53078 main ()
53080 hypotl(0, 0);
53082 return 0;
53084 _ACEOF
53085 if ac_fn_cxx_try_compile "$LINENO"; then :
53086 glibcxx_cv_func_hypotl_use=yes
53087 else
53088 glibcxx_cv_func_hypotl_use=no
53090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53091 ac_ext=c
53092 ac_cpp='$CPP $CPPFLAGS'
53093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53102 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53104 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53105 for ac_func in hypotl
53106 do :
53107 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53108 if test "x$ac_cv_func_hypotl" = xyes; then :
53109 cat >>confdefs.h <<_ACEOF
53110 #define HAVE_HYPOTL 1
53111 _ACEOF
53114 done
53116 else
53118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53119 $as_echo_n "checking for _hypotl declaration... " >&6; }
53120 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53121 if ${glibcxx_cv_func__hypotl_use+:} false; then :
53122 $as_echo_n "(cached) " >&6
53123 else
53126 ac_ext=cpp
53127 ac_cpp='$CXXCPP $CPPFLAGS'
53128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53133 /* end confdefs.h. */
53134 #include <math.h>
53136 main ()
53138 _hypotl(0, 0);
53140 return 0;
53142 _ACEOF
53143 if ac_fn_cxx_try_compile "$LINENO"; then :
53144 glibcxx_cv_func__hypotl_use=yes
53145 else
53146 glibcxx_cv_func__hypotl_use=no
53148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53149 ac_ext=c
53150 ac_cpp='$CPP $CPPFLAGS'
53151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53160 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53162 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53163 for ac_func in _hypotl
53164 do :
53165 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53166 if test "x$ac_cv_func__hypotl" = xyes; then :
53167 cat >>confdefs.h <<_ACEOF
53168 #define HAVE__HYPOTL 1
53169 _ACEOF
53172 done
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53182 $as_echo_n "checking for ldexpl declaration... " >&6; }
53183 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53184 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53185 $as_echo_n "(cached) " >&6
53186 else
53189 ac_ext=cpp
53190 ac_cpp='$CXXCPP $CPPFLAGS'
53191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53196 /* end confdefs.h. */
53197 #include <math.h>
53199 main ()
53201 ldexpl(0, 0);
53203 return 0;
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func_ldexpl_use=yes
53208 else
53209 glibcxx_cv_func_ldexpl_use=no
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53223 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53225 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53226 for ac_func in ldexpl
53227 do :
53228 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53229 if test "x$ac_cv_func_ldexpl" = xyes; then :
53230 cat >>confdefs.h <<_ACEOF
53231 #define HAVE_LDEXPL 1
53232 _ACEOF
53235 done
53237 else
53239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53240 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53241 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53242 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53243 $as_echo_n "(cached) " >&6
53244 else
53247 ac_ext=cpp
53248 ac_cpp='$CXXCPP $CPPFLAGS'
53249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53254 /* end confdefs.h. */
53255 #include <math.h>
53257 main ()
53259 _ldexpl(0, 0);
53261 return 0;
53263 _ACEOF
53264 if ac_fn_cxx_try_compile "$LINENO"; then :
53265 glibcxx_cv_func__ldexpl_use=yes
53266 else
53267 glibcxx_cv_func__ldexpl_use=no
53269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53270 ac_ext=c
53271 ac_cpp='$CPP $CPPFLAGS'
53272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53281 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53283 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53284 for ac_func in _ldexpl
53285 do :
53286 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53287 if test "x$ac_cv_func__ldexpl" = xyes; then :
53288 cat >>confdefs.h <<_ACEOF
53289 #define HAVE__LDEXPL 1
53290 _ACEOF
53293 done
53302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53303 $as_echo_n "checking for logl declaration... " >&6; }
53304 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53305 if ${glibcxx_cv_func_logl_use+:} false; then :
53306 $as_echo_n "(cached) " >&6
53307 else
53310 ac_ext=cpp
53311 ac_cpp='$CXXCPP $CPPFLAGS'
53312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317 /* end confdefs.h. */
53318 #include <math.h>
53319 #ifdef HAVE_IEEEFP_H
53320 #include <ieeefp.h>
53321 #endif
53324 main ()
53326 logl(0);
53328 return 0;
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func_logl_use=yes
53333 else
53334 glibcxx_cv_func_logl_use=no
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337 ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53348 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53350 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53351 for ac_func in logl
53352 do :
53353 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53354 if test "x$ac_cv_func_logl" = xyes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE_LOGL 1
53357 _ACEOF
53360 done
53362 else
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53365 $as_echo_n "checking for _logl declaration... " >&6; }
53366 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53367 if ${glibcxx_cv_func__logl_use+:} false; then :
53368 $as_echo_n "(cached) " >&6
53369 else
53372 ac_ext=cpp
53373 ac_cpp='$CXXCPP $CPPFLAGS'
53374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53379 /* end confdefs.h. */
53380 #include <math.h>
53381 #ifdef HAVE_IEEEFP_H
53382 #include <ieeefp.h>
53383 #endif
53386 main ()
53388 _logl(0);
53390 return 0;
53392 _ACEOF
53393 if ac_fn_cxx_try_compile "$LINENO"; then :
53394 glibcxx_cv_func__logl_use=yes
53395 else
53396 glibcxx_cv_func__logl_use=no
53398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53399 ac_ext=c
53400 ac_cpp='$CPP $CPPFLAGS'
53401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53410 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53412 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53413 for ac_func in _logl
53414 do :
53415 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53416 if test "x$ac_cv_func__logl" = xyes; then :
53417 cat >>confdefs.h <<_ACEOF
53418 #define HAVE__LOGL 1
53419 _ACEOF
53422 done
53431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53432 $as_echo_n "checking for log10l declaration... " >&6; }
53433 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53434 if ${glibcxx_cv_func_log10l_use+:} false; then :
53435 $as_echo_n "(cached) " >&6
53436 else
53439 ac_ext=cpp
53440 ac_cpp='$CXXCPP $CPPFLAGS'
53441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53446 /* end confdefs.h. */
53447 #include <math.h>
53448 #ifdef HAVE_IEEEFP_H
53449 #include <ieeefp.h>
53450 #endif
53453 main ()
53455 log10l(0);
53457 return 0;
53459 _ACEOF
53460 if ac_fn_cxx_try_compile "$LINENO"; then :
53461 glibcxx_cv_func_log10l_use=yes
53462 else
53463 glibcxx_cv_func_log10l_use=no
53465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53466 ac_ext=c
53467 ac_cpp='$CPP $CPPFLAGS'
53468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53477 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53479 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53480 for ac_func in log10l
53481 do :
53482 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53483 if test "x$ac_cv_func_log10l" = xyes; then :
53484 cat >>confdefs.h <<_ACEOF
53485 #define HAVE_LOG10L 1
53486 _ACEOF
53489 done
53491 else
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53494 $as_echo_n "checking for _log10l declaration... " >&6; }
53495 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53496 if ${glibcxx_cv_func__log10l_use+:} false; then :
53497 $as_echo_n "(cached) " >&6
53498 else
53501 ac_ext=cpp
53502 ac_cpp='$CXXCPP $CPPFLAGS'
53503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53508 /* end confdefs.h. */
53509 #include <math.h>
53510 #ifdef HAVE_IEEEFP_H
53511 #include <ieeefp.h>
53512 #endif
53515 main ()
53517 _log10l(0);
53519 return 0;
53521 _ACEOF
53522 if ac_fn_cxx_try_compile "$LINENO"; then :
53523 glibcxx_cv_func__log10l_use=yes
53524 else
53525 glibcxx_cv_func__log10l_use=no
53527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53528 ac_ext=c
53529 ac_cpp='$CPP $CPPFLAGS'
53530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53539 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53541 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53542 for ac_func in _log10l
53543 do :
53544 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53545 if test "x$ac_cv_func__log10l" = xyes; then :
53546 cat >>confdefs.h <<_ACEOF
53547 #define HAVE__LOG10L 1
53548 _ACEOF
53551 done
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53561 $as_echo_n "checking for modfl declaration... " >&6; }
53562 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53563 if ${glibcxx_cv_func_modfl_use+:} false; then :
53564 $as_echo_n "(cached) " >&6
53565 else
53568 ac_ext=cpp
53569 ac_cpp='$CXXCPP $CPPFLAGS'
53570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 #include <math.h>
53578 main ()
53580 modfl(0, 0);
53582 return 0;
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func_modfl_use=yes
53587 else
53588 glibcxx_cv_func_modfl_use=no
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53602 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53604 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53605 for ac_func in modfl
53606 do :
53607 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53608 if test "x$ac_cv_func_modfl" = xyes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE_MODFL 1
53611 _ACEOF
53614 done
53616 else
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53619 $as_echo_n "checking for _modfl declaration... " >&6; }
53620 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53621 if ${glibcxx_cv_func__modfl_use+:} false; then :
53622 $as_echo_n "(cached) " >&6
53623 else
53626 ac_ext=cpp
53627 ac_cpp='$CXXCPP $CPPFLAGS'
53628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633 /* end confdefs.h. */
53634 #include <math.h>
53636 main ()
53638 _modfl(0, 0);
53640 return 0;
53642 _ACEOF
53643 if ac_fn_cxx_try_compile "$LINENO"; then :
53644 glibcxx_cv_func__modfl_use=yes
53645 else
53646 glibcxx_cv_func__modfl_use=no
53648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53649 ac_ext=c
53650 ac_cpp='$CPP $CPPFLAGS'
53651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53660 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53662 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53663 for ac_func in _modfl
53664 do :
53665 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53666 if test "x$ac_cv_func__modfl" = xyes; then :
53667 cat >>confdefs.h <<_ACEOF
53668 #define HAVE__MODFL 1
53669 _ACEOF
53672 done
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53682 $as_echo_n "checking for powl declaration... " >&6; }
53683 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53684 if ${glibcxx_cv_func_powl_use+:} false; then :
53685 $as_echo_n "(cached) " >&6
53686 else
53689 ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h. */
53697 #include <math.h>
53699 main ()
53701 powl(0, 0);
53703 return 0;
53705 _ACEOF
53706 if ac_fn_cxx_try_compile "$LINENO"; then :
53707 glibcxx_cv_func_powl_use=yes
53708 else
53709 glibcxx_cv_func_powl_use=no
53711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53712 ac_ext=c
53713 ac_cpp='$CPP $CPPFLAGS'
53714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53723 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53725 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53726 for ac_func in powl
53727 do :
53728 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53729 if test "x$ac_cv_func_powl" = xyes; then :
53730 cat >>confdefs.h <<_ACEOF
53731 #define HAVE_POWL 1
53732 _ACEOF
53735 done
53737 else
53739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53740 $as_echo_n "checking for _powl declaration... " >&6; }
53741 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53742 if ${glibcxx_cv_func__powl_use+:} false; then :
53743 $as_echo_n "(cached) " >&6
53744 else
53747 ac_ext=cpp
53748 ac_cpp='$CXXCPP $CPPFLAGS'
53749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53754 /* end confdefs.h. */
53755 #include <math.h>
53757 main ()
53759 _powl(0, 0);
53761 return 0;
53763 _ACEOF
53764 if ac_fn_cxx_try_compile "$LINENO"; then :
53765 glibcxx_cv_func__powl_use=yes
53766 else
53767 glibcxx_cv_func__powl_use=no
53769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53770 ac_ext=c
53771 ac_cpp='$CPP $CPPFLAGS'
53772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53781 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53783 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53784 for ac_func in _powl
53785 do :
53786 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53787 if test "x$ac_cv_func__powl" = xyes; then :
53788 cat >>confdefs.h <<_ACEOF
53789 #define HAVE__POWL 1
53790 _ACEOF
53793 done
53802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53803 $as_echo_n "checking for sqrtl declaration... " >&6; }
53804 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53805 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53806 $as_echo_n "(cached) " >&6
53807 else
53810 ac_ext=cpp
53811 ac_cpp='$CXXCPP $CPPFLAGS'
53812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817 /* end confdefs.h. */
53818 #include <math.h>
53819 #ifdef HAVE_IEEEFP_H
53820 #include <ieeefp.h>
53821 #endif
53824 main ()
53826 sqrtl(0);
53828 return 0;
53830 _ACEOF
53831 if ac_fn_cxx_try_compile "$LINENO"; then :
53832 glibcxx_cv_func_sqrtl_use=yes
53833 else
53834 glibcxx_cv_func_sqrtl_use=no
53836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53837 ac_ext=c
53838 ac_cpp='$CPP $CPPFLAGS'
53839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53848 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53850 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53851 for ac_func in sqrtl
53852 do :
53853 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53854 if test "x$ac_cv_func_sqrtl" = xyes; then :
53855 cat >>confdefs.h <<_ACEOF
53856 #define HAVE_SQRTL 1
53857 _ACEOF
53860 done
53862 else
53864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53865 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53866 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53867 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53868 $as_echo_n "(cached) " >&6
53869 else
53872 ac_ext=cpp
53873 ac_cpp='$CXXCPP $CPPFLAGS'
53874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53879 /* end confdefs.h. */
53880 #include <math.h>
53881 #ifdef HAVE_IEEEFP_H
53882 #include <ieeefp.h>
53883 #endif
53886 main ()
53888 _sqrtl(0);
53890 return 0;
53892 _ACEOF
53893 if ac_fn_cxx_try_compile "$LINENO"; then :
53894 glibcxx_cv_func__sqrtl_use=yes
53895 else
53896 glibcxx_cv_func__sqrtl_use=no
53898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53899 ac_ext=c
53900 ac_cpp='$CPP $CPPFLAGS'
53901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53910 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53912 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53913 for ac_func in _sqrtl
53914 do :
53915 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53916 if test "x$ac_cv_func__sqrtl" = xyes; then :
53917 cat >>confdefs.h <<_ACEOF
53918 #define HAVE__SQRTL 1
53919 _ACEOF
53922 done
53931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53932 $as_echo_n "checking for sincosl declaration... " >&6; }
53933 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53934 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53935 $as_echo_n "(cached) " >&6
53936 else
53939 ac_ext=cpp
53940 ac_cpp='$CXXCPP $CPPFLAGS'
53941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53946 /* end confdefs.h. */
53947 #include <math.h>
53949 main ()
53951 sincosl(0, 0, 0);
53953 return 0;
53955 _ACEOF
53956 if ac_fn_cxx_try_compile "$LINENO"; then :
53957 glibcxx_cv_func_sincosl_use=yes
53958 else
53959 glibcxx_cv_func_sincosl_use=no
53961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53962 ac_ext=c
53963 ac_cpp='$CPP $CPPFLAGS'
53964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53973 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53975 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53976 for ac_func in sincosl
53977 do :
53978 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53979 if test "x$ac_cv_func_sincosl" = xyes; then :
53980 cat >>confdefs.h <<_ACEOF
53981 #define HAVE_SINCOSL 1
53982 _ACEOF
53985 done
53987 else
53989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53990 $as_echo_n "checking for _sincosl declaration... " >&6; }
53991 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53992 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53993 $as_echo_n "(cached) " >&6
53994 else
53997 ac_ext=cpp
53998 ac_cpp='$CXXCPP $CPPFLAGS'
53999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54004 /* end confdefs.h. */
54005 #include <math.h>
54007 main ()
54009 _sincosl(0, 0, 0);
54011 return 0;
54013 _ACEOF
54014 if ac_fn_cxx_try_compile "$LINENO"; then :
54015 glibcxx_cv_func__sincosl_use=yes
54016 else
54017 glibcxx_cv_func__sincosl_use=no
54019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54020 ac_ext=c
54021 ac_cpp='$CPP $CPPFLAGS'
54022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
54031 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
54033 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
54034 for ac_func in _sincosl
54035 do :
54036 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
54037 if test "x$ac_cv_func__sincosl" = xyes; then :
54038 cat >>confdefs.h <<_ACEOF
54039 #define HAVE__SINCOSL 1
54040 _ACEOF
54043 done
54052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
54053 $as_echo_n "checking for finitel declaration... " >&6; }
54054 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
54055 if ${glibcxx_cv_func_finitel_use+:} false; then :
54056 $as_echo_n "(cached) " >&6
54057 else
54060 ac_ext=cpp
54061 ac_cpp='$CXXCPP $CPPFLAGS'
54062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54067 /* end confdefs.h. */
54068 #include <math.h>
54069 #ifdef HAVE_IEEEFP_H
54070 #include <ieeefp.h>
54071 #endif
54074 main ()
54076 finitel(0);
54078 return 0;
54080 _ACEOF
54081 if ac_fn_cxx_try_compile "$LINENO"; then :
54082 glibcxx_cv_func_finitel_use=yes
54083 else
54084 glibcxx_cv_func_finitel_use=no
54086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54087 ac_ext=c
54088 ac_cpp='$CPP $CPPFLAGS'
54089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54098 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54100 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54101 for ac_func in finitel
54102 do :
54103 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54104 if test "x$ac_cv_func_finitel" = xyes; then :
54105 cat >>confdefs.h <<_ACEOF
54106 #define HAVE_FINITEL 1
54107 _ACEOF
54110 done
54112 else
54114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54115 $as_echo_n "checking for _finitel declaration... " >&6; }
54116 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54117 if ${glibcxx_cv_func__finitel_use+:} false; then :
54118 $as_echo_n "(cached) " >&6
54119 else
54122 ac_ext=cpp
54123 ac_cpp='$CXXCPP $CPPFLAGS'
54124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54129 /* end confdefs.h. */
54130 #include <math.h>
54131 #ifdef HAVE_IEEEFP_H
54132 #include <ieeefp.h>
54133 #endif
54136 main ()
54138 _finitel(0);
54140 return 0;
54142 _ACEOF
54143 if ac_fn_cxx_try_compile "$LINENO"; then :
54144 glibcxx_cv_func__finitel_use=yes
54145 else
54146 glibcxx_cv_func__finitel_use=no
54148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54149 ac_ext=c
54150 ac_cpp='$CPP $CPPFLAGS'
54151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54160 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54162 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54163 for ac_func in _finitel
54164 do :
54165 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54166 if test "x$ac_cv_func__finitel" = xyes; then :
54167 cat >>confdefs.h <<_ACEOF
54168 #define HAVE__FINITEL 1
54169 _ACEOF
54172 done
54180 LIBS="$ac_save_LIBS"
54181 CXXFLAGS="$ac_save_CXXFLAGS"
54184 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54185 ac_save_CXXFLAGS="$CXXFLAGS"
54186 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54190 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54191 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54192 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54193 $as_echo_n "(cached) " >&6
54194 else
54197 ac_ext=cpp
54198 ac_cpp='$CXXCPP $CPPFLAGS'
54199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54204 /* end confdefs.h. */
54205 #include <stdlib.h>
54207 main ()
54209 at_quick_exit(0);
54211 return 0;
54213 _ACEOF
54214 if ac_fn_cxx_try_compile "$LINENO"; then :
54215 glibcxx_cv_func_at_quick_exit_use=yes
54216 else
54217 glibcxx_cv_func_at_quick_exit_use=no
54219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54220 ac_ext=c
54221 ac_cpp='$CPP $CPPFLAGS'
54222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54231 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54232 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54233 for ac_func in at_quick_exit
54234 do :
54235 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54236 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54237 cat >>confdefs.h <<_ACEOF
54238 #define HAVE_AT_QUICK_EXIT 1
54239 _ACEOF
54242 done
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54248 $as_echo_n "checking for quick_exit declaration... " >&6; }
54249 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54250 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54251 $as_echo_n "(cached) " >&6
54252 else
54255 ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h. */
54263 #include <stdlib.h>
54265 main ()
54267 quick_exit(0);
54269 return 0;
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func_quick_exit_use=yes
54274 else
54275 glibcxx_cv_func_quick_exit_use=no
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278 ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54289 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54290 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54291 for ac_func in quick_exit
54292 do :
54293 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54294 if test "x$ac_cv_func_quick_exit" = xyes; then :
54295 cat >>confdefs.h <<_ACEOF
54296 #define HAVE_QUICK_EXIT 1
54297 _ACEOF
54300 done
54305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54306 $as_echo_n "checking for strtold declaration... " >&6; }
54307 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54308 if ${glibcxx_cv_func_strtold_use+:} false; then :
54309 $as_echo_n "(cached) " >&6
54310 else
54313 ac_ext=cpp
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320 /* end confdefs.h. */
54321 #include <stdlib.h>
54323 main ()
54325 strtold(0, 0);
54327 return 0;
54329 _ACEOF
54330 if ac_fn_cxx_try_compile "$LINENO"; then :
54331 glibcxx_cv_func_strtold_use=yes
54332 else
54333 glibcxx_cv_func_strtold_use=no
54335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54336 ac_ext=c
54337 ac_cpp='$CPP $CPPFLAGS'
54338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54347 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54348 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54349 for ac_func in strtold
54350 do :
54351 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54352 if test "x$ac_cv_func_strtold" = xyes; then :
54353 cat >>confdefs.h <<_ACEOF
54354 #define HAVE_STRTOLD 1
54355 _ACEOF
54358 done
54365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54366 $as_echo_n "checking for strtof declaration... " >&6; }
54367 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54368 if ${glibcxx_cv_func_strtof_use+:} false; then :
54369 $as_echo_n "(cached) " >&6
54370 else
54373 ac_ext=cpp
54374 ac_cpp='$CXXCPP $CPPFLAGS'
54375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54380 /* end confdefs.h. */
54381 #include <stdlib.h>
54383 main ()
54385 strtof(0, 0);
54387 return 0;
54389 _ACEOF
54390 if ac_fn_cxx_try_compile "$LINENO"; then :
54391 glibcxx_cv_func_strtof_use=yes
54392 else
54393 glibcxx_cv_func_strtof_use=no
54395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54396 ac_ext=c
54397 ac_cpp='$CPP $CPPFLAGS'
54398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54407 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54408 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54409 for ac_func in strtof
54410 do :
54411 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54412 if test "x$ac_cv_func_strtof" = xyes; then :
54413 cat >>confdefs.h <<_ACEOF
54414 #define HAVE_STRTOF 1
54415 _ACEOF
54418 done
54425 CXXFLAGS="$ac_save_CXXFLAGS"
54427 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54429 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54433 # Check whether --enable-tls was given.
54434 if test "${enable_tls+set}" = set; then :
54435 enableval=$enable_tls;
54436 case "$enableval" in
54437 yes|no) ;;
54438 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54439 esac
54441 else
54442 enable_tls=yes
54446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54447 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54448 if ${gcc_cv_have_tls+:} false; then :
54449 $as_echo_n "(cached) " >&6
54450 else
54452 if test "$cross_compiling" = yes; then :
54453 if test x$gcc_no_link = xyes; then
54454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54457 /* end confdefs.h. */
54458 __thread int a; int b; int main() { return a = b; }
54459 _ACEOF
54460 if ac_fn_c_try_link "$LINENO"; then :
54461 chktls_save_LDFLAGS="$LDFLAGS"
54462 case $host in
54463 *-*-linux* | -*-uclinuxfdpic*)
54464 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54466 esac
54467 chktls_save_CFLAGS="$CFLAGS"
54468 CFLAGS="-fPIC $CFLAGS"
54469 if test x$gcc_no_link = xyes; then
54470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473 /* end confdefs.h. */
54474 int f() { return 0; }
54475 _ACEOF
54476 if ac_fn_c_try_link "$LINENO"; then :
54477 if test x$gcc_no_link = xyes; then
54478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54481 /* end confdefs.h. */
54482 __thread int a; int b; int f() { return a = b; }
54483 _ACEOF
54484 if ac_fn_c_try_link "$LINENO"; then :
54485 gcc_cv_have_tls=yes
54486 else
54487 gcc_cv_have_tls=no
54489 rm -f core conftest.err conftest.$ac_objext \
54490 conftest$ac_exeext conftest.$ac_ext
54491 else
54492 gcc_cv_have_tls=yes
54494 rm -f core conftest.err conftest.$ac_objext \
54495 conftest$ac_exeext conftest.$ac_ext
54496 CFLAGS="$chktls_save_CFLAGS"
54497 LDFLAGS="$chktls_save_LDFLAGS"
54498 else
54499 gcc_cv_have_tls=no
54501 rm -f core conftest.err conftest.$ac_objext \
54502 conftest$ac_exeext conftest.$ac_ext
54505 else
54506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54507 /* end confdefs.h. */
54508 __thread int a; int b; int main() { return a = b; }
54509 _ACEOF
54510 if ac_fn_c_try_run "$LINENO"; then :
54511 chktls_save_LDFLAGS="$LDFLAGS"
54512 LDFLAGS="-static $LDFLAGS"
54513 if test x$gcc_no_link = xyes; then
54514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54517 /* end confdefs.h. */
54518 int main() { return 0; }
54519 _ACEOF
54520 if ac_fn_c_try_link "$LINENO"; then :
54521 if test "$cross_compiling" = yes; then :
54522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54524 as_fn_error $? "cannot run test program while cross compiling
54525 See \`config.log' for more details" "$LINENO" 5; }
54526 else
54527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54528 /* end confdefs.h. */
54529 __thread int a; int b; int main() { return a = b; }
54530 _ACEOF
54531 if ac_fn_c_try_run "$LINENO"; then :
54532 gcc_cv_have_tls=yes
54533 else
54534 gcc_cv_have_tls=no
54536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54537 conftest.$ac_objext conftest.beam conftest.$ac_ext
54540 else
54541 gcc_cv_have_tls=yes
54543 rm -f core conftest.err conftest.$ac_objext \
54544 conftest$ac_exeext conftest.$ac_ext
54545 LDFLAGS="$chktls_save_LDFLAGS"
54546 if test $gcc_cv_have_tls = yes; then
54547 chktls_save_CFLAGS="$CFLAGS"
54548 thread_CFLAGS=failed
54549 for flag in '' '-pthread' '-lpthread'; do
54550 CFLAGS="$flag $chktls_save_CFLAGS"
54551 if test x$gcc_no_link = xyes; then
54552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h. */
54556 #include <pthread.h>
54557 void *g(void *d) { return NULL; }
54559 main ()
54561 pthread_t t; pthread_create(&t,NULL,g,NULL);
54563 return 0;
54565 _ACEOF
54566 if ac_fn_c_try_link "$LINENO"; then :
54567 thread_CFLAGS="$flag"
54569 rm -f core conftest.err conftest.$ac_objext \
54570 conftest$ac_exeext conftest.$ac_ext
54571 if test "X$thread_CFLAGS" != Xfailed; then
54572 break
54574 done
54575 CFLAGS="$chktls_save_CFLAGS"
54576 if test "X$thread_CFLAGS" != Xfailed; then
54577 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54578 if test "$cross_compiling" = yes; then :
54579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54581 as_fn_error $? "cannot run test program while cross compiling
54582 See \`config.log' for more details" "$LINENO" 5; }
54583 else
54584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54585 /* end confdefs.h. */
54586 #include <pthread.h>
54587 __thread int a;
54588 static int *volatile a_in_other_thread;
54589 static void *
54590 thread_func (void *arg)
54592 a_in_other_thread = &a;
54593 return (void *)0;
54596 main ()
54598 pthread_t thread;
54599 void *thread_retval;
54600 int *volatile a_in_main_thread;
54601 a_in_main_thread = &a;
54602 if (pthread_create (&thread, (pthread_attr_t *)0,
54603 thread_func, (void *)0))
54604 return 0;
54605 if (pthread_join (thread, &thread_retval))
54606 return 0;
54607 return (a_in_other_thread == a_in_main_thread);
54609 return 0;
54611 _ACEOF
54612 if ac_fn_c_try_run "$LINENO"; then :
54613 gcc_cv_have_tls=yes
54614 else
54615 gcc_cv_have_tls=no
54617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54618 conftest.$ac_objext conftest.beam conftest.$ac_ext
54621 CFLAGS="$chktls_save_CFLAGS"
54624 else
54625 gcc_cv_have_tls=no
54627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54628 conftest.$ac_objext conftest.beam conftest.$ac_ext
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54633 $as_echo "$gcc_cv_have_tls" >&6; }
54634 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54636 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54639 for ac_func in __cxa_thread_atexit_impl
54640 do :
54641 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54642 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54643 cat >>confdefs.h <<_ACEOF
54644 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54645 _ACEOF
54648 done
54650 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54651 do :
54652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54655 cat >>confdefs.h <<_ACEOF
54656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54657 _ACEOF
54660 done
54662 for ac_func in timespec_get
54663 do :
54664 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54665 if test "x$ac_cv_func_timespec_get" = xyes; then :
54666 cat >>confdefs.h <<_ACEOF
54667 #define HAVE_TIMESPEC_GET 1
54668 _ACEOF
54671 done
54673 for ac_func in sockatmark
54674 do :
54675 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54676 if test "x$ac_cv_func_sockatmark" = xyes; then :
54677 cat >>confdefs.h <<_ACEOF
54678 #define HAVE_SOCKATMARK 1
54679 _ACEOF
54682 done
54689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54690 $as_echo_n "checking for iconv... " >&6; }
54691 if ${am_cv_func_iconv+:} false; then :
54692 $as_echo_n "(cached) " >&6
54693 else
54695 am_cv_func_iconv="no, consider installing GNU libiconv"
54696 am_cv_lib_iconv=no
54697 am_save_CPPFLAGS="$CPPFLAGS"
54698 CPPFLAGS="$CPPFLAGS $INCICONV"
54699 if test x$gcc_no_link = xyes; then
54700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54703 /* end confdefs.h. */
54704 #include <stdlib.h>
54705 #include <iconv.h>
54707 main ()
54709 iconv_t cd = iconv_open("","");
54710 iconv(cd,NULL,NULL,NULL,NULL);
54711 iconv_close(cd);
54713 return 0;
54715 _ACEOF
54716 if ac_fn_c_try_link "$LINENO"; then :
54717 am_cv_func_iconv=yes
54719 rm -f core conftest.err conftest.$ac_objext \
54720 conftest$ac_exeext conftest.$ac_ext
54721 CPPFLAGS="$am_save_CPPFLAGS"
54723 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54724 for _libs in .libs _libs; do
54725 am_save_CPPFLAGS="$CPPFLAGS"
54726 am_save_LIBS="$LIBS"
54727 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54728 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54729 if test x$gcc_no_link = xyes; then
54730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54733 /* end confdefs.h. */
54734 #include <stdlib.h>
54735 #include <iconv.h>
54737 main ()
54739 iconv_t cd = iconv_open("","");
54740 iconv(cd,NULL,NULL,NULL,NULL);
54741 iconv_close(cd);
54743 return 0;
54745 _ACEOF
54746 if ac_fn_c_try_link "$LINENO"; then :
54747 INCICONV="-I../libiconv/include"
54748 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54749 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54750 am_cv_lib_iconv=yes
54751 am_cv_func_iconv=yes
54753 rm -f core conftest.err conftest.$ac_objext \
54754 conftest$ac_exeext conftest.$ac_ext
54755 CPPFLAGS="$am_save_CPPFLAGS"
54756 LIBS="$am_save_LIBS"
54757 if test "$am_cv_func_iconv" = "yes"; then
54758 break
54760 done
54763 if test "$am_cv_func_iconv" != yes; then
54764 am_save_CPPFLAGS="$CPPFLAGS"
54765 am_save_LIBS="$LIBS"
54766 CPPFLAGS="$CPPFLAGS $INCICONV"
54767 LIBS="$LIBS $LIBICONV"
54768 if test x$gcc_no_link = xyes; then
54769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54772 /* end confdefs.h. */
54773 #include <stdlib.h>
54774 #include <iconv.h>
54776 main ()
54778 iconv_t cd = iconv_open("","");
54779 iconv(cd,NULL,NULL,NULL,NULL);
54780 iconv_close(cd);
54782 return 0;
54784 _ACEOF
54785 if ac_fn_c_try_link "$LINENO"; then :
54786 am_cv_lib_iconv=yes
54787 am_cv_func_iconv=yes
54789 rm -f core conftest.err conftest.$ac_objext \
54790 conftest$ac_exeext conftest.$ac_ext
54791 CPPFLAGS="$am_save_CPPFLAGS"
54792 LIBS="$am_save_LIBS"
54796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54797 $as_echo "$am_cv_func_iconv" >&6; }
54798 if test "$am_cv_func_iconv" = yes; then
54800 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54803 if test "$am_cv_lib_iconv" = yes; then
54805 for element in $INCICONV; do
54806 haveit=
54807 for x in $CPPFLAGS; do
54809 acl_save_prefix="$prefix"
54810 prefix="$acl_final_prefix"
54811 acl_save_exec_prefix="$exec_prefix"
54812 exec_prefix="$acl_final_exec_prefix"
54813 eval x=\"$x\"
54814 exec_prefix="$acl_save_exec_prefix"
54815 prefix="$acl_save_prefix"
54817 if test "X$x" = "X$element"; then
54818 haveit=yes
54819 break
54821 done
54822 if test -z "$haveit"; then
54823 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54825 done
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54828 $as_echo_n "checking how to link with libiconv... " >&6; }
54829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54830 $as_echo "$LIBICONV" >&6; }
54831 else
54832 LIBICONV=
54833 LTLIBICONV=
54838 if test "$am_cv_func_iconv" = yes; then
54839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54840 $as_echo_n "checking for iconv declaration... " >&6; }
54841 if ${am_cv_proto_iconv+:} false; then :
54842 $as_echo_n "(cached) " >&6
54843 else
54845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54846 /* end confdefs.h. */
54848 #include <stdlib.h>
54849 #include <iconv.h>
54850 extern
54851 #ifdef __cplusplus
54853 #endif
54854 #if defined(__STDC__) || defined(__cplusplus)
54855 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54856 #else
54857 size_t iconv();
54858 #endif
54861 main ()
54865 return 0;
54867 _ACEOF
54868 if ac_fn_c_try_compile "$LINENO"; then :
54869 am_cv_proto_iconv_arg1=""
54870 else
54871 am_cv_proto_iconv_arg1="const"
54873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54874 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);"
54877 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54879 }$am_cv_proto_iconv" >&5
54880 $as_echo "${ac_t:-
54881 }$am_cv_proto_iconv" >&6; }
54883 cat >>confdefs.h <<_ACEOF
54884 #define ICONV_CONST $am_cv_proto_iconv_arg1
54885 _ACEOF
54890 *-mingw32*)
54892 # If we're not using GNU ld, then there's no point in even trying these
54893 # tests. Check for that first. We should have already tested for gld
54894 # by now (in libtool), but require it now just to be safe...
54895 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54896 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54900 # The name set by libtool depends on the version of libtool. Shame on us
54901 # for depending on an impl detail, but c'est la vie. Older versions used
54902 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54903 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54904 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54905 # set (hence we're using an older libtool), then set it.
54906 if test x${with_gnu_ld+set} != xset; then
54907 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54908 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54909 with_gnu_ld=no
54910 else
54911 with_gnu_ld=$ac_cv_prog_gnu_ld
54915 # Start by getting the version number. I think the libtool test already
54916 # does some of this, but throws away the result.
54917 glibcxx_ld_is_gold=no
54918 if test x"$with_gnu_ld" = x"yes"; then
54919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54920 $as_echo_n "checking for ld version... " >&6; }
54922 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54923 glibcxx_ld_is_gold=yes
54925 ldver=`$LD --version 2>/dev/null |
54926 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54928 glibcxx_gnu_ld_version=`echo $ldver | \
54929 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54931 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54934 # Set --gc-sections.
54935 glibcxx_have_gc_sections=no
54936 if test "$glibcxx_ld_is_gold" = "yes"; then
54937 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54938 glibcxx_have_gc_sections=yes
54940 else
54941 glibcxx_gcsections_min_ld=21602
54942 if test x"$with_gnu_ld" = x"yes" &&
54943 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54944 glibcxx_have_gc_sections=yes
54947 if test "$glibcxx_have_gc_sections" = "yes"; then
54948 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54949 # NB: This flag only works reliably after 2.16.1. Configure tests
54950 # for this are difficult, so hard wire a value that should work.
54952 ac_test_CFLAGS="${CFLAGS+set}"
54953 ac_save_CFLAGS="$CFLAGS"
54954 CFLAGS='-Wl,--gc-sections'
54956 # Check for -Wl,--gc-sections
54957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54958 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54959 if test x$gcc_no_link = xyes; then
54960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54963 /* end confdefs.h. */
54964 int one(void) { return 1; }
54965 int two(void) { return 2; }
54968 main ()
54970 two();
54972 return 0;
54974 _ACEOF
54975 if ac_fn_c_try_link "$LINENO"; then :
54976 ac_gcsections=yes
54977 else
54978 ac_gcsections=no
54980 rm -f core conftest.err conftest.$ac_objext \
54981 conftest$ac_exeext conftest.$ac_ext
54982 if test "$ac_gcsections" = "yes"; then
54983 rm -f conftest.c
54984 touch conftest.c
54985 if $CC -c conftest.c; then
54986 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54987 grep "Warning: gc-sections option ignored" > /dev/null; then
54988 ac_gcsections=no
54991 rm -f conftest.c conftest.o conftest
54993 if test "$ac_gcsections" = "yes"; then
54994 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54997 $as_echo "$ac_gcsections" >&6; }
54999 if test "$ac_test_CFLAGS" = set; then
55000 CFLAGS="$ac_save_CFLAGS"
55001 else
55002 # this is the suspicious part
55003 CFLAGS=''
55007 # Set -z,relro.
55008 # Note this is only for shared objects.
55009 ac_ld_relro=no
55010 if test x"$with_gnu_ld" = x"yes"; then
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
55012 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
55013 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55014 if test -n "$cxx_z_relo"; then
55015 OPT_LDFLAGS="-Wl,-z,relro"
55016 ac_ld_relro=yes
55018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
55019 $as_echo "$ac_ld_relro" >&6; }
55022 # Set linker optimization flags.
55023 if test x"$with_gnu_ld" = x"yes"; then
55024 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55031 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55032 ac_save_CXXFLAGS="$CXXFLAGS"
55033 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
55036 $as_echo_n "checking for sin in -lm... " >&6; }
55037 if ${ac_cv_lib_m_sin+:} false; then :
55038 $as_echo_n "(cached) " >&6
55039 else
55040 ac_check_lib_save_LIBS=$LIBS
55041 LIBS="-lm $LIBS"
55042 if test x$gcc_no_link = xyes; then
55043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55046 /* end confdefs.h. */
55048 /* Override any GCC internal prototype to avoid an error.
55049 Use char because int might match the return type of a GCC
55050 builtin and then its argument prototype would still apply. */
55051 #ifdef __cplusplus
55052 extern "C"
55053 #endif
55054 char sin ();
55056 main ()
55058 return sin ();
55060 return 0;
55062 _ACEOF
55063 if ac_fn_c_try_link "$LINENO"; then :
55064 ac_cv_lib_m_sin=yes
55065 else
55066 ac_cv_lib_m_sin=no
55068 rm -f core conftest.err conftest.$ac_objext \
55069 conftest$ac_exeext conftest.$ac_ext
55070 LIBS=$ac_check_lib_save_LIBS
55072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55073 $as_echo "$ac_cv_lib_m_sin" >&6; }
55074 if test "x$ac_cv_lib_m_sin" = xyes; then :
55075 libm="-lm"
55078 ac_save_LIBS="$LIBS"
55079 LIBS="$LIBS $libm"
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55084 $as_echo_n "checking for isinf declaration... " >&6; }
55085 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55086 if ${glibcxx_cv_func_isinf_use+:} false; then :
55087 $as_echo_n "(cached) " >&6
55088 else
55091 ac_ext=cpp
55092 ac_cpp='$CXXCPP $CPPFLAGS'
55093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55098 /* end confdefs.h. */
55099 #include <math.h>
55100 #ifdef HAVE_IEEEFP_H
55101 #include <ieeefp.h>
55102 #endif
55105 main ()
55107 isinf(0);
55109 return 0;
55111 _ACEOF
55112 if ac_fn_cxx_try_compile "$LINENO"; then :
55113 glibcxx_cv_func_isinf_use=yes
55114 else
55115 glibcxx_cv_func_isinf_use=no
55117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118 ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55129 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55131 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55132 for ac_func in isinf
55133 do :
55134 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55135 if test "x$ac_cv_func_isinf" = xyes; then :
55136 cat >>confdefs.h <<_ACEOF
55137 #define HAVE_ISINF 1
55138 _ACEOF
55141 done
55143 else
55145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55146 $as_echo_n "checking for _isinf declaration... " >&6; }
55147 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55148 if ${glibcxx_cv_func__isinf_use+:} false; then :
55149 $as_echo_n "(cached) " >&6
55150 else
55153 ac_ext=cpp
55154 ac_cpp='$CXXCPP $CPPFLAGS'
55155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160 /* end confdefs.h. */
55161 #include <math.h>
55162 #ifdef HAVE_IEEEFP_H
55163 #include <ieeefp.h>
55164 #endif
55167 main ()
55169 _isinf(0);
55171 return 0;
55173 _ACEOF
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func__isinf_use=yes
55176 else
55177 glibcxx_cv_func__isinf_use=no
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55191 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55193 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55194 for ac_func in _isinf
55195 do :
55196 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55197 if test "x$ac_cv_func__isinf" = xyes; then :
55198 cat >>confdefs.h <<_ACEOF
55199 #define HAVE__ISINF 1
55200 _ACEOF
55203 done
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55213 $as_echo_n "checking for isnan declaration... " >&6; }
55214 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55215 if ${glibcxx_cv_func_isnan_use+:} false; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55229 #ifdef HAVE_IEEEFP_H
55230 #include <ieeefp.h>
55231 #endif
55234 main ()
55236 isnan(0);
55238 return 0;
55240 _ACEOF
55241 if ac_fn_cxx_try_compile "$LINENO"; then :
55242 glibcxx_cv_func_isnan_use=yes
55243 else
55244 glibcxx_cv_func_isnan_use=no
55246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247 ac_ext=c
55248 ac_cpp='$CPP $CPPFLAGS'
55249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55258 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55260 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55261 for ac_func in isnan
55262 do :
55263 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55264 if test "x$ac_cv_func_isnan" = xyes; then :
55265 cat >>confdefs.h <<_ACEOF
55266 #define HAVE_ISNAN 1
55267 _ACEOF
55270 done
55272 else
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55275 $as_echo_n "checking for _isnan declaration... " >&6; }
55276 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55277 if ${glibcxx_cv_func__isnan_use+:} false; then :
55278 $as_echo_n "(cached) " >&6
55279 else
55282 ac_ext=cpp
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55289 /* end confdefs.h. */
55290 #include <math.h>
55291 #ifdef HAVE_IEEEFP_H
55292 #include <ieeefp.h>
55293 #endif
55296 main ()
55298 _isnan(0);
55300 return 0;
55302 _ACEOF
55303 if ac_fn_cxx_try_compile "$LINENO"; then :
55304 glibcxx_cv_func__isnan_use=yes
55305 else
55306 glibcxx_cv_func__isnan_use=no
55308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55320 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55322 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55323 for ac_func in _isnan
55324 do :
55325 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55326 if test "x$ac_cv_func__isnan" = xyes; then :
55327 cat >>confdefs.h <<_ACEOF
55328 #define HAVE__ISNAN 1
55329 _ACEOF
55332 done
55341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55342 $as_echo_n "checking for finite declaration... " >&6; }
55343 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55344 if ${glibcxx_cv_func_finite_use+:} false; then :
55345 $as_echo_n "(cached) " >&6
55346 else
55349 ac_ext=cpp
55350 ac_cpp='$CXXCPP $CPPFLAGS'
55351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356 /* end confdefs.h. */
55357 #include <math.h>
55358 #ifdef HAVE_IEEEFP_H
55359 #include <ieeefp.h>
55360 #endif
55363 main ()
55365 finite(0);
55367 return 0;
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371 glibcxx_cv_func_finite_use=yes
55372 else
55373 glibcxx_cv_func_finite_use=no
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55387 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55389 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55390 for ac_func in finite
55391 do :
55392 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55393 if test "x$ac_cv_func_finite" = xyes; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define HAVE_FINITE 1
55396 _ACEOF
55399 done
55401 else
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55404 $as_echo_n "checking for _finite declaration... " >&6; }
55405 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55406 if ${glibcxx_cv_func__finite_use+:} false; then :
55407 $as_echo_n "(cached) " >&6
55408 else
55411 ac_ext=cpp
55412 ac_cpp='$CXXCPP $CPPFLAGS'
55413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418 /* end confdefs.h. */
55419 #include <math.h>
55420 #ifdef HAVE_IEEEFP_H
55421 #include <ieeefp.h>
55422 #endif
55425 main ()
55427 _finite(0);
55429 return 0;
55431 _ACEOF
55432 if ac_fn_cxx_try_compile "$LINENO"; then :
55433 glibcxx_cv_func__finite_use=yes
55434 else
55435 glibcxx_cv_func__finite_use=no
55437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55438 ac_ext=c
55439 ac_cpp='$CPP $CPPFLAGS'
55440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55449 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55451 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55452 for ac_func in _finite
55453 do :
55454 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55455 if test "x$ac_cv_func__finite" = xyes; then :
55456 cat >>confdefs.h <<_ACEOF
55457 #define HAVE__FINITE 1
55458 _ACEOF
55461 done
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55471 $as_echo_n "checking for sincos declaration... " >&6; }
55472 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55473 if ${glibcxx_cv_func_sincos_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 sincos(0, 0, 0);
55492 return 0;
55494 _ACEOF
55495 if ac_fn_cxx_try_compile "$LINENO"; then :
55496 glibcxx_cv_func_sincos_use=yes
55497 else
55498 glibcxx_cv_func_sincos_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
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55512 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55514 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55515 for ac_func in sincos
55516 do :
55517 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55518 if test "x$ac_cv_func_sincos" = xyes; then :
55519 cat >>confdefs.h <<_ACEOF
55520 #define HAVE_SINCOS 1
55521 _ACEOF
55524 done
55526 else
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55529 $as_echo_n "checking for _sincos declaration... " >&6; }
55530 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55531 if ${glibcxx_cv_func__sincos_use+:} false; then :
55532 $as_echo_n "(cached) " >&6
55533 else
55536 ac_ext=cpp
55537 ac_cpp='$CXXCPP $CPPFLAGS'
55538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55543 /* end confdefs.h. */
55544 #include <math.h>
55546 main ()
55548 _sincos(0, 0, 0);
55550 return 0;
55552 _ACEOF
55553 if ac_fn_cxx_try_compile "$LINENO"; then :
55554 glibcxx_cv_func__sincos_use=yes
55555 else
55556 glibcxx_cv_func__sincos_use=no
55558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55559 ac_ext=c
55560 ac_cpp='$CPP $CPPFLAGS'
55561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55570 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55572 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55573 for ac_func in _sincos
55574 do :
55575 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55576 if test "x$ac_cv_func__sincos" = xyes; then :
55577 cat >>confdefs.h <<_ACEOF
55578 #define HAVE__SINCOS 1
55579 _ACEOF
55582 done
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55592 $as_echo_n "checking for fpclass declaration... " >&6; }
55593 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55594 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55595 $as_echo_n "(cached) " >&6
55596 else
55599 ac_ext=cpp
55600 ac_cpp='$CXXCPP $CPPFLAGS'
55601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55606 /* end confdefs.h. */
55607 #include <math.h>
55608 #ifdef HAVE_IEEEFP_H
55609 #include <ieeefp.h>
55610 #endif
55613 main ()
55615 fpclass(0);
55617 return 0;
55619 _ACEOF
55620 if ac_fn_cxx_try_compile "$LINENO"; then :
55621 glibcxx_cv_func_fpclass_use=yes
55622 else
55623 glibcxx_cv_func_fpclass_use=no
55625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626 ac_ext=c
55627 ac_cpp='$CPP $CPPFLAGS'
55628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55637 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55639 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55640 for ac_func in fpclass
55641 do :
55642 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55643 if test "x$ac_cv_func_fpclass" = xyes; then :
55644 cat >>confdefs.h <<_ACEOF
55645 #define HAVE_FPCLASS 1
55646 _ACEOF
55649 done
55651 else
55653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55654 $as_echo_n "checking for _fpclass declaration... " >&6; }
55655 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55656 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55657 $as_echo_n "(cached) " >&6
55658 else
55661 ac_ext=cpp
55662 ac_cpp='$CXXCPP $CPPFLAGS'
55663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55668 /* end confdefs.h. */
55669 #include <math.h>
55670 #ifdef HAVE_IEEEFP_H
55671 #include <ieeefp.h>
55672 #endif
55675 main ()
55677 _fpclass(0);
55679 return 0;
55681 _ACEOF
55682 if ac_fn_cxx_try_compile "$LINENO"; then :
55683 glibcxx_cv_func__fpclass_use=yes
55684 else
55685 glibcxx_cv_func__fpclass_use=no
55687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55688 ac_ext=c
55689 ac_cpp='$CPP $CPPFLAGS'
55690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55699 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55701 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55702 for ac_func in _fpclass
55703 do :
55704 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55705 if test "x$ac_cv_func__fpclass" = xyes; then :
55706 cat >>confdefs.h <<_ACEOF
55707 #define HAVE__FPCLASS 1
55708 _ACEOF
55711 done
55720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55721 $as_echo_n "checking for qfpclass declaration... " >&6; }
55722 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55723 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55724 $as_echo_n "(cached) " >&6
55725 else
55728 ac_ext=cpp
55729 ac_cpp='$CXXCPP $CPPFLAGS'
55730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55735 /* end confdefs.h. */
55736 #include <math.h>
55737 #ifdef HAVE_IEEEFP_H
55738 #include <ieeefp.h>
55739 #endif
55742 main ()
55744 qfpclass(0);
55746 return 0;
55748 _ACEOF
55749 if ac_fn_cxx_try_compile "$LINENO"; then :
55750 glibcxx_cv_func_qfpclass_use=yes
55751 else
55752 glibcxx_cv_func_qfpclass_use=no
55754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55755 ac_ext=c
55756 ac_cpp='$CPP $CPPFLAGS'
55757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55766 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55768 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55769 for ac_func in qfpclass
55770 do :
55771 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55772 if test "x$ac_cv_func_qfpclass" = xyes; then :
55773 cat >>confdefs.h <<_ACEOF
55774 #define HAVE_QFPCLASS 1
55775 _ACEOF
55778 done
55780 else
55782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55783 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55784 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55785 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55786 $as_echo_n "(cached) " >&6
55787 else
55790 ac_ext=cpp
55791 ac_cpp='$CXXCPP $CPPFLAGS'
55792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55797 /* end confdefs.h. */
55798 #include <math.h>
55799 #ifdef HAVE_IEEEFP_H
55800 #include <ieeefp.h>
55801 #endif
55804 main ()
55806 _qfpclass(0);
55808 return 0;
55810 _ACEOF
55811 if ac_fn_cxx_try_compile "$LINENO"; then :
55812 glibcxx_cv_func__qfpclass_use=yes
55813 else
55814 glibcxx_cv_func__qfpclass_use=no
55816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55817 ac_ext=c
55818 ac_cpp='$CPP $CPPFLAGS'
55819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55828 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55830 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55831 for ac_func in _qfpclass
55832 do :
55833 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55834 if test "x$ac_cv_func__qfpclass" = xyes; then :
55835 cat >>confdefs.h <<_ACEOF
55836 #define HAVE__QFPCLASS 1
55837 _ACEOF
55840 done
55849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55850 $as_echo_n "checking for hypot declaration... " >&6; }
55851 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55852 if ${glibcxx_cv_func_hypot_use+:} false; then :
55853 $as_echo_n "(cached) " >&6
55854 else
55857 ac_ext=cpp
55858 ac_cpp='$CXXCPP $CPPFLAGS'
55859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864 /* end confdefs.h. */
55865 #include <math.h>
55867 main ()
55869 hypot(0, 0);
55871 return 0;
55873 _ACEOF
55874 if ac_fn_cxx_try_compile "$LINENO"; then :
55875 glibcxx_cv_func_hypot_use=yes
55876 else
55877 glibcxx_cv_func_hypot_use=no
55879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55880 ac_ext=c
55881 ac_cpp='$CPP $CPPFLAGS'
55882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55891 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55893 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55894 for ac_func in hypot
55895 do :
55896 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55897 if test "x$ac_cv_func_hypot" = xyes; then :
55898 cat >>confdefs.h <<_ACEOF
55899 #define HAVE_HYPOT 1
55900 _ACEOF
55903 done
55905 else
55907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55908 $as_echo_n "checking for _hypot declaration... " >&6; }
55909 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55910 if ${glibcxx_cv_func__hypot_use+:} false; then :
55911 $as_echo_n "(cached) " >&6
55912 else
55915 ac_ext=cpp
55916 ac_cpp='$CXXCPP $CPPFLAGS'
55917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55922 /* end confdefs.h. */
55923 #include <math.h>
55925 main ()
55927 _hypot(0, 0);
55929 return 0;
55931 _ACEOF
55932 if ac_fn_cxx_try_compile "$LINENO"; then :
55933 glibcxx_cv_func__hypot_use=yes
55934 else
55935 glibcxx_cv_func__hypot_use=no
55937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55938 ac_ext=c
55939 ac_cpp='$CPP $CPPFLAGS'
55940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55949 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55951 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55952 for ac_func in _hypot
55953 do :
55954 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55955 if test "x$ac_cv_func__hypot" = xyes; then :
55956 cat >>confdefs.h <<_ACEOF
55957 #define HAVE__HYPOT 1
55958 _ACEOF
55961 done
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55971 $as_echo_n "checking for float trig functions... " >&6; }
55972 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55973 $as_echo_n "(cached) " >&6
55974 else
55977 ac_ext=cpp
55978 ac_cpp='$CXXCPP $CPPFLAGS'
55979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55984 /* end confdefs.h. */
55985 #include <math.h>
55987 main ()
55989 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55991 return 0;
55993 _ACEOF
55994 if ac_fn_cxx_try_compile "$LINENO"; then :
55995 glibcxx_cv_func_float_trig_use=yes
55996 else
55997 glibcxx_cv_func_float_trig_use=no
55999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56000 ac_ext=c
56001 ac_cpp='$CPP $CPPFLAGS'
56002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
56009 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
56010 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56011 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56012 do :
56013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56015 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56016 cat >>confdefs.h <<_ACEOF
56017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56018 _ACEOF
56021 done
56023 else
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
56025 $as_echo_n "checking for _float trig functions... " >&6; }
56026 if ${glibcxx_cv_func__float_trig_use+:} false; then :
56027 $as_echo_n "(cached) " >&6
56028 else
56031 ac_ext=cpp
56032 ac_cpp='$CXXCPP $CPPFLAGS'
56033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038 /* end confdefs.h. */
56039 #include <math.h>
56041 main ()
56043 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56045 return 0;
56047 _ACEOF
56048 if ac_fn_cxx_try_compile "$LINENO"; then :
56049 glibcxx_cv_func__float_trig_use=yes
56050 else
56051 glibcxx_cv_func__float_trig_use=no
56053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56054 ac_ext=c
56055 ac_cpp='$CPP $CPPFLAGS'
56056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56063 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56064 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56065 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56066 do :
56067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56069 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56070 cat >>confdefs.h <<_ACEOF
56071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56072 _ACEOF
56075 done
56084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56085 $as_echo_n "checking for float round functions... " >&6; }
56086 if ${glibcxx_cv_func_float_round_use+:} false; then :
56087 $as_echo_n "(cached) " >&6
56088 else
56091 ac_ext=cpp
56092 ac_cpp='$CXXCPP $CPPFLAGS'
56093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56098 /* end confdefs.h. */
56099 #include <math.h>
56101 main ()
56103 ceilf (0); floorf (0);
56105 return 0;
56107 _ACEOF
56108 if ac_fn_cxx_try_compile "$LINENO"; then :
56109 glibcxx_cv_func_float_round_use=yes
56110 else
56111 glibcxx_cv_func_float_round_use=no
56113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56114 ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56123 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56124 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56125 for ac_func in ceilf floorf
56126 do :
56127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56130 cat >>confdefs.h <<_ACEOF
56131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56132 _ACEOF
56135 done
56137 else
56138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56139 $as_echo_n "checking for _float round functions... " >&6; }
56140 if ${glibcxx_cv_func__float_round_use+:} false; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56155 main ()
56157 _ceilf (0); _floorf (0);
56159 return 0;
56161 _ACEOF
56162 if ac_fn_cxx_try_compile "$LINENO"; then :
56163 glibcxx_cv_func__float_round_use=yes
56164 else
56165 glibcxx_cv_func__float_round_use=no
56167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56168 ac_ext=c
56169 ac_cpp='$CPP $CPPFLAGS'
56170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56177 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56178 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56179 for ac_func in _ceilf _floorf
56180 do :
56181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56183 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56184 cat >>confdefs.h <<_ACEOF
56185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56186 _ACEOF
56189 done
56199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56200 $as_echo_n "checking for expf declaration... " >&6; }
56201 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56202 if ${glibcxx_cv_func_expf_use+:} false; then :
56203 $as_echo_n "(cached) " >&6
56204 else
56207 ac_ext=cpp
56208 ac_cpp='$CXXCPP $CPPFLAGS'
56209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56214 /* end confdefs.h. */
56215 #include <math.h>
56216 #ifdef HAVE_IEEEFP_H
56217 #include <ieeefp.h>
56218 #endif
56221 main ()
56223 expf(0);
56225 return 0;
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func_expf_use=yes
56230 else
56231 glibcxx_cv_func_expf_use=no
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56245 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56247 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56248 for ac_func in expf
56249 do :
56250 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56251 if test "x$ac_cv_func_expf" = xyes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE_EXPF 1
56254 _ACEOF
56257 done
56259 else
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56262 $as_echo_n "checking for _expf declaration... " >&6; }
56263 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56264 if ${glibcxx_cv_func__expf_use+:} false; then :
56265 $as_echo_n "(cached) " >&6
56266 else
56269 ac_ext=cpp
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276 /* end confdefs.h. */
56277 #include <math.h>
56278 #ifdef HAVE_IEEEFP_H
56279 #include <ieeefp.h>
56280 #endif
56283 main ()
56285 _expf(0);
56287 return 0;
56289 _ACEOF
56290 if ac_fn_cxx_try_compile "$LINENO"; then :
56291 glibcxx_cv_func__expf_use=yes
56292 else
56293 glibcxx_cv_func__expf_use=no
56295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296 ac_ext=c
56297 ac_cpp='$CPP $CPPFLAGS'
56298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56307 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56309 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56310 for ac_func in _expf
56311 do :
56312 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56313 if test "x$ac_cv_func__expf" = xyes; then :
56314 cat >>confdefs.h <<_ACEOF
56315 #define HAVE__EXPF 1
56316 _ACEOF
56319 done
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56329 $as_echo_n "checking for isnanf declaration... " >&6; }
56330 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56331 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56345 #ifdef HAVE_IEEEFP_H
56346 #include <ieeefp.h>
56347 #endif
56350 main ()
56352 isnanf(0);
56354 return 0;
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358 glibcxx_cv_func_isnanf_use=yes
56359 else
56360 glibcxx_cv_func_isnanf_use=no
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363 ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56374 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56376 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56377 for ac_func in isnanf
56378 do :
56379 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56380 if test "x$ac_cv_func_isnanf" = xyes; then :
56381 cat >>confdefs.h <<_ACEOF
56382 #define HAVE_ISNANF 1
56383 _ACEOF
56386 done
56388 else
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56391 $as_echo_n "checking for _isnanf declaration... " >&6; }
56392 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56393 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56394 $as_echo_n "(cached) " >&6
56395 else
56398 ac_ext=cpp
56399 ac_cpp='$CXXCPP $CPPFLAGS'
56400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405 /* end confdefs.h. */
56406 #include <math.h>
56407 #ifdef HAVE_IEEEFP_H
56408 #include <ieeefp.h>
56409 #endif
56412 main ()
56414 _isnanf(0);
56416 return 0;
56418 _ACEOF
56419 if ac_fn_cxx_try_compile "$LINENO"; then :
56420 glibcxx_cv_func__isnanf_use=yes
56421 else
56422 glibcxx_cv_func__isnanf_use=no
56424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56436 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56438 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56439 for ac_func in _isnanf
56440 do :
56441 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56442 if test "x$ac_cv_func__isnanf" = xyes; then :
56443 cat >>confdefs.h <<_ACEOF
56444 #define HAVE__ISNANF 1
56445 _ACEOF
56448 done
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56458 $as_echo_n "checking for isinff declaration... " >&6; }
56459 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56460 if ${glibcxx_cv_func_isinff_use+:} false; then :
56461 $as_echo_n "(cached) " >&6
56462 else
56465 ac_ext=cpp
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472 /* end confdefs.h. */
56473 #include <math.h>
56474 #ifdef HAVE_IEEEFP_H
56475 #include <ieeefp.h>
56476 #endif
56479 main ()
56481 isinff(0);
56483 return 0;
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func_isinff_use=yes
56488 else
56489 glibcxx_cv_func_isinff_use=no
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56503 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56505 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56506 for ac_func in isinff
56507 do :
56508 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56509 if test "x$ac_cv_func_isinff" = xyes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_ISINFF 1
56512 _ACEOF
56515 done
56517 else
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56520 $as_echo_n "checking for _isinff declaration... " >&6; }
56521 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56522 if ${glibcxx_cv_func__isinff_use+:} false; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56536 #ifdef HAVE_IEEEFP_H
56537 #include <ieeefp.h>
56538 #endif
56541 main ()
56543 _isinff(0);
56545 return 0;
56547 _ACEOF
56548 if ac_fn_cxx_try_compile "$LINENO"; then :
56549 glibcxx_cv_func__isinff_use=yes
56550 else
56551 glibcxx_cv_func__isinff_use=no
56553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56554 ac_ext=c
56555 ac_cpp='$CPP $CPPFLAGS'
56556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56565 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56567 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56568 for ac_func in _isinff
56569 do :
56570 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56571 if test "x$ac_cv_func__isinff" = xyes; then :
56572 cat >>confdefs.h <<_ACEOF
56573 #define HAVE__ISINFF 1
56574 _ACEOF
56577 done
56586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56587 $as_echo_n "checking for atan2f declaration... " >&6; }
56588 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56589 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56590 $as_echo_n "(cached) " >&6
56591 else
56594 ac_ext=cpp
56595 ac_cpp='$CXXCPP $CPPFLAGS'
56596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56601 /* end confdefs.h. */
56602 #include <math.h>
56604 main ()
56606 atan2f(0, 0);
56608 return 0;
56610 _ACEOF
56611 if ac_fn_cxx_try_compile "$LINENO"; then :
56612 glibcxx_cv_func_atan2f_use=yes
56613 else
56614 glibcxx_cv_func_atan2f_use=no
56616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56617 ac_ext=c
56618 ac_cpp='$CPP $CPPFLAGS'
56619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56628 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56630 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56631 for ac_func in atan2f
56632 do :
56633 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56634 if test "x$ac_cv_func_atan2f" = xyes; then :
56635 cat >>confdefs.h <<_ACEOF
56636 #define HAVE_ATAN2F 1
56637 _ACEOF
56640 done
56642 else
56644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56645 $as_echo_n "checking for _atan2f declaration... " >&6; }
56646 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56647 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56648 $as_echo_n "(cached) " >&6
56649 else
56652 ac_ext=cpp
56653 ac_cpp='$CXXCPP $CPPFLAGS'
56654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56659 /* end confdefs.h. */
56660 #include <math.h>
56662 main ()
56664 _atan2f(0, 0);
56666 return 0;
56668 _ACEOF
56669 if ac_fn_cxx_try_compile "$LINENO"; then :
56670 glibcxx_cv_func__atan2f_use=yes
56671 else
56672 glibcxx_cv_func__atan2f_use=no
56674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56675 ac_ext=c
56676 ac_cpp='$CPP $CPPFLAGS'
56677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56686 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56688 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56689 for ac_func in _atan2f
56690 do :
56691 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56692 if test "x$ac_cv_func__atan2f" = xyes; then :
56693 cat >>confdefs.h <<_ACEOF
56694 #define HAVE__ATAN2F 1
56695 _ACEOF
56698 done
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56708 $as_echo_n "checking for fabsf declaration... " >&6; }
56709 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56710 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56711 $as_echo_n "(cached) " >&6
56712 else
56715 ac_ext=cpp
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722 /* end confdefs.h. */
56723 #include <math.h>
56724 #ifdef HAVE_IEEEFP_H
56725 #include <ieeefp.h>
56726 #endif
56729 main ()
56731 fabsf(0);
56733 return 0;
56735 _ACEOF
56736 if ac_fn_cxx_try_compile "$LINENO"; then :
56737 glibcxx_cv_func_fabsf_use=yes
56738 else
56739 glibcxx_cv_func_fabsf_use=no
56741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56742 ac_ext=c
56743 ac_cpp='$CPP $CPPFLAGS'
56744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56753 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56755 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56756 for ac_func in fabsf
56757 do :
56758 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56759 if test "x$ac_cv_func_fabsf" = xyes; then :
56760 cat >>confdefs.h <<_ACEOF
56761 #define HAVE_FABSF 1
56762 _ACEOF
56765 done
56767 else
56769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56770 $as_echo_n "checking for _fabsf declaration... " >&6; }
56771 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56772 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56773 $as_echo_n "(cached) " >&6
56774 else
56777 ac_ext=cpp
56778 ac_cpp='$CXXCPP $CPPFLAGS'
56779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56784 /* end confdefs.h. */
56785 #include <math.h>
56786 #ifdef HAVE_IEEEFP_H
56787 #include <ieeefp.h>
56788 #endif
56791 main ()
56793 _fabsf(0);
56795 return 0;
56797 _ACEOF
56798 if ac_fn_cxx_try_compile "$LINENO"; then :
56799 glibcxx_cv_func__fabsf_use=yes
56800 else
56801 glibcxx_cv_func__fabsf_use=no
56803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804 ac_ext=c
56805 ac_cpp='$CPP $CPPFLAGS'
56806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56815 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56817 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56818 for ac_func in _fabsf
56819 do :
56820 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56821 if test "x$ac_cv_func__fabsf" = xyes; then :
56822 cat >>confdefs.h <<_ACEOF
56823 #define HAVE__FABSF 1
56824 _ACEOF
56827 done
56836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56837 $as_echo_n "checking for fmodf declaration... " >&6; }
56838 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56839 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56840 $as_echo_n "(cached) " >&6
56841 else
56844 ac_ext=cpp
56845 ac_cpp='$CXXCPP $CPPFLAGS'
56846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851 /* end confdefs.h. */
56852 #include <math.h>
56854 main ()
56856 fmodf(0, 0);
56858 return 0;
56860 _ACEOF
56861 if ac_fn_cxx_try_compile "$LINENO"; then :
56862 glibcxx_cv_func_fmodf_use=yes
56863 else
56864 glibcxx_cv_func_fmodf_use=no
56866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56867 ac_ext=c
56868 ac_cpp='$CPP $CPPFLAGS'
56869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56878 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56880 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56881 for ac_func in fmodf
56882 do :
56883 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56884 if test "x$ac_cv_func_fmodf" = xyes; then :
56885 cat >>confdefs.h <<_ACEOF
56886 #define HAVE_FMODF 1
56887 _ACEOF
56890 done
56892 else
56894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56895 $as_echo_n "checking for _fmodf declaration... " >&6; }
56896 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56897 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56898 $as_echo_n "(cached) " >&6
56899 else
56902 ac_ext=cpp
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909 /* end confdefs.h. */
56910 #include <math.h>
56912 main ()
56914 _fmodf(0, 0);
56916 return 0;
56918 _ACEOF
56919 if ac_fn_cxx_try_compile "$LINENO"; then :
56920 glibcxx_cv_func__fmodf_use=yes
56921 else
56922 glibcxx_cv_func__fmodf_use=no
56924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56925 ac_ext=c
56926 ac_cpp='$CPP $CPPFLAGS'
56927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56936 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56938 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56939 for ac_func in _fmodf
56940 do :
56941 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56942 if test "x$ac_cv_func__fmodf" = xyes; then :
56943 cat >>confdefs.h <<_ACEOF
56944 #define HAVE__FMODF 1
56945 _ACEOF
56948 done
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56958 $as_echo_n "checking for frexpf declaration... " >&6; }
56959 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56960 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56961 $as_echo_n "(cached) " >&6
56962 else
56965 ac_ext=cpp
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56972 /* end confdefs.h. */
56973 #include <math.h>
56975 main ()
56977 frexpf(0, 0);
56979 return 0;
56981 _ACEOF
56982 if ac_fn_cxx_try_compile "$LINENO"; then :
56983 glibcxx_cv_func_frexpf_use=yes
56984 else
56985 glibcxx_cv_func_frexpf_use=no
56987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56999 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
57001 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57002 for ac_func in frexpf
57003 do :
57004 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
57005 if test "x$ac_cv_func_frexpf" = xyes; then :
57006 cat >>confdefs.h <<_ACEOF
57007 #define HAVE_FREXPF 1
57008 _ACEOF
57011 done
57013 else
57015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
57016 $as_echo_n "checking for _frexpf declaration... " >&6; }
57017 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57018 if ${glibcxx_cv_func__frexpf_use+:} false; then :
57019 $as_echo_n "(cached) " >&6
57020 else
57023 ac_ext=cpp
57024 ac_cpp='$CXXCPP $CPPFLAGS'
57025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57030 /* end confdefs.h. */
57031 #include <math.h>
57033 main ()
57035 _frexpf(0, 0);
57037 return 0;
57039 _ACEOF
57040 if ac_fn_cxx_try_compile "$LINENO"; then :
57041 glibcxx_cv_func__frexpf_use=yes
57042 else
57043 glibcxx_cv_func__frexpf_use=no
57045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57046 ac_ext=c
57047 ac_cpp='$CPP $CPPFLAGS'
57048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
57057 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57059 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57060 for ac_func in _frexpf
57061 do :
57062 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57063 if test "x$ac_cv_func__frexpf" = xyes; then :
57064 cat >>confdefs.h <<_ACEOF
57065 #define HAVE__FREXPF 1
57066 _ACEOF
57069 done
57078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57079 $as_echo_n "checking for hypotf declaration... " >&6; }
57080 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57081 if ${glibcxx_cv_func_hypotf_use+:} false; then :
57082 $as_echo_n "(cached) " >&6
57083 else
57086 ac_ext=cpp
57087 ac_cpp='$CXXCPP $CPPFLAGS'
57088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57093 /* end confdefs.h. */
57094 #include <math.h>
57096 main ()
57098 hypotf(0, 0);
57100 return 0;
57102 _ACEOF
57103 if ac_fn_cxx_try_compile "$LINENO"; then :
57104 glibcxx_cv_func_hypotf_use=yes
57105 else
57106 glibcxx_cv_func_hypotf_use=no
57108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57109 ac_ext=c
57110 ac_cpp='$CPP $CPPFLAGS'
57111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57120 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57122 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57123 for ac_func in hypotf
57124 do :
57125 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57126 if test "x$ac_cv_func_hypotf" = xyes; then :
57127 cat >>confdefs.h <<_ACEOF
57128 #define HAVE_HYPOTF 1
57129 _ACEOF
57132 done
57134 else
57136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57137 $as_echo_n "checking for _hypotf declaration... " >&6; }
57138 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57139 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57140 $as_echo_n "(cached) " >&6
57141 else
57144 ac_ext=cpp
57145 ac_cpp='$CXXCPP $CPPFLAGS'
57146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57151 /* end confdefs.h. */
57152 #include <math.h>
57154 main ()
57156 _hypotf(0, 0);
57158 return 0;
57160 _ACEOF
57161 if ac_fn_cxx_try_compile "$LINENO"; then :
57162 glibcxx_cv_func__hypotf_use=yes
57163 else
57164 glibcxx_cv_func__hypotf_use=no
57166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57178 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57180 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57181 for ac_func in _hypotf
57182 do :
57183 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57184 if test "x$ac_cv_func__hypotf" = xyes; then :
57185 cat >>confdefs.h <<_ACEOF
57186 #define HAVE__HYPOTF 1
57187 _ACEOF
57190 done
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57200 $as_echo_n "checking for ldexpf declaration... " >&6; }
57201 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57202 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57217 main ()
57219 ldexpf(0, 0);
57221 return 0;
57223 _ACEOF
57224 if ac_fn_cxx_try_compile "$LINENO"; then :
57225 glibcxx_cv_func_ldexpf_use=yes
57226 else
57227 glibcxx_cv_func_ldexpf_use=no
57229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57241 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57243 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57244 for ac_func in ldexpf
57245 do :
57246 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57247 if test "x$ac_cv_func_ldexpf" = xyes; then :
57248 cat >>confdefs.h <<_ACEOF
57249 #define HAVE_LDEXPF 1
57250 _ACEOF
57253 done
57255 else
57257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57258 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57259 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57260 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57261 $as_echo_n "(cached) " >&6
57262 else
57265 ac_ext=cpp
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57272 /* end confdefs.h. */
57273 #include <math.h>
57275 main ()
57277 _ldexpf(0, 0);
57279 return 0;
57281 _ACEOF
57282 if ac_fn_cxx_try_compile "$LINENO"; then :
57283 glibcxx_cv_func__ldexpf_use=yes
57284 else
57285 glibcxx_cv_func__ldexpf_use=no
57287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57288 ac_ext=c
57289 ac_cpp='$CPP $CPPFLAGS'
57290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57299 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57301 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57302 for ac_func in _ldexpf
57303 do :
57304 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57305 if test "x$ac_cv_func__ldexpf" = xyes; then :
57306 cat >>confdefs.h <<_ACEOF
57307 #define HAVE__LDEXPF 1
57308 _ACEOF
57311 done
57320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57321 $as_echo_n "checking for logf declaration... " >&6; }
57322 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57323 if ${glibcxx_cv_func_logf_use+:} false; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57337 #ifdef HAVE_IEEEFP_H
57338 #include <ieeefp.h>
57339 #endif
57342 main ()
57344 logf(0);
57346 return 0;
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_logf_use=yes
57351 else
57352 glibcxx_cv_func_logf_use=no
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57366 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57368 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57369 for ac_func in logf
57370 do :
57371 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57372 if test "x$ac_cv_func_logf" = xyes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_LOGF 1
57375 _ACEOF
57378 done
57380 else
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57383 $as_echo_n "checking for _logf declaration... " >&6; }
57384 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57385 if ${glibcxx_cv_func__logf_use+:} false; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 #ifdef HAVE_IEEEFP_H
57400 #include <ieeefp.h>
57401 #endif
57404 main ()
57406 _logf(0);
57408 return 0;
57410 _ACEOF
57411 if ac_fn_cxx_try_compile "$LINENO"; then :
57412 glibcxx_cv_func__logf_use=yes
57413 else
57414 glibcxx_cv_func__logf_use=no
57416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417 ac_ext=c
57418 ac_cpp='$CPP $CPPFLAGS'
57419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57428 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57430 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57431 for ac_func in _logf
57432 do :
57433 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57434 if test "x$ac_cv_func__logf" = xyes; then :
57435 cat >>confdefs.h <<_ACEOF
57436 #define HAVE__LOGF 1
57437 _ACEOF
57440 done
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57450 $as_echo_n "checking for log10f declaration... " >&6; }
57451 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57452 if ${glibcxx_cv_func_log10f_use+:} false; then :
57453 $as_echo_n "(cached) " >&6
57454 else
57457 ac_ext=cpp
57458 ac_cpp='$CXXCPP $CPPFLAGS'
57459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464 /* end confdefs.h. */
57465 #include <math.h>
57466 #ifdef HAVE_IEEEFP_H
57467 #include <ieeefp.h>
57468 #endif
57471 main ()
57473 log10f(0);
57475 return 0;
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479 glibcxx_cv_func_log10f_use=yes
57480 else
57481 glibcxx_cv_func_log10f_use=no
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484 ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57495 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57497 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57498 for ac_func in log10f
57499 do :
57500 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57501 if test "x$ac_cv_func_log10f" = xyes; then :
57502 cat >>confdefs.h <<_ACEOF
57503 #define HAVE_LOG10F 1
57504 _ACEOF
57507 done
57509 else
57511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57512 $as_echo_n "checking for _log10f declaration... " >&6; }
57513 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57514 if ${glibcxx_cv_func__log10f_use+:} false; then :
57515 $as_echo_n "(cached) " >&6
57516 else
57519 ac_ext=cpp
57520 ac_cpp='$CXXCPP $CPPFLAGS'
57521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57526 /* end confdefs.h. */
57527 #include <math.h>
57528 #ifdef HAVE_IEEEFP_H
57529 #include <ieeefp.h>
57530 #endif
57533 main ()
57535 _log10f(0);
57537 return 0;
57539 _ACEOF
57540 if ac_fn_cxx_try_compile "$LINENO"; then :
57541 glibcxx_cv_func__log10f_use=yes
57542 else
57543 glibcxx_cv_func__log10f_use=no
57545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57546 ac_ext=c
57547 ac_cpp='$CPP $CPPFLAGS'
57548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57557 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57559 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57560 for ac_func in _log10f
57561 do :
57562 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57563 if test "x$ac_cv_func__log10f" = xyes; then :
57564 cat >>confdefs.h <<_ACEOF
57565 #define HAVE__LOG10F 1
57566 _ACEOF
57569 done
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57579 $as_echo_n "checking for modff declaration... " >&6; }
57580 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57581 if ${glibcxx_cv_func_modff_use+:} false; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57596 main ()
57598 modff(0, 0);
57600 return 0;
57602 _ACEOF
57603 if ac_fn_cxx_try_compile "$LINENO"; then :
57604 glibcxx_cv_func_modff_use=yes
57605 else
57606 glibcxx_cv_func_modff_use=no
57608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57609 ac_ext=c
57610 ac_cpp='$CPP $CPPFLAGS'
57611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57620 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57622 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57623 for ac_func in modff
57624 do :
57625 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57626 if test "x$ac_cv_func_modff" = xyes; then :
57627 cat >>confdefs.h <<_ACEOF
57628 #define HAVE_MODFF 1
57629 _ACEOF
57632 done
57634 else
57636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57637 $as_echo_n "checking for _modff declaration... " >&6; }
57638 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57639 if ${glibcxx_cv_func__modff_use+:} false; then :
57640 $as_echo_n "(cached) " >&6
57641 else
57644 ac_ext=cpp
57645 ac_cpp='$CXXCPP $CPPFLAGS'
57646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57651 /* end confdefs.h. */
57652 #include <math.h>
57654 main ()
57656 _modff(0, 0);
57658 return 0;
57660 _ACEOF
57661 if ac_fn_cxx_try_compile "$LINENO"; then :
57662 glibcxx_cv_func__modff_use=yes
57663 else
57664 glibcxx_cv_func__modff_use=no
57666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57667 ac_ext=c
57668 ac_cpp='$CPP $CPPFLAGS'
57669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57678 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57680 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57681 for ac_func in _modff
57682 do :
57683 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57684 if test "x$ac_cv_func__modff" = xyes; then :
57685 cat >>confdefs.h <<_ACEOF
57686 #define HAVE__MODFF 1
57687 _ACEOF
57690 done
57699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57700 $as_echo_n "checking for modf declaration... " >&6; }
57701 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57702 if ${glibcxx_cv_func_modf_use+:} false; then :
57703 $as_echo_n "(cached) " >&6
57704 else
57707 ac_ext=cpp
57708 ac_cpp='$CXXCPP $CPPFLAGS'
57709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57714 /* end confdefs.h. */
57715 #include <math.h>
57717 main ()
57719 modf(0, 0);
57721 return 0;
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func_modf_use=yes
57726 else
57727 glibcxx_cv_func_modf_use=no
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57741 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57743 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57744 for ac_func in modf
57745 do :
57746 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57747 if test "x$ac_cv_func_modf" = xyes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE_MODF 1
57750 _ACEOF
57753 done
57755 else
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57758 $as_echo_n "checking for _modf declaration... " >&6; }
57759 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57760 if ${glibcxx_cv_func__modf_use+:} false; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57775 main ()
57777 _modf(0, 0);
57779 return 0;
57781 _ACEOF
57782 if ac_fn_cxx_try_compile "$LINENO"; then :
57783 glibcxx_cv_func__modf_use=yes
57784 else
57785 glibcxx_cv_func__modf_use=no
57787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57788 ac_ext=c
57789 ac_cpp='$CPP $CPPFLAGS'
57790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57799 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57801 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57802 for ac_func in _modf
57803 do :
57804 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57805 if test "x$ac_cv_func__modf" = xyes; then :
57806 cat >>confdefs.h <<_ACEOF
57807 #define HAVE__MODF 1
57808 _ACEOF
57811 done
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57821 $as_echo_n "checking for powf declaration... " >&6; }
57822 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57823 if ${glibcxx_cv_func_powf_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 powf(0, 0);
57842 return 0;
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846 glibcxx_cv_func_powf_use=yes
57847 else
57848 glibcxx_cv_func_powf_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
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57862 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57864 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57865 for ac_func in powf
57866 do :
57867 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57868 if test "x$ac_cv_func_powf" = xyes; then :
57869 cat >>confdefs.h <<_ACEOF
57870 #define HAVE_POWF 1
57871 _ACEOF
57874 done
57876 else
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57879 $as_echo_n "checking for _powf declaration... " >&6; }
57880 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57881 if ${glibcxx_cv_func__powf_use+:} false; then :
57882 $as_echo_n "(cached) " >&6
57883 else
57886 ac_ext=cpp
57887 ac_cpp='$CXXCPP $CPPFLAGS'
57888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893 /* end confdefs.h. */
57894 #include <math.h>
57896 main ()
57898 _powf(0, 0);
57900 return 0;
57902 _ACEOF
57903 if ac_fn_cxx_try_compile "$LINENO"; then :
57904 glibcxx_cv_func__powf_use=yes
57905 else
57906 glibcxx_cv_func__powf_use=no
57908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57909 ac_ext=c
57910 ac_cpp='$CPP $CPPFLAGS'
57911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57920 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57922 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57923 for ac_func in _powf
57924 do :
57925 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57926 if test "x$ac_cv_func__powf" = xyes; then :
57927 cat >>confdefs.h <<_ACEOF
57928 #define HAVE__POWF 1
57929 _ACEOF
57932 done
57941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57942 $as_echo_n "checking for sqrtf declaration... " >&6; }
57943 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57944 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57945 $as_echo_n "(cached) " >&6
57946 else
57949 ac_ext=cpp
57950 ac_cpp='$CXXCPP $CPPFLAGS'
57951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57956 /* end confdefs.h. */
57957 #include <math.h>
57958 #ifdef HAVE_IEEEFP_H
57959 #include <ieeefp.h>
57960 #endif
57963 main ()
57965 sqrtf(0);
57967 return 0;
57969 _ACEOF
57970 if ac_fn_cxx_try_compile "$LINENO"; then :
57971 glibcxx_cv_func_sqrtf_use=yes
57972 else
57973 glibcxx_cv_func_sqrtf_use=no
57975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57976 ac_ext=c
57977 ac_cpp='$CPP $CPPFLAGS'
57978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57987 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57989 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57990 for ac_func in sqrtf
57991 do :
57992 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57993 if test "x$ac_cv_func_sqrtf" = xyes; then :
57994 cat >>confdefs.h <<_ACEOF
57995 #define HAVE_SQRTF 1
57996 _ACEOF
57999 done
58001 else
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
58004 $as_echo_n "checking for _sqrtf declaration... " >&6; }
58005 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
58006 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
58007 $as_echo_n "(cached) " >&6
58008 else
58011 ac_ext=cpp
58012 ac_cpp='$CXXCPP $CPPFLAGS'
58013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58018 /* end confdefs.h. */
58019 #include <math.h>
58020 #ifdef HAVE_IEEEFP_H
58021 #include <ieeefp.h>
58022 #endif
58025 main ()
58027 _sqrtf(0);
58029 return 0;
58031 _ACEOF
58032 if ac_fn_cxx_try_compile "$LINENO"; then :
58033 glibcxx_cv_func__sqrtf_use=yes
58034 else
58035 glibcxx_cv_func__sqrtf_use=no
58037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58038 ac_ext=c
58039 ac_cpp='$CPP $CPPFLAGS'
58040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
58049 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
58051 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
58052 for ac_func in _sqrtf
58053 do :
58054 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
58055 if test "x$ac_cv_func__sqrtf" = xyes; then :
58056 cat >>confdefs.h <<_ACEOF
58057 #define HAVE__SQRTF 1
58058 _ACEOF
58061 done
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58071 $as_echo_n "checking for sincosf declaration... " >&6; }
58072 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58073 if ${glibcxx_cv_func_sincosf_use+:} false; then :
58074 $as_echo_n "(cached) " >&6
58075 else
58078 ac_ext=cpp
58079 ac_cpp='$CXXCPP $CPPFLAGS'
58080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h. */
58086 #include <math.h>
58088 main ()
58090 sincosf(0, 0, 0);
58092 return 0;
58094 _ACEOF
58095 if ac_fn_cxx_try_compile "$LINENO"; then :
58096 glibcxx_cv_func_sincosf_use=yes
58097 else
58098 glibcxx_cv_func_sincosf_use=no
58100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58101 ac_ext=c
58102 ac_cpp='$CPP $CPPFLAGS'
58103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58112 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58114 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58115 for ac_func in sincosf
58116 do :
58117 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58118 if test "x$ac_cv_func_sincosf" = xyes; then :
58119 cat >>confdefs.h <<_ACEOF
58120 #define HAVE_SINCOSF 1
58121 _ACEOF
58124 done
58126 else
58128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58129 $as_echo_n "checking for _sincosf declaration... " >&6; }
58130 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58131 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58132 $as_echo_n "(cached) " >&6
58133 else
58136 ac_ext=cpp
58137 ac_cpp='$CXXCPP $CPPFLAGS'
58138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58143 /* end confdefs.h. */
58144 #include <math.h>
58146 main ()
58148 _sincosf(0, 0, 0);
58150 return 0;
58152 _ACEOF
58153 if ac_fn_cxx_try_compile "$LINENO"; then :
58154 glibcxx_cv_func__sincosf_use=yes
58155 else
58156 glibcxx_cv_func__sincosf_use=no
58158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58159 ac_ext=c
58160 ac_cpp='$CPP $CPPFLAGS'
58161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58170 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58172 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58173 for ac_func in _sincosf
58174 do :
58175 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58176 if test "x$ac_cv_func__sincosf" = xyes; then :
58177 cat >>confdefs.h <<_ACEOF
58178 #define HAVE__SINCOSF 1
58179 _ACEOF
58182 done
58191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58192 $as_echo_n "checking for finitef declaration... " >&6; }
58193 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58194 if ${glibcxx_cv_func_finitef_use+:} false; then :
58195 $as_echo_n "(cached) " >&6
58196 else
58199 ac_ext=cpp
58200 ac_cpp='$CXXCPP $CPPFLAGS'
58201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58206 /* end confdefs.h. */
58207 #include <math.h>
58208 #ifdef HAVE_IEEEFP_H
58209 #include <ieeefp.h>
58210 #endif
58213 main ()
58215 finitef(0);
58217 return 0;
58219 _ACEOF
58220 if ac_fn_cxx_try_compile "$LINENO"; then :
58221 glibcxx_cv_func_finitef_use=yes
58222 else
58223 glibcxx_cv_func_finitef_use=no
58225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58226 ac_ext=c
58227 ac_cpp='$CPP $CPPFLAGS'
58228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58237 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58239 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58240 for ac_func in finitef
58241 do :
58242 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58243 if test "x$ac_cv_func_finitef" = xyes; then :
58244 cat >>confdefs.h <<_ACEOF
58245 #define HAVE_FINITEF 1
58246 _ACEOF
58249 done
58251 else
58253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58254 $as_echo_n "checking for _finitef declaration... " >&6; }
58255 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58256 if ${glibcxx_cv_func__finitef_use+:} false; then :
58257 $as_echo_n "(cached) " >&6
58258 else
58261 ac_ext=cpp
58262 ac_cpp='$CXXCPP $CPPFLAGS'
58263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58268 /* end confdefs.h. */
58269 #include <math.h>
58270 #ifdef HAVE_IEEEFP_H
58271 #include <ieeefp.h>
58272 #endif
58275 main ()
58277 _finitef(0);
58279 return 0;
58281 _ACEOF
58282 if ac_fn_cxx_try_compile "$LINENO"; then :
58283 glibcxx_cv_func__finitef_use=yes
58284 else
58285 glibcxx_cv_func__finitef_use=no
58287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58288 ac_ext=c
58289 ac_cpp='$CPP $CPPFLAGS'
58290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58299 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58301 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58302 for ac_func in _finitef
58303 do :
58304 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58305 if test "x$ac_cv_func__finitef" = xyes; then :
58306 cat >>confdefs.h <<_ACEOF
58307 #define HAVE__FINITEF 1
58308 _ACEOF
58311 done
58320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58321 $as_echo_n "checking for long double trig functions... " >&6; }
58322 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58323 $as_echo_n "(cached) " >&6
58324 else
58327 ac_ext=cpp
58328 ac_cpp='$CXXCPP $CPPFLAGS'
58329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334 /* end confdefs.h. */
58335 #include <math.h>
58337 main ()
58339 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58341 return 0;
58343 _ACEOF
58344 if ac_fn_cxx_try_compile "$LINENO"; then :
58345 glibcxx_cv_func_long_double_trig_use=yes
58346 else
58347 glibcxx_cv_func_long_double_trig_use=no
58349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58350 ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58359 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58360 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58361 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58362 do :
58363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58365 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58366 cat >>confdefs.h <<_ACEOF
58367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58368 _ACEOF
58371 done
58373 else
58374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58375 $as_echo_n "checking for _long double trig functions... " >&6; }
58376 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58391 main ()
58393 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58395 return 0;
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func__long_double_trig_use=yes
58400 else
58401 glibcxx_cv_func__long_double_trig_use=no
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58413 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58414 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58415 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58416 do :
58417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58419 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58420 cat >>confdefs.h <<_ACEOF
58421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58422 _ACEOF
58425 done
58434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58435 $as_echo_n "checking for long double round functions... " >&6; }
58436 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58437 $as_echo_n "(cached) " >&6
58438 else
58441 ac_ext=cpp
58442 ac_cpp='$CXXCPP $CPPFLAGS'
58443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h. */
58449 #include <math.h>
58451 main ()
58453 ceill (0); floorl (0);
58455 return 0;
58457 _ACEOF
58458 if ac_fn_cxx_try_compile "$LINENO"; then :
58459 glibcxx_cv_func_long_double_round_use=yes
58460 else
58461 glibcxx_cv_func_long_double_round_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
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58473 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58474 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58475 for ac_func in ceill floorl
58476 do :
58477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58479 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58480 cat >>confdefs.h <<_ACEOF
58481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58482 _ACEOF
58485 done
58487 else
58488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58489 $as_echo_n "checking for _long double round functions... " >&6; }
58490 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58491 $as_echo_n "(cached) " >&6
58492 else
58495 ac_ext=cpp
58496 ac_cpp='$CXXCPP $CPPFLAGS'
58497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58502 /* end confdefs.h. */
58503 #include <math.h>
58505 main ()
58507 _ceill (0); _floorl (0);
58509 return 0;
58511 _ACEOF
58512 if ac_fn_cxx_try_compile "$LINENO"; then :
58513 glibcxx_cv_func__long_double_round_use=yes
58514 else
58515 glibcxx_cv_func__long_double_round_use=no
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58527 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58528 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58529 for ac_func in _ceill _floorl
58530 do :
58531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58533 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58534 cat >>confdefs.h <<_ACEOF
58535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58536 _ACEOF
58539 done
58549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58550 $as_echo_n "checking for isnanl declaration... " >&6; }
58551 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58552 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58553 $as_echo_n "(cached) " >&6
58554 else
58557 ac_ext=cpp
58558 ac_cpp='$CXXCPP $CPPFLAGS'
58559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58564 /* end confdefs.h. */
58565 #include <math.h>
58566 #ifdef HAVE_IEEEFP_H
58567 #include <ieeefp.h>
58568 #endif
58571 main ()
58573 isnanl(0);
58575 return 0;
58577 _ACEOF
58578 if ac_fn_cxx_try_compile "$LINENO"; then :
58579 glibcxx_cv_func_isnanl_use=yes
58580 else
58581 glibcxx_cv_func_isnanl_use=no
58583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58584 ac_ext=c
58585 ac_cpp='$CPP $CPPFLAGS'
58586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58595 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58597 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58598 for ac_func in isnanl
58599 do :
58600 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58601 if test "x$ac_cv_func_isnanl" = xyes; then :
58602 cat >>confdefs.h <<_ACEOF
58603 #define HAVE_ISNANL 1
58604 _ACEOF
58607 done
58609 else
58611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58612 $as_echo_n "checking for _isnanl declaration... " >&6; }
58613 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58614 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58615 $as_echo_n "(cached) " >&6
58616 else
58619 ac_ext=cpp
58620 ac_cpp='$CXXCPP $CPPFLAGS'
58621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58626 /* end confdefs.h. */
58627 #include <math.h>
58628 #ifdef HAVE_IEEEFP_H
58629 #include <ieeefp.h>
58630 #endif
58633 main ()
58635 _isnanl(0);
58637 return 0;
58639 _ACEOF
58640 if ac_fn_cxx_try_compile "$LINENO"; then :
58641 glibcxx_cv_func__isnanl_use=yes
58642 else
58643 glibcxx_cv_func__isnanl_use=no
58645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58646 ac_ext=c
58647 ac_cpp='$CPP $CPPFLAGS'
58648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58657 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58659 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58660 for ac_func in _isnanl
58661 do :
58662 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58663 if test "x$ac_cv_func__isnanl" = xyes; then :
58664 cat >>confdefs.h <<_ACEOF
58665 #define HAVE__ISNANL 1
58666 _ACEOF
58669 done
58678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58679 $as_echo_n "checking for isinfl declaration... " >&6; }
58680 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58681 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58682 $as_echo_n "(cached) " >&6
58683 else
58686 ac_ext=cpp
58687 ac_cpp='$CXXCPP $CPPFLAGS'
58688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 #include <math.h>
58695 #ifdef HAVE_IEEEFP_H
58696 #include <ieeefp.h>
58697 #endif
58700 main ()
58702 isinfl(0);
58704 return 0;
58706 _ACEOF
58707 if ac_fn_cxx_try_compile "$LINENO"; then :
58708 glibcxx_cv_func_isinfl_use=yes
58709 else
58710 glibcxx_cv_func_isinfl_use=no
58712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58713 ac_ext=c
58714 ac_cpp='$CPP $CPPFLAGS'
58715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58724 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58726 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58727 for ac_func in isinfl
58728 do :
58729 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58730 if test "x$ac_cv_func_isinfl" = xyes; then :
58731 cat >>confdefs.h <<_ACEOF
58732 #define HAVE_ISINFL 1
58733 _ACEOF
58736 done
58738 else
58740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58741 $as_echo_n "checking for _isinfl declaration... " >&6; }
58742 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58743 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58744 $as_echo_n "(cached) " >&6
58745 else
58748 ac_ext=cpp
58749 ac_cpp='$CXXCPP $CPPFLAGS'
58750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58755 /* end confdefs.h. */
58756 #include <math.h>
58757 #ifdef HAVE_IEEEFP_H
58758 #include <ieeefp.h>
58759 #endif
58762 main ()
58764 _isinfl(0);
58766 return 0;
58768 _ACEOF
58769 if ac_fn_cxx_try_compile "$LINENO"; then :
58770 glibcxx_cv_func__isinfl_use=yes
58771 else
58772 glibcxx_cv_func__isinfl_use=no
58774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58775 ac_ext=c
58776 ac_cpp='$CPP $CPPFLAGS'
58777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58786 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58788 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58789 for ac_func in _isinfl
58790 do :
58791 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58792 if test "x$ac_cv_func__isinfl" = xyes; then :
58793 cat >>confdefs.h <<_ACEOF
58794 #define HAVE__ISINFL 1
58795 _ACEOF
58798 done
58807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58808 $as_echo_n "checking for atan2l declaration... " >&6; }
58809 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58810 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58811 $as_echo_n "(cached) " >&6
58812 else
58815 ac_ext=cpp
58816 ac_cpp='$CXXCPP $CPPFLAGS'
58817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58822 /* end confdefs.h. */
58823 #include <math.h>
58825 main ()
58827 atan2l(0, 0);
58829 return 0;
58831 _ACEOF
58832 if ac_fn_cxx_try_compile "$LINENO"; then :
58833 glibcxx_cv_func_atan2l_use=yes
58834 else
58835 glibcxx_cv_func_atan2l_use=no
58837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58838 ac_ext=c
58839 ac_cpp='$CPP $CPPFLAGS'
58840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58849 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58851 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58852 for ac_func in atan2l
58853 do :
58854 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58855 if test "x$ac_cv_func_atan2l" = xyes; then :
58856 cat >>confdefs.h <<_ACEOF
58857 #define HAVE_ATAN2L 1
58858 _ACEOF
58861 done
58863 else
58865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58866 $as_echo_n "checking for _atan2l declaration... " >&6; }
58867 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58868 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58869 $as_echo_n "(cached) " >&6
58870 else
58873 ac_ext=cpp
58874 ac_cpp='$CXXCPP $CPPFLAGS'
58875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58880 /* end confdefs.h. */
58881 #include <math.h>
58883 main ()
58885 _atan2l(0, 0);
58887 return 0;
58889 _ACEOF
58890 if ac_fn_cxx_try_compile "$LINENO"; then :
58891 glibcxx_cv_func__atan2l_use=yes
58892 else
58893 glibcxx_cv_func__atan2l_use=no
58895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58896 ac_ext=c
58897 ac_cpp='$CPP $CPPFLAGS'
58898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58907 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58909 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58910 for ac_func in _atan2l
58911 do :
58912 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58913 if test "x$ac_cv_func__atan2l" = xyes; then :
58914 cat >>confdefs.h <<_ACEOF
58915 #define HAVE__ATAN2L 1
58916 _ACEOF
58919 done
58928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58929 $as_echo_n "checking for expl declaration... " >&6; }
58930 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58931 if ${glibcxx_cv_func_expl_use+:} false; then :
58932 $as_echo_n "(cached) " >&6
58933 else
58936 ac_ext=cpp
58937 ac_cpp='$CXXCPP $CPPFLAGS'
58938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58944 #include <math.h>
58945 #ifdef HAVE_IEEEFP_H
58946 #include <ieeefp.h>
58947 #endif
58950 main ()
58952 expl(0);
58954 return 0;
58956 _ACEOF
58957 if ac_fn_cxx_try_compile "$LINENO"; then :
58958 glibcxx_cv_func_expl_use=yes
58959 else
58960 glibcxx_cv_func_expl_use=no
58962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58963 ac_ext=c
58964 ac_cpp='$CPP $CPPFLAGS'
58965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58974 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58976 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58977 for ac_func in expl
58978 do :
58979 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58980 if test "x$ac_cv_func_expl" = xyes; then :
58981 cat >>confdefs.h <<_ACEOF
58982 #define HAVE_EXPL 1
58983 _ACEOF
58986 done
58988 else
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58991 $as_echo_n "checking for _expl declaration... " >&6; }
58992 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58993 if ${glibcxx_cv_func__expl_use+:} false; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58998 ac_ext=cpp
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005 /* end confdefs.h. */
59006 #include <math.h>
59007 #ifdef HAVE_IEEEFP_H
59008 #include <ieeefp.h>
59009 #endif
59012 main ()
59014 _expl(0);
59016 return 0;
59018 _ACEOF
59019 if ac_fn_cxx_try_compile "$LINENO"; then :
59020 glibcxx_cv_func__expl_use=yes
59021 else
59022 glibcxx_cv_func__expl_use=no
59024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59025 ac_ext=c
59026 ac_cpp='$CPP $CPPFLAGS'
59027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
59036 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
59038 if test x$glibcxx_cv_func__expl_use = x"yes"; then
59039 for ac_func in _expl
59040 do :
59041 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
59042 if test "x$ac_cv_func__expl" = xyes; then :
59043 cat >>confdefs.h <<_ACEOF
59044 #define HAVE__EXPL 1
59045 _ACEOF
59048 done
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59058 $as_echo_n "checking for fabsl declaration... " >&6; }
59059 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59060 if ${glibcxx_cv_func_fabsl_use+:} false; then :
59061 $as_echo_n "(cached) " >&6
59062 else
59065 ac_ext=cpp
59066 ac_cpp='$CXXCPP $CPPFLAGS'
59067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072 /* end confdefs.h. */
59073 #include <math.h>
59074 #ifdef HAVE_IEEEFP_H
59075 #include <ieeefp.h>
59076 #endif
59079 main ()
59081 fabsl(0);
59083 return 0;
59085 _ACEOF
59086 if ac_fn_cxx_try_compile "$LINENO"; then :
59087 glibcxx_cv_func_fabsl_use=yes
59088 else
59089 glibcxx_cv_func_fabsl_use=no
59091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59092 ac_ext=c
59093 ac_cpp='$CPP $CPPFLAGS'
59094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59103 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59105 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59106 for ac_func in fabsl
59107 do :
59108 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59109 if test "x$ac_cv_func_fabsl" = xyes; then :
59110 cat >>confdefs.h <<_ACEOF
59111 #define HAVE_FABSL 1
59112 _ACEOF
59115 done
59117 else
59119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59120 $as_echo_n "checking for _fabsl declaration... " >&6; }
59121 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59122 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59123 $as_echo_n "(cached) " >&6
59124 else
59127 ac_ext=cpp
59128 ac_cpp='$CXXCPP $CPPFLAGS'
59129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59134 /* end confdefs.h. */
59135 #include <math.h>
59136 #ifdef HAVE_IEEEFP_H
59137 #include <ieeefp.h>
59138 #endif
59141 main ()
59143 _fabsl(0);
59145 return 0;
59147 _ACEOF
59148 if ac_fn_cxx_try_compile "$LINENO"; then :
59149 glibcxx_cv_func__fabsl_use=yes
59150 else
59151 glibcxx_cv_func__fabsl_use=no
59153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59154 ac_ext=c
59155 ac_cpp='$CPP $CPPFLAGS'
59156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59165 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59167 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59168 for ac_func in _fabsl
59169 do :
59170 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59171 if test "x$ac_cv_func__fabsl" = xyes; then :
59172 cat >>confdefs.h <<_ACEOF
59173 #define HAVE__FABSL 1
59174 _ACEOF
59177 done
59186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59187 $as_echo_n "checking for fmodl declaration... " >&6; }
59188 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59189 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59190 $as_echo_n "(cached) " >&6
59191 else
59194 ac_ext=cpp
59195 ac_cpp='$CXXCPP $CPPFLAGS'
59196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59201 /* end confdefs.h. */
59202 #include <math.h>
59204 main ()
59206 fmodl(0, 0);
59208 return 0;
59210 _ACEOF
59211 if ac_fn_cxx_try_compile "$LINENO"; then :
59212 glibcxx_cv_func_fmodl_use=yes
59213 else
59214 glibcxx_cv_func_fmodl_use=no
59216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217 ac_ext=c
59218 ac_cpp='$CPP $CPPFLAGS'
59219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59228 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59230 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59231 for ac_func in fmodl
59232 do :
59233 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59234 if test "x$ac_cv_func_fmodl" = xyes; then :
59235 cat >>confdefs.h <<_ACEOF
59236 #define HAVE_FMODL 1
59237 _ACEOF
59240 done
59242 else
59244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59245 $as_echo_n "checking for _fmodl declaration... " >&6; }
59246 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59247 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59248 $as_echo_n "(cached) " >&6
59249 else
59252 ac_ext=cpp
59253 ac_cpp='$CXXCPP $CPPFLAGS'
59254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59259 /* end confdefs.h. */
59260 #include <math.h>
59262 main ()
59264 _fmodl(0, 0);
59266 return 0;
59268 _ACEOF
59269 if ac_fn_cxx_try_compile "$LINENO"; then :
59270 glibcxx_cv_func__fmodl_use=yes
59271 else
59272 glibcxx_cv_func__fmodl_use=no
59274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59275 ac_ext=c
59276 ac_cpp='$CPP $CPPFLAGS'
59277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59286 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59288 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59289 for ac_func in _fmodl
59290 do :
59291 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59292 if test "x$ac_cv_func__fmodl" = xyes; then :
59293 cat >>confdefs.h <<_ACEOF
59294 #define HAVE__FMODL 1
59295 _ACEOF
59298 done
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59308 $as_echo_n "checking for frexpl declaration... " >&6; }
59309 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59310 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59311 $as_echo_n "(cached) " >&6
59312 else
59315 ac_ext=cpp
59316 ac_cpp='$CXXCPP $CPPFLAGS'
59317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322 /* end confdefs.h. */
59323 #include <math.h>
59325 main ()
59327 frexpl(0, 0);
59329 return 0;
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func_frexpl_use=yes
59334 else
59335 glibcxx_cv_func_frexpl_use=no
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59349 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59351 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59352 for ac_func in frexpl
59353 do :
59354 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59355 if test "x$ac_cv_func_frexpl" = xyes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE_FREXPL 1
59358 _ACEOF
59361 done
59363 else
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59366 $as_echo_n "checking for _frexpl declaration... " >&6; }
59367 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59368 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59383 main ()
59385 _frexpl(0, 0);
59387 return 0;
59389 _ACEOF
59390 if ac_fn_cxx_try_compile "$LINENO"; then :
59391 glibcxx_cv_func__frexpl_use=yes
59392 else
59393 glibcxx_cv_func__frexpl_use=no
59395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59396 ac_ext=c
59397 ac_cpp='$CPP $CPPFLAGS'
59398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59407 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59409 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59410 for ac_func in _frexpl
59411 do :
59412 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59413 if test "x$ac_cv_func__frexpl" = xyes; then :
59414 cat >>confdefs.h <<_ACEOF
59415 #define HAVE__FREXPL 1
59416 _ACEOF
59419 done
59428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59429 $as_echo_n "checking for hypotl declaration... " >&6; }
59430 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59431 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59432 $as_echo_n "(cached) " >&6
59433 else
59436 ac_ext=cpp
59437 ac_cpp='$CXXCPP $CPPFLAGS'
59438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443 /* end confdefs.h. */
59444 #include <math.h>
59446 main ()
59448 hypotl(0, 0);
59450 return 0;
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_hypotl_use=yes
59455 else
59456 glibcxx_cv_func_hypotl_use=no
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59470 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59472 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59473 for ac_func in hypotl
59474 do :
59475 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59476 if test "x$ac_cv_func_hypotl" = xyes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE_HYPOTL 1
59479 _ACEOF
59482 done
59484 else
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59487 $as_echo_n "checking for _hypotl declaration... " >&6; }
59488 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59489 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <math.h>
59504 main ()
59506 _hypotl(0, 0);
59508 return 0;
59510 _ACEOF
59511 if ac_fn_cxx_try_compile "$LINENO"; then :
59512 glibcxx_cv_func__hypotl_use=yes
59513 else
59514 glibcxx_cv_func__hypotl_use=no
59516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517 ac_ext=c
59518 ac_cpp='$CPP $CPPFLAGS'
59519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59528 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59530 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59531 for ac_func in _hypotl
59532 do :
59533 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59534 if test "x$ac_cv_func__hypotl" = xyes; then :
59535 cat >>confdefs.h <<_ACEOF
59536 #define HAVE__HYPOTL 1
59537 _ACEOF
59540 done
59549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59550 $as_echo_n "checking for ldexpl declaration... " >&6; }
59551 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59552 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59553 $as_echo_n "(cached) " >&6
59554 else
59557 ac_ext=cpp
59558 ac_cpp='$CXXCPP $CPPFLAGS'
59559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59564 /* end confdefs.h. */
59565 #include <math.h>
59567 main ()
59569 ldexpl(0, 0);
59571 return 0;
59573 _ACEOF
59574 if ac_fn_cxx_try_compile "$LINENO"; then :
59575 glibcxx_cv_func_ldexpl_use=yes
59576 else
59577 glibcxx_cv_func_ldexpl_use=no
59579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59580 ac_ext=c
59581 ac_cpp='$CPP $CPPFLAGS'
59582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59591 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59593 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59594 for ac_func in ldexpl
59595 do :
59596 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59597 if test "x$ac_cv_func_ldexpl" = xyes; then :
59598 cat >>confdefs.h <<_ACEOF
59599 #define HAVE_LDEXPL 1
59600 _ACEOF
59603 done
59605 else
59607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59608 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59609 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59610 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59611 $as_echo_n "(cached) " >&6
59612 else
59615 ac_ext=cpp
59616 ac_cpp='$CXXCPP $CPPFLAGS'
59617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622 /* end confdefs.h. */
59623 #include <math.h>
59625 main ()
59627 _ldexpl(0, 0);
59629 return 0;
59631 _ACEOF
59632 if ac_fn_cxx_try_compile "$LINENO"; then :
59633 glibcxx_cv_func__ldexpl_use=yes
59634 else
59635 glibcxx_cv_func__ldexpl_use=no
59637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638 ac_ext=c
59639 ac_cpp='$CPP $CPPFLAGS'
59640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59649 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59651 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59652 for ac_func in _ldexpl
59653 do :
59654 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59655 if test "x$ac_cv_func__ldexpl" = xyes; then :
59656 cat >>confdefs.h <<_ACEOF
59657 #define HAVE__LDEXPL 1
59658 _ACEOF
59661 done
59670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59671 $as_echo_n "checking for logl declaration... " >&6; }
59672 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59673 if ${glibcxx_cv_func_logl_use+:} false; then :
59674 $as_echo_n "(cached) " >&6
59675 else
59678 ac_ext=cpp
59679 ac_cpp='$CXXCPP $CPPFLAGS'
59680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59685 /* end confdefs.h. */
59686 #include <math.h>
59687 #ifdef HAVE_IEEEFP_H
59688 #include <ieeefp.h>
59689 #endif
59692 main ()
59694 logl(0);
59696 return 0;
59698 _ACEOF
59699 if ac_fn_cxx_try_compile "$LINENO"; then :
59700 glibcxx_cv_func_logl_use=yes
59701 else
59702 glibcxx_cv_func_logl_use=no
59704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59705 ac_ext=c
59706 ac_cpp='$CPP $CPPFLAGS'
59707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59716 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59718 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59719 for ac_func in logl
59720 do :
59721 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59722 if test "x$ac_cv_func_logl" = xyes; then :
59723 cat >>confdefs.h <<_ACEOF
59724 #define HAVE_LOGL 1
59725 _ACEOF
59728 done
59730 else
59732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59733 $as_echo_n "checking for _logl declaration... " >&6; }
59734 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59735 if ${glibcxx_cv_func__logl_use+:} false; then :
59736 $as_echo_n "(cached) " >&6
59737 else
59740 ac_ext=cpp
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59747 /* end confdefs.h. */
59748 #include <math.h>
59749 #ifdef HAVE_IEEEFP_H
59750 #include <ieeefp.h>
59751 #endif
59754 main ()
59756 _logl(0);
59758 return 0;
59760 _ACEOF
59761 if ac_fn_cxx_try_compile "$LINENO"; then :
59762 glibcxx_cv_func__logl_use=yes
59763 else
59764 glibcxx_cv_func__logl_use=no
59766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59767 ac_ext=c
59768 ac_cpp='$CPP $CPPFLAGS'
59769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59778 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59780 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59781 for ac_func in _logl
59782 do :
59783 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59784 if test "x$ac_cv_func__logl" = xyes; then :
59785 cat >>confdefs.h <<_ACEOF
59786 #define HAVE__LOGL 1
59787 _ACEOF
59790 done
59799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59800 $as_echo_n "checking for log10l declaration... " >&6; }
59801 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59802 if ${glibcxx_cv_func_log10l_use+:} false; then :
59803 $as_echo_n "(cached) " >&6
59804 else
59807 ac_ext=cpp
59808 ac_cpp='$CXXCPP $CPPFLAGS'
59809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 #include <math.h>
59816 #ifdef HAVE_IEEEFP_H
59817 #include <ieeefp.h>
59818 #endif
59821 main ()
59823 log10l(0);
59825 return 0;
59827 _ACEOF
59828 if ac_fn_cxx_try_compile "$LINENO"; then :
59829 glibcxx_cv_func_log10l_use=yes
59830 else
59831 glibcxx_cv_func_log10l_use=no
59833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59834 ac_ext=c
59835 ac_cpp='$CPP $CPPFLAGS'
59836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59845 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59847 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59848 for ac_func in log10l
59849 do :
59850 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59851 if test "x$ac_cv_func_log10l" = xyes; then :
59852 cat >>confdefs.h <<_ACEOF
59853 #define HAVE_LOG10L 1
59854 _ACEOF
59857 done
59859 else
59861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59862 $as_echo_n "checking for _log10l declaration... " >&6; }
59863 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59864 if ${glibcxx_cv_func__log10l_use+:} false; then :
59865 $as_echo_n "(cached) " >&6
59866 else
59869 ac_ext=cpp
59870 ac_cpp='$CXXCPP $CPPFLAGS'
59871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59876 /* end confdefs.h. */
59877 #include <math.h>
59878 #ifdef HAVE_IEEEFP_H
59879 #include <ieeefp.h>
59880 #endif
59883 main ()
59885 _log10l(0);
59887 return 0;
59889 _ACEOF
59890 if ac_fn_cxx_try_compile "$LINENO"; then :
59891 glibcxx_cv_func__log10l_use=yes
59892 else
59893 glibcxx_cv_func__log10l_use=no
59895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59896 ac_ext=c
59897 ac_cpp='$CPP $CPPFLAGS'
59898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59907 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59909 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59910 for ac_func in _log10l
59911 do :
59912 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59913 if test "x$ac_cv_func__log10l" = xyes; then :
59914 cat >>confdefs.h <<_ACEOF
59915 #define HAVE__LOG10L 1
59916 _ACEOF
59919 done
59928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59929 $as_echo_n "checking for modfl declaration... " >&6; }
59930 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59931 if ${glibcxx_cv_func_modfl_use+:} false; then :
59932 $as_echo_n "(cached) " >&6
59933 else
59936 ac_ext=cpp
59937 ac_cpp='$CXXCPP $CPPFLAGS'
59938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943 /* end confdefs.h. */
59944 #include <math.h>
59946 main ()
59948 modfl(0, 0);
59950 return 0;
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954 glibcxx_cv_func_modfl_use=yes
59955 else
59956 glibcxx_cv_func_modfl_use=no
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959 ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59970 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59972 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59973 for ac_func in modfl
59974 do :
59975 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59976 if test "x$ac_cv_func_modfl" = xyes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define HAVE_MODFL 1
59979 _ACEOF
59982 done
59984 else
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59987 $as_echo_n "checking for _modfl declaration... " >&6; }
59988 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59989 if ${glibcxx_cv_func__modfl_use+:} false; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60004 main ()
60006 _modfl(0, 0);
60008 return 0;
60010 _ACEOF
60011 if ac_fn_cxx_try_compile "$LINENO"; then :
60012 glibcxx_cv_func__modfl_use=yes
60013 else
60014 glibcxx_cv_func__modfl_use=no
60016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017 ac_ext=c
60018 ac_cpp='$CPP $CPPFLAGS'
60019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
60028 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
60030 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60031 for ac_func in _modfl
60032 do :
60033 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
60034 if test "x$ac_cv_func__modfl" = xyes; then :
60035 cat >>confdefs.h <<_ACEOF
60036 #define HAVE__MODFL 1
60037 _ACEOF
60040 done
60049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
60050 $as_echo_n "checking for powl declaration... " >&6; }
60051 if test x${glibcxx_cv_func_powl_use+set} != xset; then
60052 if ${glibcxx_cv_func_powl_use+:} false; then :
60053 $as_echo_n "(cached) " >&6
60054 else
60057 ac_ext=cpp
60058 ac_cpp='$CXXCPP $CPPFLAGS'
60059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60064 /* end confdefs.h. */
60065 #include <math.h>
60067 main ()
60069 powl(0, 0);
60071 return 0;
60073 _ACEOF
60074 if ac_fn_cxx_try_compile "$LINENO"; then :
60075 glibcxx_cv_func_powl_use=yes
60076 else
60077 glibcxx_cv_func_powl_use=no
60079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60080 ac_ext=c
60081 ac_cpp='$CPP $CPPFLAGS'
60082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60091 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
60093 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60094 for ac_func in powl
60095 do :
60096 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60097 if test "x$ac_cv_func_powl" = xyes; then :
60098 cat >>confdefs.h <<_ACEOF
60099 #define HAVE_POWL 1
60100 _ACEOF
60103 done
60105 else
60107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60108 $as_echo_n "checking for _powl declaration... " >&6; }
60109 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60110 if ${glibcxx_cv_func__powl_use+:} false; then :
60111 $as_echo_n "(cached) " >&6
60112 else
60115 ac_ext=cpp
60116 ac_cpp='$CXXCPP $CPPFLAGS'
60117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h. */
60123 #include <math.h>
60125 main ()
60127 _powl(0, 0);
60129 return 0;
60131 _ACEOF
60132 if ac_fn_cxx_try_compile "$LINENO"; then :
60133 glibcxx_cv_func__powl_use=yes
60134 else
60135 glibcxx_cv_func__powl_use=no
60137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60138 ac_ext=c
60139 ac_cpp='$CPP $CPPFLAGS'
60140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60149 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60151 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60152 for ac_func in _powl
60153 do :
60154 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60155 if test "x$ac_cv_func__powl" = xyes; then :
60156 cat >>confdefs.h <<_ACEOF
60157 #define HAVE__POWL 1
60158 _ACEOF
60161 done
60170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60171 $as_echo_n "checking for sqrtl declaration... " >&6; }
60172 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60173 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60174 $as_echo_n "(cached) " >&6
60175 else
60178 ac_ext=cpp
60179 ac_cpp='$CXXCPP $CPPFLAGS'
60180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60185 /* end confdefs.h. */
60186 #include <math.h>
60187 #ifdef HAVE_IEEEFP_H
60188 #include <ieeefp.h>
60189 #endif
60192 main ()
60194 sqrtl(0);
60196 return 0;
60198 _ACEOF
60199 if ac_fn_cxx_try_compile "$LINENO"; then :
60200 glibcxx_cv_func_sqrtl_use=yes
60201 else
60202 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
60216 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60218 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60219 for ac_func in sqrtl
60220 do :
60221 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60222 if test "x$ac_cv_func_sqrtl" = xyes; then :
60223 cat >>confdefs.h <<_ACEOF
60224 #define HAVE_SQRTL 1
60225 _ACEOF
60228 done
60230 else
60232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60233 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60234 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60235 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60236 $as_echo_n "(cached) " >&6
60237 else
60240 ac_ext=cpp
60241 ac_cpp='$CXXCPP $CPPFLAGS'
60242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60247 /* end confdefs.h. */
60248 #include <math.h>
60249 #ifdef HAVE_IEEEFP_H
60250 #include <ieeefp.h>
60251 #endif
60254 main ()
60256 _sqrtl(0);
60258 return 0;
60260 _ACEOF
60261 if ac_fn_cxx_try_compile "$LINENO"; then :
60262 glibcxx_cv_func__sqrtl_use=yes
60263 else
60264 glibcxx_cv_func__sqrtl_use=no
60266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60267 ac_ext=c
60268 ac_cpp='$CPP $CPPFLAGS'
60269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60278 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60280 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60281 for ac_func in _sqrtl
60282 do :
60283 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60284 if test "x$ac_cv_func__sqrtl" = xyes; then :
60285 cat >>confdefs.h <<_ACEOF
60286 #define HAVE__SQRTL 1
60287 _ACEOF
60290 done
60299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60300 $as_echo_n "checking for sincosl declaration... " >&6; }
60301 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60302 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60303 $as_echo_n "(cached) " >&6
60304 else
60307 ac_ext=cpp
60308 ac_cpp='$CXXCPP $CPPFLAGS'
60309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60314 /* end confdefs.h. */
60315 #include <math.h>
60317 main ()
60319 sincosl(0, 0, 0);
60321 return 0;
60323 _ACEOF
60324 if ac_fn_cxx_try_compile "$LINENO"; then :
60325 glibcxx_cv_func_sincosl_use=yes
60326 else
60327 glibcxx_cv_func_sincosl_use=no
60329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60330 ac_ext=c
60331 ac_cpp='$CPP $CPPFLAGS'
60332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60341 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60343 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60344 for ac_func in sincosl
60345 do :
60346 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60347 if test "x$ac_cv_func_sincosl" = xyes; then :
60348 cat >>confdefs.h <<_ACEOF
60349 #define HAVE_SINCOSL 1
60350 _ACEOF
60353 done
60355 else
60357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60358 $as_echo_n "checking for _sincosl declaration... " >&6; }
60359 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60360 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60361 $as_echo_n "(cached) " >&6
60362 else
60365 ac_ext=cpp
60366 ac_cpp='$CXXCPP $CPPFLAGS'
60367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372 /* end confdefs.h. */
60373 #include <math.h>
60375 main ()
60377 _sincosl(0, 0, 0);
60379 return 0;
60381 _ACEOF
60382 if ac_fn_cxx_try_compile "$LINENO"; then :
60383 glibcxx_cv_func__sincosl_use=yes
60384 else
60385 glibcxx_cv_func__sincosl_use=no
60387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60388 ac_ext=c
60389 ac_cpp='$CPP $CPPFLAGS'
60390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60399 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60401 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60402 for ac_func in _sincosl
60403 do :
60404 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60405 if test "x$ac_cv_func__sincosl" = xyes; then :
60406 cat >>confdefs.h <<_ACEOF
60407 #define HAVE__SINCOSL 1
60408 _ACEOF
60411 done
60420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60421 $as_echo_n "checking for finitel declaration... " >&6; }
60422 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60423 if ${glibcxx_cv_func_finitel_use+:} false; then :
60424 $as_echo_n "(cached) " >&6
60425 else
60428 ac_ext=cpp
60429 ac_cpp='$CXXCPP $CPPFLAGS'
60430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60435 /* end confdefs.h. */
60436 #include <math.h>
60437 #ifdef HAVE_IEEEFP_H
60438 #include <ieeefp.h>
60439 #endif
60442 main ()
60444 finitel(0);
60446 return 0;
60448 _ACEOF
60449 if ac_fn_cxx_try_compile "$LINENO"; then :
60450 glibcxx_cv_func_finitel_use=yes
60451 else
60452 glibcxx_cv_func_finitel_use=no
60454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60455 ac_ext=c
60456 ac_cpp='$CPP $CPPFLAGS'
60457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60466 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60468 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60469 for ac_func in finitel
60470 do :
60471 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60472 if test "x$ac_cv_func_finitel" = xyes; then :
60473 cat >>confdefs.h <<_ACEOF
60474 #define HAVE_FINITEL 1
60475 _ACEOF
60478 done
60480 else
60482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60483 $as_echo_n "checking for _finitel declaration... " >&6; }
60484 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60485 if ${glibcxx_cv_func__finitel_use+:} false; then :
60486 $as_echo_n "(cached) " >&6
60487 else
60490 ac_ext=cpp
60491 ac_cpp='$CXXCPP $CPPFLAGS'
60492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60497 /* end confdefs.h. */
60498 #include <math.h>
60499 #ifdef HAVE_IEEEFP_H
60500 #include <ieeefp.h>
60501 #endif
60504 main ()
60506 _finitel(0);
60508 return 0;
60510 _ACEOF
60511 if ac_fn_cxx_try_compile "$LINENO"; then :
60512 glibcxx_cv_func__finitel_use=yes
60513 else
60514 glibcxx_cv_func__finitel_use=no
60516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60517 ac_ext=c
60518 ac_cpp='$CPP $CPPFLAGS'
60519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60528 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60530 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60531 for ac_func in _finitel
60532 do :
60533 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60534 if test "x$ac_cv_func__finitel" = xyes; then :
60535 cat >>confdefs.h <<_ACEOF
60536 #define HAVE__FINITEL 1
60537 _ACEOF
60540 done
60548 LIBS="$ac_save_LIBS"
60549 CXXFLAGS="$ac_save_CXXFLAGS"
60552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60553 ac_save_CXXFLAGS="$CXXFLAGS"
60554 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60558 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60559 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60560 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60561 $as_echo_n "(cached) " >&6
60562 else
60565 ac_ext=cpp
60566 ac_cpp='$CXXCPP $CPPFLAGS'
60567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60572 /* end confdefs.h. */
60573 #include <stdlib.h>
60575 main ()
60577 at_quick_exit(0);
60579 return 0;
60581 _ACEOF
60582 if ac_fn_cxx_try_compile "$LINENO"; then :
60583 glibcxx_cv_func_at_quick_exit_use=yes
60584 else
60585 glibcxx_cv_func_at_quick_exit_use=no
60587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60588 ac_ext=c
60589 ac_cpp='$CPP $CPPFLAGS'
60590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60599 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60600 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60601 for ac_func in at_quick_exit
60602 do :
60603 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60604 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60605 cat >>confdefs.h <<_ACEOF
60606 #define HAVE_AT_QUICK_EXIT 1
60607 _ACEOF
60610 done
60615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60616 $as_echo_n "checking for quick_exit declaration... " >&6; }
60617 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60618 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60619 $as_echo_n "(cached) " >&6
60620 else
60623 ac_ext=cpp
60624 ac_cpp='$CXXCPP $CPPFLAGS'
60625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60630 /* end confdefs.h. */
60631 #include <stdlib.h>
60633 main ()
60635 quick_exit(0);
60637 return 0;
60639 _ACEOF
60640 if ac_fn_cxx_try_compile "$LINENO"; then :
60641 glibcxx_cv_func_quick_exit_use=yes
60642 else
60643 glibcxx_cv_func_quick_exit_use=no
60645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60646 ac_ext=c
60647 ac_cpp='$CPP $CPPFLAGS'
60648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60657 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60658 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60659 for ac_func in quick_exit
60660 do :
60661 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60662 if test "x$ac_cv_func_quick_exit" = xyes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE_QUICK_EXIT 1
60665 _ACEOF
60668 done
60673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60674 $as_echo_n "checking for strtold declaration... " >&6; }
60675 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60676 if ${glibcxx_cv_func_strtold_use+:} false; then :
60677 $as_echo_n "(cached) " >&6
60678 else
60681 ac_ext=cpp
60682 ac_cpp='$CXXCPP $CPPFLAGS'
60683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60688 /* end confdefs.h. */
60689 #include <stdlib.h>
60691 main ()
60693 strtold(0, 0);
60695 return 0;
60697 _ACEOF
60698 if ac_fn_cxx_try_compile "$LINENO"; then :
60699 glibcxx_cv_func_strtold_use=yes
60700 else
60701 glibcxx_cv_func_strtold_use=no
60703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60704 ac_ext=c
60705 ac_cpp='$CPP $CPPFLAGS'
60706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60715 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60716 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60717 for ac_func in strtold
60718 do :
60719 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60720 if test "x$ac_cv_func_strtold" = xyes; then :
60721 cat >>confdefs.h <<_ACEOF
60722 #define HAVE_STRTOLD 1
60723 _ACEOF
60726 done
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60734 $as_echo_n "checking for strtof declaration... " >&6; }
60735 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60736 if ${glibcxx_cv_func_strtof_use+:} false; then :
60737 $as_echo_n "(cached) " >&6
60738 else
60741 ac_ext=cpp
60742 ac_cpp='$CXXCPP $CPPFLAGS'
60743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60748 /* end confdefs.h. */
60749 #include <stdlib.h>
60751 main ()
60753 strtof(0, 0);
60755 return 0;
60757 _ACEOF
60758 if ac_fn_cxx_try_compile "$LINENO"; then :
60759 glibcxx_cv_func_strtof_use=yes
60760 else
60761 glibcxx_cv_func_strtof_use=no
60763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60764 ac_ext=c
60765 ac_cpp='$CPP $CPPFLAGS'
60766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60775 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60776 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60777 for ac_func in strtof
60778 do :
60779 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60780 if test "x$ac_cv_func_strtof" = xyes; then :
60781 cat >>confdefs.h <<_ACEOF
60782 #define HAVE_STRTOF 1
60783 _ACEOF
60786 done
60793 CXXFLAGS="$ac_save_CXXFLAGS"
60795 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60796 do :
60797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60800 cat >>confdefs.h <<_ACEOF
60801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60802 _ACEOF
60805 done
60807 for ac_func in _wfopen
60808 do :
60809 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60810 if test "x$ac_cv_func__wfopen" = xyes; then :
60811 cat >>confdefs.h <<_ACEOF
60812 #define HAVE__WFOPEN 1
60813 _ACEOF
60816 done
60819 *-netbsd* | *-openbsd*)
60820 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60823 # If we're not using GNU ld, then there's no point in even trying these
60824 # tests. Check for that first. We should have already tested for gld
60825 # by now (in libtool), but require it now just to be safe...
60826 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60827 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60831 # The name set by libtool depends on the version of libtool. Shame on us
60832 # for depending on an impl detail, but c'est la vie. Older versions used
60833 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60834 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60835 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60836 # set (hence we're using an older libtool), then set it.
60837 if test x${with_gnu_ld+set} != xset; then
60838 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60839 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60840 with_gnu_ld=no
60841 else
60842 with_gnu_ld=$ac_cv_prog_gnu_ld
60846 # Start by getting the version number. I think the libtool test already
60847 # does some of this, but throws away the result.
60848 glibcxx_ld_is_gold=no
60849 if test x"$with_gnu_ld" = x"yes"; then
60850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60851 $as_echo_n "checking for ld version... " >&6; }
60853 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60854 glibcxx_ld_is_gold=yes
60856 ldver=`$LD --version 2>/dev/null |
60857 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60859 glibcxx_gnu_ld_version=`echo $ldver | \
60860 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60862 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60865 # Set --gc-sections.
60866 glibcxx_have_gc_sections=no
60867 if test "$glibcxx_ld_is_gold" = "yes"; then
60868 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60869 glibcxx_have_gc_sections=yes
60871 else
60872 glibcxx_gcsections_min_ld=21602
60873 if test x"$with_gnu_ld" = x"yes" &&
60874 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60875 glibcxx_have_gc_sections=yes
60878 if test "$glibcxx_have_gc_sections" = "yes"; then
60879 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60880 # NB: This flag only works reliably after 2.16.1. Configure tests
60881 # for this are difficult, so hard wire a value that should work.
60883 ac_test_CFLAGS="${CFLAGS+set}"
60884 ac_save_CFLAGS="$CFLAGS"
60885 CFLAGS='-Wl,--gc-sections'
60887 # Check for -Wl,--gc-sections
60888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60889 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60890 if test x$gcc_no_link = xyes; then
60891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60894 /* end confdefs.h. */
60895 int one(void) { return 1; }
60896 int two(void) { return 2; }
60899 main ()
60901 two();
60903 return 0;
60905 _ACEOF
60906 if ac_fn_c_try_link "$LINENO"; then :
60907 ac_gcsections=yes
60908 else
60909 ac_gcsections=no
60911 rm -f core conftest.err conftest.$ac_objext \
60912 conftest$ac_exeext conftest.$ac_ext
60913 if test "$ac_gcsections" = "yes"; then
60914 rm -f conftest.c
60915 touch conftest.c
60916 if $CC -c conftest.c; then
60917 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60918 grep "Warning: gc-sections option ignored" > /dev/null; then
60919 ac_gcsections=no
60922 rm -f conftest.c conftest.o conftest
60924 if test "$ac_gcsections" = "yes"; then
60925 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60928 $as_echo "$ac_gcsections" >&6; }
60930 if test "$ac_test_CFLAGS" = set; then
60931 CFLAGS="$ac_save_CFLAGS"
60932 else
60933 # this is the suspicious part
60934 CFLAGS=''
60938 # Set -z,relro.
60939 # Note this is only for shared objects.
60940 ac_ld_relro=no
60941 if test x"$with_gnu_ld" = x"yes"; then
60942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60943 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60944 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60945 if test -n "$cxx_z_relo"; then
60946 OPT_LDFLAGS="-Wl,-z,relro"
60947 ac_ld_relro=yes
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60950 $as_echo "$ac_ld_relro" >&6; }
60953 # Set linker optimization flags.
60954 if test x"$with_gnu_ld" = x"yes"; then
60955 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60961 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60963 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60965 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60967 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60969 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60971 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60973 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60975 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60977 if test x"long_double_math_on_this_cpu" = x"yes"; then
60978 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60980 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60982 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60985 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60986 do :
60987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60989 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60990 cat >>confdefs.h <<_ACEOF
60991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60992 _ACEOF
60995 done
60997 for ac_func in timespec_get
60998 do :
60999 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61000 if test "x$ac_cv_func_timespec_get" = xyes; then :
61001 cat >>confdefs.h <<_ACEOF
61002 #define HAVE_TIMESPEC_GET 1
61003 _ACEOF
61006 done
61008 for ac_func in sockatmark
61009 do :
61010 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61011 if test "x$ac_cv_func_sockatmark" = xyes; then :
61012 cat >>confdefs.h <<_ACEOF
61013 #define HAVE_SOCKATMARK 1
61014 _ACEOF
61017 done
61020 *-qnx6.1* | *-qnx6.2*)
61021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61024 # If we're not using GNU ld, then there's no point in even trying these
61025 # tests. Check for that first. We should have already tested for gld
61026 # by now (in libtool), but require it now just to be safe...
61027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61032 # The name set by libtool depends on the version of libtool. Shame on us
61033 # for depending on an impl detail, but c'est la vie. Older versions used
61034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61037 # set (hence we're using an older libtool), then set it.
61038 if test x${with_gnu_ld+set} != xset; then
61039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61041 with_gnu_ld=no
61042 else
61043 with_gnu_ld=$ac_cv_prog_gnu_ld
61047 # Start by getting the version number. I think the libtool test already
61048 # does some of this, but throws away the result.
61049 glibcxx_ld_is_gold=no
61050 if test x"$with_gnu_ld" = x"yes"; then
61051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61052 $as_echo_n "checking for ld version... " >&6; }
61054 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61055 glibcxx_ld_is_gold=yes
61057 ldver=`$LD --version 2>/dev/null |
61058 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61060 glibcxx_gnu_ld_version=`echo $ldver | \
61061 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61063 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61066 # Set --gc-sections.
61067 glibcxx_have_gc_sections=no
61068 if test "$glibcxx_ld_is_gold" = "yes"; then
61069 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61070 glibcxx_have_gc_sections=yes
61072 else
61073 glibcxx_gcsections_min_ld=21602
61074 if test x"$with_gnu_ld" = x"yes" &&
61075 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61076 glibcxx_have_gc_sections=yes
61079 if test "$glibcxx_have_gc_sections" = "yes"; then
61080 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61081 # NB: This flag only works reliably after 2.16.1. Configure tests
61082 # for this are difficult, so hard wire a value that should work.
61084 ac_test_CFLAGS="${CFLAGS+set}"
61085 ac_save_CFLAGS="$CFLAGS"
61086 CFLAGS='-Wl,--gc-sections'
61088 # Check for -Wl,--gc-sections
61089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61090 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61091 if test x$gcc_no_link = xyes; then
61092 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61095 /* end confdefs.h. */
61096 int one(void) { return 1; }
61097 int two(void) { return 2; }
61100 main ()
61102 two();
61104 return 0;
61106 _ACEOF
61107 if ac_fn_c_try_link "$LINENO"; then :
61108 ac_gcsections=yes
61109 else
61110 ac_gcsections=no
61112 rm -f core conftest.err conftest.$ac_objext \
61113 conftest$ac_exeext conftest.$ac_ext
61114 if test "$ac_gcsections" = "yes"; then
61115 rm -f conftest.c
61116 touch conftest.c
61117 if $CC -c conftest.c; then
61118 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61119 grep "Warning: gc-sections option ignored" > /dev/null; then
61120 ac_gcsections=no
61123 rm -f conftest.c conftest.o conftest
61125 if test "$ac_gcsections" = "yes"; then
61126 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61129 $as_echo "$ac_gcsections" >&6; }
61131 if test "$ac_test_CFLAGS" = set; then
61132 CFLAGS="$ac_save_CFLAGS"
61133 else
61134 # this is the suspicious part
61135 CFLAGS=''
61139 # Set -z,relro.
61140 # Note this is only for shared objects.
61141 ac_ld_relro=no
61142 if test x"$with_gnu_ld" = x"yes"; then
61143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61144 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61145 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61146 if test -n "$cxx_z_relo"; then
61147 OPT_LDFLAGS="-Wl,-z,relro"
61148 ac_ld_relro=yes
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61151 $as_echo "$ac_ld_relro" >&6; }
61154 # Set linker optimization flags.
61155 if test x"$with_gnu_ld" = x"yes"; then
61156 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61162 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61164 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61166 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61168 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61170 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61172 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61174 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61176 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61178 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61180 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61182 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61184 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61187 *-rtems*)
61189 # All these tests are for C++; save the language and the compiler flags.
61190 # The CXXFLAGS thing is suspicious, but based on similar bits previously
61191 # found in GLIBCXX_CONFIGURE.
61193 ac_ext=cpp
61194 ac_cpp='$CXXCPP $CPPFLAGS'
61195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61199 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61200 ac_save_CXXFLAGS="$CXXFLAGS"
61202 # Check for -ffunction-sections -fdata-sections
61203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
61204 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
61205 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
61206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61207 /* end confdefs.h. */
61208 int foo; void bar() { };
61210 main ()
61214 return 0;
61216 _ACEOF
61217 if ac_fn_cxx_try_compile "$LINENO"; then :
61218 ac_fdsections=yes
61219 else
61220 ac_fdsections=no
61222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61223 if test "$ac_test_CXXFLAGS" = set; then
61224 CXXFLAGS="$ac_save_CXXFLAGS"
61225 else
61226 # this is the suspicious part
61227 CXXFLAGS=''
61229 if test x"$ac_fdsections" = x"yes"; then
61230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
61233 $as_echo "$ac_fdsections" >&6; }
61235 ac_ext=c
61236 ac_cpp='$CPP $CPPFLAGS'
61237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61244 # If we're not using GNU ld, then there's no point in even trying these
61245 # tests. Check for that first. We should have already tested for gld
61246 # by now (in libtool), but require it now just to be safe...
61247 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61248 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61252 # The name set by libtool depends on the version of libtool. Shame on us
61253 # for depending on an impl detail, but c'est la vie. Older versions used
61254 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61255 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61256 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61257 # set (hence we're using an older libtool), then set it.
61258 if test x${with_gnu_ld+set} != xset; then
61259 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61260 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61261 with_gnu_ld=no
61262 else
61263 with_gnu_ld=$ac_cv_prog_gnu_ld
61267 # Start by getting the version number. I think the libtool test already
61268 # does some of this, but throws away the result.
61269 glibcxx_ld_is_gold=no
61270 if test x"$with_gnu_ld" = x"yes"; then
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61272 $as_echo_n "checking for ld version... " >&6; }
61274 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61275 glibcxx_ld_is_gold=yes
61277 ldver=`$LD --version 2>/dev/null |
61278 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61280 glibcxx_gnu_ld_version=`echo $ldver | \
61281 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61283 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61286 # Set --gc-sections.
61287 glibcxx_have_gc_sections=no
61288 if test "$glibcxx_ld_is_gold" = "yes"; then
61289 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61290 glibcxx_have_gc_sections=yes
61292 else
61293 glibcxx_gcsections_min_ld=21602
61294 if test x"$with_gnu_ld" = x"yes" &&
61295 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61296 glibcxx_have_gc_sections=yes
61299 if test "$glibcxx_have_gc_sections" = "yes"; then
61300 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61301 # NB: This flag only works reliably after 2.16.1. Configure tests
61302 # for this are difficult, so hard wire a value that should work.
61304 ac_test_CFLAGS="${CFLAGS+set}"
61305 ac_save_CFLAGS="$CFLAGS"
61306 CFLAGS='-Wl,--gc-sections'
61308 # Check for -Wl,--gc-sections
61309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61310 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61311 if test x$gcc_no_link = xyes; then
61312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 int one(void) { return 1; }
61317 int two(void) { return 2; }
61320 main ()
61322 two();
61324 return 0;
61326 _ACEOF
61327 if ac_fn_c_try_link "$LINENO"; then :
61328 ac_gcsections=yes
61329 else
61330 ac_gcsections=no
61332 rm -f core conftest.err conftest.$ac_objext \
61333 conftest$ac_exeext conftest.$ac_ext
61334 if test "$ac_gcsections" = "yes"; then
61335 rm -f conftest.c
61336 touch conftest.c
61337 if $CC -c conftest.c; then
61338 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61339 grep "Warning: gc-sections option ignored" > /dev/null; then
61340 ac_gcsections=no
61343 rm -f conftest.c conftest.o conftest
61345 if test "$ac_gcsections" = "yes"; then
61346 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61349 $as_echo "$ac_gcsections" >&6; }
61351 if test "$ac_test_CFLAGS" = set; then
61352 CFLAGS="$ac_save_CFLAGS"
61353 else
61354 # this is the suspicious part
61355 CFLAGS=''
61359 # Set -z,relro.
61360 # Note this is only for shared objects.
61361 ac_ld_relro=no
61362 if test x"$with_gnu_ld" = x"yes"; then
61363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61364 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61365 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61366 if test -n "$cxx_z_relo"; then
61367 OPT_LDFLAGS="-Wl,-z,relro"
61368 ac_ld_relro=yes
61370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61371 $as_echo "$ac_ld_relro" >&6; }
61374 # Set linker optimization flags.
61375 if test x"$with_gnu_ld" = x"yes"; then
61376 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61383 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61384 ac_save_CXXFLAGS="$CXXFLAGS"
61385 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61388 $as_echo_n "checking for sin in -lm... " >&6; }
61389 if ${ac_cv_lib_m_sin+:} false; then :
61390 $as_echo_n "(cached) " >&6
61391 else
61392 ac_check_lib_save_LIBS=$LIBS
61393 LIBS="-lm $LIBS"
61394 if test x$gcc_no_link = xyes; then
61395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61398 /* end confdefs.h. */
61400 /* Override any GCC internal prototype to avoid an error.
61401 Use char because int might match the return type of a GCC
61402 builtin and then its argument prototype would still apply. */
61403 #ifdef __cplusplus
61404 extern "C"
61405 #endif
61406 char sin ();
61408 main ()
61410 return sin ();
61412 return 0;
61414 _ACEOF
61415 if ac_fn_c_try_link "$LINENO"; then :
61416 ac_cv_lib_m_sin=yes
61417 else
61418 ac_cv_lib_m_sin=no
61420 rm -f core conftest.err conftest.$ac_objext \
61421 conftest$ac_exeext conftest.$ac_ext
61422 LIBS=$ac_check_lib_save_LIBS
61424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61425 $as_echo "$ac_cv_lib_m_sin" >&6; }
61426 if test "x$ac_cv_lib_m_sin" = xyes; then :
61427 libm="-lm"
61430 ac_save_LIBS="$LIBS"
61431 LIBS="$LIBS $libm"
61435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61436 $as_echo_n "checking for isinf declaration... " >&6; }
61437 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61438 if ${glibcxx_cv_func_isinf_use+:} false; then :
61439 $as_echo_n "(cached) " >&6
61440 else
61443 ac_ext=cpp
61444 ac_cpp='$CXXCPP $CPPFLAGS'
61445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61450 /* end confdefs.h. */
61451 #include <math.h>
61452 #ifdef HAVE_IEEEFP_H
61453 #include <ieeefp.h>
61454 #endif
61457 main ()
61459 isinf(0);
61461 return 0;
61463 _ACEOF
61464 if ac_fn_cxx_try_compile "$LINENO"; then :
61465 glibcxx_cv_func_isinf_use=yes
61466 else
61467 glibcxx_cv_func_isinf_use=no
61469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61470 ac_ext=c
61471 ac_cpp='$CPP $CPPFLAGS'
61472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61481 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61483 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61484 for ac_func in isinf
61485 do :
61486 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61487 if test "x$ac_cv_func_isinf" = xyes; then :
61488 cat >>confdefs.h <<_ACEOF
61489 #define HAVE_ISINF 1
61490 _ACEOF
61493 done
61495 else
61497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61498 $as_echo_n "checking for _isinf declaration... " >&6; }
61499 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61500 if ${glibcxx_cv_func__isinf_use+:} false; then :
61501 $as_echo_n "(cached) " >&6
61502 else
61505 ac_ext=cpp
61506 ac_cpp='$CXXCPP $CPPFLAGS'
61507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61512 /* end confdefs.h. */
61513 #include <math.h>
61514 #ifdef HAVE_IEEEFP_H
61515 #include <ieeefp.h>
61516 #endif
61519 main ()
61521 _isinf(0);
61523 return 0;
61525 _ACEOF
61526 if ac_fn_cxx_try_compile "$LINENO"; then :
61527 glibcxx_cv_func__isinf_use=yes
61528 else
61529 glibcxx_cv_func__isinf_use=no
61531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61532 ac_ext=c
61533 ac_cpp='$CPP $CPPFLAGS'
61534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61543 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61545 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61546 for ac_func in _isinf
61547 do :
61548 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61549 if test "x$ac_cv_func__isinf" = xyes; then :
61550 cat >>confdefs.h <<_ACEOF
61551 #define HAVE__ISINF 1
61552 _ACEOF
61555 done
61564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61565 $as_echo_n "checking for isnan declaration... " >&6; }
61566 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61567 if ${glibcxx_cv_func_isnan_use+:} false; then :
61568 $as_echo_n "(cached) " >&6
61569 else
61572 ac_ext=cpp
61573 ac_cpp='$CXXCPP $CPPFLAGS'
61574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61579 /* end confdefs.h. */
61580 #include <math.h>
61581 #ifdef HAVE_IEEEFP_H
61582 #include <ieeefp.h>
61583 #endif
61586 main ()
61588 isnan(0);
61590 return 0;
61592 _ACEOF
61593 if ac_fn_cxx_try_compile "$LINENO"; then :
61594 glibcxx_cv_func_isnan_use=yes
61595 else
61596 glibcxx_cv_func_isnan_use=no
61598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61599 ac_ext=c
61600 ac_cpp='$CPP $CPPFLAGS'
61601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61610 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61612 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61613 for ac_func in isnan
61614 do :
61615 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61616 if test "x$ac_cv_func_isnan" = xyes; then :
61617 cat >>confdefs.h <<_ACEOF
61618 #define HAVE_ISNAN 1
61619 _ACEOF
61622 done
61624 else
61626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61627 $as_echo_n "checking for _isnan declaration... " >&6; }
61628 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61629 if ${glibcxx_cv_func__isnan_use+:} false; then :
61630 $as_echo_n "(cached) " >&6
61631 else
61634 ac_ext=cpp
61635 ac_cpp='$CXXCPP $CPPFLAGS'
61636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61641 /* end confdefs.h. */
61642 #include <math.h>
61643 #ifdef HAVE_IEEEFP_H
61644 #include <ieeefp.h>
61645 #endif
61648 main ()
61650 _isnan(0);
61652 return 0;
61654 _ACEOF
61655 if ac_fn_cxx_try_compile "$LINENO"; then :
61656 glibcxx_cv_func__isnan_use=yes
61657 else
61658 glibcxx_cv_func__isnan_use=no
61660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61661 ac_ext=c
61662 ac_cpp='$CPP $CPPFLAGS'
61663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61672 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61674 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61675 for ac_func in _isnan
61676 do :
61677 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61678 if test "x$ac_cv_func__isnan" = xyes; then :
61679 cat >>confdefs.h <<_ACEOF
61680 #define HAVE__ISNAN 1
61681 _ACEOF
61684 done
61693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61694 $as_echo_n "checking for finite declaration... " >&6; }
61695 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61696 if ${glibcxx_cv_func_finite_use+:} false; then :
61697 $as_echo_n "(cached) " >&6
61698 else
61701 ac_ext=cpp
61702 ac_cpp='$CXXCPP $CPPFLAGS'
61703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61708 /* end confdefs.h. */
61709 #include <math.h>
61710 #ifdef HAVE_IEEEFP_H
61711 #include <ieeefp.h>
61712 #endif
61715 main ()
61717 finite(0);
61719 return 0;
61721 _ACEOF
61722 if ac_fn_cxx_try_compile "$LINENO"; then :
61723 glibcxx_cv_func_finite_use=yes
61724 else
61725 glibcxx_cv_func_finite_use=no
61727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61728 ac_ext=c
61729 ac_cpp='$CPP $CPPFLAGS'
61730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61739 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61741 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61742 for ac_func in finite
61743 do :
61744 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61745 if test "x$ac_cv_func_finite" = xyes; then :
61746 cat >>confdefs.h <<_ACEOF
61747 #define HAVE_FINITE 1
61748 _ACEOF
61751 done
61753 else
61755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61756 $as_echo_n "checking for _finite declaration... " >&6; }
61757 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61758 if ${glibcxx_cv_func__finite_use+:} false; then :
61759 $as_echo_n "(cached) " >&6
61760 else
61763 ac_ext=cpp
61764 ac_cpp='$CXXCPP $CPPFLAGS'
61765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61770 /* end confdefs.h. */
61771 #include <math.h>
61772 #ifdef HAVE_IEEEFP_H
61773 #include <ieeefp.h>
61774 #endif
61777 main ()
61779 _finite(0);
61781 return 0;
61783 _ACEOF
61784 if ac_fn_cxx_try_compile "$LINENO"; then :
61785 glibcxx_cv_func__finite_use=yes
61786 else
61787 glibcxx_cv_func__finite_use=no
61789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61790 ac_ext=c
61791 ac_cpp='$CPP $CPPFLAGS'
61792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61801 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61803 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61804 for ac_func in _finite
61805 do :
61806 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61807 if test "x$ac_cv_func__finite" = xyes; then :
61808 cat >>confdefs.h <<_ACEOF
61809 #define HAVE__FINITE 1
61810 _ACEOF
61813 done
61822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61823 $as_echo_n "checking for sincos declaration... " >&6; }
61824 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61825 if ${glibcxx_cv_func_sincos_use+:} false; then :
61826 $as_echo_n "(cached) " >&6
61827 else
61830 ac_ext=cpp
61831 ac_cpp='$CXXCPP $CPPFLAGS'
61832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61837 /* end confdefs.h. */
61838 #include <math.h>
61840 main ()
61842 sincos(0, 0, 0);
61844 return 0;
61846 _ACEOF
61847 if ac_fn_cxx_try_compile "$LINENO"; then :
61848 glibcxx_cv_func_sincos_use=yes
61849 else
61850 glibcxx_cv_func_sincos_use=no
61852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61853 ac_ext=c
61854 ac_cpp='$CPP $CPPFLAGS'
61855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61864 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61866 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61867 for ac_func in sincos
61868 do :
61869 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61870 if test "x$ac_cv_func_sincos" = xyes; then :
61871 cat >>confdefs.h <<_ACEOF
61872 #define HAVE_SINCOS 1
61873 _ACEOF
61876 done
61878 else
61880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61881 $as_echo_n "checking for _sincos declaration... " >&6; }
61882 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61883 if ${glibcxx_cv_func__sincos_use+:} false; then :
61884 $as_echo_n "(cached) " >&6
61885 else
61888 ac_ext=cpp
61889 ac_cpp='$CXXCPP $CPPFLAGS'
61890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61895 /* end confdefs.h. */
61896 #include <math.h>
61898 main ()
61900 _sincos(0, 0, 0);
61902 return 0;
61904 _ACEOF
61905 if ac_fn_cxx_try_compile "$LINENO"; then :
61906 glibcxx_cv_func__sincos_use=yes
61907 else
61908 glibcxx_cv_func__sincos_use=no
61910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61911 ac_ext=c
61912 ac_cpp='$CPP $CPPFLAGS'
61913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61922 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61924 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61925 for ac_func in _sincos
61926 do :
61927 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61928 if test "x$ac_cv_func__sincos" = xyes; then :
61929 cat >>confdefs.h <<_ACEOF
61930 #define HAVE__SINCOS 1
61931 _ACEOF
61934 done
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61944 $as_echo_n "checking for fpclass declaration... " >&6; }
61945 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61946 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61947 $as_echo_n "(cached) " >&6
61948 else
61951 ac_ext=cpp
61952 ac_cpp='$CXXCPP $CPPFLAGS'
61953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61958 /* end confdefs.h. */
61959 #include <math.h>
61960 #ifdef HAVE_IEEEFP_H
61961 #include <ieeefp.h>
61962 #endif
61965 main ()
61967 fpclass(0);
61969 return 0;
61971 _ACEOF
61972 if ac_fn_cxx_try_compile "$LINENO"; then :
61973 glibcxx_cv_func_fpclass_use=yes
61974 else
61975 glibcxx_cv_func_fpclass_use=no
61977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61978 ac_ext=c
61979 ac_cpp='$CPP $CPPFLAGS'
61980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61989 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61991 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61992 for ac_func in fpclass
61993 do :
61994 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61995 if test "x$ac_cv_func_fpclass" = xyes; then :
61996 cat >>confdefs.h <<_ACEOF
61997 #define HAVE_FPCLASS 1
61998 _ACEOF
62001 done
62003 else
62005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
62006 $as_echo_n "checking for _fpclass declaration... " >&6; }
62007 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62008 if ${glibcxx_cv_func__fpclass_use+:} false; then :
62009 $as_echo_n "(cached) " >&6
62010 else
62013 ac_ext=cpp
62014 ac_cpp='$CXXCPP $CPPFLAGS'
62015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62020 /* end confdefs.h. */
62021 #include <math.h>
62022 #ifdef HAVE_IEEEFP_H
62023 #include <ieeefp.h>
62024 #endif
62027 main ()
62029 _fpclass(0);
62031 return 0;
62033 _ACEOF
62034 if ac_fn_cxx_try_compile "$LINENO"; then :
62035 glibcxx_cv_func__fpclass_use=yes
62036 else
62037 glibcxx_cv_func__fpclass_use=no
62039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62040 ac_ext=c
62041 ac_cpp='$CPP $CPPFLAGS'
62042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62051 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62053 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62054 for ac_func in _fpclass
62055 do :
62056 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62057 if test "x$ac_cv_func__fpclass" = xyes; then :
62058 cat >>confdefs.h <<_ACEOF
62059 #define HAVE__FPCLASS 1
62060 _ACEOF
62063 done
62072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62073 $as_echo_n "checking for qfpclass declaration... " >&6; }
62074 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62075 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62076 $as_echo_n "(cached) " >&6
62077 else
62080 ac_ext=cpp
62081 ac_cpp='$CXXCPP $CPPFLAGS'
62082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62087 /* end confdefs.h. */
62088 #include <math.h>
62089 #ifdef HAVE_IEEEFP_H
62090 #include <ieeefp.h>
62091 #endif
62094 main ()
62096 qfpclass(0);
62098 return 0;
62100 _ACEOF
62101 if ac_fn_cxx_try_compile "$LINENO"; then :
62102 glibcxx_cv_func_qfpclass_use=yes
62103 else
62104 glibcxx_cv_func_qfpclass_use=no
62106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62107 ac_ext=c
62108 ac_cpp='$CPP $CPPFLAGS'
62109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62118 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62120 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62121 for ac_func in qfpclass
62122 do :
62123 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62124 if test "x$ac_cv_func_qfpclass" = xyes; then :
62125 cat >>confdefs.h <<_ACEOF
62126 #define HAVE_QFPCLASS 1
62127 _ACEOF
62130 done
62132 else
62134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62135 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62136 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62137 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62138 $as_echo_n "(cached) " >&6
62139 else
62142 ac_ext=cpp
62143 ac_cpp='$CXXCPP $CPPFLAGS'
62144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62149 /* end confdefs.h. */
62150 #include <math.h>
62151 #ifdef HAVE_IEEEFP_H
62152 #include <ieeefp.h>
62153 #endif
62156 main ()
62158 _qfpclass(0);
62160 return 0;
62162 _ACEOF
62163 if ac_fn_cxx_try_compile "$LINENO"; then :
62164 glibcxx_cv_func__qfpclass_use=yes
62165 else
62166 glibcxx_cv_func__qfpclass_use=no
62168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62169 ac_ext=c
62170 ac_cpp='$CPP $CPPFLAGS'
62171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62180 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62182 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62183 for ac_func in _qfpclass
62184 do :
62185 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62186 if test "x$ac_cv_func__qfpclass" = xyes; then :
62187 cat >>confdefs.h <<_ACEOF
62188 #define HAVE__QFPCLASS 1
62189 _ACEOF
62192 done
62201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62202 $as_echo_n "checking for hypot declaration... " >&6; }
62203 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62204 if ${glibcxx_cv_func_hypot_use+:} false; then :
62205 $as_echo_n "(cached) " >&6
62206 else
62209 ac_ext=cpp
62210 ac_cpp='$CXXCPP $CPPFLAGS'
62211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62216 /* end confdefs.h. */
62217 #include <math.h>
62219 main ()
62221 hypot(0, 0);
62223 return 0;
62225 _ACEOF
62226 if ac_fn_cxx_try_compile "$LINENO"; then :
62227 glibcxx_cv_func_hypot_use=yes
62228 else
62229 glibcxx_cv_func_hypot_use=no
62231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62232 ac_ext=c
62233 ac_cpp='$CPP $CPPFLAGS'
62234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62243 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62245 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62246 for ac_func in hypot
62247 do :
62248 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62249 if test "x$ac_cv_func_hypot" = xyes; then :
62250 cat >>confdefs.h <<_ACEOF
62251 #define HAVE_HYPOT 1
62252 _ACEOF
62255 done
62257 else
62259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62260 $as_echo_n "checking for _hypot declaration... " >&6; }
62261 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62262 if ${glibcxx_cv_func__hypot_use+:} false; then :
62263 $as_echo_n "(cached) " >&6
62264 else
62267 ac_ext=cpp
62268 ac_cpp='$CXXCPP $CPPFLAGS'
62269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62274 /* end confdefs.h. */
62275 #include <math.h>
62277 main ()
62279 _hypot(0, 0);
62281 return 0;
62283 _ACEOF
62284 if ac_fn_cxx_try_compile "$LINENO"; then :
62285 glibcxx_cv_func__hypot_use=yes
62286 else
62287 glibcxx_cv_func__hypot_use=no
62289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62290 ac_ext=c
62291 ac_cpp='$CPP $CPPFLAGS'
62292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62301 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62303 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62304 for ac_func in _hypot
62305 do :
62306 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62307 if test "x$ac_cv_func__hypot" = xyes; then :
62308 cat >>confdefs.h <<_ACEOF
62309 #define HAVE__HYPOT 1
62310 _ACEOF
62313 done
62322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62323 $as_echo_n "checking for float trig functions... " >&6; }
62324 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62325 $as_echo_n "(cached) " >&6
62326 else
62329 ac_ext=cpp
62330 ac_cpp='$CXXCPP $CPPFLAGS'
62331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62336 /* end confdefs.h. */
62337 #include <math.h>
62339 main ()
62341 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62343 return 0;
62345 _ACEOF
62346 if ac_fn_cxx_try_compile "$LINENO"; then :
62347 glibcxx_cv_func_float_trig_use=yes
62348 else
62349 glibcxx_cv_func_float_trig_use=no
62351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62352 ac_ext=c
62353 ac_cpp='$CPP $CPPFLAGS'
62354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62361 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62362 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62363 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62364 do :
62365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62368 cat >>confdefs.h <<_ACEOF
62369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62370 _ACEOF
62373 done
62375 else
62376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62377 $as_echo_n "checking for _float trig functions... " >&6; }
62378 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62379 $as_echo_n "(cached) " >&6
62380 else
62383 ac_ext=cpp
62384 ac_cpp='$CXXCPP $CPPFLAGS'
62385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62390 /* end confdefs.h. */
62391 #include <math.h>
62393 main ()
62395 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62397 return 0;
62399 _ACEOF
62400 if ac_fn_cxx_try_compile "$LINENO"; then :
62401 glibcxx_cv_func__float_trig_use=yes
62402 else
62403 glibcxx_cv_func__float_trig_use=no
62405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62406 ac_ext=c
62407 ac_cpp='$CPP $CPPFLAGS'
62408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62415 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62416 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62417 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62418 do :
62419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62422 cat >>confdefs.h <<_ACEOF
62423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62424 _ACEOF
62427 done
62436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62437 $as_echo_n "checking for float round functions... " >&6; }
62438 if ${glibcxx_cv_func_float_round_use+:} false; then :
62439 $as_echo_n "(cached) " >&6
62440 else
62443 ac_ext=cpp
62444 ac_cpp='$CXXCPP $CPPFLAGS'
62445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62450 /* end confdefs.h. */
62451 #include <math.h>
62453 main ()
62455 ceilf (0); floorf (0);
62457 return 0;
62459 _ACEOF
62460 if ac_fn_cxx_try_compile "$LINENO"; then :
62461 glibcxx_cv_func_float_round_use=yes
62462 else
62463 glibcxx_cv_func_float_round_use=no
62465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62466 ac_ext=c
62467 ac_cpp='$CPP $CPPFLAGS'
62468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62475 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62476 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62477 for ac_func in ceilf floorf
62478 do :
62479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62482 cat >>confdefs.h <<_ACEOF
62483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62484 _ACEOF
62487 done
62489 else
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62491 $as_echo_n "checking for _float round functions... " >&6; }
62492 if ${glibcxx_cv_func__float_round_use+:} false; then :
62493 $as_echo_n "(cached) " >&6
62494 else
62497 ac_ext=cpp
62498 ac_cpp='$CXXCPP $CPPFLAGS'
62499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62504 /* end confdefs.h. */
62505 #include <math.h>
62507 main ()
62509 _ceilf (0); _floorf (0);
62511 return 0;
62513 _ACEOF
62514 if ac_fn_cxx_try_compile "$LINENO"; then :
62515 glibcxx_cv_func__float_round_use=yes
62516 else
62517 glibcxx_cv_func__float_round_use=no
62519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_ext=c
62521 ac_cpp='$CPP $CPPFLAGS'
62522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62529 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62530 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62531 for ac_func in _ceilf _floorf
62532 do :
62533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62536 cat >>confdefs.h <<_ACEOF
62537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62538 _ACEOF
62541 done
62551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62552 $as_echo_n "checking for expf declaration... " >&6; }
62553 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62554 if ${glibcxx_cv_func_expf_use+:} false; then :
62555 $as_echo_n "(cached) " >&6
62556 else
62559 ac_ext=cpp
62560 ac_cpp='$CXXCPP $CPPFLAGS'
62561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62566 /* end confdefs.h. */
62567 #include <math.h>
62568 #ifdef HAVE_IEEEFP_H
62569 #include <ieeefp.h>
62570 #endif
62573 main ()
62575 expf(0);
62577 return 0;
62579 _ACEOF
62580 if ac_fn_cxx_try_compile "$LINENO"; then :
62581 glibcxx_cv_func_expf_use=yes
62582 else
62583 glibcxx_cv_func_expf_use=no
62585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62586 ac_ext=c
62587 ac_cpp='$CPP $CPPFLAGS'
62588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62597 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62599 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62600 for ac_func in expf
62601 do :
62602 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62603 if test "x$ac_cv_func_expf" = xyes; then :
62604 cat >>confdefs.h <<_ACEOF
62605 #define HAVE_EXPF 1
62606 _ACEOF
62609 done
62611 else
62613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62614 $as_echo_n "checking for _expf declaration... " >&6; }
62615 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62616 if ${glibcxx_cv_func__expf_use+:} false; then :
62617 $as_echo_n "(cached) " >&6
62618 else
62621 ac_ext=cpp
62622 ac_cpp='$CXXCPP $CPPFLAGS'
62623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62628 /* end confdefs.h. */
62629 #include <math.h>
62630 #ifdef HAVE_IEEEFP_H
62631 #include <ieeefp.h>
62632 #endif
62635 main ()
62637 _expf(0);
62639 return 0;
62641 _ACEOF
62642 if ac_fn_cxx_try_compile "$LINENO"; then :
62643 glibcxx_cv_func__expf_use=yes
62644 else
62645 glibcxx_cv_func__expf_use=no
62647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62648 ac_ext=c
62649 ac_cpp='$CPP $CPPFLAGS'
62650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62659 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62661 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62662 for ac_func in _expf
62663 do :
62664 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62665 if test "x$ac_cv_func__expf" = xyes; then :
62666 cat >>confdefs.h <<_ACEOF
62667 #define HAVE__EXPF 1
62668 _ACEOF
62671 done
62680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62681 $as_echo_n "checking for isnanf declaration... " >&6; }
62682 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62683 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62684 $as_echo_n "(cached) " >&6
62685 else
62688 ac_ext=cpp
62689 ac_cpp='$CXXCPP $CPPFLAGS'
62690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62695 /* end confdefs.h. */
62696 #include <math.h>
62697 #ifdef HAVE_IEEEFP_H
62698 #include <ieeefp.h>
62699 #endif
62702 main ()
62704 isnanf(0);
62706 return 0;
62708 _ACEOF
62709 if ac_fn_cxx_try_compile "$LINENO"; then :
62710 glibcxx_cv_func_isnanf_use=yes
62711 else
62712 glibcxx_cv_func_isnanf_use=no
62714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62715 ac_ext=c
62716 ac_cpp='$CPP $CPPFLAGS'
62717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62726 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62728 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62729 for ac_func in isnanf
62730 do :
62731 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62732 if test "x$ac_cv_func_isnanf" = xyes; then :
62733 cat >>confdefs.h <<_ACEOF
62734 #define HAVE_ISNANF 1
62735 _ACEOF
62738 done
62740 else
62742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62743 $as_echo_n "checking for _isnanf declaration... " >&6; }
62744 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62745 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62746 $as_echo_n "(cached) " >&6
62747 else
62750 ac_ext=cpp
62751 ac_cpp='$CXXCPP $CPPFLAGS'
62752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62757 /* end confdefs.h. */
62758 #include <math.h>
62759 #ifdef HAVE_IEEEFP_H
62760 #include <ieeefp.h>
62761 #endif
62764 main ()
62766 _isnanf(0);
62768 return 0;
62770 _ACEOF
62771 if ac_fn_cxx_try_compile "$LINENO"; then :
62772 glibcxx_cv_func__isnanf_use=yes
62773 else
62774 glibcxx_cv_func__isnanf_use=no
62776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62777 ac_ext=c
62778 ac_cpp='$CPP $CPPFLAGS'
62779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62788 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62790 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62791 for ac_func in _isnanf
62792 do :
62793 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62794 if test "x$ac_cv_func__isnanf" = xyes; then :
62795 cat >>confdefs.h <<_ACEOF
62796 #define HAVE__ISNANF 1
62797 _ACEOF
62800 done
62809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62810 $as_echo_n "checking for isinff declaration... " >&6; }
62811 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62812 if ${glibcxx_cv_func_isinff_use+:} false; then :
62813 $as_echo_n "(cached) " >&6
62814 else
62817 ac_ext=cpp
62818 ac_cpp='$CXXCPP $CPPFLAGS'
62819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62824 /* end confdefs.h. */
62825 #include <math.h>
62826 #ifdef HAVE_IEEEFP_H
62827 #include <ieeefp.h>
62828 #endif
62831 main ()
62833 isinff(0);
62835 return 0;
62837 _ACEOF
62838 if ac_fn_cxx_try_compile "$LINENO"; then :
62839 glibcxx_cv_func_isinff_use=yes
62840 else
62841 glibcxx_cv_func_isinff_use=no
62843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62844 ac_ext=c
62845 ac_cpp='$CPP $CPPFLAGS'
62846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62855 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62857 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62858 for ac_func in isinff
62859 do :
62860 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62861 if test "x$ac_cv_func_isinff" = xyes; then :
62862 cat >>confdefs.h <<_ACEOF
62863 #define HAVE_ISINFF 1
62864 _ACEOF
62867 done
62869 else
62871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62872 $as_echo_n "checking for _isinff declaration... " >&6; }
62873 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62874 if ${glibcxx_cv_func__isinff_use+:} false; then :
62875 $as_echo_n "(cached) " >&6
62876 else
62879 ac_ext=cpp
62880 ac_cpp='$CXXCPP $CPPFLAGS'
62881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62886 /* end confdefs.h. */
62887 #include <math.h>
62888 #ifdef HAVE_IEEEFP_H
62889 #include <ieeefp.h>
62890 #endif
62893 main ()
62895 _isinff(0);
62897 return 0;
62899 _ACEOF
62900 if ac_fn_cxx_try_compile "$LINENO"; then :
62901 glibcxx_cv_func__isinff_use=yes
62902 else
62903 glibcxx_cv_func__isinff_use=no
62905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62906 ac_ext=c
62907 ac_cpp='$CPP $CPPFLAGS'
62908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62917 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62919 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62920 for ac_func in _isinff
62921 do :
62922 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62923 if test "x$ac_cv_func__isinff" = xyes; then :
62924 cat >>confdefs.h <<_ACEOF
62925 #define HAVE__ISINFF 1
62926 _ACEOF
62929 done
62938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62939 $as_echo_n "checking for atan2f declaration... " >&6; }
62940 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62941 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62942 $as_echo_n "(cached) " >&6
62943 else
62946 ac_ext=cpp
62947 ac_cpp='$CXXCPP $CPPFLAGS'
62948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62953 /* end confdefs.h. */
62954 #include <math.h>
62956 main ()
62958 atan2f(0, 0);
62960 return 0;
62962 _ACEOF
62963 if ac_fn_cxx_try_compile "$LINENO"; then :
62964 glibcxx_cv_func_atan2f_use=yes
62965 else
62966 glibcxx_cv_func_atan2f_use=no
62968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62969 ac_ext=c
62970 ac_cpp='$CPP $CPPFLAGS'
62971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62980 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62982 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62983 for ac_func in atan2f
62984 do :
62985 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62986 if test "x$ac_cv_func_atan2f" = xyes; then :
62987 cat >>confdefs.h <<_ACEOF
62988 #define HAVE_ATAN2F 1
62989 _ACEOF
62992 done
62994 else
62996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62997 $as_echo_n "checking for _atan2f declaration... " >&6; }
62998 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62999 if ${glibcxx_cv_func__atan2f_use+:} false; then :
63000 $as_echo_n "(cached) " >&6
63001 else
63004 ac_ext=cpp
63005 ac_cpp='$CXXCPP $CPPFLAGS'
63006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63011 /* end confdefs.h. */
63012 #include <math.h>
63014 main ()
63016 _atan2f(0, 0);
63018 return 0;
63020 _ACEOF
63021 if ac_fn_cxx_try_compile "$LINENO"; then :
63022 glibcxx_cv_func__atan2f_use=yes
63023 else
63024 glibcxx_cv_func__atan2f_use=no
63026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63027 ac_ext=c
63028 ac_cpp='$CPP $CPPFLAGS'
63029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63038 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63040 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63041 for ac_func in _atan2f
63042 do :
63043 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63044 if test "x$ac_cv_func__atan2f" = xyes; then :
63045 cat >>confdefs.h <<_ACEOF
63046 #define HAVE__ATAN2F 1
63047 _ACEOF
63050 done
63059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63060 $as_echo_n "checking for fabsf declaration... " >&6; }
63061 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63062 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63063 $as_echo_n "(cached) " >&6
63064 else
63067 ac_ext=cpp
63068 ac_cpp='$CXXCPP $CPPFLAGS'
63069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63074 /* end confdefs.h. */
63075 #include <math.h>
63076 #ifdef HAVE_IEEEFP_H
63077 #include <ieeefp.h>
63078 #endif
63081 main ()
63083 fabsf(0);
63085 return 0;
63087 _ACEOF
63088 if ac_fn_cxx_try_compile "$LINENO"; then :
63089 glibcxx_cv_func_fabsf_use=yes
63090 else
63091 glibcxx_cv_func_fabsf_use=no
63093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63094 ac_ext=c
63095 ac_cpp='$CPP $CPPFLAGS'
63096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63105 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63107 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63108 for ac_func in fabsf
63109 do :
63110 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63111 if test "x$ac_cv_func_fabsf" = xyes; then :
63112 cat >>confdefs.h <<_ACEOF
63113 #define HAVE_FABSF 1
63114 _ACEOF
63117 done
63119 else
63121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63122 $as_echo_n "checking for _fabsf declaration... " >&6; }
63123 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63124 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63125 $as_echo_n "(cached) " >&6
63126 else
63129 ac_ext=cpp
63130 ac_cpp='$CXXCPP $CPPFLAGS'
63131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63136 /* end confdefs.h. */
63137 #include <math.h>
63138 #ifdef HAVE_IEEEFP_H
63139 #include <ieeefp.h>
63140 #endif
63143 main ()
63145 _fabsf(0);
63147 return 0;
63149 _ACEOF
63150 if ac_fn_cxx_try_compile "$LINENO"; then :
63151 glibcxx_cv_func__fabsf_use=yes
63152 else
63153 glibcxx_cv_func__fabsf_use=no
63155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63156 ac_ext=c
63157 ac_cpp='$CPP $CPPFLAGS'
63158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63167 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63169 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63170 for ac_func in _fabsf
63171 do :
63172 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63173 if test "x$ac_cv_func__fabsf" = xyes; then :
63174 cat >>confdefs.h <<_ACEOF
63175 #define HAVE__FABSF 1
63176 _ACEOF
63179 done
63188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63189 $as_echo_n "checking for fmodf declaration... " >&6; }
63190 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63191 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63192 $as_echo_n "(cached) " >&6
63193 else
63196 ac_ext=cpp
63197 ac_cpp='$CXXCPP $CPPFLAGS'
63198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63203 /* end confdefs.h. */
63204 #include <math.h>
63206 main ()
63208 fmodf(0, 0);
63210 return 0;
63212 _ACEOF
63213 if ac_fn_cxx_try_compile "$LINENO"; then :
63214 glibcxx_cv_func_fmodf_use=yes
63215 else
63216 glibcxx_cv_func_fmodf_use=no
63218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63219 ac_ext=c
63220 ac_cpp='$CPP $CPPFLAGS'
63221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63230 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63232 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63233 for ac_func in fmodf
63234 do :
63235 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63236 if test "x$ac_cv_func_fmodf" = xyes; then :
63237 cat >>confdefs.h <<_ACEOF
63238 #define HAVE_FMODF 1
63239 _ACEOF
63242 done
63244 else
63246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63247 $as_echo_n "checking for _fmodf declaration... " >&6; }
63248 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63249 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63250 $as_echo_n "(cached) " >&6
63251 else
63254 ac_ext=cpp
63255 ac_cpp='$CXXCPP $CPPFLAGS'
63256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63261 /* end confdefs.h. */
63262 #include <math.h>
63264 main ()
63266 _fmodf(0, 0);
63268 return 0;
63270 _ACEOF
63271 if ac_fn_cxx_try_compile "$LINENO"; then :
63272 glibcxx_cv_func__fmodf_use=yes
63273 else
63274 glibcxx_cv_func__fmodf_use=no
63276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63277 ac_ext=c
63278 ac_cpp='$CPP $CPPFLAGS'
63279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63288 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63290 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63291 for ac_func in _fmodf
63292 do :
63293 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63294 if test "x$ac_cv_func__fmodf" = xyes; then :
63295 cat >>confdefs.h <<_ACEOF
63296 #define HAVE__FMODF 1
63297 _ACEOF
63300 done
63309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63310 $as_echo_n "checking for frexpf declaration... " >&6; }
63311 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63312 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63313 $as_echo_n "(cached) " >&6
63314 else
63317 ac_ext=cpp
63318 ac_cpp='$CXXCPP $CPPFLAGS'
63319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63324 /* end confdefs.h. */
63325 #include <math.h>
63327 main ()
63329 frexpf(0, 0);
63331 return 0;
63333 _ACEOF
63334 if ac_fn_cxx_try_compile "$LINENO"; then :
63335 glibcxx_cv_func_frexpf_use=yes
63336 else
63337 glibcxx_cv_func_frexpf_use=no
63339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63340 ac_ext=c
63341 ac_cpp='$CPP $CPPFLAGS'
63342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63351 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63353 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63354 for ac_func in frexpf
63355 do :
63356 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63357 if test "x$ac_cv_func_frexpf" = xyes; then :
63358 cat >>confdefs.h <<_ACEOF
63359 #define HAVE_FREXPF 1
63360 _ACEOF
63363 done
63365 else
63367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63368 $as_echo_n "checking for _frexpf declaration... " >&6; }
63369 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63370 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63371 $as_echo_n "(cached) " >&6
63372 else
63375 ac_ext=cpp
63376 ac_cpp='$CXXCPP $CPPFLAGS'
63377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63382 /* end confdefs.h. */
63383 #include <math.h>
63385 main ()
63387 _frexpf(0, 0);
63389 return 0;
63391 _ACEOF
63392 if ac_fn_cxx_try_compile "$LINENO"; then :
63393 glibcxx_cv_func__frexpf_use=yes
63394 else
63395 glibcxx_cv_func__frexpf_use=no
63397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63398 ac_ext=c
63399 ac_cpp='$CPP $CPPFLAGS'
63400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63409 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63411 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63412 for ac_func in _frexpf
63413 do :
63414 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63415 if test "x$ac_cv_func__frexpf" = xyes; then :
63416 cat >>confdefs.h <<_ACEOF
63417 #define HAVE__FREXPF 1
63418 _ACEOF
63421 done
63430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63431 $as_echo_n "checking for hypotf declaration... " >&6; }
63432 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63433 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63434 $as_echo_n "(cached) " >&6
63435 else
63438 ac_ext=cpp
63439 ac_cpp='$CXXCPP $CPPFLAGS'
63440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63445 /* end confdefs.h. */
63446 #include <math.h>
63448 main ()
63450 hypotf(0, 0);
63452 return 0;
63454 _ACEOF
63455 if ac_fn_cxx_try_compile "$LINENO"; then :
63456 glibcxx_cv_func_hypotf_use=yes
63457 else
63458 glibcxx_cv_func_hypotf_use=no
63460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63461 ac_ext=c
63462 ac_cpp='$CPP $CPPFLAGS'
63463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63472 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63474 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63475 for ac_func in hypotf
63476 do :
63477 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63478 if test "x$ac_cv_func_hypotf" = xyes; then :
63479 cat >>confdefs.h <<_ACEOF
63480 #define HAVE_HYPOTF 1
63481 _ACEOF
63484 done
63486 else
63488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63489 $as_echo_n "checking for _hypotf declaration... " >&6; }
63490 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63491 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63492 $as_echo_n "(cached) " >&6
63493 else
63496 ac_ext=cpp
63497 ac_cpp='$CXXCPP $CPPFLAGS'
63498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63503 /* end confdefs.h. */
63504 #include <math.h>
63506 main ()
63508 _hypotf(0, 0);
63510 return 0;
63512 _ACEOF
63513 if ac_fn_cxx_try_compile "$LINENO"; then :
63514 glibcxx_cv_func__hypotf_use=yes
63515 else
63516 glibcxx_cv_func__hypotf_use=no
63518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63519 ac_ext=c
63520 ac_cpp='$CPP $CPPFLAGS'
63521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63530 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63532 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63533 for ac_func in _hypotf
63534 do :
63535 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63536 if test "x$ac_cv_func__hypotf" = xyes; then :
63537 cat >>confdefs.h <<_ACEOF
63538 #define HAVE__HYPOTF 1
63539 _ACEOF
63542 done
63551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63552 $as_echo_n "checking for ldexpf declaration... " >&6; }
63553 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63554 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63555 $as_echo_n "(cached) " >&6
63556 else
63559 ac_ext=cpp
63560 ac_cpp='$CXXCPP $CPPFLAGS'
63561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63566 /* end confdefs.h. */
63567 #include <math.h>
63569 main ()
63571 ldexpf(0, 0);
63573 return 0;
63575 _ACEOF
63576 if ac_fn_cxx_try_compile "$LINENO"; then :
63577 glibcxx_cv_func_ldexpf_use=yes
63578 else
63579 glibcxx_cv_func_ldexpf_use=no
63581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63582 ac_ext=c
63583 ac_cpp='$CPP $CPPFLAGS'
63584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63593 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63595 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63596 for ac_func in ldexpf
63597 do :
63598 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63599 if test "x$ac_cv_func_ldexpf" = xyes; then :
63600 cat >>confdefs.h <<_ACEOF
63601 #define HAVE_LDEXPF 1
63602 _ACEOF
63605 done
63607 else
63609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63610 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63611 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63612 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63613 $as_echo_n "(cached) " >&6
63614 else
63617 ac_ext=cpp
63618 ac_cpp='$CXXCPP $CPPFLAGS'
63619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63624 /* end confdefs.h. */
63625 #include <math.h>
63627 main ()
63629 _ldexpf(0, 0);
63631 return 0;
63633 _ACEOF
63634 if ac_fn_cxx_try_compile "$LINENO"; then :
63635 glibcxx_cv_func__ldexpf_use=yes
63636 else
63637 glibcxx_cv_func__ldexpf_use=no
63639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63640 ac_ext=c
63641 ac_cpp='$CPP $CPPFLAGS'
63642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63651 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63653 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63654 for ac_func in _ldexpf
63655 do :
63656 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63657 if test "x$ac_cv_func__ldexpf" = xyes; then :
63658 cat >>confdefs.h <<_ACEOF
63659 #define HAVE__LDEXPF 1
63660 _ACEOF
63663 done
63672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63673 $as_echo_n "checking for logf declaration... " >&6; }
63674 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63675 if ${glibcxx_cv_func_logf_use+:} false; then :
63676 $as_echo_n "(cached) " >&6
63677 else
63680 ac_ext=cpp
63681 ac_cpp='$CXXCPP $CPPFLAGS'
63682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63687 /* end confdefs.h. */
63688 #include <math.h>
63689 #ifdef HAVE_IEEEFP_H
63690 #include <ieeefp.h>
63691 #endif
63694 main ()
63696 logf(0);
63698 return 0;
63700 _ACEOF
63701 if ac_fn_cxx_try_compile "$LINENO"; then :
63702 glibcxx_cv_func_logf_use=yes
63703 else
63704 glibcxx_cv_func_logf_use=no
63706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63707 ac_ext=c
63708 ac_cpp='$CPP $CPPFLAGS'
63709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63718 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63720 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63721 for ac_func in logf
63722 do :
63723 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63724 if test "x$ac_cv_func_logf" = xyes; then :
63725 cat >>confdefs.h <<_ACEOF
63726 #define HAVE_LOGF 1
63727 _ACEOF
63730 done
63732 else
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63735 $as_echo_n "checking for _logf declaration... " >&6; }
63736 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63737 if ${glibcxx_cv_func__logf_use+:} false; then :
63738 $as_echo_n "(cached) " >&6
63739 else
63742 ac_ext=cpp
63743 ac_cpp='$CXXCPP $CPPFLAGS'
63744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63749 /* end confdefs.h. */
63750 #include <math.h>
63751 #ifdef HAVE_IEEEFP_H
63752 #include <ieeefp.h>
63753 #endif
63756 main ()
63758 _logf(0);
63760 return 0;
63762 _ACEOF
63763 if ac_fn_cxx_try_compile "$LINENO"; then :
63764 glibcxx_cv_func__logf_use=yes
63765 else
63766 glibcxx_cv_func__logf_use=no
63768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63769 ac_ext=c
63770 ac_cpp='$CPP $CPPFLAGS'
63771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63780 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63782 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63783 for ac_func in _logf
63784 do :
63785 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63786 if test "x$ac_cv_func__logf" = xyes; then :
63787 cat >>confdefs.h <<_ACEOF
63788 #define HAVE__LOGF 1
63789 _ACEOF
63792 done
63801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63802 $as_echo_n "checking for log10f declaration... " >&6; }
63803 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63804 if ${glibcxx_cv_func_log10f_use+:} false; then :
63805 $as_echo_n "(cached) " >&6
63806 else
63809 ac_ext=cpp
63810 ac_cpp='$CXXCPP $CPPFLAGS'
63811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63816 /* end confdefs.h. */
63817 #include <math.h>
63818 #ifdef HAVE_IEEEFP_H
63819 #include <ieeefp.h>
63820 #endif
63823 main ()
63825 log10f(0);
63827 return 0;
63829 _ACEOF
63830 if ac_fn_cxx_try_compile "$LINENO"; then :
63831 glibcxx_cv_func_log10f_use=yes
63832 else
63833 glibcxx_cv_func_log10f_use=no
63835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63836 ac_ext=c
63837 ac_cpp='$CPP $CPPFLAGS'
63838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63847 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63849 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63850 for ac_func in log10f
63851 do :
63852 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63853 if test "x$ac_cv_func_log10f" = xyes; then :
63854 cat >>confdefs.h <<_ACEOF
63855 #define HAVE_LOG10F 1
63856 _ACEOF
63859 done
63861 else
63863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63864 $as_echo_n "checking for _log10f declaration... " >&6; }
63865 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63866 if ${glibcxx_cv_func__log10f_use+:} false; then :
63867 $as_echo_n "(cached) " >&6
63868 else
63871 ac_ext=cpp
63872 ac_cpp='$CXXCPP $CPPFLAGS'
63873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63878 /* end confdefs.h. */
63879 #include <math.h>
63880 #ifdef HAVE_IEEEFP_H
63881 #include <ieeefp.h>
63882 #endif
63885 main ()
63887 _log10f(0);
63889 return 0;
63891 _ACEOF
63892 if ac_fn_cxx_try_compile "$LINENO"; then :
63893 glibcxx_cv_func__log10f_use=yes
63894 else
63895 glibcxx_cv_func__log10f_use=no
63897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63898 ac_ext=c
63899 ac_cpp='$CPP $CPPFLAGS'
63900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63909 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63911 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63912 for ac_func in _log10f
63913 do :
63914 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63915 if test "x$ac_cv_func__log10f" = xyes; then :
63916 cat >>confdefs.h <<_ACEOF
63917 #define HAVE__LOG10F 1
63918 _ACEOF
63921 done
63930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63931 $as_echo_n "checking for modff declaration... " >&6; }
63932 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63933 if ${glibcxx_cv_func_modff_use+:} false; then :
63934 $as_echo_n "(cached) " >&6
63935 else
63938 ac_ext=cpp
63939 ac_cpp='$CXXCPP $CPPFLAGS'
63940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63945 /* end confdefs.h. */
63946 #include <math.h>
63948 main ()
63950 modff(0, 0);
63952 return 0;
63954 _ACEOF
63955 if ac_fn_cxx_try_compile "$LINENO"; then :
63956 glibcxx_cv_func_modff_use=yes
63957 else
63958 glibcxx_cv_func_modff_use=no
63960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63961 ac_ext=c
63962 ac_cpp='$CPP $CPPFLAGS'
63963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63972 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63974 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63975 for ac_func in modff
63976 do :
63977 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63978 if test "x$ac_cv_func_modff" = xyes; then :
63979 cat >>confdefs.h <<_ACEOF
63980 #define HAVE_MODFF 1
63981 _ACEOF
63984 done
63986 else
63988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63989 $as_echo_n "checking for _modff declaration... " >&6; }
63990 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63991 if ${glibcxx_cv_func__modff_use+:} false; then :
63992 $as_echo_n "(cached) " >&6
63993 else
63996 ac_ext=cpp
63997 ac_cpp='$CXXCPP $CPPFLAGS'
63998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64003 /* end confdefs.h. */
64004 #include <math.h>
64006 main ()
64008 _modff(0, 0);
64010 return 0;
64012 _ACEOF
64013 if ac_fn_cxx_try_compile "$LINENO"; then :
64014 glibcxx_cv_func__modff_use=yes
64015 else
64016 glibcxx_cv_func__modff_use=no
64018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64019 ac_ext=c
64020 ac_cpp='$CPP $CPPFLAGS'
64021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64030 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
64032 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64033 for ac_func in _modff
64034 do :
64035 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64036 if test "x$ac_cv_func__modff" = xyes; then :
64037 cat >>confdefs.h <<_ACEOF
64038 #define HAVE__MODFF 1
64039 _ACEOF
64042 done
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64052 $as_echo_n "checking for modf declaration... " >&6; }
64053 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64054 if ${glibcxx_cv_func_modf_use+:} false; then :
64055 $as_echo_n "(cached) " >&6
64056 else
64059 ac_ext=cpp
64060 ac_cpp='$CXXCPP $CPPFLAGS'
64061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64066 /* end confdefs.h. */
64067 #include <math.h>
64069 main ()
64071 modf(0, 0);
64073 return 0;
64075 _ACEOF
64076 if ac_fn_cxx_try_compile "$LINENO"; then :
64077 glibcxx_cv_func_modf_use=yes
64078 else
64079 glibcxx_cv_func_modf_use=no
64081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64082 ac_ext=c
64083 ac_cpp='$CPP $CPPFLAGS'
64084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64093 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64095 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64096 for ac_func in modf
64097 do :
64098 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64099 if test "x$ac_cv_func_modf" = xyes; then :
64100 cat >>confdefs.h <<_ACEOF
64101 #define HAVE_MODF 1
64102 _ACEOF
64105 done
64107 else
64109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64110 $as_echo_n "checking for _modf declaration... " >&6; }
64111 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64112 if ${glibcxx_cv_func__modf_use+:} false; then :
64113 $as_echo_n "(cached) " >&6
64114 else
64117 ac_ext=cpp
64118 ac_cpp='$CXXCPP $CPPFLAGS'
64119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64124 /* end confdefs.h. */
64125 #include <math.h>
64127 main ()
64129 _modf(0, 0);
64131 return 0;
64133 _ACEOF
64134 if ac_fn_cxx_try_compile "$LINENO"; then :
64135 glibcxx_cv_func__modf_use=yes
64136 else
64137 glibcxx_cv_func__modf_use=no
64139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64140 ac_ext=c
64141 ac_cpp='$CPP $CPPFLAGS'
64142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64151 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64153 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64154 for ac_func in _modf
64155 do :
64156 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64157 if test "x$ac_cv_func__modf" = xyes; then :
64158 cat >>confdefs.h <<_ACEOF
64159 #define HAVE__MODF 1
64160 _ACEOF
64163 done
64172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64173 $as_echo_n "checking for powf declaration... " >&6; }
64174 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64175 if ${glibcxx_cv_func_powf_use+:} false; then :
64176 $as_echo_n "(cached) " >&6
64177 else
64180 ac_ext=cpp
64181 ac_cpp='$CXXCPP $CPPFLAGS'
64182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64187 /* end confdefs.h. */
64188 #include <math.h>
64190 main ()
64192 powf(0, 0);
64194 return 0;
64196 _ACEOF
64197 if ac_fn_cxx_try_compile "$LINENO"; then :
64198 glibcxx_cv_func_powf_use=yes
64199 else
64200 glibcxx_cv_func_powf_use=no
64202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64203 ac_ext=c
64204 ac_cpp='$CPP $CPPFLAGS'
64205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64214 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64216 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64217 for ac_func in powf
64218 do :
64219 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64220 if test "x$ac_cv_func_powf" = xyes; then :
64221 cat >>confdefs.h <<_ACEOF
64222 #define HAVE_POWF 1
64223 _ACEOF
64226 done
64228 else
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64231 $as_echo_n "checking for _powf declaration... " >&6; }
64232 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64233 if ${glibcxx_cv_func__powf_use+:} false; then :
64234 $as_echo_n "(cached) " >&6
64235 else
64238 ac_ext=cpp
64239 ac_cpp='$CXXCPP $CPPFLAGS'
64240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64245 /* end confdefs.h. */
64246 #include <math.h>
64248 main ()
64250 _powf(0, 0);
64252 return 0;
64254 _ACEOF
64255 if ac_fn_cxx_try_compile "$LINENO"; then :
64256 glibcxx_cv_func__powf_use=yes
64257 else
64258 glibcxx_cv_func__powf_use=no
64260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64261 ac_ext=c
64262 ac_cpp='$CPP $CPPFLAGS'
64263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64272 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64274 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64275 for ac_func in _powf
64276 do :
64277 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64278 if test "x$ac_cv_func__powf" = xyes; then :
64279 cat >>confdefs.h <<_ACEOF
64280 #define HAVE__POWF 1
64281 _ACEOF
64284 done
64293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64294 $as_echo_n "checking for sqrtf declaration... " >&6; }
64295 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64296 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64297 $as_echo_n "(cached) " >&6
64298 else
64301 ac_ext=cpp
64302 ac_cpp='$CXXCPP $CPPFLAGS'
64303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64308 /* end confdefs.h. */
64309 #include <math.h>
64310 #ifdef HAVE_IEEEFP_H
64311 #include <ieeefp.h>
64312 #endif
64315 main ()
64317 sqrtf(0);
64319 return 0;
64321 _ACEOF
64322 if ac_fn_cxx_try_compile "$LINENO"; then :
64323 glibcxx_cv_func_sqrtf_use=yes
64324 else
64325 glibcxx_cv_func_sqrtf_use=no
64327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64328 ac_ext=c
64329 ac_cpp='$CPP $CPPFLAGS'
64330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64339 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64341 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64342 for ac_func in sqrtf
64343 do :
64344 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64345 if test "x$ac_cv_func_sqrtf" = xyes; then :
64346 cat >>confdefs.h <<_ACEOF
64347 #define HAVE_SQRTF 1
64348 _ACEOF
64351 done
64353 else
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64356 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64357 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64358 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64359 $as_echo_n "(cached) " >&6
64360 else
64363 ac_ext=cpp
64364 ac_cpp='$CXXCPP $CPPFLAGS'
64365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64370 /* end confdefs.h. */
64371 #include <math.h>
64372 #ifdef HAVE_IEEEFP_H
64373 #include <ieeefp.h>
64374 #endif
64377 main ()
64379 _sqrtf(0);
64381 return 0;
64383 _ACEOF
64384 if ac_fn_cxx_try_compile "$LINENO"; then :
64385 glibcxx_cv_func__sqrtf_use=yes
64386 else
64387 glibcxx_cv_func__sqrtf_use=no
64389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64390 ac_ext=c
64391 ac_cpp='$CPP $CPPFLAGS'
64392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64401 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64403 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64404 for ac_func in _sqrtf
64405 do :
64406 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64407 if test "x$ac_cv_func__sqrtf" = xyes; then :
64408 cat >>confdefs.h <<_ACEOF
64409 #define HAVE__SQRTF 1
64410 _ACEOF
64413 done
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64423 $as_echo_n "checking for sincosf declaration... " >&6; }
64424 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64425 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64426 $as_echo_n "(cached) " >&6
64427 else
64430 ac_ext=cpp
64431 ac_cpp='$CXXCPP $CPPFLAGS'
64432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64437 /* end confdefs.h. */
64438 #include <math.h>
64440 main ()
64442 sincosf(0, 0, 0);
64444 return 0;
64446 _ACEOF
64447 if ac_fn_cxx_try_compile "$LINENO"; then :
64448 glibcxx_cv_func_sincosf_use=yes
64449 else
64450 glibcxx_cv_func_sincosf_use=no
64452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64453 ac_ext=c
64454 ac_cpp='$CPP $CPPFLAGS'
64455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64464 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64466 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64467 for ac_func in sincosf
64468 do :
64469 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64470 if test "x$ac_cv_func_sincosf" = xyes; then :
64471 cat >>confdefs.h <<_ACEOF
64472 #define HAVE_SINCOSF 1
64473 _ACEOF
64476 done
64478 else
64480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64481 $as_echo_n "checking for _sincosf declaration... " >&6; }
64482 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64483 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64484 $as_echo_n "(cached) " >&6
64485 else
64488 ac_ext=cpp
64489 ac_cpp='$CXXCPP $CPPFLAGS'
64490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64495 /* end confdefs.h. */
64496 #include <math.h>
64498 main ()
64500 _sincosf(0, 0, 0);
64502 return 0;
64504 _ACEOF
64505 if ac_fn_cxx_try_compile "$LINENO"; then :
64506 glibcxx_cv_func__sincosf_use=yes
64507 else
64508 glibcxx_cv_func__sincosf_use=no
64510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64511 ac_ext=c
64512 ac_cpp='$CPP $CPPFLAGS'
64513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64522 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64524 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64525 for ac_func in _sincosf
64526 do :
64527 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64528 if test "x$ac_cv_func__sincosf" = xyes; then :
64529 cat >>confdefs.h <<_ACEOF
64530 #define HAVE__SINCOSF 1
64531 _ACEOF
64534 done
64543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64544 $as_echo_n "checking for finitef declaration... " >&6; }
64545 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64546 if ${glibcxx_cv_func_finitef_use+:} false; then :
64547 $as_echo_n "(cached) " >&6
64548 else
64551 ac_ext=cpp
64552 ac_cpp='$CXXCPP $CPPFLAGS'
64553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64558 /* end confdefs.h. */
64559 #include <math.h>
64560 #ifdef HAVE_IEEEFP_H
64561 #include <ieeefp.h>
64562 #endif
64565 main ()
64567 finitef(0);
64569 return 0;
64571 _ACEOF
64572 if ac_fn_cxx_try_compile "$LINENO"; then :
64573 glibcxx_cv_func_finitef_use=yes
64574 else
64575 glibcxx_cv_func_finitef_use=no
64577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64578 ac_ext=c
64579 ac_cpp='$CPP $CPPFLAGS'
64580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64589 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64591 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64592 for ac_func in finitef
64593 do :
64594 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64595 if test "x$ac_cv_func_finitef" = xyes; then :
64596 cat >>confdefs.h <<_ACEOF
64597 #define HAVE_FINITEF 1
64598 _ACEOF
64601 done
64603 else
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64606 $as_echo_n "checking for _finitef declaration... " >&6; }
64607 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64608 if ${glibcxx_cv_func__finitef_use+:} false; then :
64609 $as_echo_n "(cached) " >&6
64610 else
64613 ac_ext=cpp
64614 ac_cpp='$CXXCPP $CPPFLAGS'
64615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620 /* end confdefs.h. */
64621 #include <math.h>
64622 #ifdef HAVE_IEEEFP_H
64623 #include <ieeefp.h>
64624 #endif
64627 main ()
64629 _finitef(0);
64631 return 0;
64633 _ACEOF
64634 if ac_fn_cxx_try_compile "$LINENO"; then :
64635 glibcxx_cv_func__finitef_use=yes
64636 else
64637 glibcxx_cv_func__finitef_use=no
64639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64640 ac_ext=c
64641 ac_cpp='$CPP $CPPFLAGS'
64642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64651 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64653 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64654 for ac_func in _finitef
64655 do :
64656 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64657 if test "x$ac_cv_func__finitef" = xyes; then :
64658 cat >>confdefs.h <<_ACEOF
64659 #define HAVE__FINITEF 1
64660 _ACEOF
64663 done
64672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64673 $as_echo_n "checking for long double trig functions... " >&6; }
64674 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64675 $as_echo_n "(cached) " >&6
64676 else
64679 ac_ext=cpp
64680 ac_cpp='$CXXCPP $CPPFLAGS'
64681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64686 /* end confdefs.h. */
64687 #include <math.h>
64689 main ()
64691 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64693 return 0;
64695 _ACEOF
64696 if ac_fn_cxx_try_compile "$LINENO"; then :
64697 glibcxx_cv_func_long_double_trig_use=yes
64698 else
64699 glibcxx_cv_func_long_double_trig_use=no
64701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64702 ac_ext=c
64703 ac_cpp='$CPP $CPPFLAGS'
64704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64711 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64712 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64713 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64714 do :
64715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64717 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64718 cat >>confdefs.h <<_ACEOF
64719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64720 _ACEOF
64723 done
64725 else
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64727 $as_echo_n "checking for _long double trig functions... " >&6; }
64728 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64729 $as_echo_n "(cached) " >&6
64730 else
64733 ac_ext=cpp
64734 ac_cpp='$CXXCPP $CPPFLAGS'
64735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64740 /* end confdefs.h. */
64741 #include <math.h>
64743 main ()
64745 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64747 return 0;
64749 _ACEOF
64750 if ac_fn_cxx_try_compile "$LINENO"; then :
64751 glibcxx_cv_func__long_double_trig_use=yes
64752 else
64753 glibcxx_cv_func__long_double_trig_use=no
64755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64756 ac_ext=c
64757 ac_cpp='$CPP $CPPFLAGS'
64758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64765 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64766 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64767 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64768 do :
64769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64771 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64772 cat >>confdefs.h <<_ACEOF
64773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64774 _ACEOF
64777 done
64786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64787 $as_echo_n "checking for long double round functions... " >&6; }
64788 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64789 $as_echo_n "(cached) " >&6
64790 else
64793 ac_ext=cpp
64794 ac_cpp='$CXXCPP $CPPFLAGS'
64795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64800 /* end confdefs.h. */
64801 #include <math.h>
64803 main ()
64805 ceill (0); floorl (0);
64807 return 0;
64809 _ACEOF
64810 if ac_fn_cxx_try_compile "$LINENO"; then :
64811 glibcxx_cv_func_long_double_round_use=yes
64812 else
64813 glibcxx_cv_func_long_double_round_use=no
64815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64816 ac_ext=c
64817 ac_cpp='$CPP $CPPFLAGS'
64818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64825 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64826 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64827 for ac_func in ceill floorl
64828 do :
64829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64831 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64832 cat >>confdefs.h <<_ACEOF
64833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64834 _ACEOF
64837 done
64839 else
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64841 $as_echo_n "checking for _long double round functions... " >&6; }
64842 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64843 $as_echo_n "(cached) " >&6
64844 else
64847 ac_ext=cpp
64848 ac_cpp='$CXXCPP $CPPFLAGS'
64849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64854 /* end confdefs.h. */
64855 #include <math.h>
64857 main ()
64859 _ceill (0); _floorl (0);
64861 return 0;
64863 _ACEOF
64864 if ac_fn_cxx_try_compile "$LINENO"; then :
64865 glibcxx_cv_func__long_double_round_use=yes
64866 else
64867 glibcxx_cv_func__long_double_round_use=no
64869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64870 ac_ext=c
64871 ac_cpp='$CPP $CPPFLAGS'
64872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64879 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64880 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64881 for ac_func in _ceill _floorl
64882 do :
64883 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64884 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64885 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64886 cat >>confdefs.h <<_ACEOF
64887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64888 _ACEOF
64891 done
64901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64902 $as_echo_n "checking for isnanl declaration... " >&6; }
64903 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64904 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64905 $as_echo_n "(cached) " >&6
64906 else
64909 ac_ext=cpp
64910 ac_cpp='$CXXCPP $CPPFLAGS'
64911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64916 /* end confdefs.h. */
64917 #include <math.h>
64918 #ifdef HAVE_IEEEFP_H
64919 #include <ieeefp.h>
64920 #endif
64923 main ()
64925 isnanl(0);
64927 return 0;
64929 _ACEOF
64930 if ac_fn_cxx_try_compile "$LINENO"; then :
64931 glibcxx_cv_func_isnanl_use=yes
64932 else
64933 glibcxx_cv_func_isnanl_use=no
64935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64936 ac_ext=c
64937 ac_cpp='$CPP $CPPFLAGS'
64938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64947 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64949 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64950 for ac_func in isnanl
64951 do :
64952 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64953 if test "x$ac_cv_func_isnanl" = xyes; then :
64954 cat >>confdefs.h <<_ACEOF
64955 #define HAVE_ISNANL 1
64956 _ACEOF
64959 done
64961 else
64963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64964 $as_echo_n "checking for _isnanl declaration... " >&6; }
64965 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64966 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64967 $as_echo_n "(cached) " >&6
64968 else
64971 ac_ext=cpp
64972 ac_cpp='$CXXCPP $CPPFLAGS'
64973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64978 /* end confdefs.h. */
64979 #include <math.h>
64980 #ifdef HAVE_IEEEFP_H
64981 #include <ieeefp.h>
64982 #endif
64985 main ()
64987 _isnanl(0);
64989 return 0;
64991 _ACEOF
64992 if ac_fn_cxx_try_compile "$LINENO"; then :
64993 glibcxx_cv_func__isnanl_use=yes
64994 else
64995 glibcxx_cv_func__isnanl_use=no
64997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64998 ac_ext=c
64999 ac_cpp='$CPP $CPPFLAGS'
65000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
65009 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
65011 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65012 for ac_func in _isnanl
65013 do :
65014 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
65015 if test "x$ac_cv_func__isnanl" = xyes; then :
65016 cat >>confdefs.h <<_ACEOF
65017 #define HAVE__ISNANL 1
65018 _ACEOF
65021 done
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65031 $as_echo_n "checking for isinfl declaration... " >&6; }
65032 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65033 if ${glibcxx_cv_func_isinfl_use+:} false; then :
65034 $as_echo_n "(cached) " >&6
65035 else
65038 ac_ext=cpp
65039 ac_cpp='$CXXCPP $CPPFLAGS'
65040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65045 /* end confdefs.h. */
65046 #include <math.h>
65047 #ifdef HAVE_IEEEFP_H
65048 #include <ieeefp.h>
65049 #endif
65052 main ()
65054 isinfl(0);
65056 return 0;
65058 _ACEOF
65059 if ac_fn_cxx_try_compile "$LINENO"; then :
65060 glibcxx_cv_func_isinfl_use=yes
65061 else
65062 glibcxx_cv_func_isinfl_use=no
65064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65065 ac_ext=c
65066 ac_cpp='$CPP $CPPFLAGS'
65067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65076 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65078 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65079 for ac_func in isinfl
65080 do :
65081 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65082 if test "x$ac_cv_func_isinfl" = xyes; then :
65083 cat >>confdefs.h <<_ACEOF
65084 #define HAVE_ISINFL 1
65085 _ACEOF
65088 done
65090 else
65092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65093 $as_echo_n "checking for _isinfl declaration... " >&6; }
65094 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65095 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65096 $as_echo_n "(cached) " >&6
65097 else
65100 ac_ext=cpp
65101 ac_cpp='$CXXCPP $CPPFLAGS'
65102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65107 /* end confdefs.h. */
65108 #include <math.h>
65109 #ifdef HAVE_IEEEFP_H
65110 #include <ieeefp.h>
65111 #endif
65114 main ()
65116 _isinfl(0);
65118 return 0;
65120 _ACEOF
65121 if ac_fn_cxx_try_compile "$LINENO"; then :
65122 glibcxx_cv_func__isinfl_use=yes
65123 else
65124 glibcxx_cv_func__isinfl_use=no
65126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65127 ac_ext=c
65128 ac_cpp='$CPP $CPPFLAGS'
65129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65138 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65140 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65141 for ac_func in _isinfl
65142 do :
65143 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65144 if test "x$ac_cv_func__isinfl" = xyes; then :
65145 cat >>confdefs.h <<_ACEOF
65146 #define HAVE__ISINFL 1
65147 _ACEOF
65150 done
65159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65160 $as_echo_n "checking for atan2l declaration... " >&6; }
65161 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65162 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65163 $as_echo_n "(cached) " >&6
65164 else
65167 ac_ext=cpp
65168 ac_cpp='$CXXCPP $CPPFLAGS'
65169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65174 /* end confdefs.h. */
65175 #include <math.h>
65177 main ()
65179 atan2l(0, 0);
65181 return 0;
65183 _ACEOF
65184 if ac_fn_cxx_try_compile "$LINENO"; then :
65185 glibcxx_cv_func_atan2l_use=yes
65186 else
65187 glibcxx_cv_func_atan2l_use=no
65189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65190 ac_ext=c
65191 ac_cpp='$CPP $CPPFLAGS'
65192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65201 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65203 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65204 for ac_func in atan2l
65205 do :
65206 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65207 if test "x$ac_cv_func_atan2l" = xyes; then :
65208 cat >>confdefs.h <<_ACEOF
65209 #define HAVE_ATAN2L 1
65210 _ACEOF
65213 done
65215 else
65217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65218 $as_echo_n "checking for _atan2l declaration... " >&6; }
65219 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65220 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65221 $as_echo_n "(cached) " >&6
65222 else
65225 ac_ext=cpp
65226 ac_cpp='$CXXCPP $CPPFLAGS'
65227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65232 /* end confdefs.h. */
65233 #include <math.h>
65235 main ()
65237 _atan2l(0, 0);
65239 return 0;
65241 _ACEOF
65242 if ac_fn_cxx_try_compile "$LINENO"; then :
65243 glibcxx_cv_func__atan2l_use=yes
65244 else
65245 glibcxx_cv_func__atan2l_use=no
65247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65248 ac_ext=c
65249 ac_cpp='$CPP $CPPFLAGS'
65250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65259 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65261 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65262 for ac_func in _atan2l
65263 do :
65264 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65265 if test "x$ac_cv_func__atan2l" = xyes; then :
65266 cat >>confdefs.h <<_ACEOF
65267 #define HAVE__ATAN2L 1
65268 _ACEOF
65271 done
65280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65281 $as_echo_n "checking for expl declaration... " >&6; }
65282 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65283 if ${glibcxx_cv_func_expl_use+:} false; then :
65284 $as_echo_n "(cached) " >&6
65285 else
65288 ac_ext=cpp
65289 ac_cpp='$CXXCPP $CPPFLAGS'
65290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65295 /* end confdefs.h. */
65296 #include <math.h>
65297 #ifdef HAVE_IEEEFP_H
65298 #include <ieeefp.h>
65299 #endif
65302 main ()
65304 expl(0);
65306 return 0;
65308 _ACEOF
65309 if ac_fn_cxx_try_compile "$LINENO"; then :
65310 glibcxx_cv_func_expl_use=yes
65311 else
65312 glibcxx_cv_func_expl_use=no
65314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65315 ac_ext=c
65316 ac_cpp='$CPP $CPPFLAGS'
65317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65326 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65328 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65329 for ac_func in expl
65330 do :
65331 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65332 if test "x$ac_cv_func_expl" = xyes; then :
65333 cat >>confdefs.h <<_ACEOF
65334 #define HAVE_EXPL 1
65335 _ACEOF
65338 done
65340 else
65342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65343 $as_echo_n "checking for _expl declaration... " >&6; }
65344 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65345 if ${glibcxx_cv_func__expl_use+:} false; then :
65346 $as_echo_n "(cached) " >&6
65347 else
65350 ac_ext=cpp
65351 ac_cpp='$CXXCPP $CPPFLAGS'
65352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65357 /* end confdefs.h. */
65358 #include <math.h>
65359 #ifdef HAVE_IEEEFP_H
65360 #include <ieeefp.h>
65361 #endif
65364 main ()
65366 _expl(0);
65368 return 0;
65370 _ACEOF
65371 if ac_fn_cxx_try_compile "$LINENO"; then :
65372 glibcxx_cv_func__expl_use=yes
65373 else
65374 glibcxx_cv_func__expl_use=no
65376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65377 ac_ext=c
65378 ac_cpp='$CPP $CPPFLAGS'
65379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65388 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65390 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65391 for ac_func in _expl
65392 do :
65393 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65394 if test "x$ac_cv_func__expl" = xyes; then :
65395 cat >>confdefs.h <<_ACEOF
65396 #define HAVE__EXPL 1
65397 _ACEOF
65400 done
65409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65410 $as_echo_n "checking for fabsl declaration... " >&6; }
65411 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65412 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65413 $as_echo_n "(cached) " >&6
65414 else
65417 ac_ext=cpp
65418 ac_cpp='$CXXCPP $CPPFLAGS'
65419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65424 /* end confdefs.h. */
65425 #include <math.h>
65426 #ifdef HAVE_IEEEFP_H
65427 #include <ieeefp.h>
65428 #endif
65431 main ()
65433 fabsl(0);
65435 return 0;
65437 _ACEOF
65438 if ac_fn_cxx_try_compile "$LINENO"; then :
65439 glibcxx_cv_func_fabsl_use=yes
65440 else
65441 glibcxx_cv_func_fabsl_use=no
65443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65444 ac_ext=c
65445 ac_cpp='$CPP $CPPFLAGS'
65446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65455 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65457 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65458 for ac_func in fabsl
65459 do :
65460 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65461 if test "x$ac_cv_func_fabsl" = xyes; then :
65462 cat >>confdefs.h <<_ACEOF
65463 #define HAVE_FABSL 1
65464 _ACEOF
65467 done
65469 else
65471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65472 $as_echo_n "checking for _fabsl declaration... " >&6; }
65473 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65474 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65475 $as_echo_n "(cached) " >&6
65476 else
65479 ac_ext=cpp
65480 ac_cpp='$CXXCPP $CPPFLAGS'
65481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65486 /* end confdefs.h. */
65487 #include <math.h>
65488 #ifdef HAVE_IEEEFP_H
65489 #include <ieeefp.h>
65490 #endif
65493 main ()
65495 _fabsl(0);
65497 return 0;
65499 _ACEOF
65500 if ac_fn_cxx_try_compile "$LINENO"; then :
65501 glibcxx_cv_func__fabsl_use=yes
65502 else
65503 glibcxx_cv_func__fabsl_use=no
65505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65506 ac_ext=c
65507 ac_cpp='$CPP $CPPFLAGS'
65508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65517 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65519 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65520 for ac_func in _fabsl
65521 do :
65522 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65523 if test "x$ac_cv_func__fabsl" = xyes; then :
65524 cat >>confdefs.h <<_ACEOF
65525 #define HAVE__FABSL 1
65526 _ACEOF
65529 done
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65539 $as_echo_n "checking for fmodl declaration... " >&6; }
65540 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65541 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65542 $as_echo_n "(cached) " >&6
65543 else
65546 ac_ext=cpp
65547 ac_cpp='$CXXCPP $CPPFLAGS'
65548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65553 /* end confdefs.h. */
65554 #include <math.h>
65556 main ()
65558 fmodl(0, 0);
65560 return 0;
65562 _ACEOF
65563 if ac_fn_cxx_try_compile "$LINENO"; then :
65564 glibcxx_cv_func_fmodl_use=yes
65565 else
65566 glibcxx_cv_func_fmodl_use=no
65568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65569 ac_ext=c
65570 ac_cpp='$CPP $CPPFLAGS'
65571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65580 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65582 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65583 for ac_func in fmodl
65584 do :
65585 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65586 if test "x$ac_cv_func_fmodl" = xyes; then :
65587 cat >>confdefs.h <<_ACEOF
65588 #define HAVE_FMODL 1
65589 _ACEOF
65592 done
65594 else
65596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65597 $as_echo_n "checking for _fmodl declaration... " >&6; }
65598 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65599 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65600 $as_echo_n "(cached) " >&6
65601 else
65604 ac_ext=cpp
65605 ac_cpp='$CXXCPP $CPPFLAGS'
65606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65611 /* end confdefs.h. */
65612 #include <math.h>
65614 main ()
65616 _fmodl(0, 0);
65618 return 0;
65620 _ACEOF
65621 if ac_fn_cxx_try_compile "$LINENO"; then :
65622 glibcxx_cv_func__fmodl_use=yes
65623 else
65624 glibcxx_cv_func__fmodl_use=no
65626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65627 ac_ext=c
65628 ac_cpp='$CPP $CPPFLAGS'
65629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65638 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65640 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65641 for ac_func in _fmodl
65642 do :
65643 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65644 if test "x$ac_cv_func__fmodl" = xyes; then :
65645 cat >>confdefs.h <<_ACEOF
65646 #define HAVE__FMODL 1
65647 _ACEOF
65650 done
65659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65660 $as_echo_n "checking for frexpl declaration... " >&6; }
65661 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65662 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65663 $as_echo_n "(cached) " >&6
65664 else
65667 ac_ext=cpp
65668 ac_cpp='$CXXCPP $CPPFLAGS'
65669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65674 /* end confdefs.h. */
65675 #include <math.h>
65677 main ()
65679 frexpl(0, 0);
65681 return 0;
65683 _ACEOF
65684 if ac_fn_cxx_try_compile "$LINENO"; then :
65685 glibcxx_cv_func_frexpl_use=yes
65686 else
65687 glibcxx_cv_func_frexpl_use=no
65689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65690 ac_ext=c
65691 ac_cpp='$CPP $CPPFLAGS'
65692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65701 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65703 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65704 for ac_func in frexpl
65705 do :
65706 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65707 if test "x$ac_cv_func_frexpl" = xyes; then :
65708 cat >>confdefs.h <<_ACEOF
65709 #define HAVE_FREXPL 1
65710 _ACEOF
65713 done
65715 else
65717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65718 $as_echo_n "checking for _frexpl declaration... " >&6; }
65719 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65720 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65721 $as_echo_n "(cached) " >&6
65722 else
65725 ac_ext=cpp
65726 ac_cpp='$CXXCPP $CPPFLAGS'
65727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65732 /* end confdefs.h. */
65733 #include <math.h>
65735 main ()
65737 _frexpl(0, 0);
65739 return 0;
65741 _ACEOF
65742 if ac_fn_cxx_try_compile "$LINENO"; then :
65743 glibcxx_cv_func__frexpl_use=yes
65744 else
65745 glibcxx_cv_func__frexpl_use=no
65747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65748 ac_ext=c
65749 ac_cpp='$CPP $CPPFLAGS'
65750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65759 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65761 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65762 for ac_func in _frexpl
65763 do :
65764 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65765 if test "x$ac_cv_func__frexpl" = xyes; then :
65766 cat >>confdefs.h <<_ACEOF
65767 #define HAVE__FREXPL 1
65768 _ACEOF
65771 done
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65781 $as_echo_n "checking for hypotl declaration... " >&6; }
65782 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65783 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65784 $as_echo_n "(cached) " >&6
65785 else
65788 ac_ext=cpp
65789 ac_cpp='$CXXCPP $CPPFLAGS'
65790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65795 /* end confdefs.h. */
65796 #include <math.h>
65798 main ()
65800 hypotl(0, 0);
65802 return 0;
65804 _ACEOF
65805 if ac_fn_cxx_try_compile "$LINENO"; then :
65806 glibcxx_cv_func_hypotl_use=yes
65807 else
65808 glibcxx_cv_func_hypotl_use=no
65810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65811 ac_ext=c
65812 ac_cpp='$CPP $CPPFLAGS'
65813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65822 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65824 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65825 for ac_func in hypotl
65826 do :
65827 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65828 if test "x$ac_cv_func_hypotl" = xyes; then :
65829 cat >>confdefs.h <<_ACEOF
65830 #define HAVE_HYPOTL 1
65831 _ACEOF
65834 done
65836 else
65838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65839 $as_echo_n "checking for _hypotl declaration... " >&6; }
65840 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65841 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65842 $as_echo_n "(cached) " >&6
65843 else
65846 ac_ext=cpp
65847 ac_cpp='$CXXCPP $CPPFLAGS'
65848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65853 /* end confdefs.h. */
65854 #include <math.h>
65856 main ()
65858 _hypotl(0, 0);
65860 return 0;
65862 _ACEOF
65863 if ac_fn_cxx_try_compile "$LINENO"; then :
65864 glibcxx_cv_func__hypotl_use=yes
65865 else
65866 glibcxx_cv_func__hypotl_use=no
65868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65869 ac_ext=c
65870 ac_cpp='$CPP $CPPFLAGS'
65871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65880 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65882 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65883 for ac_func in _hypotl
65884 do :
65885 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65886 if test "x$ac_cv_func__hypotl" = xyes; then :
65887 cat >>confdefs.h <<_ACEOF
65888 #define HAVE__HYPOTL 1
65889 _ACEOF
65892 done
65901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65902 $as_echo_n "checking for ldexpl declaration... " >&6; }
65903 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65904 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65905 $as_echo_n "(cached) " >&6
65906 else
65909 ac_ext=cpp
65910 ac_cpp='$CXXCPP $CPPFLAGS'
65911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65916 /* end confdefs.h. */
65917 #include <math.h>
65919 main ()
65921 ldexpl(0, 0);
65923 return 0;
65925 _ACEOF
65926 if ac_fn_cxx_try_compile "$LINENO"; then :
65927 glibcxx_cv_func_ldexpl_use=yes
65928 else
65929 glibcxx_cv_func_ldexpl_use=no
65931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65932 ac_ext=c
65933 ac_cpp='$CPP $CPPFLAGS'
65934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65943 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65945 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65946 for ac_func in ldexpl
65947 do :
65948 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65949 if test "x$ac_cv_func_ldexpl" = xyes; then :
65950 cat >>confdefs.h <<_ACEOF
65951 #define HAVE_LDEXPL 1
65952 _ACEOF
65955 done
65957 else
65959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65960 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65961 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65962 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65963 $as_echo_n "(cached) " >&6
65964 else
65967 ac_ext=cpp
65968 ac_cpp='$CXXCPP $CPPFLAGS'
65969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65974 /* end confdefs.h. */
65975 #include <math.h>
65977 main ()
65979 _ldexpl(0, 0);
65981 return 0;
65983 _ACEOF
65984 if ac_fn_cxx_try_compile "$LINENO"; then :
65985 glibcxx_cv_func__ldexpl_use=yes
65986 else
65987 glibcxx_cv_func__ldexpl_use=no
65989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65990 ac_ext=c
65991 ac_cpp='$CPP $CPPFLAGS'
65992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
66001 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
66003 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66004 for ac_func in _ldexpl
66005 do :
66006 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
66007 if test "x$ac_cv_func__ldexpl" = xyes; then :
66008 cat >>confdefs.h <<_ACEOF
66009 #define HAVE__LDEXPL 1
66010 _ACEOF
66013 done
66022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
66023 $as_echo_n "checking for logl declaration... " >&6; }
66024 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66025 if ${glibcxx_cv_func_logl_use+:} false; then :
66026 $as_echo_n "(cached) " >&6
66027 else
66030 ac_ext=cpp
66031 ac_cpp='$CXXCPP $CPPFLAGS'
66032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66037 /* end confdefs.h. */
66038 #include <math.h>
66039 #ifdef HAVE_IEEEFP_H
66040 #include <ieeefp.h>
66041 #endif
66044 main ()
66046 logl(0);
66048 return 0;
66050 _ACEOF
66051 if ac_fn_cxx_try_compile "$LINENO"; then :
66052 glibcxx_cv_func_logl_use=yes
66053 else
66054 glibcxx_cv_func_logl_use=no
66056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66057 ac_ext=c
66058 ac_cpp='$CPP $CPPFLAGS'
66059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66068 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66070 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66071 for ac_func in logl
66072 do :
66073 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66074 if test "x$ac_cv_func_logl" = xyes; then :
66075 cat >>confdefs.h <<_ACEOF
66076 #define HAVE_LOGL 1
66077 _ACEOF
66080 done
66082 else
66084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66085 $as_echo_n "checking for _logl declaration... " >&6; }
66086 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66087 if ${glibcxx_cv_func__logl_use+:} false; then :
66088 $as_echo_n "(cached) " >&6
66089 else
66092 ac_ext=cpp
66093 ac_cpp='$CXXCPP $CPPFLAGS'
66094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66099 /* end confdefs.h. */
66100 #include <math.h>
66101 #ifdef HAVE_IEEEFP_H
66102 #include <ieeefp.h>
66103 #endif
66106 main ()
66108 _logl(0);
66110 return 0;
66112 _ACEOF
66113 if ac_fn_cxx_try_compile "$LINENO"; then :
66114 glibcxx_cv_func__logl_use=yes
66115 else
66116 glibcxx_cv_func__logl_use=no
66118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66119 ac_ext=c
66120 ac_cpp='$CPP $CPPFLAGS'
66121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66130 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66132 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66133 for ac_func in _logl
66134 do :
66135 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66136 if test "x$ac_cv_func__logl" = xyes; then :
66137 cat >>confdefs.h <<_ACEOF
66138 #define HAVE__LOGL 1
66139 _ACEOF
66142 done
66151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66152 $as_echo_n "checking for log10l declaration... " >&6; }
66153 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66154 if ${glibcxx_cv_func_log10l_use+:} false; then :
66155 $as_echo_n "(cached) " >&6
66156 else
66159 ac_ext=cpp
66160 ac_cpp='$CXXCPP $CPPFLAGS'
66161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66166 /* end confdefs.h. */
66167 #include <math.h>
66168 #ifdef HAVE_IEEEFP_H
66169 #include <ieeefp.h>
66170 #endif
66173 main ()
66175 log10l(0);
66177 return 0;
66179 _ACEOF
66180 if ac_fn_cxx_try_compile "$LINENO"; then :
66181 glibcxx_cv_func_log10l_use=yes
66182 else
66183 glibcxx_cv_func_log10l_use=no
66185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66186 ac_ext=c
66187 ac_cpp='$CPP $CPPFLAGS'
66188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66197 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66199 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66200 for ac_func in log10l
66201 do :
66202 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66203 if test "x$ac_cv_func_log10l" = xyes; then :
66204 cat >>confdefs.h <<_ACEOF
66205 #define HAVE_LOG10L 1
66206 _ACEOF
66209 done
66211 else
66213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66214 $as_echo_n "checking for _log10l declaration... " >&6; }
66215 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66216 if ${glibcxx_cv_func__log10l_use+:} false; then :
66217 $as_echo_n "(cached) " >&6
66218 else
66221 ac_ext=cpp
66222 ac_cpp='$CXXCPP $CPPFLAGS'
66223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66228 /* end confdefs.h. */
66229 #include <math.h>
66230 #ifdef HAVE_IEEEFP_H
66231 #include <ieeefp.h>
66232 #endif
66235 main ()
66237 _log10l(0);
66239 return 0;
66241 _ACEOF
66242 if ac_fn_cxx_try_compile "$LINENO"; then :
66243 glibcxx_cv_func__log10l_use=yes
66244 else
66245 glibcxx_cv_func__log10l_use=no
66247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66248 ac_ext=c
66249 ac_cpp='$CPP $CPPFLAGS'
66250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66259 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66261 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66262 for ac_func in _log10l
66263 do :
66264 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66265 if test "x$ac_cv_func__log10l" = xyes; then :
66266 cat >>confdefs.h <<_ACEOF
66267 #define HAVE__LOG10L 1
66268 _ACEOF
66271 done
66280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66281 $as_echo_n "checking for modfl declaration... " >&6; }
66282 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66283 if ${glibcxx_cv_func_modfl_use+:} false; then :
66284 $as_echo_n "(cached) " >&6
66285 else
66288 ac_ext=cpp
66289 ac_cpp='$CXXCPP $CPPFLAGS'
66290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66295 /* end confdefs.h. */
66296 #include <math.h>
66298 main ()
66300 modfl(0, 0);
66302 return 0;
66304 _ACEOF
66305 if ac_fn_cxx_try_compile "$LINENO"; then :
66306 glibcxx_cv_func_modfl_use=yes
66307 else
66308 glibcxx_cv_func_modfl_use=no
66310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66311 ac_ext=c
66312 ac_cpp='$CPP $CPPFLAGS'
66313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66322 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66324 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66325 for ac_func in modfl
66326 do :
66327 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66328 if test "x$ac_cv_func_modfl" = xyes; then :
66329 cat >>confdefs.h <<_ACEOF
66330 #define HAVE_MODFL 1
66331 _ACEOF
66334 done
66336 else
66338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66339 $as_echo_n "checking for _modfl declaration... " >&6; }
66340 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66341 if ${glibcxx_cv_func__modfl_use+:} false; then :
66342 $as_echo_n "(cached) " >&6
66343 else
66346 ac_ext=cpp
66347 ac_cpp='$CXXCPP $CPPFLAGS'
66348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66353 /* end confdefs.h. */
66354 #include <math.h>
66356 main ()
66358 _modfl(0, 0);
66360 return 0;
66362 _ACEOF
66363 if ac_fn_cxx_try_compile "$LINENO"; then :
66364 glibcxx_cv_func__modfl_use=yes
66365 else
66366 glibcxx_cv_func__modfl_use=no
66368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66369 ac_ext=c
66370 ac_cpp='$CPP $CPPFLAGS'
66371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66380 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66382 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66383 for ac_func in _modfl
66384 do :
66385 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66386 if test "x$ac_cv_func__modfl" = xyes; then :
66387 cat >>confdefs.h <<_ACEOF
66388 #define HAVE__MODFL 1
66389 _ACEOF
66392 done
66401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66402 $as_echo_n "checking for powl declaration... " >&6; }
66403 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66404 if ${glibcxx_cv_func_powl_use+:} false; then :
66405 $as_echo_n "(cached) " >&6
66406 else
66409 ac_ext=cpp
66410 ac_cpp='$CXXCPP $CPPFLAGS'
66411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66416 /* end confdefs.h. */
66417 #include <math.h>
66419 main ()
66421 powl(0, 0);
66423 return 0;
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427 glibcxx_cv_func_powl_use=yes
66428 else
66429 glibcxx_cv_func_powl_use=no
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432 ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66443 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66445 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66446 for ac_func in powl
66447 do :
66448 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66449 if test "x$ac_cv_func_powl" = xyes; then :
66450 cat >>confdefs.h <<_ACEOF
66451 #define HAVE_POWL 1
66452 _ACEOF
66455 done
66457 else
66459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66460 $as_echo_n "checking for _powl declaration... " >&6; }
66461 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66462 if ${glibcxx_cv_func__powl_use+:} false; then :
66463 $as_echo_n "(cached) " >&6
66464 else
66467 ac_ext=cpp
66468 ac_cpp='$CXXCPP $CPPFLAGS'
66469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66474 /* end confdefs.h. */
66475 #include <math.h>
66477 main ()
66479 _powl(0, 0);
66481 return 0;
66483 _ACEOF
66484 if ac_fn_cxx_try_compile "$LINENO"; then :
66485 glibcxx_cv_func__powl_use=yes
66486 else
66487 glibcxx_cv_func__powl_use=no
66489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66490 ac_ext=c
66491 ac_cpp='$CPP $CPPFLAGS'
66492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66501 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66503 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66504 for ac_func in _powl
66505 do :
66506 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66507 if test "x$ac_cv_func__powl" = xyes; then :
66508 cat >>confdefs.h <<_ACEOF
66509 #define HAVE__POWL 1
66510 _ACEOF
66513 done
66522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66523 $as_echo_n "checking for sqrtl declaration... " >&6; }
66524 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66525 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66526 $as_echo_n "(cached) " >&6
66527 else
66530 ac_ext=cpp
66531 ac_cpp='$CXXCPP $CPPFLAGS'
66532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66537 /* end confdefs.h. */
66538 #include <math.h>
66539 #ifdef HAVE_IEEEFP_H
66540 #include <ieeefp.h>
66541 #endif
66544 main ()
66546 sqrtl(0);
66548 return 0;
66550 _ACEOF
66551 if ac_fn_cxx_try_compile "$LINENO"; then :
66552 glibcxx_cv_func_sqrtl_use=yes
66553 else
66554 glibcxx_cv_func_sqrtl_use=no
66556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66557 ac_ext=c
66558 ac_cpp='$CPP $CPPFLAGS'
66559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66568 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66570 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66571 for ac_func in sqrtl
66572 do :
66573 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66574 if test "x$ac_cv_func_sqrtl" = xyes; then :
66575 cat >>confdefs.h <<_ACEOF
66576 #define HAVE_SQRTL 1
66577 _ACEOF
66580 done
66582 else
66584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66585 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66586 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66587 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66588 $as_echo_n "(cached) " >&6
66589 else
66592 ac_ext=cpp
66593 ac_cpp='$CXXCPP $CPPFLAGS'
66594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599 /* end confdefs.h. */
66600 #include <math.h>
66601 #ifdef HAVE_IEEEFP_H
66602 #include <ieeefp.h>
66603 #endif
66606 main ()
66608 _sqrtl(0);
66610 return 0;
66612 _ACEOF
66613 if ac_fn_cxx_try_compile "$LINENO"; then :
66614 glibcxx_cv_func__sqrtl_use=yes
66615 else
66616 glibcxx_cv_func__sqrtl_use=no
66618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66619 ac_ext=c
66620 ac_cpp='$CPP $CPPFLAGS'
66621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66630 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66632 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66633 for ac_func in _sqrtl
66634 do :
66635 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66636 if test "x$ac_cv_func__sqrtl" = xyes; then :
66637 cat >>confdefs.h <<_ACEOF
66638 #define HAVE__SQRTL 1
66639 _ACEOF
66642 done
66651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66652 $as_echo_n "checking for sincosl declaration... " >&6; }
66653 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66654 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66655 $as_echo_n "(cached) " >&6
66656 else
66659 ac_ext=cpp
66660 ac_cpp='$CXXCPP $CPPFLAGS'
66661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66666 /* end confdefs.h. */
66667 #include <math.h>
66669 main ()
66671 sincosl(0, 0, 0);
66673 return 0;
66675 _ACEOF
66676 if ac_fn_cxx_try_compile "$LINENO"; then :
66677 glibcxx_cv_func_sincosl_use=yes
66678 else
66679 glibcxx_cv_func_sincosl_use=no
66681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66682 ac_ext=c
66683 ac_cpp='$CPP $CPPFLAGS'
66684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66693 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66695 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66696 for ac_func in sincosl
66697 do :
66698 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66699 if test "x$ac_cv_func_sincosl" = xyes; then :
66700 cat >>confdefs.h <<_ACEOF
66701 #define HAVE_SINCOSL 1
66702 _ACEOF
66705 done
66707 else
66709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66710 $as_echo_n "checking for _sincosl declaration... " >&6; }
66711 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66712 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66713 $as_echo_n "(cached) " >&6
66714 else
66717 ac_ext=cpp
66718 ac_cpp='$CXXCPP $CPPFLAGS'
66719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66724 /* end confdefs.h. */
66725 #include <math.h>
66727 main ()
66729 _sincosl(0, 0, 0);
66731 return 0;
66733 _ACEOF
66734 if ac_fn_cxx_try_compile "$LINENO"; then :
66735 glibcxx_cv_func__sincosl_use=yes
66736 else
66737 glibcxx_cv_func__sincosl_use=no
66739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66740 ac_ext=c
66741 ac_cpp='$CPP $CPPFLAGS'
66742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66751 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66753 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66754 for ac_func in _sincosl
66755 do :
66756 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66757 if test "x$ac_cv_func__sincosl" = xyes; then :
66758 cat >>confdefs.h <<_ACEOF
66759 #define HAVE__SINCOSL 1
66760 _ACEOF
66763 done
66772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66773 $as_echo_n "checking for finitel declaration... " >&6; }
66774 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66775 if ${glibcxx_cv_func_finitel_use+:} false; then :
66776 $as_echo_n "(cached) " >&6
66777 else
66780 ac_ext=cpp
66781 ac_cpp='$CXXCPP $CPPFLAGS'
66782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66787 /* end confdefs.h. */
66788 #include <math.h>
66789 #ifdef HAVE_IEEEFP_H
66790 #include <ieeefp.h>
66791 #endif
66794 main ()
66796 finitel(0);
66798 return 0;
66800 _ACEOF
66801 if ac_fn_cxx_try_compile "$LINENO"; then :
66802 glibcxx_cv_func_finitel_use=yes
66803 else
66804 glibcxx_cv_func_finitel_use=no
66806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66807 ac_ext=c
66808 ac_cpp='$CPP $CPPFLAGS'
66809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66818 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66820 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66821 for ac_func in finitel
66822 do :
66823 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66824 if test "x$ac_cv_func_finitel" = xyes; then :
66825 cat >>confdefs.h <<_ACEOF
66826 #define HAVE_FINITEL 1
66827 _ACEOF
66830 done
66832 else
66834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66835 $as_echo_n "checking for _finitel declaration... " >&6; }
66836 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66837 if ${glibcxx_cv_func__finitel_use+:} false; then :
66838 $as_echo_n "(cached) " >&6
66839 else
66842 ac_ext=cpp
66843 ac_cpp='$CXXCPP $CPPFLAGS'
66844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66849 /* end confdefs.h. */
66850 #include <math.h>
66851 #ifdef HAVE_IEEEFP_H
66852 #include <ieeefp.h>
66853 #endif
66856 main ()
66858 _finitel(0);
66860 return 0;
66862 _ACEOF
66863 if ac_fn_cxx_try_compile "$LINENO"; then :
66864 glibcxx_cv_func__finitel_use=yes
66865 else
66866 glibcxx_cv_func__finitel_use=no
66868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66869 ac_ext=c
66870 ac_cpp='$CPP $CPPFLAGS'
66871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66880 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66882 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66883 for ac_func in _finitel
66884 do :
66885 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66886 if test "x$ac_cv_func__finitel" = xyes; then :
66887 cat >>confdefs.h <<_ACEOF
66888 #define HAVE__FINITEL 1
66889 _ACEOF
66892 done
66900 LIBS="$ac_save_LIBS"
66901 CXXFLAGS="$ac_save_CXXFLAGS"
66904 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66905 ac_save_CXXFLAGS="$CXXFLAGS"
66906 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66910 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66911 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66912 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66913 $as_echo_n "(cached) " >&6
66914 else
66917 ac_ext=cpp
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924 /* end confdefs.h. */
66925 #include <stdlib.h>
66927 main ()
66929 at_quick_exit(0);
66931 return 0;
66933 _ACEOF
66934 if ac_fn_cxx_try_compile "$LINENO"; then :
66935 glibcxx_cv_func_at_quick_exit_use=yes
66936 else
66937 glibcxx_cv_func_at_quick_exit_use=no
66939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66951 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66952 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66953 for ac_func in at_quick_exit
66954 do :
66955 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66956 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66957 cat >>confdefs.h <<_ACEOF
66958 #define HAVE_AT_QUICK_EXIT 1
66959 _ACEOF
66962 done
66967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66968 $as_echo_n "checking for quick_exit declaration... " >&6; }
66969 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66970 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66971 $as_echo_n "(cached) " >&6
66972 else
66975 ac_ext=cpp
66976 ac_cpp='$CXXCPP $CPPFLAGS'
66977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66982 /* end confdefs.h. */
66983 #include <stdlib.h>
66985 main ()
66987 quick_exit(0);
66989 return 0;
66991 _ACEOF
66992 if ac_fn_cxx_try_compile "$LINENO"; then :
66993 glibcxx_cv_func_quick_exit_use=yes
66994 else
66995 glibcxx_cv_func_quick_exit_use=no
66997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66998 ac_ext=c
66999 ac_cpp='$CPP $CPPFLAGS'
67000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
67009 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
67010 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
67011 for ac_func in quick_exit
67012 do :
67013 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
67014 if test "x$ac_cv_func_quick_exit" = xyes; then :
67015 cat >>confdefs.h <<_ACEOF
67016 #define HAVE_QUICK_EXIT 1
67017 _ACEOF
67020 done
67025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
67026 $as_echo_n "checking for strtold declaration... " >&6; }
67027 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67028 if ${glibcxx_cv_func_strtold_use+:} false; then :
67029 $as_echo_n "(cached) " >&6
67030 else
67033 ac_ext=cpp
67034 ac_cpp='$CXXCPP $CPPFLAGS'
67035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67040 /* end confdefs.h. */
67041 #include <stdlib.h>
67043 main ()
67045 strtold(0, 0);
67047 return 0;
67049 _ACEOF
67050 if ac_fn_cxx_try_compile "$LINENO"; then :
67051 glibcxx_cv_func_strtold_use=yes
67052 else
67053 glibcxx_cv_func_strtold_use=no
67055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67056 ac_ext=c
67057 ac_cpp='$CPP $CPPFLAGS'
67058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67067 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67068 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67069 for ac_func in strtold
67070 do :
67071 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67072 if test "x$ac_cv_func_strtold" = xyes; then :
67073 cat >>confdefs.h <<_ACEOF
67074 #define HAVE_STRTOLD 1
67075 _ACEOF
67078 done
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67086 $as_echo_n "checking for strtof declaration... " >&6; }
67087 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67088 if ${glibcxx_cv_func_strtof_use+:} false; then :
67089 $as_echo_n "(cached) " >&6
67090 else
67093 ac_ext=cpp
67094 ac_cpp='$CXXCPP $CPPFLAGS'
67095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67100 /* end confdefs.h. */
67101 #include <stdlib.h>
67103 main ()
67105 strtof(0, 0);
67107 return 0;
67109 _ACEOF
67110 if ac_fn_cxx_try_compile "$LINENO"; then :
67111 glibcxx_cv_func_strtof_use=yes
67112 else
67113 glibcxx_cv_func_strtof_use=no
67115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67116 ac_ext=c
67117 ac_cpp='$CPP $CPPFLAGS'
67118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67127 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67128 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67129 for ac_func in strtof
67130 do :
67131 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67132 if test "x$ac_cv_func_strtof" = xyes; then :
67133 cat >>confdefs.h <<_ACEOF
67134 #define HAVE_STRTOF 1
67135 _ACEOF
67138 done
67145 CXXFLAGS="$ac_save_CXXFLAGS"
67148 *-tpf)
67149 SECTION_FLAGS='-ffunction-sections -fdata-sections'
67150 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
67152 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
67154 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
67156 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
67158 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
67160 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
67162 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
67164 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
67166 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
67168 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
67170 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
67172 if test x"long_double_math_on_this_cpu" = x"yes"; then
67173 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
67175 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
67177 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
67179 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
67183 *-*vms*)
67184 # Check for available headers.
67185 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
67187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67188 ac_save_CXXFLAGS="$CXXFLAGS"
67189 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67192 $as_echo_n "checking for sin in -lm... " >&6; }
67193 if ${ac_cv_lib_m_sin+:} false; then :
67194 $as_echo_n "(cached) " >&6
67195 else
67196 ac_check_lib_save_LIBS=$LIBS
67197 LIBS="-lm $LIBS"
67198 if test x$gcc_no_link = xyes; then
67199 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67202 /* end confdefs.h. */
67204 /* Override any GCC internal prototype to avoid an error.
67205 Use char because int might match the return type of a GCC
67206 builtin and then its argument prototype would still apply. */
67207 #ifdef __cplusplus
67208 extern "C"
67209 #endif
67210 char sin ();
67212 main ()
67214 return sin ();
67216 return 0;
67218 _ACEOF
67219 if ac_fn_c_try_link "$LINENO"; then :
67220 ac_cv_lib_m_sin=yes
67221 else
67222 ac_cv_lib_m_sin=no
67224 rm -f core conftest.err conftest.$ac_objext \
67225 conftest$ac_exeext conftest.$ac_ext
67226 LIBS=$ac_check_lib_save_LIBS
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67229 $as_echo "$ac_cv_lib_m_sin" >&6; }
67230 if test "x$ac_cv_lib_m_sin" = xyes; then :
67231 libm="-lm"
67234 ac_save_LIBS="$LIBS"
67235 LIBS="$LIBS $libm"
67239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67240 $as_echo_n "checking for isinf declaration... " >&6; }
67241 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67242 if ${glibcxx_cv_func_isinf_use+:} false; then :
67243 $as_echo_n "(cached) " >&6
67244 else
67247 ac_ext=cpp
67248 ac_cpp='$CXXCPP $CPPFLAGS'
67249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67254 /* end confdefs.h. */
67255 #include <math.h>
67256 #ifdef HAVE_IEEEFP_H
67257 #include <ieeefp.h>
67258 #endif
67261 main ()
67263 isinf(0);
67265 return 0;
67267 _ACEOF
67268 if ac_fn_cxx_try_compile "$LINENO"; then :
67269 glibcxx_cv_func_isinf_use=yes
67270 else
67271 glibcxx_cv_func_isinf_use=no
67273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67274 ac_ext=c
67275 ac_cpp='$CPP $CPPFLAGS'
67276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67285 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67287 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67288 for ac_func in isinf
67289 do :
67290 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67291 if test "x$ac_cv_func_isinf" = xyes; then :
67292 cat >>confdefs.h <<_ACEOF
67293 #define HAVE_ISINF 1
67294 _ACEOF
67297 done
67299 else
67301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67302 $as_echo_n "checking for _isinf declaration... " >&6; }
67303 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67304 if ${glibcxx_cv_func__isinf_use+:} false; then :
67305 $as_echo_n "(cached) " >&6
67306 else
67309 ac_ext=cpp
67310 ac_cpp='$CXXCPP $CPPFLAGS'
67311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67316 /* end confdefs.h. */
67317 #include <math.h>
67318 #ifdef HAVE_IEEEFP_H
67319 #include <ieeefp.h>
67320 #endif
67323 main ()
67325 _isinf(0);
67327 return 0;
67329 _ACEOF
67330 if ac_fn_cxx_try_compile "$LINENO"; then :
67331 glibcxx_cv_func__isinf_use=yes
67332 else
67333 glibcxx_cv_func__isinf_use=no
67335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67336 ac_ext=c
67337 ac_cpp='$CPP $CPPFLAGS'
67338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67347 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67349 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67350 for ac_func in _isinf
67351 do :
67352 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67353 if test "x$ac_cv_func__isinf" = xyes; then :
67354 cat >>confdefs.h <<_ACEOF
67355 #define HAVE__ISINF 1
67356 _ACEOF
67359 done
67368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67369 $as_echo_n "checking for isnan declaration... " >&6; }
67370 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67371 if ${glibcxx_cv_func_isnan_use+:} false; then :
67372 $as_echo_n "(cached) " >&6
67373 else
67376 ac_ext=cpp
67377 ac_cpp='$CXXCPP $CPPFLAGS'
67378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67383 /* end confdefs.h. */
67384 #include <math.h>
67385 #ifdef HAVE_IEEEFP_H
67386 #include <ieeefp.h>
67387 #endif
67390 main ()
67392 isnan(0);
67394 return 0;
67396 _ACEOF
67397 if ac_fn_cxx_try_compile "$LINENO"; then :
67398 glibcxx_cv_func_isnan_use=yes
67399 else
67400 glibcxx_cv_func_isnan_use=no
67402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67403 ac_ext=c
67404 ac_cpp='$CPP $CPPFLAGS'
67405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67414 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67416 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67417 for ac_func in isnan
67418 do :
67419 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67420 if test "x$ac_cv_func_isnan" = xyes; then :
67421 cat >>confdefs.h <<_ACEOF
67422 #define HAVE_ISNAN 1
67423 _ACEOF
67426 done
67428 else
67430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67431 $as_echo_n "checking for _isnan declaration... " >&6; }
67432 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67433 if ${glibcxx_cv_func__isnan_use+:} false; then :
67434 $as_echo_n "(cached) " >&6
67435 else
67438 ac_ext=cpp
67439 ac_cpp='$CXXCPP $CPPFLAGS'
67440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67445 /* end confdefs.h. */
67446 #include <math.h>
67447 #ifdef HAVE_IEEEFP_H
67448 #include <ieeefp.h>
67449 #endif
67452 main ()
67454 _isnan(0);
67456 return 0;
67458 _ACEOF
67459 if ac_fn_cxx_try_compile "$LINENO"; then :
67460 glibcxx_cv_func__isnan_use=yes
67461 else
67462 glibcxx_cv_func__isnan_use=no
67464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67465 ac_ext=c
67466 ac_cpp='$CPP $CPPFLAGS'
67467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67476 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67478 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67479 for ac_func in _isnan
67480 do :
67481 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67482 if test "x$ac_cv_func__isnan" = xyes; then :
67483 cat >>confdefs.h <<_ACEOF
67484 #define HAVE__ISNAN 1
67485 _ACEOF
67488 done
67497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67498 $as_echo_n "checking for finite declaration... " >&6; }
67499 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67500 if ${glibcxx_cv_func_finite_use+:} false; then :
67501 $as_echo_n "(cached) " >&6
67502 else
67505 ac_ext=cpp
67506 ac_cpp='$CXXCPP $CPPFLAGS'
67507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67512 /* end confdefs.h. */
67513 #include <math.h>
67514 #ifdef HAVE_IEEEFP_H
67515 #include <ieeefp.h>
67516 #endif
67519 main ()
67521 finite(0);
67523 return 0;
67525 _ACEOF
67526 if ac_fn_cxx_try_compile "$LINENO"; then :
67527 glibcxx_cv_func_finite_use=yes
67528 else
67529 glibcxx_cv_func_finite_use=no
67531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67532 ac_ext=c
67533 ac_cpp='$CPP $CPPFLAGS'
67534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67543 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67545 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67546 for ac_func in finite
67547 do :
67548 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67549 if test "x$ac_cv_func_finite" = xyes; then :
67550 cat >>confdefs.h <<_ACEOF
67551 #define HAVE_FINITE 1
67552 _ACEOF
67555 done
67557 else
67559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67560 $as_echo_n "checking for _finite declaration... " >&6; }
67561 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67562 if ${glibcxx_cv_func__finite_use+:} false; then :
67563 $as_echo_n "(cached) " >&6
67564 else
67567 ac_ext=cpp
67568 ac_cpp='$CXXCPP $CPPFLAGS'
67569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67574 /* end confdefs.h. */
67575 #include <math.h>
67576 #ifdef HAVE_IEEEFP_H
67577 #include <ieeefp.h>
67578 #endif
67581 main ()
67583 _finite(0);
67585 return 0;
67587 _ACEOF
67588 if ac_fn_cxx_try_compile "$LINENO"; then :
67589 glibcxx_cv_func__finite_use=yes
67590 else
67591 glibcxx_cv_func__finite_use=no
67593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67594 ac_ext=c
67595 ac_cpp='$CPP $CPPFLAGS'
67596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67605 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67607 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67608 for ac_func in _finite
67609 do :
67610 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67611 if test "x$ac_cv_func__finite" = xyes; then :
67612 cat >>confdefs.h <<_ACEOF
67613 #define HAVE__FINITE 1
67614 _ACEOF
67617 done
67626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67627 $as_echo_n "checking for sincos declaration... " >&6; }
67628 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67629 if ${glibcxx_cv_func_sincos_use+:} false; then :
67630 $as_echo_n "(cached) " >&6
67631 else
67634 ac_ext=cpp
67635 ac_cpp='$CXXCPP $CPPFLAGS'
67636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67641 /* end confdefs.h. */
67642 #include <math.h>
67644 main ()
67646 sincos(0, 0, 0);
67648 return 0;
67650 _ACEOF
67651 if ac_fn_cxx_try_compile "$LINENO"; then :
67652 glibcxx_cv_func_sincos_use=yes
67653 else
67654 glibcxx_cv_func_sincos_use=no
67656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67657 ac_ext=c
67658 ac_cpp='$CPP $CPPFLAGS'
67659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67668 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67670 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67671 for ac_func in sincos
67672 do :
67673 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67674 if test "x$ac_cv_func_sincos" = xyes; then :
67675 cat >>confdefs.h <<_ACEOF
67676 #define HAVE_SINCOS 1
67677 _ACEOF
67680 done
67682 else
67684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67685 $as_echo_n "checking for _sincos declaration... " >&6; }
67686 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67687 if ${glibcxx_cv_func__sincos_use+:} false; then :
67688 $as_echo_n "(cached) " >&6
67689 else
67692 ac_ext=cpp
67693 ac_cpp='$CXXCPP $CPPFLAGS'
67694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67699 /* end confdefs.h. */
67700 #include <math.h>
67702 main ()
67704 _sincos(0, 0, 0);
67706 return 0;
67708 _ACEOF
67709 if ac_fn_cxx_try_compile "$LINENO"; then :
67710 glibcxx_cv_func__sincos_use=yes
67711 else
67712 glibcxx_cv_func__sincos_use=no
67714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67715 ac_ext=c
67716 ac_cpp='$CPP $CPPFLAGS'
67717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67726 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67728 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67729 for ac_func in _sincos
67730 do :
67731 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67732 if test "x$ac_cv_func__sincos" = xyes; then :
67733 cat >>confdefs.h <<_ACEOF
67734 #define HAVE__SINCOS 1
67735 _ACEOF
67738 done
67747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67748 $as_echo_n "checking for fpclass declaration... " >&6; }
67749 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67750 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67751 $as_echo_n "(cached) " >&6
67752 else
67755 ac_ext=cpp
67756 ac_cpp='$CXXCPP $CPPFLAGS'
67757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67762 /* end confdefs.h. */
67763 #include <math.h>
67764 #ifdef HAVE_IEEEFP_H
67765 #include <ieeefp.h>
67766 #endif
67769 main ()
67771 fpclass(0);
67773 return 0;
67775 _ACEOF
67776 if ac_fn_cxx_try_compile "$LINENO"; then :
67777 glibcxx_cv_func_fpclass_use=yes
67778 else
67779 glibcxx_cv_func_fpclass_use=no
67781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67782 ac_ext=c
67783 ac_cpp='$CPP $CPPFLAGS'
67784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67793 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67795 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67796 for ac_func in fpclass
67797 do :
67798 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67799 if test "x$ac_cv_func_fpclass" = xyes; then :
67800 cat >>confdefs.h <<_ACEOF
67801 #define HAVE_FPCLASS 1
67802 _ACEOF
67805 done
67807 else
67809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67810 $as_echo_n "checking for _fpclass declaration... " >&6; }
67811 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67812 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67813 $as_echo_n "(cached) " >&6
67814 else
67817 ac_ext=cpp
67818 ac_cpp='$CXXCPP $CPPFLAGS'
67819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67824 /* end confdefs.h. */
67825 #include <math.h>
67826 #ifdef HAVE_IEEEFP_H
67827 #include <ieeefp.h>
67828 #endif
67831 main ()
67833 _fpclass(0);
67835 return 0;
67837 _ACEOF
67838 if ac_fn_cxx_try_compile "$LINENO"; then :
67839 glibcxx_cv_func__fpclass_use=yes
67840 else
67841 glibcxx_cv_func__fpclass_use=no
67843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67844 ac_ext=c
67845 ac_cpp='$CPP $CPPFLAGS'
67846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67855 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67857 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67858 for ac_func in _fpclass
67859 do :
67860 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67861 if test "x$ac_cv_func__fpclass" = xyes; then :
67862 cat >>confdefs.h <<_ACEOF
67863 #define HAVE__FPCLASS 1
67864 _ACEOF
67867 done
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67877 $as_echo_n "checking for qfpclass declaration... " >&6; }
67878 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67879 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67880 $as_echo_n "(cached) " >&6
67881 else
67884 ac_ext=cpp
67885 ac_cpp='$CXXCPP $CPPFLAGS'
67886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67891 /* end confdefs.h. */
67892 #include <math.h>
67893 #ifdef HAVE_IEEEFP_H
67894 #include <ieeefp.h>
67895 #endif
67898 main ()
67900 qfpclass(0);
67902 return 0;
67904 _ACEOF
67905 if ac_fn_cxx_try_compile "$LINENO"; then :
67906 glibcxx_cv_func_qfpclass_use=yes
67907 else
67908 glibcxx_cv_func_qfpclass_use=no
67910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67911 ac_ext=c
67912 ac_cpp='$CPP $CPPFLAGS'
67913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67922 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67924 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67925 for ac_func in qfpclass
67926 do :
67927 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67928 if test "x$ac_cv_func_qfpclass" = xyes; then :
67929 cat >>confdefs.h <<_ACEOF
67930 #define HAVE_QFPCLASS 1
67931 _ACEOF
67934 done
67936 else
67938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67939 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67940 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67941 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67942 $as_echo_n "(cached) " >&6
67943 else
67946 ac_ext=cpp
67947 ac_cpp='$CXXCPP $CPPFLAGS'
67948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67953 /* end confdefs.h. */
67954 #include <math.h>
67955 #ifdef HAVE_IEEEFP_H
67956 #include <ieeefp.h>
67957 #endif
67960 main ()
67962 _qfpclass(0);
67964 return 0;
67966 _ACEOF
67967 if ac_fn_cxx_try_compile "$LINENO"; then :
67968 glibcxx_cv_func__qfpclass_use=yes
67969 else
67970 glibcxx_cv_func__qfpclass_use=no
67972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67973 ac_ext=c
67974 ac_cpp='$CPP $CPPFLAGS'
67975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67984 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67986 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67987 for ac_func in _qfpclass
67988 do :
67989 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67990 if test "x$ac_cv_func__qfpclass" = xyes; then :
67991 cat >>confdefs.h <<_ACEOF
67992 #define HAVE__QFPCLASS 1
67993 _ACEOF
67996 done
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
68006 $as_echo_n "checking for hypot declaration... " >&6; }
68007 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68008 if ${glibcxx_cv_func_hypot_use+:} false; then :
68009 $as_echo_n "(cached) " >&6
68010 else
68013 ac_ext=cpp
68014 ac_cpp='$CXXCPP $CPPFLAGS'
68015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68020 /* end confdefs.h. */
68021 #include <math.h>
68023 main ()
68025 hypot(0, 0);
68027 return 0;
68029 _ACEOF
68030 if ac_fn_cxx_try_compile "$LINENO"; then :
68031 glibcxx_cv_func_hypot_use=yes
68032 else
68033 glibcxx_cv_func_hypot_use=no
68035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68036 ac_ext=c
68037 ac_cpp='$CPP $CPPFLAGS'
68038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
68047 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
68049 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68050 for ac_func in hypot
68051 do :
68052 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
68053 if test "x$ac_cv_func_hypot" = xyes; then :
68054 cat >>confdefs.h <<_ACEOF
68055 #define HAVE_HYPOT 1
68056 _ACEOF
68059 done
68061 else
68063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68064 $as_echo_n "checking for _hypot declaration... " >&6; }
68065 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68066 if ${glibcxx_cv_func__hypot_use+:} false; then :
68067 $as_echo_n "(cached) " >&6
68068 else
68071 ac_ext=cpp
68072 ac_cpp='$CXXCPP $CPPFLAGS'
68073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68078 /* end confdefs.h. */
68079 #include <math.h>
68081 main ()
68083 _hypot(0, 0);
68085 return 0;
68087 _ACEOF
68088 if ac_fn_cxx_try_compile "$LINENO"; then :
68089 glibcxx_cv_func__hypot_use=yes
68090 else
68091 glibcxx_cv_func__hypot_use=no
68093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68094 ac_ext=c
68095 ac_cpp='$CPP $CPPFLAGS'
68096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68105 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68107 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68108 for ac_func in _hypot
68109 do :
68110 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68111 if test "x$ac_cv_func__hypot" = xyes; then :
68112 cat >>confdefs.h <<_ACEOF
68113 #define HAVE__HYPOT 1
68114 _ACEOF
68117 done
68126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68127 $as_echo_n "checking for float trig functions... " >&6; }
68128 if ${glibcxx_cv_func_float_trig_use+:} false; then :
68129 $as_echo_n "(cached) " >&6
68130 else
68133 ac_ext=cpp
68134 ac_cpp='$CXXCPP $CPPFLAGS'
68135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68140 /* end confdefs.h. */
68141 #include <math.h>
68143 main ()
68145 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68147 return 0;
68149 _ACEOF
68150 if ac_fn_cxx_try_compile "$LINENO"; then :
68151 glibcxx_cv_func_float_trig_use=yes
68152 else
68153 glibcxx_cv_func_float_trig_use=no
68155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68156 ac_ext=c
68157 ac_cpp='$CPP $CPPFLAGS'
68158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68165 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68166 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68167 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68168 do :
68169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68171 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68172 cat >>confdefs.h <<_ACEOF
68173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68174 _ACEOF
68177 done
68179 else
68180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68181 $as_echo_n "checking for _float trig functions... " >&6; }
68182 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68183 $as_echo_n "(cached) " >&6
68184 else
68187 ac_ext=cpp
68188 ac_cpp='$CXXCPP $CPPFLAGS'
68189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68194 /* end confdefs.h. */
68195 #include <math.h>
68197 main ()
68199 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68201 return 0;
68203 _ACEOF
68204 if ac_fn_cxx_try_compile "$LINENO"; then :
68205 glibcxx_cv_func__float_trig_use=yes
68206 else
68207 glibcxx_cv_func__float_trig_use=no
68209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68210 ac_ext=c
68211 ac_cpp='$CPP $CPPFLAGS'
68212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68219 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68220 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68221 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68222 do :
68223 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68224 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68225 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68226 cat >>confdefs.h <<_ACEOF
68227 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68228 _ACEOF
68231 done
68240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68241 $as_echo_n "checking for float round functions... " >&6; }
68242 if ${glibcxx_cv_func_float_round_use+:} false; then :
68243 $as_echo_n "(cached) " >&6
68244 else
68247 ac_ext=cpp
68248 ac_cpp='$CXXCPP $CPPFLAGS'
68249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68254 /* end confdefs.h. */
68255 #include <math.h>
68257 main ()
68259 ceilf (0); floorf (0);
68261 return 0;
68263 _ACEOF
68264 if ac_fn_cxx_try_compile "$LINENO"; then :
68265 glibcxx_cv_func_float_round_use=yes
68266 else
68267 glibcxx_cv_func_float_round_use=no
68269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68270 ac_ext=c
68271 ac_cpp='$CPP $CPPFLAGS'
68272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68279 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68280 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68281 for ac_func in ceilf floorf
68282 do :
68283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68285 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68286 cat >>confdefs.h <<_ACEOF
68287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68288 _ACEOF
68291 done
68293 else
68294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68295 $as_echo_n "checking for _float round functions... " >&6; }
68296 if ${glibcxx_cv_func__float_round_use+:} false; then :
68297 $as_echo_n "(cached) " >&6
68298 else
68301 ac_ext=cpp
68302 ac_cpp='$CXXCPP $CPPFLAGS'
68303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68308 /* end confdefs.h. */
68309 #include <math.h>
68311 main ()
68313 _ceilf (0); _floorf (0);
68315 return 0;
68317 _ACEOF
68318 if ac_fn_cxx_try_compile "$LINENO"; then :
68319 glibcxx_cv_func__float_round_use=yes
68320 else
68321 glibcxx_cv_func__float_round_use=no
68323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68324 ac_ext=c
68325 ac_cpp='$CPP $CPPFLAGS'
68326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68333 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68334 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68335 for ac_func in _ceilf _floorf
68336 do :
68337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68340 cat >>confdefs.h <<_ACEOF
68341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68342 _ACEOF
68345 done
68355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68356 $as_echo_n "checking for expf declaration... " >&6; }
68357 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68358 if ${glibcxx_cv_func_expf_use+:} false; then :
68359 $as_echo_n "(cached) " >&6
68360 else
68363 ac_ext=cpp
68364 ac_cpp='$CXXCPP $CPPFLAGS'
68365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68370 /* end confdefs.h. */
68371 #include <math.h>
68372 #ifdef HAVE_IEEEFP_H
68373 #include <ieeefp.h>
68374 #endif
68377 main ()
68379 expf(0);
68381 return 0;
68383 _ACEOF
68384 if ac_fn_cxx_try_compile "$LINENO"; then :
68385 glibcxx_cv_func_expf_use=yes
68386 else
68387 glibcxx_cv_func_expf_use=no
68389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68390 ac_ext=c
68391 ac_cpp='$CPP $CPPFLAGS'
68392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68401 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68403 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68404 for ac_func in expf
68405 do :
68406 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68407 if test "x$ac_cv_func_expf" = xyes; then :
68408 cat >>confdefs.h <<_ACEOF
68409 #define HAVE_EXPF 1
68410 _ACEOF
68413 done
68415 else
68417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68418 $as_echo_n "checking for _expf declaration... " >&6; }
68419 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68420 if ${glibcxx_cv_func__expf_use+:} false; then :
68421 $as_echo_n "(cached) " >&6
68422 else
68425 ac_ext=cpp
68426 ac_cpp='$CXXCPP $CPPFLAGS'
68427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68432 /* end confdefs.h. */
68433 #include <math.h>
68434 #ifdef HAVE_IEEEFP_H
68435 #include <ieeefp.h>
68436 #endif
68439 main ()
68441 _expf(0);
68443 return 0;
68445 _ACEOF
68446 if ac_fn_cxx_try_compile "$LINENO"; then :
68447 glibcxx_cv_func__expf_use=yes
68448 else
68449 glibcxx_cv_func__expf_use=no
68451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68452 ac_ext=c
68453 ac_cpp='$CPP $CPPFLAGS'
68454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68463 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68465 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68466 for ac_func in _expf
68467 do :
68468 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68469 if test "x$ac_cv_func__expf" = xyes; then :
68470 cat >>confdefs.h <<_ACEOF
68471 #define HAVE__EXPF 1
68472 _ACEOF
68475 done
68484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68485 $as_echo_n "checking for isnanf declaration... " >&6; }
68486 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68487 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68488 $as_echo_n "(cached) " >&6
68489 else
68492 ac_ext=cpp
68493 ac_cpp='$CXXCPP $CPPFLAGS'
68494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68499 /* end confdefs.h. */
68500 #include <math.h>
68501 #ifdef HAVE_IEEEFP_H
68502 #include <ieeefp.h>
68503 #endif
68506 main ()
68508 isnanf(0);
68510 return 0;
68512 _ACEOF
68513 if ac_fn_cxx_try_compile "$LINENO"; then :
68514 glibcxx_cv_func_isnanf_use=yes
68515 else
68516 glibcxx_cv_func_isnanf_use=no
68518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68519 ac_ext=c
68520 ac_cpp='$CPP $CPPFLAGS'
68521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68530 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68532 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68533 for ac_func in isnanf
68534 do :
68535 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68536 if test "x$ac_cv_func_isnanf" = xyes; then :
68537 cat >>confdefs.h <<_ACEOF
68538 #define HAVE_ISNANF 1
68539 _ACEOF
68542 done
68544 else
68546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68547 $as_echo_n "checking for _isnanf declaration... " >&6; }
68548 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68549 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68550 $as_echo_n "(cached) " >&6
68551 else
68554 ac_ext=cpp
68555 ac_cpp='$CXXCPP $CPPFLAGS'
68556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68561 /* end confdefs.h. */
68562 #include <math.h>
68563 #ifdef HAVE_IEEEFP_H
68564 #include <ieeefp.h>
68565 #endif
68568 main ()
68570 _isnanf(0);
68572 return 0;
68574 _ACEOF
68575 if ac_fn_cxx_try_compile "$LINENO"; then :
68576 glibcxx_cv_func__isnanf_use=yes
68577 else
68578 glibcxx_cv_func__isnanf_use=no
68580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68581 ac_ext=c
68582 ac_cpp='$CPP $CPPFLAGS'
68583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68592 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68594 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68595 for ac_func in _isnanf
68596 do :
68597 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68598 if test "x$ac_cv_func__isnanf" = xyes; then :
68599 cat >>confdefs.h <<_ACEOF
68600 #define HAVE__ISNANF 1
68601 _ACEOF
68604 done
68613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68614 $as_echo_n "checking for isinff declaration... " >&6; }
68615 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68616 if ${glibcxx_cv_func_isinff_use+:} false; then :
68617 $as_echo_n "(cached) " >&6
68618 else
68621 ac_ext=cpp
68622 ac_cpp='$CXXCPP $CPPFLAGS'
68623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68628 /* end confdefs.h. */
68629 #include <math.h>
68630 #ifdef HAVE_IEEEFP_H
68631 #include <ieeefp.h>
68632 #endif
68635 main ()
68637 isinff(0);
68639 return 0;
68641 _ACEOF
68642 if ac_fn_cxx_try_compile "$LINENO"; then :
68643 glibcxx_cv_func_isinff_use=yes
68644 else
68645 glibcxx_cv_func_isinff_use=no
68647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68648 ac_ext=c
68649 ac_cpp='$CPP $CPPFLAGS'
68650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68659 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68661 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68662 for ac_func in isinff
68663 do :
68664 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68665 if test "x$ac_cv_func_isinff" = xyes; then :
68666 cat >>confdefs.h <<_ACEOF
68667 #define HAVE_ISINFF 1
68668 _ACEOF
68671 done
68673 else
68675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68676 $as_echo_n "checking for _isinff declaration... " >&6; }
68677 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68678 if ${glibcxx_cv_func__isinff_use+:} false; then :
68679 $as_echo_n "(cached) " >&6
68680 else
68683 ac_ext=cpp
68684 ac_cpp='$CXXCPP $CPPFLAGS'
68685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68690 /* end confdefs.h. */
68691 #include <math.h>
68692 #ifdef HAVE_IEEEFP_H
68693 #include <ieeefp.h>
68694 #endif
68697 main ()
68699 _isinff(0);
68701 return 0;
68703 _ACEOF
68704 if ac_fn_cxx_try_compile "$LINENO"; then :
68705 glibcxx_cv_func__isinff_use=yes
68706 else
68707 glibcxx_cv_func__isinff_use=no
68709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68710 ac_ext=c
68711 ac_cpp='$CPP $CPPFLAGS'
68712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68721 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68723 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68724 for ac_func in _isinff
68725 do :
68726 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68727 if test "x$ac_cv_func__isinff" = xyes; then :
68728 cat >>confdefs.h <<_ACEOF
68729 #define HAVE__ISINFF 1
68730 _ACEOF
68733 done
68742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68743 $as_echo_n "checking for atan2f declaration... " >&6; }
68744 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68745 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68746 $as_echo_n "(cached) " >&6
68747 else
68750 ac_ext=cpp
68751 ac_cpp='$CXXCPP $CPPFLAGS'
68752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68757 /* end confdefs.h. */
68758 #include <math.h>
68760 main ()
68762 atan2f(0, 0);
68764 return 0;
68766 _ACEOF
68767 if ac_fn_cxx_try_compile "$LINENO"; then :
68768 glibcxx_cv_func_atan2f_use=yes
68769 else
68770 glibcxx_cv_func_atan2f_use=no
68772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68773 ac_ext=c
68774 ac_cpp='$CPP $CPPFLAGS'
68775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68784 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68786 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68787 for ac_func in atan2f
68788 do :
68789 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68790 if test "x$ac_cv_func_atan2f" = xyes; then :
68791 cat >>confdefs.h <<_ACEOF
68792 #define HAVE_ATAN2F 1
68793 _ACEOF
68796 done
68798 else
68800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68801 $as_echo_n "checking for _atan2f declaration... " >&6; }
68802 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68803 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68804 $as_echo_n "(cached) " >&6
68805 else
68808 ac_ext=cpp
68809 ac_cpp='$CXXCPP $CPPFLAGS'
68810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68815 /* end confdefs.h. */
68816 #include <math.h>
68818 main ()
68820 _atan2f(0, 0);
68822 return 0;
68824 _ACEOF
68825 if ac_fn_cxx_try_compile "$LINENO"; then :
68826 glibcxx_cv_func__atan2f_use=yes
68827 else
68828 glibcxx_cv_func__atan2f_use=no
68830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68831 ac_ext=c
68832 ac_cpp='$CPP $CPPFLAGS'
68833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68842 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68844 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68845 for ac_func in _atan2f
68846 do :
68847 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68848 if test "x$ac_cv_func__atan2f" = xyes; then :
68849 cat >>confdefs.h <<_ACEOF
68850 #define HAVE__ATAN2F 1
68851 _ACEOF
68854 done
68863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68864 $as_echo_n "checking for fabsf declaration... " >&6; }
68865 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68866 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68867 $as_echo_n "(cached) " >&6
68868 else
68871 ac_ext=cpp
68872 ac_cpp='$CXXCPP $CPPFLAGS'
68873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68878 /* end confdefs.h. */
68879 #include <math.h>
68880 #ifdef HAVE_IEEEFP_H
68881 #include <ieeefp.h>
68882 #endif
68885 main ()
68887 fabsf(0);
68889 return 0;
68891 _ACEOF
68892 if ac_fn_cxx_try_compile "$LINENO"; then :
68893 glibcxx_cv_func_fabsf_use=yes
68894 else
68895 glibcxx_cv_func_fabsf_use=no
68897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68898 ac_ext=c
68899 ac_cpp='$CPP $CPPFLAGS'
68900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68909 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68911 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68912 for ac_func in fabsf
68913 do :
68914 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68915 if test "x$ac_cv_func_fabsf" = xyes; then :
68916 cat >>confdefs.h <<_ACEOF
68917 #define HAVE_FABSF 1
68918 _ACEOF
68921 done
68923 else
68925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68926 $as_echo_n "checking for _fabsf declaration... " >&6; }
68927 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68928 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68929 $as_echo_n "(cached) " >&6
68930 else
68933 ac_ext=cpp
68934 ac_cpp='$CXXCPP $CPPFLAGS'
68935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68940 /* end confdefs.h. */
68941 #include <math.h>
68942 #ifdef HAVE_IEEEFP_H
68943 #include <ieeefp.h>
68944 #endif
68947 main ()
68949 _fabsf(0);
68951 return 0;
68953 _ACEOF
68954 if ac_fn_cxx_try_compile "$LINENO"; then :
68955 glibcxx_cv_func__fabsf_use=yes
68956 else
68957 glibcxx_cv_func__fabsf_use=no
68959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68960 ac_ext=c
68961 ac_cpp='$CPP $CPPFLAGS'
68962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68971 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68973 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68974 for ac_func in _fabsf
68975 do :
68976 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68977 if test "x$ac_cv_func__fabsf" = xyes; then :
68978 cat >>confdefs.h <<_ACEOF
68979 #define HAVE__FABSF 1
68980 _ACEOF
68983 done
68992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68993 $as_echo_n "checking for fmodf declaration... " >&6; }
68994 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68995 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68996 $as_echo_n "(cached) " >&6
68997 else
69000 ac_ext=cpp
69001 ac_cpp='$CXXCPP $CPPFLAGS'
69002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69007 /* end confdefs.h. */
69008 #include <math.h>
69010 main ()
69012 fmodf(0, 0);
69014 return 0;
69016 _ACEOF
69017 if ac_fn_cxx_try_compile "$LINENO"; then :
69018 glibcxx_cv_func_fmodf_use=yes
69019 else
69020 glibcxx_cv_func_fmodf_use=no
69022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69023 ac_ext=c
69024 ac_cpp='$CPP $CPPFLAGS'
69025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
69034 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
69036 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69037 for ac_func in fmodf
69038 do :
69039 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
69040 if test "x$ac_cv_func_fmodf" = xyes; then :
69041 cat >>confdefs.h <<_ACEOF
69042 #define HAVE_FMODF 1
69043 _ACEOF
69046 done
69048 else
69050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
69051 $as_echo_n "checking for _fmodf declaration... " >&6; }
69052 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69053 if ${glibcxx_cv_func__fmodf_use+:} false; then :
69054 $as_echo_n "(cached) " >&6
69055 else
69058 ac_ext=cpp
69059 ac_cpp='$CXXCPP $CPPFLAGS'
69060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69065 /* end confdefs.h. */
69066 #include <math.h>
69068 main ()
69070 _fmodf(0, 0);
69072 return 0;
69074 _ACEOF
69075 if ac_fn_cxx_try_compile "$LINENO"; then :
69076 glibcxx_cv_func__fmodf_use=yes
69077 else
69078 glibcxx_cv_func__fmodf_use=no
69080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69081 ac_ext=c
69082 ac_cpp='$CPP $CPPFLAGS'
69083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69092 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69094 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69095 for ac_func in _fmodf
69096 do :
69097 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69098 if test "x$ac_cv_func__fmodf" = xyes; then :
69099 cat >>confdefs.h <<_ACEOF
69100 #define HAVE__FMODF 1
69101 _ACEOF
69104 done
69113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69114 $as_echo_n "checking for frexpf declaration... " >&6; }
69115 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69116 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69117 $as_echo_n "(cached) " >&6
69118 else
69121 ac_ext=cpp
69122 ac_cpp='$CXXCPP $CPPFLAGS'
69123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69128 /* end confdefs.h. */
69129 #include <math.h>
69131 main ()
69133 frexpf(0, 0);
69135 return 0;
69137 _ACEOF
69138 if ac_fn_cxx_try_compile "$LINENO"; then :
69139 glibcxx_cv_func_frexpf_use=yes
69140 else
69141 glibcxx_cv_func_frexpf_use=no
69143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69144 ac_ext=c
69145 ac_cpp='$CPP $CPPFLAGS'
69146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69155 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69157 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69158 for ac_func in frexpf
69159 do :
69160 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69161 if test "x$ac_cv_func_frexpf" = xyes; then :
69162 cat >>confdefs.h <<_ACEOF
69163 #define HAVE_FREXPF 1
69164 _ACEOF
69167 done
69169 else
69171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69172 $as_echo_n "checking for _frexpf declaration... " >&6; }
69173 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69174 if ${glibcxx_cv_func__frexpf_use+:} false; then :
69175 $as_echo_n "(cached) " >&6
69176 else
69179 ac_ext=cpp
69180 ac_cpp='$CXXCPP $CPPFLAGS'
69181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69186 /* end confdefs.h. */
69187 #include <math.h>
69189 main ()
69191 _frexpf(0, 0);
69193 return 0;
69195 _ACEOF
69196 if ac_fn_cxx_try_compile "$LINENO"; then :
69197 glibcxx_cv_func__frexpf_use=yes
69198 else
69199 glibcxx_cv_func__frexpf_use=no
69201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69202 ac_ext=c
69203 ac_cpp='$CPP $CPPFLAGS'
69204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69213 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69215 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69216 for ac_func in _frexpf
69217 do :
69218 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69219 if test "x$ac_cv_func__frexpf" = xyes; then :
69220 cat >>confdefs.h <<_ACEOF
69221 #define HAVE__FREXPF 1
69222 _ACEOF
69225 done
69234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69235 $as_echo_n "checking for hypotf declaration... " >&6; }
69236 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69237 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69238 $as_echo_n "(cached) " >&6
69239 else
69242 ac_ext=cpp
69243 ac_cpp='$CXXCPP $CPPFLAGS'
69244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69249 /* end confdefs.h. */
69250 #include <math.h>
69252 main ()
69254 hypotf(0, 0);
69256 return 0;
69258 _ACEOF
69259 if ac_fn_cxx_try_compile "$LINENO"; then :
69260 glibcxx_cv_func_hypotf_use=yes
69261 else
69262 glibcxx_cv_func_hypotf_use=no
69264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69265 ac_ext=c
69266 ac_cpp='$CPP $CPPFLAGS'
69267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69276 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69278 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69279 for ac_func in hypotf
69280 do :
69281 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69282 if test "x$ac_cv_func_hypotf" = xyes; then :
69283 cat >>confdefs.h <<_ACEOF
69284 #define HAVE_HYPOTF 1
69285 _ACEOF
69288 done
69290 else
69292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69293 $as_echo_n "checking for _hypotf declaration... " >&6; }
69294 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69295 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69296 $as_echo_n "(cached) " >&6
69297 else
69300 ac_ext=cpp
69301 ac_cpp='$CXXCPP $CPPFLAGS'
69302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69307 /* end confdefs.h. */
69308 #include <math.h>
69310 main ()
69312 _hypotf(0, 0);
69314 return 0;
69316 _ACEOF
69317 if ac_fn_cxx_try_compile "$LINENO"; then :
69318 glibcxx_cv_func__hypotf_use=yes
69319 else
69320 glibcxx_cv_func__hypotf_use=no
69322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69323 ac_ext=c
69324 ac_cpp='$CPP $CPPFLAGS'
69325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69334 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69336 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69337 for ac_func in _hypotf
69338 do :
69339 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69340 if test "x$ac_cv_func__hypotf" = xyes; then :
69341 cat >>confdefs.h <<_ACEOF
69342 #define HAVE__HYPOTF 1
69343 _ACEOF
69346 done
69355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69356 $as_echo_n "checking for ldexpf declaration... " >&6; }
69357 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69358 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69359 $as_echo_n "(cached) " >&6
69360 else
69363 ac_ext=cpp
69364 ac_cpp='$CXXCPP $CPPFLAGS'
69365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69370 /* end confdefs.h. */
69371 #include <math.h>
69373 main ()
69375 ldexpf(0, 0);
69377 return 0;
69379 _ACEOF
69380 if ac_fn_cxx_try_compile "$LINENO"; then :
69381 glibcxx_cv_func_ldexpf_use=yes
69382 else
69383 glibcxx_cv_func_ldexpf_use=no
69385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69386 ac_ext=c
69387 ac_cpp='$CPP $CPPFLAGS'
69388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69397 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69399 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69400 for ac_func in ldexpf
69401 do :
69402 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69403 if test "x$ac_cv_func_ldexpf" = xyes; then :
69404 cat >>confdefs.h <<_ACEOF
69405 #define HAVE_LDEXPF 1
69406 _ACEOF
69409 done
69411 else
69413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69414 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69415 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69416 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69417 $as_echo_n "(cached) " >&6
69418 else
69421 ac_ext=cpp
69422 ac_cpp='$CXXCPP $CPPFLAGS'
69423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69428 /* end confdefs.h. */
69429 #include <math.h>
69431 main ()
69433 _ldexpf(0, 0);
69435 return 0;
69437 _ACEOF
69438 if ac_fn_cxx_try_compile "$LINENO"; then :
69439 glibcxx_cv_func__ldexpf_use=yes
69440 else
69441 glibcxx_cv_func__ldexpf_use=no
69443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69444 ac_ext=c
69445 ac_cpp='$CPP $CPPFLAGS'
69446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69455 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69457 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69458 for ac_func in _ldexpf
69459 do :
69460 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69461 if test "x$ac_cv_func__ldexpf" = xyes; then :
69462 cat >>confdefs.h <<_ACEOF
69463 #define HAVE__LDEXPF 1
69464 _ACEOF
69467 done
69476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69477 $as_echo_n "checking for logf declaration... " >&6; }
69478 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69479 if ${glibcxx_cv_func_logf_use+:} false; then :
69480 $as_echo_n "(cached) " >&6
69481 else
69484 ac_ext=cpp
69485 ac_cpp='$CXXCPP $CPPFLAGS'
69486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69491 /* end confdefs.h. */
69492 #include <math.h>
69493 #ifdef HAVE_IEEEFP_H
69494 #include <ieeefp.h>
69495 #endif
69498 main ()
69500 logf(0);
69502 return 0;
69504 _ACEOF
69505 if ac_fn_cxx_try_compile "$LINENO"; then :
69506 glibcxx_cv_func_logf_use=yes
69507 else
69508 glibcxx_cv_func_logf_use=no
69510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69511 ac_ext=c
69512 ac_cpp='$CPP $CPPFLAGS'
69513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69522 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69524 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69525 for ac_func in logf
69526 do :
69527 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69528 if test "x$ac_cv_func_logf" = xyes; then :
69529 cat >>confdefs.h <<_ACEOF
69530 #define HAVE_LOGF 1
69531 _ACEOF
69534 done
69536 else
69538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69539 $as_echo_n "checking for _logf declaration... " >&6; }
69540 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69541 if ${glibcxx_cv_func__logf_use+:} false; then :
69542 $as_echo_n "(cached) " >&6
69543 else
69546 ac_ext=cpp
69547 ac_cpp='$CXXCPP $CPPFLAGS'
69548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69553 /* end confdefs.h. */
69554 #include <math.h>
69555 #ifdef HAVE_IEEEFP_H
69556 #include <ieeefp.h>
69557 #endif
69560 main ()
69562 _logf(0);
69564 return 0;
69566 _ACEOF
69567 if ac_fn_cxx_try_compile "$LINENO"; then :
69568 glibcxx_cv_func__logf_use=yes
69569 else
69570 glibcxx_cv_func__logf_use=no
69572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69573 ac_ext=c
69574 ac_cpp='$CPP $CPPFLAGS'
69575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69584 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69586 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69587 for ac_func in _logf
69588 do :
69589 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69590 if test "x$ac_cv_func__logf" = xyes; then :
69591 cat >>confdefs.h <<_ACEOF
69592 #define HAVE__LOGF 1
69593 _ACEOF
69596 done
69605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69606 $as_echo_n "checking for log10f declaration... " >&6; }
69607 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69608 if ${glibcxx_cv_func_log10f_use+:} false; then :
69609 $as_echo_n "(cached) " >&6
69610 else
69613 ac_ext=cpp
69614 ac_cpp='$CXXCPP $CPPFLAGS'
69615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69620 /* end confdefs.h. */
69621 #include <math.h>
69622 #ifdef HAVE_IEEEFP_H
69623 #include <ieeefp.h>
69624 #endif
69627 main ()
69629 log10f(0);
69631 return 0;
69633 _ACEOF
69634 if ac_fn_cxx_try_compile "$LINENO"; then :
69635 glibcxx_cv_func_log10f_use=yes
69636 else
69637 glibcxx_cv_func_log10f_use=no
69639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69640 ac_ext=c
69641 ac_cpp='$CPP $CPPFLAGS'
69642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69651 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69653 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69654 for ac_func in log10f
69655 do :
69656 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69657 if test "x$ac_cv_func_log10f" = xyes; then :
69658 cat >>confdefs.h <<_ACEOF
69659 #define HAVE_LOG10F 1
69660 _ACEOF
69663 done
69665 else
69667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69668 $as_echo_n "checking for _log10f declaration... " >&6; }
69669 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69670 if ${glibcxx_cv_func__log10f_use+:} false; then :
69671 $as_echo_n "(cached) " >&6
69672 else
69675 ac_ext=cpp
69676 ac_cpp='$CXXCPP $CPPFLAGS'
69677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69682 /* end confdefs.h. */
69683 #include <math.h>
69684 #ifdef HAVE_IEEEFP_H
69685 #include <ieeefp.h>
69686 #endif
69689 main ()
69691 _log10f(0);
69693 return 0;
69695 _ACEOF
69696 if ac_fn_cxx_try_compile "$LINENO"; then :
69697 glibcxx_cv_func__log10f_use=yes
69698 else
69699 glibcxx_cv_func__log10f_use=no
69701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69702 ac_ext=c
69703 ac_cpp='$CPP $CPPFLAGS'
69704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69713 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69715 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69716 for ac_func in _log10f
69717 do :
69718 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69719 if test "x$ac_cv_func__log10f" = xyes; then :
69720 cat >>confdefs.h <<_ACEOF
69721 #define HAVE__LOG10F 1
69722 _ACEOF
69725 done
69734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69735 $as_echo_n "checking for modff declaration... " >&6; }
69736 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69737 if ${glibcxx_cv_func_modff_use+:} false; then :
69738 $as_echo_n "(cached) " >&6
69739 else
69742 ac_ext=cpp
69743 ac_cpp='$CXXCPP $CPPFLAGS'
69744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69749 /* end confdefs.h. */
69750 #include <math.h>
69752 main ()
69754 modff(0, 0);
69756 return 0;
69758 _ACEOF
69759 if ac_fn_cxx_try_compile "$LINENO"; then :
69760 glibcxx_cv_func_modff_use=yes
69761 else
69762 glibcxx_cv_func_modff_use=no
69764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69765 ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69776 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69778 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69779 for ac_func in modff
69780 do :
69781 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69782 if test "x$ac_cv_func_modff" = xyes; then :
69783 cat >>confdefs.h <<_ACEOF
69784 #define HAVE_MODFF 1
69785 _ACEOF
69788 done
69790 else
69792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69793 $as_echo_n "checking for _modff declaration... " >&6; }
69794 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69795 if ${glibcxx_cv_func__modff_use+:} false; then :
69796 $as_echo_n "(cached) " >&6
69797 else
69800 ac_ext=cpp
69801 ac_cpp='$CXXCPP $CPPFLAGS'
69802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69807 /* end confdefs.h. */
69808 #include <math.h>
69810 main ()
69812 _modff(0, 0);
69814 return 0;
69816 _ACEOF
69817 if ac_fn_cxx_try_compile "$LINENO"; then :
69818 glibcxx_cv_func__modff_use=yes
69819 else
69820 glibcxx_cv_func__modff_use=no
69822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69823 ac_ext=c
69824 ac_cpp='$CPP $CPPFLAGS'
69825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69834 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69836 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69837 for ac_func in _modff
69838 do :
69839 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69840 if test "x$ac_cv_func__modff" = xyes; then :
69841 cat >>confdefs.h <<_ACEOF
69842 #define HAVE__MODFF 1
69843 _ACEOF
69846 done
69855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69856 $as_echo_n "checking for modf declaration... " >&6; }
69857 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69858 if ${glibcxx_cv_func_modf_use+:} false; then :
69859 $as_echo_n "(cached) " >&6
69860 else
69863 ac_ext=cpp
69864 ac_cpp='$CXXCPP $CPPFLAGS'
69865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69870 /* end confdefs.h. */
69871 #include <math.h>
69873 main ()
69875 modf(0, 0);
69877 return 0;
69879 _ACEOF
69880 if ac_fn_cxx_try_compile "$LINENO"; then :
69881 glibcxx_cv_func_modf_use=yes
69882 else
69883 glibcxx_cv_func_modf_use=no
69885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69886 ac_ext=c
69887 ac_cpp='$CPP $CPPFLAGS'
69888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69897 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69899 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69900 for ac_func in modf
69901 do :
69902 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69903 if test "x$ac_cv_func_modf" = xyes; then :
69904 cat >>confdefs.h <<_ACEOF
69905 #define HAVE_MODF 1
69906 _ACEOF
69909 done
69911 else
69913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69914 $as_echo_n "checking for _modf declaration... " >&6; }
69915 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69916 if ${glibcxx_cv_func__modf_use+:} false; then :
69917 $as_echo_n "(cached) " >&6
69918 else
69921 ac_ext=cpp
69922 ac_cpp='$CXXCPP $CPPFLAGS'
69923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69928 /* end confdefs.h. */
69929 #include <math.h>
69931 main ()
69933 _modf(0, 0);
69935 return 0;
69937 _ACEOF
69938 if ac_fn_cxx_try_compile "$LINENO"; then :
69939 glibcxx_cv_func__modf_use=yes
69940 else
69941 glibcxx_cv_func__modf_use=no
69943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69944 ac_ext=c
69945 ac_cpp='$CPP $CPPFLAGS'
69946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69955 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69957 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69958 for ac_func in _modf
69959 do :
69960 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69961 if test "x$ac_cv_func__modf" = xyes; then :
69962 cat >>confdefs.h <<_ACEOF
69963 #define HAVE__MODF 1
69964 _ACEOF
69967 done
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69977 $as_echo_n "checking for powf declaration... " >&6; }
69978 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69979 if ${glibcxx_cv_func_powf_use+:} false; then :
69980 $as_echo_n "(cached) " >&6
69981 else
69984 ac_ext=cpp
69985 ac_cpp='$CXXCPP $CPPFLAGS'
69986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69991 /* end confdefs.h. */
69992 #include <math.h>
69994 main ()
69996 powf(0, 0);
69998 return 0;
70000 _ACEOF
70001 if ac_fn_cxx_try_compile "$LINENO"; then :
70002 glibcxx_cv_func_powf_use=yes
70003 else
70004 glibcxx_cv_func_powf_use=no
70006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70007 ac_ext=c
70008 ac_cpp='$CPP $CPPFLAGS'
70009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
70018 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
70020 if test x$glibcxx_cv_func_powf_use = x"yes"; then
70021 for ac_func in powf
70022 do :
70023 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
70024 if test "x$ac_cv_func_powf" = xyes; then :
70025 cat >>confdefs.h <<_ACEOF
70026 #define HAVE_POWF 1
70027 _ACEOF
70030 done
70032 else
70034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
70035 $as_echo_n "checking for _powf declaration... " >&6; }
70036 if test x${glibcxx_cv_func__powf_use+set} != xset; then
70037 if ${glibcxx_cv_func__powf_use+:} false; then :
70038 $as_echo_n "(cached) " >&6
70039 else
70042 ac_ext=cpp
70043 ac_cpp='$CXXCPP $CPPFLAGS'
70044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70049 /* end confdefs.h. */
70050 #include <math.h>
70052 main ()
70054 _powf(0, 0);
70056 return 0;
70058 _ACEOF
70059 if ac_fn_cxx_try_compile "$LINENO"; then :
70060 glibcxx_cv_func__powf_use=yes
70061 else
70062 glibcxx_cv_func__powf_use=no
70064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70065 ac_ext=c
70066 ac_cpp='$CPP $CPPFLAGS'
70067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70076 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
70078 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70079 for ac_func in _powf
70080 do :
70081 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70082 if test "x$ac_cv_func__powf" = xyes; then :
70083 cat >>confdefs.h <<_ACEOF
70084 #define HAVE__POWF 1
70085 _ACEOF
70088 done
70097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70098 $as_echo_n "checking for sqrtf declaration... " >&6; }
70099 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70100 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70101 $as_echo_n "(cached) " >&6
70102 else
70105 ac_ext=cpp
70106 ac_cpp='$CXXCPP $CPPFLAGS'
70107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70112 /* end confdefs.h. */
70113 #include <math.h>
70114 #ifdef HAVE_IEEEFP_H
70115 #include <ieeefp.h>
70116 #endif
70119 main ()
70121 sqrtf(0);
70123 return 0;
70125 _ACEOF
70126 if ac_fn_cxx_try_compile "$LINENO"; then :
70127 glibcxx_cv_func_sqrtf_use=yes
70128 else
70129 glibcxx_cv_func_sqrtf_use=no
70131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70132 ac_ext=c
70133 ac_cpp='$CPP $CPPFLAGS'
70134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70143 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70145 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70146 for ac_func in sqrtf
70147 do :
70148 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70149 if test "x$ac_cv_func_sqrtf" = xyes; then :
70150 cat >>confdefs.h <<_ACEOF
70151 #define HAVE_SQRTF 1
70152 _ACEOF
70155 done
70157 else
70159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70160 $as_echo_n "checking for _sqrtf declaration... " >&6; }
70161 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70162 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70163 $as_echo_n "(cached) " >&6
70164 else
70167 ac_ext=cpp
70168 ac_cpp='$CXXCPP $CPPFLAGS'
70169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70174 /* end confdefs.h. */
70175 #include <math.h>
70176 #ifdef HAVE_IEEEFP_H
70177 #include <ieeefp.h>
70178 #endif
70181 main ()
70183 _sqrtf(0);
70185 return 0;
70187 _ACEOF
70188 if ac_fn_cxx_try_compile "$LINENO"; then :
70189 glibcxx_cv_func__sqrtf_use=yes
70190 else
70191 glibcxx_cv_func__sqrtf_use=no
70193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70194 ac_ext=c
70195 ac_cpp='$CPP $CPPFLAGS'
70196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70205 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70207 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70208 for ac_func in _sqrtf
70209 do :
70210 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70211 if test "x$ac_cv_func__sqrtf" = xyes; then :
70212 cat >>confdefs.h <<_ACEOF
70213 #define HAVE__SQRTF 1
70214 _ACEOF
70217 done
70226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70227 $as_echo_n "checking for sincosf declaration... " >&6; }
70228 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70229 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70230 $as_echo_n "(cached) " >&6
70231 else
70234 ac_ext=cpp
70235 ac_cpp='$CXXCPP $CPPFLAGS'
70236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70241 /* end confdefs.h. */
70242 #include <math.h>
70244 main ()
70246 sincosf(0, 0, 0);
70248 return 0;
70250 _ACEOF
70251 if ac_fn_cxx_try_compile "$LINENO"; then :
70252 glibcxx_cv_func_sincosf_use=yes
70253 else
70254 glibcxx_cv_func_sincosf_use=no
70256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70257 ac_ext=c
70258 ac_cpp='$CPP $CPPFLAGS'
70259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70268 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70270 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70271 for ac_func in sincosf
70272 do :
70273 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70274 if test "x$ac_cv_func_sincosf" = xyes; then :
70275 cat >>confdefs.h <<_ACEOF
70276 #define HAVE_SINCOSF 1
70277 _ACEOF
70280 done
70282 else
70284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70285 $as_echo_n "checking for _sincosf declaration... " >&6; }
70286 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70287 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70288 $as_echo_n "(cached) " >&6
70289 else
70292 ac_ext=cpp
70293 ac_cpp='$CXXCPP $CPPFLAGS'
70294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70299 /* end confdefs.h. */
70300 #include <math.h>
70302 main ()
70304 _sincosf(0, 0, 0);
70306 return 0;
70308 _ACEOF
70309 if ac_fn_cxx_try_compile "$LINENO"; then :
70310 glibcxx_cv_func__sincosf_use=yes
70311 else
70312 glibcxx_cv_func__sincosf_use=no
70314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70315 ac_ext=c
70316 ac_cpp='$CPP $CPPFLAGS'
70317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70326 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70328 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70329 for ac_func in _sincosf
70330 do :
70331 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70332 if test "x$ac_cv_func__sincosf" = xyes; then :
70333 cat >>confdefs.h <<_ACEOF
70334 #define HAVE__SINCOSF 1
70335 _ACEOF
70338 done
70347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70348 $as_echo_n "checking for finitef declaration... " >&6; }
70349 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70350 if ${glibcxx_cv_func_finitef_use+:} false; then :
70351 $as_echo_n "(cached) " >&6
70352 else
70355 ac_ext=cpp
70356 ac_cpp='$CXXCPP $CPPFLAGS'
70357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70362 /* end confdefs.h. */
70363 #include <math.h>
70364 #ifdef HAVE_IEEEFP_H
70365 #include <ieeefp.h>
70366 #endif
70369 main ()
70371 finitef(0);
70373 return 0;
70375 _ACEOF
70376 if ac_fn_cxx_try_compile "$LINENO"; then :
70377 glibcxx_cv_func_finitef_use=yes
70378 else
70379 glibcxx_cv_func_finitef_use=no
70381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70382 ac_ext=c
70383 ac_cpp='$CPP $CPPFLAGS'
70384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70393 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70395 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70396 for ac_func in finitef
70397 do :
70398 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70399 if test "x$ac_cv_func_finitef" = xyes; then :
70400 cat >>confdefs.h <<_ACEOF
70401 #define HAVE_FINITEF 1
70402 _ACEOF
70405 done
70407 else
70409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70410 $as_echo_n "checking for _finitef declaration... " >&6; }
70411 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70412 if ${glibcxx_cv_func__finitef_use+:} false; then :
70413 $as_echo_n "(cached) " >&6
70414 else
70417 ac_ext=cpp
70418 ac_cpp='$CXXCPP $CPPFLAGS'
70419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70424 /* end confdefs.h. */
70425 #include <math.h>
70426 #ifdef HAVE_IEEEFP_H
70427 #include <ieeefp.h>
70428 #endif
70431 main ()
70433 _finitef(0);
70435 return 0;
70437 _ACEOF
70438 if ac_fn_cxx_try_compile "$LINENO"; then :
70439 glibcxx_cv_func__finitef_use=yes
70440 else
70441 glibcxx_cv_func__finitef_use=no
70443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70444 ac_ext=c
70445 ac_cpp='$CPP $CPPFLAGS'
70446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70455 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70457 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70458 for ac_func in _finitef
70459 do :
70460 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70461 if test "x$ac_cv_func__finitef" = xyes; then :
70462 cat >>confdefs.h <<_ACEOF
70463 #define HAVE__FINITEF 1
70464 _ACEOF
70467 done
70476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70477 $as_echo_n "checking for long double trig functions... " >&6; }
70478 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70479 $as_echo_n "(cached) " >&6
70480 else
70483 ac_ext=cpp
70484 ac_cpp='$CXXCPP $CPPFLAGS'
70485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70490 /* end confdefs.h. */
70491 #include <math.h>
70493 main ()
70495 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70497 return 0;
70499 _ACEOF
70500 if ac_fn_cxx_try_compile "$LINENO"; then :
70501 glibcxx_cv_func_long_double_trig_use=yes
70502 else
70503 glibcxx_cv_func_long_double_trig_use=no
70505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70506 ac_ext=c
70507 ac_cpp='$CPP $CPPFLAGS'
70508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70515 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70516 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70517 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70518 do :
70519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70522 cat >>confdefs.h <<_ACEOF
70523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70524 _ACEOF
70527 done
70529 else
70530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70531 $as_echo_n "checking for _long double trig functions... " >&6; }
70532 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70533 $as_echo_n "(cached) " >&6
70534 else
70537 ac_ext=cpp
70538 ac_cpp='$CXXCPP $CPPFLAGS'
70539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70544 /* end confdefs.h. */
70545 #include <math.h>
70547 main ()
70549 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70551 return 0;
70553 _ACEOF
70554 if ac_fn_cxx_try_compile "$LINENO"; then :
70555 glibcxx_cv_func__long_double_trig_use=yes
70556 else
70557 glibcxx_cv_func__long_double_trig_use=no
70559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70560 ac_ext=c
70561 ac_cpp='$CPP $CPPFLAGS'
70562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70569 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70570 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70571 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70572 do :
70573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70576 cat >>confdefs.h <<_ACEOF
70577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70578 _ACEOF
70581 done
70590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70591 $as_echo_n "checking for long double round functions... " >&6; }
70592 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70593 $as_echo_n "(cached) " >&6
70594 else
70597 ac_ext=cpp
70598 ac_cpp='$CXXCPP $CPPFLAGS'
70599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70604 /* end confdefs.h. */
70605 #include <math.h>
70607 main ()
70609 ceill (0); floorl (0);
70611 return 0;
70613 _ACEOF
70614 if ac_fn_cxx_try_compile "$LINENO"; then :
70615 glibcxx_cv_func_long_double_round_use=yes
70616 else
70617 glibcxx_cv_func_long_double_round_use=no
70619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70620 ac_ext=c
70621 ac_cpp='$CPP $CPPFLAGS'
70622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70629 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70630 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70631 for ac_func in ceill floorl
70632 do :
70633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70635 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70636 cat >>confdefs.h <<_ACEOF
70637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70638 _ACEOF
70641 done
70643 else
70644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70645 $as_echo_n "checking for _long double round functions... " >&6; }
70646 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70647 $as_echo_n "(cached) " >&6
70648 else
70651 ac_ext=cpp
70652 ac_cpp='$CXXCPP $CPPFLAGS'
70653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70658 /* end confdefs.h. */
70659 #include <math.h>
70661 main ()
70663 _ceill (0); _floorl (0);
70665 return 0;
70667 _ACEOF
70668 if ac_fn_cxx_try_compile "$LINENO"; then :
70669 glibcxx_cv_func__long_double_round_use=yes
70670 else
70671 glibcxx_cv_func__long_double_round_use=no
70673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70674 ac_ext=c
70675 ac_cpp='$CPP $CPPFLAGS'
70676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70683 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70684 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70685 for ac_func in _ceill _floorl
70686 do :
70687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70689 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70690 cat >>confdefs.h <<_ACEOF
70691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70692 _ACEOF
70695 done
70705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70706 $as_echo_n "checking for isnanl declaration... " >&6; }
70707 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70708 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70709 $as_echo_n "(cached) " >&6
70710 else
70713 ac_ext=cpp
70714 ac_cpp='$CXXCPP $CPPFLAGS'
70715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70720 /* end confdefs.h. */
70721 #include <math.h>
70722 #ifdef HAVE_IEEEFP_H
70723 #include <ieeefp.h>
70724 #endif
70727 main ()
70729 isnanl(0);
70731 return 0;
70733 _ACEOF
70734 if ac_fn_cxx_try_compile "$LINENO"; then :
70735 glibcxx_cv_func_isnanl_use=yes
70736 else
70737 glibcxx_cv_func_isnanl_use=no
70739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70740 ac_ext=c
70741 ac_cpp='$CPP $CPPFLAGS'
70742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70751 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70753 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70754 for ac_func in isnanl
70755 do :
70756 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70757 if test "x$ac_cv_func_isnanl" = xyes; then :
70758 cat >>confdefs.h <<_ACEOF
70759 #define HAVE_ISNANL 1
70760 _ACEOF
70763 done
70765 else
70767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70768 $as_echo_n "checking for _isnanl declaration... " >&6; }
70769 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70770 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70771 $as_echo_n "(cached) " >&6
70772 else
70775 ac_ext=cpp
70776 ac_cpp='$CXXCPP $CPPFLAGS'
70777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70782 /* end confdefs.h. */
70783 #include <math.h>
70784 #ifdef HAVE_IEEEFP_H
70785 #include <ieeefp.h>
70786 #endif
70789 main ()
70791 _isnanl(0);
70793 return 0;
70795 _ACEOF
70796 if ac_fn_cxx_try_compile "$LINENO"; then :
70797 glibcxx_cv_func__isnanl_use=yes
70798 else
70799 glibcxx_cv_func__isnanl_use=no
70801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70802 ac_ext=c
70803 ac_cpp='$CPP $CPPFLAGS'
70804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70813 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70815 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70816 for ac_func in _isnanl
70817 do :
70818 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70819 if test "x$ac_cv_func__isnanl" = xyes; then :
70820 cat >>confdefs.h <<_ACEOF
70821 #define HAVE__ISNANL 1
70822 _ACEOF
70825 done
70834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70835 $as_echo_n "checking for isinfl declaration... " >&6; }
70836 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70837 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70838 $as_echo_n "(cached) " >&6
70839 else
70842 ac_ext=cpp
70843 ac_cpp='$CXXCPP $CPPFLAGS'
70844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70849 /* end confdefs.h. */
70850 #include <math.h>
70851 #ifdef HAVE_IEEEFP_H
70852 #include <ieeefp.h>
70853 #endif
70856 main ()
70858 isinfl(0);
70860 return 0;
70862 _ACEOF
70863 if ac_fn_cxx_try_compile "$LINENO"; then :
70864 glibcxx_cv_func_isinfl_use=yes
70865 else
70866 glibcxx_cv_func_isinfl_use=no
70868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70869 ac_ext=c
70870 ac_cpp='$CPP $CPPFLAGS'
70871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70880 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70882 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70883 for ac_func in isinfl
70884 do :
70885 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70886 if test "x$ac_cv_func_isinfl" = xyes; then :
70887 cat >>confdefs.h <<_ACEOF
70888 #define HAVE_ISINFL 1
70889 _ACEOF
70892 done
70894 else
70896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70897 $as_echo_n "checking for _isinfl declaration... " >&6; }
70898 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70899 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70900 $as_echo_n "(cached) " >&6
70901 else
70904 ac_ext=cpp
70905 ac_cpp='$CXXCPP $CPPFLAGS'
70906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70912 #include <math.h>
70913 #ifdef HAVE_IEEEFP_H
70914 #include <ieeefp.h>
70915 #endif
70918 main ()
70920 _isinfl(0);
70922 return 0;
70924 _ACEOF
70925 if ac_fn_cxx_try_compile "$LINENO"; then :
70926 glibcxx_cv_func__isinfl_use=yes
70927 else
70928 glibcxx_cv_func__isinfl_use=no
70930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70931 ac_ext=c
70932 ac_cpp='$CPP $CPPFLAGS'
70933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70942 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70944 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70945 for ac_func in _isinfl
70946 do :
70947 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70948 if test "x$ac_cv_func__isinfl" = xyes; then :
70949 cat >>confdefs.h <<_ACEOF
70950 #define HAVE__ISINFL 1
70951 _ACEOF
70954 done
70963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70964 $as_echo_n "checking for atan2l declaration... " >&6; }
70965 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70966 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70967 $as_echo_n "(cached) " >&6
70968 else
70971 ac_ext=cpp
70972 ac_cpp='$CXXCPP $CPPFLAGS'
70973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70979 #include <math.h>
70981 main ()
70983 atan2l(0, 0);
70985 return 0;
70987 _ACEOF
70988 if ac_fn_cxx_try_compile "$LINENO"; then :
70989 glibcxx_cv_func_atan2l_use=yes
70990 else
70991 glibcxx_cv_func_atan2l_use=no
70993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70994 ac_ext=c
70995 ac_cpp='$CPP $CPPFLAGS'
70996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
71005 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
71007 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71008 for ac_func in atan2l
71009 do :
71010 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
71011 if test "x$ac_cv_func_atan2l" = xyes; then :
71012 cat >>confdefs.h <<_ACEOF
71013 #define HAVE_ATAN2L 1
71014 _ACEOF
71017 done
71019 else
71021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
71022 $as_echo_n "checking for _atan2l declaration... " >&6; }
71023 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71024 if ${glibcxx_cv_func__atan2l_use+:} false; then :
71025 $as_echo_n "(cached) " >&6
71026 else
71029 ac_ext=cpp
71030 ac_cpp='$CXXCPP $CPPFLAGS'
71031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71036 /* end confdefs.h. */
71037 #include <math.h>
71039 main ()
71041 _atan2l(0, 0);
71043 return 0;
71045 _ACEOF
71046 if ac_fn_cxx_try_compile "$LINENO"; then :
71047 glibcxx_cv_func__atan2l_use=yes
71048 else
71049 glibcxx_cv_func__atan2l_use=no
71051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71052 ac_ext=c
71053 ac_cpp='$CPP $CPPFLAGS'
71054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71063 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71065 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71066 for ac_func in _atan2l
71067 do :
71068 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71069 if test "x$ac_cv_func__atan2l" = xyes; then :
71070 cat >>confdefs.h <<_ACEOF
71071 #define HAVE__ATAN2L 1
71072 _ACEOF
71075 done
71084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71085 $as_echo_n "checking for expl declaration... " >&6; }
71086 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71087 if ${glibcxx_cv_func_expl_use+:} false; then :
71088 $as_echo_n "(cached) " >&6
71089 else
71092 ac_ext=cpp
71093 ac_cpp='$CXXCPP $CPPFLAGS'
71094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71099 /* end confdefs.h. */
71100 #include <math.h>
71101 #ifdef HAVE_IEEEFP_H
71102 #include <ieeefp.h>
71103 #endif
71106 main ()
71108 expl(0);
71110 return 0;
71112 _ACEOF
71113 if ac_fn_cxx_try_compile "$LINENO"; then :
71114 glibcxx_cv_func_expl_use=yes
71115 else
71116 glibcxx_cv_func_expl_use=no
71118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71119 ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71130 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
71132 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71133 for ac_func in expl
71134 do :
71135 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71136 if test "x$ac_cv_func_expl" = xyes; then :
71137 cat >>confdefs.h <<_ACEOF
71138 #define HAVE_EXPL 1
71139 _ACEOF
71142 done
71144 else
71146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71147 $as_echo_n "checking for _expl declaration... " >&6; }
71148 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71149 if ${glibcxx_cv_func__expl_use+:} false; then :
71150 $as_echo_n "(cached) " >&6
71151 else
71154 ac_ext=cpp
71155 ac_cpp='$CXXCPP $CPPFLAGS'
71156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71161 /* end confdefs.h. */
71162 #include <math.h>
71163 #ifdef HAVE_IEEEFP_H
71164 #include <ieeefp.h>
71165 #endif
71168 main ()
71170 _expl(0);
71172 return 0;
71174 _ACEOF
71175 if ac_fn_cxx_try_compile "$LINENO"; then :
71176 glibcxx_cv_func__expl_use=yes
71177 else
71178 glibcxx_cv_func__expl_use=no
71180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71181 ac_ext=c
71182 ac_cpp='$CPP $CPPFLAGS'
71183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71192 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71194 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71195 for ac_func in _expl
71196 do :
71197 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71198 if test "x$ac_cv_func__expl" = xyes; then :
71199 cat >>confdefs.h <<_ACEOF
71200 #define HAVE__EXPL 1
71201 _ACEOF
71204 done
71213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71214 $as_echo_n "checking for fabsl declaration... " >&6; }
71215 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71216 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71217 $as_echo_n "(cached) " >&6
71218 else
71221 ac_ext=cpp
71222 ac_cpp='$CXXCPP $CPPFLAGS'
71223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71228 /* end confdefs.h. */
71229 #include <math.h>
71230 #ifdef HAVE_IEEEFP_H
71231 #include <ieeefp.h>
71232 #endif
71235 main ()
71237 fabsl(0);
71239 return 0;
71241 _ACEOF
71242 if ac_fn_cxx_try_compile "$LINENO"; then :
71243 glibcxx_cv_func_fabsl_use=yes
71244 else
71245 glibcxx_cv_func_fabsl_use=no
71247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71248 ac_ext=c
71249 ac_cpp='$CPP $CPPFLAGS'
71250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71259 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71261 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71262 for ac_func in fabsl
71263 do :
71264 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71265 if test "x$ac_cv_func_fabsl" = xyes; then :
71266 cat >>confdefs.h <<_ACEOF
71267 #define HAVE_FABSL 1
71268 _ACEOF
71271 done
71273 else
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71276 $as_echo_n "checking for _fabsl declaration... " >&6; }
71277 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71278 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71279 $as_echo_n "(cached) " >&6
71280 else
71283 ac_ext=cpp
71284 ac_cpp='$CXXCPP $CPPFLAGS'
71285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71290 /* end confdefs.h. */
71291 #include <math.h>
71292 #ifdef HAVE_IEEEFP_H
71293 #include <ieeefp.h>
71294 #endif
71297 main ()
71299 _fabsl(0);
71301 return 0;
71303 _ACEOF
71304 if ac_fn_cxx_try_compile "$LINENO"; then :
71305 glibcxx_cv_func__fabsl_use=yes
71306 else
71307 glibcxx_cv_func__fabsl_use=no
71309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71310 ac_ext=c
71311 ac_cpp='$CPP $CPPFLAGS'
71312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71321 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71323 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71324 for ac_func in _fabsl
71325 do :
71326 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71327 if test "x$ac_cv_func__fabsl" = xyes; then :
71328 cat >>confdefs.h <<_ACEOF
71329 #define HAVE__FABSL 1
71330 _ACEOF
71333 done
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71343 $as_echo_n "checking for fmodl declaration... " >&6; }
71344 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71345 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71346 $as_echo_n "(cached) " >&6
71347 else
71350 ac_ext=cpp
71351 ac_cpp='$CXXCPP $CPPFLAGS'
71352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71357 /* end confdefs.h. */
71358 #include <math.h>
71360 main ()
71362 fmodl(0, 0);
71364 return 0;
71366 _ACEOF
71367 if ac_fn_cxx_try_compile "$LINENO"; then :
71368 glibcxx_cv_func_fmodl_use=yes
71369 else
71370 glibcxx_cv_func_fmodl_use=no
71372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71373 ac_ext=c
71374 ac_cpp='$CPP $CPPFLAGS'
71375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71384 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71386 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71387 for ac_func in fmodl
71388 do :
71389 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71390 if test "x$ac_cv_func_fmodl" = xyes; then :
71391 cat >>confdefs.h <<_ACEOF
71392 #define HAVE_FMODL 1
71393 _ACEOF
71396 done
71398 else
71400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71401 $as_echo_n "checking for _fmodl declaration... " >&6; }
71402 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71403 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71404 $as_echo_n "(cached) " >&6
71405 else
71408 ac_ext=cpp
71409 ac_cpp='$CXXCPP $CPPFLAGS'
71410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71415 /* end confdefs.h. */
71416 #include <math.h>
71418 main ()
71420 _fmodl(0, 0);
71422 return 0;
71424 _ACEOF
71425 if ac_fn_cxx_try_compile "$LINENO"; then :
71426 glibcxx_cv_func__fmodl_use=yes
71427 else
71428 glibcxx_cv_func__fmodl_use=no
71430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71431 ac_ext=c
71432 ac_cpp='$CPP $CPPFLAGS'
71433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71442 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71444 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71445 for ac_func in _fmodl
71446 do :
71447 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71448 if test "x$ac_cv_func__fmodl" = xyes; then :
71449 cat >>confdefs.h <<_ACEOF
71450 #define HAVE__FMODL 1
71451 _ACEOF
71454 done
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71464 $as_echo_n "checking for frexpl declaration... " >&6; }
71465 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71466 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71467 $as_echo_n "(cached) " >&6
71468 else
71471 ac_ext=cpp
71472 ac_cpp='$CXXCPP $CPPFLAGS'
71473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71478 /* end confdefs.h. */
71479 #include <math.h>
71481 main ()
71483 frexpl(0, 0);
71485 return 0;
71487 _ACEOF
71488 if ac_fn_cxx_try_compile "$LINENO"; then :
71489 glibcxx_cv_func_frexpl_use=yes
71490 else
71491 glibcxx_cv_func_frexpl_use=no
71493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71494 ac_ext=c
71495 ac_cpp='$CPP $CPPFLAGS'
71496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71505 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71507 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71508 for ac_func in frexpl
71509 do :
71510 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71511 if test "x$ac_cv_func_frexpl" = xyes; then :
71512 cat >>confdefs.h <<_ACEOF
71513 #define HAVE_FREXPL 1
71514 _ACEOF
71517 done
71519 else
71521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71522 $as_echo_n "checking for _frexpl declaration... " >&6; }
71523 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71524 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71525 $as_echo_n "(cached) " >&6
71526 else
71529 ac_ext=cpp
71530 ac_cpp='$CXXCPP $CPPFLAGS'
71531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71536 /* end confdefs.h. */
71537 #include <math.h>
71539 main ()
71541 _frexpl(0, 0);
71543 return 0;
71545 _ACEOF
71546 if ac_fn_cxx_try_compile "$LINENO"; then :
71547 glibcxx_cv_func__frexpl_use=yes
71548 else
71549 glibcxx_cv_func__frexpl_use=no
71551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71552 ac_ext=c
71553 ac_cpp='$CPP $CPPFLAGS'
71554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71563 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71565 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71566 for ac_func in _frexpl
71567 do :
71568 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71569 if test "x$ac_cv_func__frexpl" = xyes; then :
71570 cat >>confdefs.h <<_ACEOF
71571 #define HAVE__FREXPL 1
71572 _ACEOF
71575 done
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71585 $as_echo_n "checking for hypotl declaration... " >&6; }
71586 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71587 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71588 $as_echo_n "(cached) " >&6
71589 else
71592 ac_ext=cpp
71593 ac_cpp='$CXXCPP $CPPFLAGS'
71594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71599 /* end confdefs.h. */
71600 #include <math.h>
71602 main ()
71604 hypotl(0, 0);
71606 return 0;
71608 _ACEOF
71609 if ac_fn_cxx_try_compile "$LINENO"; then :
71610 glibcxx_cv_func_hypotl_use=yes
71611 else
71612 glibcxx_cv_func_hypotl_use=no
71614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71615 ac_ext=c
71616 ac_cpp='$CPP $CPPFLAGS'
71617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71626 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71628 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71629 for ac_func in hypotl
71630 do :
71631 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71632 if test "x$ac_cv_func_hypotl" = xyes; then :
71633 cat >>confdefs.h <<_ACEOF
71634 #define HAVE_HYPOTL 1
71635 _ACEOF
71638 done
71640 else
71642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71643 $as_echo_n "checking for _hypotl declaration... " >&6; }
71644 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71645 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71646 $as_echo_n "(cached) " >&6
71647 else
71650 ac_ext=cpp
71651 ac_cpp='$CXXCPP $CPPFLAGS'
71652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71657 /* end confdefs.h. */
71658 #include <math.h>
71660 main ()
71662 _hypotl(0, 0);
71664 return 0;
71666 _ACEOF
71667 if ac_fn_cxx_try_compile "$LINENO"; then :
71668 glibcxx_cv_func__hypotl_use=yes
71669 else
71670 glibcxx_cv_func__hypotl_use=no
71672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71673 ac_ext=c
71674 ac_cpp='$CPP $CPPFLAGS'
71675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71684 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71686 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71687 for ac_func in _hypotl
71688 do :
71689 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71690 if test "x$ac_cv_func__hypotl" = xyes; then :
71691 cat >>confdefs.h <<_ACEOF
71692 #define HAVE__HYPOTL 1
71693 _ACEOF
71696 done
71705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71706 $as_echo_n "checking for ldexpl declaration... " >&6; }
71707 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71708 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71709 $as_echo_n "(cached) " >&6
71710 else
71713 ac_ext=cpp
71714 ac_cpp='$CXXCPP $CPPFLAGS'
71715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720 /* end confdefs.h. */
71721 #include <math.h>
71723 main ()
71725 ldexpl(0, 0);
71727 return 0;
71729 _ACEOF
71730 if ac_fn_cxx_try_compile "$LINENO"; then :
71731 glibcxx_cv_func_ldexpl_use=yes
71732 else
71733 glibcxx_cv_func_ldexpl_use=no
71735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71736 ac_ext=c
71737 ac_cpp='$CPP $CPPFLAGS'
71738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71747 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71749 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71750 for ac_func in ldexpl
71751 do :
71752 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71753 if test "x$ac_cv_func_ldexpl" = xyes; then :
71754 cat >>confdefs.h <<_ACEOF
71755 #define HAVE_LDEXPL 1
71756 _ACEOF
71759 done
71761 else
71763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71764 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71765 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71766 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71767 $as_echo_n "(cached) " >&6
71768 else
71771 ac_ext=cpp
71772 ac_cpp='$CXXCPP $CPPFLAGS'
71773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71778 /* end confdefs.h. */
71779 #include <math.h>
71781 main ()
71783 _ldexpl(0, 0);
71785 return 0;
71787 _ACEOF
71788 if ac_fn_cxx_try_compile "$LINENO"; then :
71789 glibcxx_cv_func__ldexpl_use=yes
71790 else
71791 glibcxx_cv_func__ldexpl_use=no
71793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71794 ac_ext=c
71795 ac_cpp='$CPP $CPPFLAGS'
71796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71805 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71807 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71808 for ac_func in _ldexpl
71809 do :
71810 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71811 if test "x$ac_cv_func__ldexpl" = xyes; then :
71812 cat >>confdefs.h <<_ACEOF
71813 #define HAVE__LDEXPL 1
71814 _ACEOF
71817 done
71826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71827 $as_echo_n "checking for logl declaration... " >&6; }
71828 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71829 if ${glibcxx_cv_func_logl_use+:} false; then :
71830 $as_echo_n "(cached) " >&6
71831 else
71834 ac_ext=cpp
71835 ac_cpp='$CXXCPP $CPPFLAGS'
71836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71841 /* end confdefs.h. */
71842 #include <math.h>
71843 #ifdef HAVE_IEEEFP_H
71844 #include <ieeefp.h>
71845 #endif
71848 main ()
71850 logl(0);
71852 return 0;
71854 _ACEOF
71855 if ac_fn_cxx_try_compile "$LINENO"; then :
71856 glibcxx_cv_func_logl_use=yes
71857 else
71858 glibcxx_cv_func_logl_use=no
71860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71861 ac_ext=c
71862 ac_cpp='$CPP $CPPFLAGS'
71863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71872 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71874 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71875 for ac_func in logl
71876 do :
71877 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71878 if test "x$ac_cv_func_logl" = xyes; then :
71879 cat >>confdefs.h <<_ACEOF
71880 #define HAVE_LOGL 1
71881 _ACEOF
71884 done
71886 else
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71889 $as_echo_n "checking for _logl declaration... " >&6; }
71890 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71891 if ${glibcxx_cv_func__logl_use+:} false; then :
71892 $as_echo_n "(cached) " >&6
71893 else
71896 ac_ext=cpp
71897 ac_cpp='$CXXCPP $CPPFLAGS'
71898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71903 /* end confdefs.h. */
71904 #include <math.h>
71905 #ifdef HAVE_IEEEFP_H
71906 #include <ieeefp.h>
71907 #endif
71910 main ()
71912 _logl(0);
71914 return 0;
71916 _ACEOF
71917 if ac_fn_cxx_try_compile "$LINENO"; then :
71918 glibcxx_cv_func__logl_use=yes
71919 else
71920 glibcxx_cv_func__logl_use=no
71922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71923 ac_ext=c
71924 ac_cpp='$CPP $CPPFLAGS'
71925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71934 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71936 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71937 for ac_func in _logl
71938 do :
71939 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71940 if test "x$ac_cv_func__logl" = xyes; then :
71941 cat >>confdefs.h <<_ACEOF
71942 #define HAVE__LOGL 1
71943 _ACEOF
71946 done
71955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71956 $as_echo_n "checking for log10l declaration... " >&6; }
71957 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71958 if ${glibcxx_cv_func_log10l_use+:} false; then :
71959 $as_echo_n "(cached) " >&6
71960 else
71963 ac_ext=cpp
71964 ac_cpp='$CXXCPP $CPPFLAGS'
71965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71970 /* end confdefs.h. */
71971 #include <math.h>
71972 #ifdef HAVE_IEEEFP_H
71973 #include <ieeefp.h>
71974 #endif
71977 main ()
71979 log10l(0);
71981 return 0;
71983 _ACEOF
71984 if ac_fn_cxx_try_compile "$LINENO"; then :
71985 glibcxx_cv_func_log10l_use=yes
71986 else
71987 glibcxx_cv_func_log10l_use=no
71989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71990 ac_ext=c
71991 ac_cpp='$CPP $CPPFLAGS'
71992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
72001 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
72003 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72004 for ac_func in log10l
72005 do :
72006 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
72007 if test "x$ac_cv_func_log10l" = xyes; then :
72008 cat >>confdefs.h <<_ACEOF
72009 #define HAVE_LOG10L 1
72010 _ACEOF
72013 done
72015 else
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
72018 $as_echo_n "checking for _log10l declaration... " >&6; }
72019 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72020 if ${glibcxx_cv_func__log10l_use+:} false; then :
72021 $as_echo_n "(cached) " >&6
72022 else
72025 ac_ext=cpp
72026 ac_cpp='$CXXCPP $CPPFLAGS'
72027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72032 /* end confdefs.h. */
72033 #include <math.h>
72034 #ifdef HAVE_IEEEFP_H
72035 #include <ieeefp.h>
72036 #endif
72039 main ()
72041 _log10l(0);
72043 return 0;
72045 _ACEOF
72046 if ac_fn_cxx_try_compile "$LINENO"; then :
72047 glibcxx_cv_func__log10l_use=yes
72048 else
72049 glibcxx_cv_func__log10l_use=no
72051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72052 ac_ext=c
72053 ac_cpp='$CPP $CPPFLAGS'
72054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72063 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72065 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72066 for ac_func in _log10l
72067 do :
72068 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72069 if test "x$ac_cv_func__log10l" = xyes; then :
72070 cat >>confdefs.h <<_ACEOF
72071 #define HAVE__LOG10L 1
72072 _ACEOF
72075 done
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72085 $as_echo_n "checking for modfl declaration... " >&6; }
72086 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72087 if ${glibcxx_cv_func_modfl_use+:} false; then :
72088 $as_echo_n "(cached) " >&6
72089 else
72092 ac_ext=cpp
72093 ac_cpp='$CXXCPP $CPPFLAGS'
72094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099 /* end confdefs.h. */
72100 #include <math.h>
72102 main ()
72104 modfl(0, 0);
72106 return 0;
72108 _ACEOF
72109 if ac_fn_cxx_try_compile "$LINENO"; then :
72110 glibcxx_cv_func_modfl_use=yes
72111 else
72112 glibcxx_cv_func_modfl_use=no
72114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115 ac_ext=c
72116 ac_cpp='$CPP $CPPFLAGS'
72117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72126 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72128 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72129 for ac_func in modfl
72130 do :
72131 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72132 if test "x$ac_cv_func_modfl" = xyes; then :
72133 cat >>confdefs.h <<_ACEOF
72134 #define HAVE_MODFL 1
72135 _ACEOF
72138 done
72140 else
72142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72143 $as_echo_n "checking for _modfl declaration... " >&6; }
72144 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72145 if ${glibcxx_cv_func__modfl_use+:} false; then :
72146 $as_echo_n "(cached) " >&6
72147 else
72150 ac_ext=cpp
72151 ac_cpp='$CXXCPP $CPPFLAGS'
72152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72158 #include <math.h>
72160 main ()
72162 _modfl(0, 0);
72164 return 0;
72166 _ACEOF
72167 if ac_fn_cxx_try_compile "$LINENO"; then :
72168 glibcxx_cv_func__modfl_use=yes
72169 else
72170 glibcxx_cv_func__modfl_use=no
72172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173 ac_ext=c
72174 ac_cpp='$CPP $CPPFLAGS'
72175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72184 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72186 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72187 for ac_func in _modfl
72188 do :
72189 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72190 if test "x$ac_cv_func__modfl" = xyes; then :
72191 cat >>confdefs.h <<_ACEOF
72192 #define HAVE__MODFL 1
72193 _ACEOF
72196 done
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72206 $as_echo_n "checking for powl declaration... " >&6; }
72207 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72208 if ${glibcxx_cv_func_powl_use+:} false; then :
72209 $as_echo_n "(cached) " >&6
72210 else
72213 ac_ext=cpp
72214 ac_cpp='$CXXCPP $CPPFLAGS'
72215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72220 /* end confdefs.h. */
72221 #include <math.h>
72223 main ()
72225 powl(0, 0);
72227 return 0;
72229 _ACEOF
72230 if ac_fn_cxx_try_compile "$LINENO"; then :
72231 glibcxx_cv_func_powl_use=yes
72232 else
72233 glibcxx_cv_func_powl_use=no
72235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72236 ac_ext=c
72237 ac_cpp='$CPP $CPPFLAGS'
72238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72247 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72249 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72250 for ac_func in powl
72251 do :
72252 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72253 if test "x$ac_cv_func_powl" = xyes; then :
72254 cat >>confdefs.h <<_ACEOF
72255 #define HAVE_POWL 1
72256 _ACEOF
72259 done
72261 else
72263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72264 $as_echo_n "checking for _powl declaration... " >&6; }
72265 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72266 if ${glibcxx_cv_func__powl_use+:} false; then :
72267 $as_echo_n "(cached) " >&6
72268 else
72271 ac_ext=cpp
72272 ac_cpp='$CXXCPP $CPPFLAGS'
72273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72278 /* end confdefs.h. */
72279 #include <math.h>
72281 main ()
72283 _powl(0, 0);
72285 return 0;
72287 _ACEOF
72288 if ac_fn_cxx_try_compile "$LINENO"; then :
72289 glibcxx_cv_func__powl_use=yes
72290 else
72291 glibcxx_cv_func__powl_use=no
72293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72294 ac_ext=c
72295 ac_cpp='$CPP $CPPFLAGS'
72296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72305 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72307 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72308 for ac_func in _powl
72309 do :
72310 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72311 if test "x$ac_cv_func__powl" = xyes; then :
72312 cat >>confdefs.h <<_ACEOF
72313 #define HAVE__POWL 1
72314 _ACEOF
72317 done
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72327 $as_echo_n "checking for sqrtl declaration... " >&6; }
72328 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72329 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72330 $as_echo_n "(cached) " >&6
72331 else
72334 ac_ext=cpp
72335 ac_cpp='$CXXCPP $CPPFLAGS'
72336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72341 /* end confdefs.h. */
72342 #include <math.h>
72343 #ifdef HAVE_IEEEFP_H
72344 #include <ieeefp.h>
72345 #endif
72348 main ()
72350 sqrtl(0);
72352 return 0;
72354 _ACEOF
72355 if ac_fn_cxx_try_compile "$LINENO"; then :
72356 glibcxx_cv_func_sqrtl_use=yes
72357 else
72358 glibcxx_cv_func_sqrtl_use=no
72360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72361 ac_ext=c
72362 ac_cpp='$CPP $CPPFLAGS'
72363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72372 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72374 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72375 for ac_func in sqrtl
72376 do :
72377 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72378 if test "x$ac_cv_func_sqrtl" = xyes; then :
72379 cat >>confdefs.h <<_ACEOF
72380 #define HAVE_SQRTL 1
72381 _ACEOF
72384 done
72386 else
72388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72389 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72390 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72391 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72392 $as_echo_n "(cached) " >&6
72393 else
72396 ac_ext=cpp
72397 ac_cpp='$CXXCPP $CPPFLAGS'
72398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72403 /* end confdefs.h. */
72404 #include <math.h>
72405 #ifdef HAVE_IEEEFP_H
72406 #include <ieeefp.h>
72407 #endif
72410 main ()
72412 _sqrtl(0);
72414 return 0;
72416 _ACEOF
72417 if ac_fn_cxx_try_compile "$LINENO"; then :
72418 glibcxx_cv_func__sqrtl_use=yes
72419 else
72420 glibcxx_cv_func__sqrtl_use=no
72422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72423 ac_ext=c
72424 ac_cpp='$CPP $CPPFLAGS'
72425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72434 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72436 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72437 for ac_func in _sqrtl
72438 do :
72439 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72440 if test "x$ac_cv_func__sqrtl" = xyes; then :
72441 cat >>confdefs.h <<_ACEOF
72442 #define HAVE__SQRTL 1
72443 _ACEOF
72446 done
72455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72456 $as_echo_n "checking for sincosl declaration... " >&6; }
72457 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72458 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72459 $as_echo_n "(cached) " >&6
72460 else
72463 ac_ext=cpp
72464 ac_cpp='$CXXCPP $CPPFLAGS'
72465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72470 /* end confdefs.h. */
72471 #include <math.h>
72473 main ()
72475 sincosl(0, 0, 0);
72477 return 0;
72479 _ACEOF
72480 if ac_fn_cxx_try_compile "$LINENO"; then :
72481 glibcxx_cv_func_sincosl_use=yes
72482 else
72483 glibcxx_cv_func_sincosl_use=no
72485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72486 ac_ext=c
72487 ac_cpp='$CPP $CPPFLAGS'
72488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72497 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72499 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72500 for ac_func in sincosl
72501 do :
72502 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72503 if test "x$ac_cv_func_sincosl" = xyes; then :
72504 cat >>confdefs.h <<_ACEOF
72505 #define HAVE_SINCOSL 1
72506 _ACEOF
72509 done
72511 else
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72514 $as_echo_n "checking for _sincosl declaration... " >&6; }
72515 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72516 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72517 $as_echo_n "(cached) " >&6
72518 else
72521 ac_ext=cpp
72522 ac_cpp='$CXXCPP $CPPFLAGS'
72523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72528 /* end confdefs.h. */
72529 #include <math.h>
72531 main ()
72533 _sincosl(0, 0, 0);
72535 return 0;
72537 _ACEOF
72538 if ac_fn_cxx_try_compile "$LINENO"; then :
72539 glibcxx_cv_func__sincosl_use=yes
72540 else
72541 glibcxx_cv_func__sincosl_use=no
72543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72544 ac_ext=c
72545 ac_cpp='$CPP $CPPFLAGS'
72546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72555 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72557 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72558 for ac_func in _sincosl
72559 do :
72560 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72561 if test "x$ac_cv_func__sincosl" = xyes; then :
72562 cat >>confdefs.h <<_ACEOF
72563 #define HAVE__SINCOSL 1
72564 _ACEOF
72567 done
72576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72577 $as_echo_n "checking for finitel declaration... " >&6; }
72578 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72579 if ${glibcxx_cv_func_finitel_use+:} false; then :
72580 $as_echo_n "(cached) " >&6
72581 else
72584 ac_ext=cpp
72585 ac_cpp='$CXXCPP $CPPFLAGS'
72586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72591 /* end confdefs.h. */
72592 #include <math.h>
72593 #ifdef HAVE_IEEEFP_H
72594 #include <ieeefp.h>
72595 #endif
72598 main ()
72600 finitel(0);
72602 return 0;
72604 _ACEOF
72605 if ac_fn_cxx_try_compile "$LINENO"; then :
72606 glibcxx_cv_func_finitel_use=yes
72607 else
72608 glibcxx_cv_func_finitel_use=no
72610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72611 ac_ext=c
72612 ac_cpp='$CPP $CPPFLAGS'
72613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72622 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72624 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72625 for ac_func in finitel
72626 do :
72627 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72628 if test "x$ac_cv_func_finitel" = xyes; then :
72629 cat >>confdefs.h <<_ACEOF
72630 #define HAVE_FINITEL 1
72631 _ACEOF
72634 done
72636 else
72638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72639 $as_echo_n "checking for _finitel declaration... " >&6; }
72640 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72641 if ${glibcxx_cv_func__finitel_use+:} false; then :
72642 $as_echo_n "(cached) " >&6
72643 else
72646 ac_ext=cpp
72647 ac_cpp='$CXXCPP $CPPFLAGS'
72648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72653 /* end confdefs.h. */
72654 #include <math.h>
72655 #ifdef HAVE_IEEEFP_H
72656 #include <ieeefp.h>
72657 #endif
72660 main ()
72662 _finitel(0);
72664 return 0;
72666 _ACEOF
72667 if ac_fn_cxx_try_compile "$LINENO"; then :
72668 glibcxx_cv_func__finitel_use=yes
72669 else
72670 glibcxx_cv_func__finitel_use=no
72672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72673 ac_ext=c
72674 ac_cpp='$CPP $CPPFLAGS'
72675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72684 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72686 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72687 for ac_func in _finitel
72688 do :
72689 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72690 if test "x$ac_cv_func__finitel" = xyes; then :
72691 cat >>confdefs.h <<_ACEOF
72692 #define HAVE__FINITEL 1
72693 _ACEOF
72696 done
72704 LIBS="$ac_save_LIBS"
72705 CXXFLAGS="$ac_save_CXXFLAGS"
72708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72709 ac_save_CXXFLAGS="$CXXFLAGS"
72710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72714 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72715 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72716 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72717 $as_echo_n "(cached) " >&6
72718 else
72721 ac_ext=cpp
72722 ac_cpp='$CXXCPP $CPPFLAGS'
72723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72728 /* end confdefs.h. */
72729 #include <stdlib.h>
72731 main ()
72733 at_quick_exit(0);
72735 return 0;
72737 _ACEOF
72738 if ac_fn_cxx_try_compile "$LINENO"; then :
72739 glibcxx_cv_func_at_quick_exit_use=yes
72740 else
72741 glibcxx_cv_func_at_quick_exit_use=no
72743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72744 ac_ext=c
72745 ac_cpp='$CPP $CPPFLAGS'
72746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72755 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72756 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72757 for ac_func in at_quick_exit
72758 do :
72759 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72760 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72761 cat >>confdefs.h <<_ACEOF
72762 #define HAVE_AT_QUICK_EXIT 1
72763 _ACEOF
72766 done
72771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72772 $as_echo_n "checking for quick_exit declaration... " >&6; }
72773 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72774 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72775 $as_echo_n "(cached) " >&6
72776 else
72779 ac_ext=cpp
72780 ac_cpp='$CXXCPP $CPPFLAGS'
72781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72786 /* end confdefs.h. */
72787 #include <stdlib.h>
72789 main ()
72791 quick_exit(0);
72793 return 0;
72795 _ACEOF
72796 if ac_fn_cxx_try_compile "$LINENO"; then :
72797 glibcxx_cv_func_quick_exit_use=yes
72798 else
72799 glibcxx_cv_func_quick_exit_use=no
72801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72802 ac_ext=c
72803 ac_cpp='$CPP $CPPFLAGS'
72804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72813 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72814 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72815 for ac_func in quick_exit
72816 do :
72817 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72818 if test "x$ac_cv_func_quick_exit" = xyes; then :
72819 cat >>confdefs.h <<_ACEOF
72820 #define HAVE_QUICK_EXIT 1
72821 _ACEOF
72824 done
72829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72830 $as_echo_n "checking for strtold declaration... " >&6; }
72831 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72832 if ${glibcxx_cv_func_strtold_use+:} false; then :
72833 $as_echo_n "(cached) " >&6
72834 else
72837 ac_ext=cpp
72838 ac_cpp='$CXXCPP $CPPFLAGS'
72839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72844 /* end confdefs.h. */
72845 #include <stdlib.h>
72847 main ()
72849 strtold(0, 0);
72851 return 0;
72853 _ACEOF
72854 if ac_fn_cxx_try_compile "$LINENO"; then :
72855 glibcxx_cv_func_strtold_use=yes
72856 else
72857 glibcxx_cv_func_strtold_use=no
72859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72860 ac_ext=c
72861 ac_cpp='$CPP $CPPFLAGS'
72862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72871 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72872 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72873 for ac_func in strtold
72874 do :
72875 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72876 if test "x$ac_cv_func_strtold" = xyes; then :
72877 cat >>confdefs.h <<_ACEOF
72878 #define HAVE_STRTOLD 1
72879 _ACEOF
72882 done
72889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72890 $as_echo_n "checking for strtof declaration... " >&6; }
72891 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72892 if ${glibcxx_cv_func_strtof_use+:} false; then :
72893 $as_echo_n "(cached) " >&6
72894 else
72897 ac_ext=cpp
72898 ac_cpp='$CXXCPP $CPPFLAGS'
72899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72904 /* end confdefs.h. */
72905 #include <stdlib.h>
72907 main ()
72909 strtof(0, 0);
72911 return 0;
72913 _ACEOF
72914 if ac_fn_cxx_try_compile "$LINENO"; then :
72915 glibcxx_cv_func_strtof_use=yes
72916 else
72917 glibcxx_cv_func_strtof_use=no
72919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72920 ac_ext=c
72921 ac_cpp='$CPP $CPPFLAGS'
72922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72931 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72932 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72933 for ac_func in strtof
72934 do :
72935 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72936 if test "x$ac_cv_func_strtof" = xyes; then :
72937 cat >>confdefs.h <<_ACEOF
72938 #define HAVE_STRTOF 1
72939 _ACEOF
72942 done
72949 CXXFLAGS="$ac_save_CXXFLAGS"
72952 *-vxworks)
72953 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72955 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72957 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72959 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72961 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72963 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72965 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72967 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72969 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72971 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72973 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72975 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72977 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72979 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72981 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72983 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72985 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72987 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72989 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72991 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72998 $as_echo_n "checking for acosl declaration... " >&6; }
72999 if ${glibcxx_cv_func_acosl_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 acosl
73020 main ()
73023 void (*f)(void) = (void (*)(void))acosl;
73026 return 0;
73028 _ACEOF
73029 if ac_fn_c_try_compile "$LINENO"; then :
73030 glibcxx_cv_func_acosl_use=yes
73032 else
73033 glibcxx_cv_func_acosl_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_acosl_use" >&5
73038 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
73039 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
73040 cat >>confdefs.h <<_ACEOF
73041 #define HAVE_ACOSL 1
73042 _ACEOF
73048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
73049 $as_echo_n "checking for asinl declaration... " >&6; }
73050 if ${glibcxx_cv_func_asinl_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 asinl
73071 main ()
73074 void (*f)(void) = (void (*)(void))asinl;
73077 return 0;
73079 _ACEOF
73080 if ac_fn_c_try_compile "$LINENO"; then :
73081 glibcxx_cv_func_asinl_use=yes
73083 else
73084 glibcxx_cv_func_asinl_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_asinl_use" >&5
73089 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
73090 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
73091 cat >>confdefs.h <<_ACEOF
73092 #define HAVE_ASINL 1
73093 _ACEOF
73099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
73100 $as_echo_n "checking for atan2l declaration... " >&6; }
73101 if ${glibcxx_cv_func_atan2l_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 atan2l
73122 main ()
73125 void (*f)(void) = (void (*)(void))atan2l;
73128 return 0;
73130 _ACEOF
73131 if ac_fn_c_try_compile "$LINENO"; then :
73132 glibcxx_cv_func_atan2l_use=yes
73134 else
73135 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
73140 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
73141 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
73142 cat >>confdefs.h <<_ACEOF
73143 #define HAVE_ATAN2L 1
73144 _ACEOF
73150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
73151 $as_echo_n "checking for atanl declaration... " >&6; }
73152 if ${glibcxx_cv_func_atanl_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 atanl
73173 main ()
73176 void (*f)(void) = (void (*)(void))atanl;
73179 return 0;
73181 _ACEOF
73182 if ac_fn_c_try_compile "$LINENO"; then :
73183 glibcxx_cv_func_atanl_use=yes
73185 else
73186 glibcxx_cv_func_atanl_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_atanl_use" >&5
73191 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
73192 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
73193 cat >>confdefs.h <<_ACEOF
73194 #define HAVE_ATANL 1
73195 _ACEOF
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
73202 $as_echo_n "checking for ceill declaration... " >&6; }
73203 if ${glibcxx_cv_func_ceill_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 ceill
73224 main ()
73227 void (*f)(void) = (void (*)(void))ceill;
73230 return 0;
73232 _ACEOF
73233 if ac_fn_c_try_compile "$LINENO"; then :
73234 glibcxx_cv_func_ceill_use=yes
73236 else
73237 glibcxx_cv_func_ceill_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_ceill_use" >&5
73242 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
73243 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
73244 cat >>confdefs.h <<_ACEOF
73245 #define HAVE_CEILL 1
73246 _ACEOF
73252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73253 $as_echo_n "checking for cosl declaration... " >&6; }
73254 if ${glibcxx_cv_func_cosl_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 cosl
73275 main ()
73278 void (*f)(void) = (void (*)(void))cosl;
73281 return 0;
73283 _ACEOF
73284 if ac_fn_c_try_compile "$LINENO"; then :
73285 glibcxx_cv_func_cosl_use=yes
73287 else
73288 glibcxx_cv_func_cosl_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_cosl_use" >&5
73293 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73294 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73295 cat >>confdefs.h <<_ACEOF
73296 #define HAVE_COSL 1
73297 _ACEOF
73303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73304 $as_echo_n "checking for coshl declaration... " >&6; }
73305 if ${glibcxx_cv_func_coshl_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 coshl
73326 main ()
73329 void (*f)(void) = (void (*)(void))coshl;
73332 return 0;
73334 _ACEOF
73335 if ac_fn_c_try_compile "$LINENO"; then :
73336 glibcxx_cv_func_coshl_use=yes
73338 else
73339 glibcxx_cv_func_coshl_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_coshl_use" >&5
73344 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73345 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73346 cat >>confdefs.h <<_ACEOF
73347 #define HAVE_COSHL 1
73348 _ACEOF
73354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73355 $as_echo_n "checking for expl declaration... " >&6; }
73356 if ${glibcxx_cv_func_expl_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 expl
73377 main ()
73380 void (*f)(void) = (void (*)(void))expl;
73383 return 0;
73385 _ACEOF
73386 if ac_fn_c_try_compile "$LINENO"; then :
73387 glibcxx_cv_func_expl_use=yes
73389 else
73390 glibcxx_cv_func_expl_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_expl_use" >&5
73395 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73396 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73397 cat >>confdefs.h <<_ACEOF
73398 #define HAVE_EXPL 1
73399 _ACEOF
73405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73406 $as_echo_n "checking for fabsl declaration... " >&6; }
73407 if ${glibcxx_cv_func_fabsl_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 fabsl
73428 main ()
73431 void (*f)(void) = (void (*)(void))fabsl;
73434 return 0;
73436 _ACEOF
73437 if ac_fn_c_try_compile "$LINENO"; then :
73438 glibcxx_cv_func_fabsl_use=yes
73440 else
73441 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
73446 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73447 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73448 cat >>confdefs.h <<_ACEOF
73449 #define HAVE_FABSL 1
73450 _ACEOF
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73457 $as_echo_n "checking for floorl declaration... " >&6; }
73458 if ${glibcxx_cv_func_floorl_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 floorl
73479 main ()
73482 void (*f)(void) = (void (*)(void))floorl;
73485 return 0;
73487 _ACEOF
73488 if ac_fn_c_try_compile "$LINENO"; then :
73489 glibcxx_cv_func_floorl_use=yes
73491 else
73492 glibcxx_cv_func_floorl_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_floorl_use" >&5
73497 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73498 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73499 cat >>confdefs.h <<_ACEOF
73500 #define HAVE_FLOORL 1
73501 _ACEOF
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73508 $as_echo_n "checking for fmodl declaration... " >&6; }
73509 if ${glibcxx_cv_func_fmodl_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 fmodl
73530 main ()
73533 void (*f)(void) = (void (*)(void))fmodl;
73536 return 0;
73538 _ACEOF
73539 if ac_fn_c_try_compile "$LINENO"; then :
73540 glibcxx_cv_func_fmodl_use=yes
73542 else
73543 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
73548 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73549 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73550 cat >>confdefs.h <<_ACEOF
73551 #define HAVE_FMODL 1
73552 _ACEOF
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73559 $as_echo_n "checking for frexpl declaration... " >&6; }
73560 if ${glibcxx_cv_func_frexpl_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 frexpl
73581 main ()
73584 void (*f)(void) = (void (*)(void))frexpl;
73587 return 0;
73589 _ACEOF
73590 if ac_fn_c_try_compile "$LINENO"; then :
73591 glibcxx_cv_func_frexpl_use=yes
73593 else
73594 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
73599 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73600 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73601 cat >>confdefs.h <<_ACEOF
73602 #define HAVE_FREXPL 1
73603 _ACEOF
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73610 $as_echo_n "checking for ldexpl declaration... " >&6; }
73611 if ${glibcxx_cv_func_ldexpl_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 ldexpl
73632 main ()
73635 void (*f)(void) = (void (*)(void))ldexpl;
73638 return 0;
73640 _ACEOF
73641 if ac_fn_c_try_compile "$LINENO"; then :
73642 glibcxx_cv_func_ldexpl_use=yes
73644 else
73645 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
73650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73651 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73652 cat >>confdefs.h <<_ACEOF
73653 #define HAVE_LDEXPL 1
73654 _ACEOF
73660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73661 $as_echo_n "checking for log10l declaration... " >&6; }
73662 if ${glibcxx_cv_func_log10l_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 log10l
73683 main ()
73686 void (*f)(void) = (void (*)(void))log10l;
73689 return 0;
73691 _ACEOF
73692 if ac_fn_c_try_compile "$LINENO"; then :
73693 glibcxx_cv_func_log10l_use=yes
73695 else
73696 glibcxx_cv_func_log10l_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_log10l_use" >&5
73701 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73702 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73703 cat >>confdefs.h <<_ACEOF
73704 #define HAVE_LOG10L 1
73705 _ACEOF
73711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73712 $as_echo_n "checking for logl declaration... " >&6; }
73713 if ${glibcxx_cv_func_logl_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 logl
73734 main ()
73737 void (*f)(void) = (void (*)(void))logl;
73740 return 0;
73742 _ACEOF
73743 if ac_fn_c_try_compile "$LINENO"; then :
73744 glibcxx_cv_func_logl_use=yes
73746 else
73747 glibcxx_cv_func_logl_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_logl_use" >&5
73752 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73753 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73754 cat >>confdefs.h <<_ACEOF
73755 #define HAVE_LOGL 1
73756 _ACEOF
73762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73763 $as_echo_n "checking for modfl declaration... " >&6; }
73764 if ${glibcxx_cv_func_modfl_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 modfl
73785 main ()
73788 void (*f)(void) = (void (*)(void))modfl;
73791 return 0;
73793 _ACEOF
73794 if ac_fn_c_try_compile "$LINENO"; then :
73795 glibcxx_cv_func_modfl_use=yes
73797 else
73798 glibcxx_cv_func_modfl_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_modfl_use" >&5
73803 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73804 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73805 cat >>confdefs.h <<_ACEOF
73806 #define HAVE_MODFL 1
73807 _ACEOF
73813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73814 $as_echo_n "checking for powl declaration... " >&6; }
73815 if ${glibcxx_cv_func_powl_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 powl
73836 main ()
73839 void (*f)(void) = (void (*)(void))powl;
73842 return 0;
73844 _ACEOF
73845 if ac_fn_c_try_compile "$LINENO"; then :
73846 glibcxx_cv_func_powl_use=yes
73848 else
73849 glibcxx_cv_func_powl_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_powl_use" >&5
73854 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73855 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73856 cat >>confdefs.h <<_ACEOF
73857 #define HAVE_POWL 1
73858 _ACEOF
73864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73865 $as_echo_n "checking for sinl declaration... " >&6; }
73866 if ${glibcxx_cv_func_sinl_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 sinl
73887 main ()
73890 void (*f)(void) = (void (*)(void))sinl;
73893 return 0;
73895 _ACEOF
73896 if ac_fn_c_try_compile "$LINENO"; then :
73897 glibcxx_cv_func_sinl_use=yes
73899 else
73900 glibcxx_cv_func_sinl_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_sinl_use" >&5
73905 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73906 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73907 cat >>confdefs.h <<_ACEOF
73908 #define HAVE_SINL 1
73909 _ACEOF
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73916 $as_echo_n "checking for sinhl declaration... " >&6; }
73917 if ${glibcxx_cv_func_sinhl_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 sinhl
73938 main ()
73941 void (*f)(void) = (void (*)(void))sinhl;
73944 return 0;
73946 _ACEOF
73947 if ac_fn_c_try_compile "$LINENO"; then :
73948 glibcxx_cv_func_sinhl_use=yes
73950 else
73951 glibcxx_cv_func_sinhl_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_sinhl_use" >&5
73956 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73957 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73958 cat >>confdefs.h <<_ACEOF
73959 #define HAVE_SINHL 1
73960 _ACEOF
73966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73967 $as_echo_n "checking for sqrtl declaration... " >&6; }
73968 if ${glibcxx_cv_func_sqrtl_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 sqrtl
73989 main ()
73992 void (*f)(void) = (void (*)(void))sqrtl;
73995 return 0;
73997 _ACEOF
73998 if ac_fn_c_try_compile "$LINENO"; then :
73999 glibcxx_cv_func_sqrtl_use=yes
74001 else
74002 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
74007 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
74008 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
74009 cat >>confdefs.h <<_ACEOF
74010 #define HAVE_SQRTL 1
74011 _ACEOF
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
74018 $as_echo_n "checking for tanl declaration... " >&6; }
74019 if ${glibcxx_cv_func_tanl_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 tanl
74040 main ()
74043 void (*f)(void) = (void (*)(void))tanl;
74046 return 0;
74048 _ACEOF
74049 if ac_fn_c_try_compile "$LINENO"; then :
74050 glibcxx_cv_func_tanl_use=yes
74052 else
74053 glibcxx_cv_func_tanl_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_tanl_use" >&5
74058 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
74059 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
74060 cat >>confdefs.h <<_ACEOF
74061 #define HAVE_TANL 1
74062 _ACEOF
74068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
74069 $as_echo_n "checking for tanhl declaration... " >&6; }
74070 if ${glibcxx_cv_func_tanhl_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 tanhl
74091 main ()
74094 void (*f)(void) = (void (*)(void))tanhl;
74097 return 0;
74099 _ACEOF
74100 if ac_fn_c_try_compile "$LINENO"; then :
74101 glibcxx_cv_func_tanhl_use=yes
74103 else
74104 glibcxx_cv_func_tanhl_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_tanhl_use" >&5
74109 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
74110 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
74111 cat >>confdefs.h <<_ACEOF
74112 #define HAVE_TANHL 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
74340 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74342 acx_cv_header_stdint=stddef.h
74343 acx_cv_header_stdint_kind="(already complete)"
74344 for i in stdint.h $inttype_headers; do
74345 unset ac_cv_type_uintptr_t
74346 unset ac_cv_type_uintmax_t
74347 unset ac_cv_type_int_least32_t
74348 unset ac_cv_type_int_fast32_t
74349 unset ac_cv_type_uint64_t
74350 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74351 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74352 #include <$i>
74354 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74355 acx_cv_header_stdint=$i
74356 else
74357 continue
74360 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74361 #include <$i>
74363 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74365 else
74366 acx_cv_header_stdint_kind="(mostly complete)"
74369 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74370 #include <$i>
74372 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74374 else
74375 acx_cv_header_stdint_kind="(mostly complete)"
74378 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74379 #include <$i>
74381 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74383 else
74384 acx_cv_header_stdint_kind="(mostly complete)"
74387 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74388 #include <$i>
74390 if test "x$ac_cv_type_uint64_t" = xyes; then :
74392 else
74393 acx_cv_header_stdint_kind="(lacks uint64_t)"
74396 break
74397 done
74398 if test "$acx_cv_header_stdint" = stddef.h; then
74399 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74400 for i in stdint.h $inttype_headers; do
74401 unset ac_cv_type_uintptr_t
74402 unset ac_cv_type_uint32_t
74403 unset ac_cv_type_uint64_t
74404 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74405 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74406 #include <$i>
74408 if test "x$ac_cv_type_uint32_t" = xyes; then :
74409 acx_cv_header_stdint=$i
74410 else
74411 continue
74414 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74415 #include <$i>
74417 if test "x$ac_cv_type_uint64_t" = xyes; then :
74421 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74422 #include <$i>
74424 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74428 break
74429 done
74431 if test "$acx_cv_header_stdint" = stddef.h; then
74432 acx_cv_header_stdint_kind="(u_intXX_t style)"
74433 for i in sys/types.h $inttype_headers; do
74434 unset ac_cv_type_u_int32_t
74435 unset ac_cv_type_u_int64_t
74436 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74437 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74438 #include <$i>
74440 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74441 acx_cv_header_stdint=$i
74442 else
74443 continue
74446 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74447 #include <$i>
74449 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74453 break
74454 done
74456 if test "$acx_cv_header_stdint" = stddef.h; then
74457 acx_cv_header_stdint_kind="(using manual detection)"
74460 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74461 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74462 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74463 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74464 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74466 # ----------------- Summarize what we found so far
74468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74469 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74471 case `$as_basename -- include/gstdint.h ||
74472 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74473 Xinclude/gstdint.h : 'X\(//\)$' \| \
74474 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74475 $as_echo X/include/gstdint.h |
74476 sed '/^.*\/\([^/][^/]*\)\/*$/{
74477 s//\1/
74480 /^X\/\(\/\/\)$/{
74481 s//\1/
74484 /^X\/\(\/\).*/{
74485 s//\1/
74488 s/.*/./; q'` in
74489 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74490 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74491 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74492 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74493 *) ;;
74494 esac
74496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74497 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74499 # ----------------- done included file, check C basic types --------
74501 # Lacking an uintptr_t? Test size of void *
74502 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74503 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74506 # This bug is HP SR number 8606223364.
74507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74508 $as_echo_n "checking size of void *... " >&6; }
74509 if ${ac_cv_sizeof_void_p+:} false; then :
74510 $as_echo_n "(cached) " >&6
74511 else
74512 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74514 else
74515 if test "$ac_cv_type_void_p" = yes; then
74516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74518 as_fn_error 77 "cannot compute sizeof (void *)
74519 See \`config.log' for more details" "$LINENO" 5; }
74520 else
74521 ac_cv_sizeof_void_p=0
74526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74527 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74531 cat >>confdefs.h <<_ACEOF
74532 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74533 _ACEOF
74536 esac
74538 # Lacking an uint64_t? Test size of long
74539 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74540 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74543 # This bug is HP SR number 8606223364.
74544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74545 $as_echo_n "checking size of long... " >&6; }
74546 if ${ac_cv_sizeof_long+:} false; then :
74547 $as_echo_n "(cached) " >&6
74548 else
74549 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74551 else
74552 if test "$ac_cv_type_long" = yes; then
74553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74555 as_fn_error 77 "cannot compute sizeof (long)
74556 See \`config.log' for more details" "$LINENO" 5; }
74557 else
74558 ac_cv_sizeof_long=0
74563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74564 $as_echo "$ac_cv_sizeof_long" >&6; }
74568 cat >>confdefs.h <<_ACEOF
74569 #define SIZEOF_LONG $ac_cv_sizeof_long
74570 _ACEOF
74573 esac
74575 if test $acx_cv_header_stdint = stddef.h; then
74576 # Lacking a good header? Test size of everything and deduce all types.
74577 # The cast to long int works around a bug in the HP C Compiler
74578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74580 # This bug is HP SR number 8606223364.
74581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74582 $as_echo_n "checking size of int... " >&6; }
74583 if ${ac_cv_sizeof_int+:} false; then :
74584 $as_echo_n "(cached) " >&6
74585 else
74586 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74588 else
74589 if test "$ac_cv_type_int" = yes; then
74590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74592 as_fn_error 77 "cannot compute sizeof (int)
74593 See \`config.log' for more details" "$LINENO" 5; }
74594 else
74595 ac_cv_sizeof_int=0
74600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74601 $as_echo "$ac_cv_sizeof_int" >&6; }
74605 cat >>confdefs.h <<_ACEOF
74606 #define SIZEOF_INT $ac_cv_sizeof_int
74607 _ACEOF
74610 # The cast to long int works around a bug in the HP C Compiler
74611 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74612 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74613 # This bug is HP SR number 8606223364.
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74615 $as_echo_n "checking size of short... " >&6; }
74616 if ${ac_cv_sizeof_short+:} false; then :
74617 $as_echo_n "(cached) " >&6
74618 else
74619 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74621 else
74622 if test "$ac_cv_type_short" = yes; then
74623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74625 as_fn_error 77 "cannot compute sizeof (short)
74626 See \`config.log' for more details" "$LINENO" 5; }
74627 else
74628 ac_cv_sizeof_short=0
74633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74634 $as_echo "$ac_cv_sizeof_short" >&6; }
74638 cat >>confdefs.h <<_ACEOF
74639 #define SIZEOF_SHORT $ac_cv_sizeof_short
74640 _ACEOF
74643 # The cast to long int works around a bug in the HP C Compiler
74644 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74645 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74646 # This bug is HP SR number 8606223364.
74647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74648 $as_echo_n "checking size of char... " >&6; }
74649 if ${ac_cv_sizeof_char+:} false; then :
74650 $as_echo_n "(cached) " >&6
74651 else
74652 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74654 else
74655 if test "$ac_cv_type_char" = yes; then
74656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74658 as_fn_error 77 "cannot compute sizeof (char)
74659 See \`config.log' for more details" "$LINENO" 5; }
74660 else
74661 ac_cv_sizeof_char=0
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74667 $as_echo "$ac_cv_sizeof_char" >&6; }
74671 cat >>confdefs.h <<_ACEOF
74672 #define SIZEOF_CHAR $ac_cv_sizeof_char
74673 _ACEOF
74677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74678 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74679 case "$ac_cv_sizeof_char" in
74680 1) acx_cv_type_int8_t=char ;;
74681 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74682 esac
74683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74684 $as_echo "$acx_cv_type_int8_t" >&6; }
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74687 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74688 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74689 2:*) acx_cv_type_int16_t=int ;;
74690 *:2) acx_cv_type_int16_t=short ;;
74691 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74692 esac
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74694 $as_echo "$acx_cv_type_int16_t" >&6; }
74696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74697 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74698 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74699 4:*) acx_cv_type_int32_t=int ;;
74700 *:4) acx_cv_type_int32_t=long ;;
74701 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74702 esac
74703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74704 $as_echo "$acx_cv_type_int32_t" >&6; }
74707 # These tests are here to make the output prettier
74709 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74710 case "$ac_cv_sizeof_long" in
74711 8) acx_cv_type_int64_t=long ;;
74712 esac
74713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74714 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74716 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74719 # Now we can use the above types
74721 if test "$ac_cv_type_uintptr_t" != yes; then
74722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74723 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74724 case $ac_cv_sizeof_void_p in
74725 2) acx_cv_type_intptr_t=int16_t ;;
74726 4) acx_cv_type_intptr_t=int32_t ;;
74727 8) acx_cv_type_intptr_t=int64_t ;;
74728 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74729 esac
74730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74731 $as_echo "$acx_cv_type_intptr_t" >&6; }
74734 # ----------------- done all checks, emit header -------------
74735 ac_config_commands="$ac_config_commands include/gstdint.h"
74741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74742 $as_echo_n "checking for GNU c++filt... " >&6; }
74743 if ${ac_cv_path_CXXFILT+:} false; then :
74744 $as_echo_n "(cached) " >&6
74745 else
74746 if test -z "$CXXFILT"; then
74747 ac_path_CXXFILT_found=false
74748 # Loop through the user's path and test for each of PROGNAME-LIST
74749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74750 for as_dir in $PATH
74752 IFS=$as_save_IFS
74753 test -z "$as_dir" && as_dir=.
74754 for ac_prog in c++filt gc++filt; do
74755 for ac_exec_ext in '' $ac_executable_extensions; do
74756 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74757 as_fn_executable_p "$ac_path_CXXFILT" || continue
74758 # Check for GNU $ac_path_CXXFILT
74759 case `"$ac_path_CXXFILT" --version 2>&1` in
74760 *GNU*)
74761 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74762 esac
74764 $ac_path_CXXFILT_found && break 3
74765 done
74766 done
74767 done
74768 IFS=$as_save_IFS
74769 if test -z "$ac_cv_path_CXXFILT"; then
74772 else
74773 ac_cv_path_CXXFILT=$CXXFILT
74777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74778 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74779 CXXFILT=$ac_cv_path_CXXFILT
74783 # Check whether --enable-symvers was given.
74784 if test "${enable_symvers+set}" = set; then :
74785 enableval=$enable_symvers;
74786 case "$enableval" in
74787 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74788 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74789 esac
74791 else
74792 enable_symvers=yes
74797 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74798 # don't know enough about $LD to do tricks...
74800 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74801 # with extern "C++" in version scripts.
74804 # Turn a 'yes' into a suitable default.
74805 if test x$enable_symvers = xyes ; then
74806 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74807 enable_symvers=no
74808 else
74809 if test $with_gnu_ld = yes ; then
74810 case ${target_os} in
74811 hpux*)
74812 enable_symvers=no ;;
74814 enable_symvers=gnu ;;
74815 esac
74816 else
74817 case ${target_os} in
74818 darwin*)
74819 enable_symvers=darwin ;;
74820 # Sun symbol versioning exists since Solaris 2.5.
74821 solaris2.[5-9]* | solaris2.1[0-9]*)
74822 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74823 # version scripts, so disable symbol versioning if none can be
74824 # found.
74825 if test -z "$ac_cv_path_CXXFILT"; then
74826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74827 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74829 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74831 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74832 enable_symvers=no
74833 else
74834 enable_symvers=sun
74838 enable_symvers=no ;;
74839 esac
74844 # Check to see if 'darwin' or 'darwin-export' can win.
74845 if test x$enable_symvers = xdarwin-export ; then
74846 enable_symvers=darwin
74849 # Check if 'sun' was requested on non-Solaris 2 platforms.
74850 if test x$enable_symvers = xsun ; then
74851 case ${target_os} in
74852 solaris2*)
74853 # All fine.
74856 # Unlikely to work.
74857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74858 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74860 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74862 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74863 enable_symvers=no
74865 esac
74868 # Check to see if 'gnu' can win.
74869 if test $enable_symvers = gnu ||
74870 test $enable_symvers = gnu-versioned-namespace ||
74871 test $enable_symvers = sun; then
74872 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74874 $as_echo_n "checking for shared libgcc... " >&6; }
74875 ac_save_CFLAGS="$CFLAGS"
74876 CFLAGS=' -lgcc_s'
74877 if test x$gcc_no_link = xyes; then
74878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74881 /* end confdefs.h. */
74884 main ()
74886 return 0;
74888 return 0;
74890 _ACEOF
74891 if ac_fn_c_try_link "$LINENO"; then :
74892 glibcxx_shared_libgcc=yes
74893 else
74894 glibcxx_shared_libgcc=no
74896 rm -f core conftest.err conftest.$ac_objext \
74897 conftest$ac_exeext conftest.$ac_ext
74898 CFLAGS="$ac_save_CFLAGS"
74899 if test $glibcxx_shared_libgcc = no; then
74900 cat > conftest.c <<EOF
74901 int main (void) { return 0; }
74903 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74904 -shared -shared-libgcc -o conftest.so \
74905 conftest.c -v 2>&1 >/dev/null \
74906 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74907 rm -f conftest.c conftest.so
74908 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74909 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74910 if test x$gcc_no_link = xyes; then
74911 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74914 /* end confdefs.h. */
74917 main ()
74919 return 0;
74921 return 0;
74923 _ACEOF
74924 if ac_fn_c_try_link "$LINENO"; then :
74925 glibcxx_shared_libgcc=yes
74927 rm -f core conftest.err conftest.$ac_objext \
74928 conftest$ac_exeext conftest.$ac_ext
74929 CFLAGS="$ac_save_CFLAGS"
74932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74933 $as_echo "$glibcxx_shared_libgcc" >&6; }
74935 # For GNU ld, we need at least this version. The format is described in
74936 # GLIBCXX_CHECK_LINKER_FEATURES above.
74937 glibcxx_min_gnu_ld_version=21400
74939 # If no shared libgcc, can't win.
74940 if test $glibcxx_shared_libgcc != yes; then
74941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74942 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74944 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74946 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74947 enable_symvers=no
74948 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74949 : All interesting versions of Sun ld support sun style symbol versioning.
74950 elif test $with_gnu_ld != yes ; then
74951 # just fail for now
74952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74953 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74955 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74957 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74958 enable_symvers=no
74959 elif test $glibcxx_ld_is_gold = yes ; then
74960 : All versions of gold support symbol versioning.
74961 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74962 # The right tools, the right setup, but too old. Fallbacks?
74963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74964 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74966 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74968 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74970 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74972 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74973 enable_symvers=no
74977 # For libtool versioning info, format is CURRENT:REVISION:AGE
74978 libtool_VERSION=6:28:0
74980 # Everything parsed; figure out what files and settings to use.
74981 case $enable_symvers in
74983 SYMVER_FILE=config/abi/pre/none.ver
74985 gnu)
74986 SYMVER_FILE=config/abi/pre/gnu.ver
74988 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74991 gnu-versioned-namespace)
74992 libtool_VERSION=8:0:0
74993 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74995 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74998 darwin)
74999 SYMVER_FILE=config/abi/pre/gnu.ver
75001 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75004 sun)
75005 SYMVER_FILE=config/abi/pre/gnu.ver
75007 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75010 esac
75012 if test x$enable_symvers != xno ; then
75014 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75019 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75020 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75021 $as_echo_n "(cached) " >&6
75022 else
75024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75025 /* end confdefs.h. */
75026 void foo (void); __asm (".symver foo, bar@SYMVER");
75028 main ()
75032 return 0;
75034 _ACEOF
75035 if ac_fn_c_try_compile "$LINENO"; then :
75036 glibcxx_cv_have_as_symver_directive=yes
75037 else
75038 glibcxx_cv_have_as_symver_directive=no
75040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75043 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75044 if test $glibcxx_cv_have_as_symver_directive = yes; then
75046 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75057 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75058 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75060 if test $enable_symvers != no ; then
75061 case ${target_os} in
75062 # The Solaris 2 runtime linker doesn't support the GNU extension of
75063 # binding the same symbol to different versions
75064 solaris2*)
75066 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75069 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75072 esac
75075 # Now, set up compatibility support, if any.
75076 # In addition, need this to deal with std::size_t mangling in
75077 # src/compatibility.cc. In a perfect world, could use
75078 # typeid(std::size_t).name()[0] to do direct substitution.
75079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75080 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75081 ac_save_CFLAGS="$CFLAGS"
75082 CFLAGS="-Werror"
75083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75084 /* end confdefs.h. */
75087 main ()
75089 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75091 return 0;
75093 _ACEOF
75094 if ac_fn_c_try_compile "$LINENO"; then :
75095 glibcxx_size_t_is_i=yes
75096 else
75097 glibcxx_size_t_is_i=no
75099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75100 CFLAGS=$ac_save_CFLAGS
75101 if test "$glibcxx_size_t_is_i" = yes; then
75103 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75107 $as_echo "$glibcxx_size_t_is_i" >&6; }
75109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75110 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75111 ac_save_CFLAGS="$CFLAGS"
75112 CFLAGS="-Werror"
75113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75114 /* end confdefs.h. */
75117 main ()
75119 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75121 return 0;
75123 _ACEOF
75124 if ac_fn_c_try_compile "$LINENO"; then :
75125 glibcxx_ptrdiff_t_is_i=yes
75126 else
75127 glibcxx_ptrdiff_t_is_i=no
75129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75130 CFLAGS=$ac_save_CFLAGS
75131 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75133 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75137 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75142 # Check whether --enable-libstdcxx-visibility was given.
75143 if test "${enable_libstdcxx_visibility+set}" = set; then :
75144 enableval=$enable_libstdcxx_visibility;
75145 case "$enableval" in
75146 yes|no) ;;
75147 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75148 esac
75150 else
75151 enable_libstdcxx_visibility=yes
75156 if test x$enable_libstdcxx_visibility = xyes ; then
75157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75158 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75159 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75160 $as_echo_n "(cached) " >&6
75161 else
75163 save_CFLAGS="$CFLAGS"
75164 CFLAGS="$CFLAGS -Werror"
75165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75166 /* end confdefs.h. */
75167 void __attribute__((visibility("hidden"))) foo(void) { }
75169 main ()
75173 return 0;
75175 _ACEOF
75176 if ac_fn_c_try_compile "$LINENO"; then :
75177 glibcxx_cv_have_attribute_visibility=yes
75178 else
75179 glibcxx_cv_have_attribute_visibility=no
75181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75182 CFLAGS="$save_CFLAGS"
75184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75185 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75186 if test $glibcxx_cv_have_attribute_visibility = no; then
75187 enable_libstdcxx_visibility=no
75192 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75193 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75197 # Check whether --enable-libstdcxx-dual-abi was given.
75198 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75199 enableval=$enable_libstdcxx_dual_abi;
75200 case "$enableval" in
75201 yes|no) ;;
75202 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75203 esac
75205 else
75206 enable_libstdcxx_dual_abi=yes
75210 if test x$enable_symvers = xgnu-versioned-namespace; then
75211 # gnu-versioned-namespace is incompatible with the dual ABI.
75212 enable_libstdcxx_dual_abi="no"
75214 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75215 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75216 $as_echo "$as_me: dual ABI is disabled" >&6;}
75217 default_libstdcxx_abi="gcc4-compatible"
75222 if test x$enable_libstdcxx_dual_abi = xyes; then
75223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75224 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75226 # Check whether --with-default-libstdcxx-abi was given.
75227 if test "${with_default_libstdcxx_abi+set}" = set; then :
75228 withval=$with_default_libstdcxx_abi; case "$withval" in
75229 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75230 new|cxx11) default_libstdcxx_abi="new" ;;
75231 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75232 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75233 esac
75235 else
75236 default_libstdcxx_abi="new"
75239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75240 $as_echo "${default_libstdcxx_abi}" >&6; }
75242 if test $default_libstdcxx_abi = "new"; then
75243 glibcxx_cxx11_abi=1
75244 glibcxx_cxx98_abi=0
75245 else
75246 glibcxx_cxx11_abi=0
75247 glibcxx_cxx98_abi=1
75253 ac_ldbl_compat=no
75254 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75255 case "$target" in
75256 powerpc*-*-linux* | \
75257 sparc*-*-linux* | \
75258 s390*-*-linux* | \
75259 alpha*-*-linux*)
75260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75261 /* end confdefs.h. */
75264 main ()
75267 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75268 #error no need for long double compatibility
75269 #endif
75272 return 0;
75274 _ACEOF
75275 if ac_fn_c_try_compile "$LINENO"; then :
75276 ac_ldbl_compat=yes
75277 else
75278 ac_ldbl_compat=no
75280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75281 if test "$ac_ldbl_compat" = yes; then
75283 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75285 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75286 case "$target" in
75287 powerpc*-*-linux*)
75288 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
75289 esac
75291 esac
75295 # Check if assembler supports disabling hardware capability support.
75297 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75299 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75300 # with a different meaning.
75301 case ${target_os} in
75302 solaris2*)
75303 ac_save_CFLAGS="$CFLAGS"
75304 CFLAGS="$CFLAGS -Wa,-nH"
75306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75307 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75309 /* end confdefs.h. */
75312 main ()
75314 return 0;
75316 return 0;
75318 _ACEOF
75319 if ac_fn_c_try_compile "$LINENO"; then :
75320 ac_hwcap_flags=yes
75321 else
75322 ac_hwcap_flags=no
75324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75325 if test "$ac_hwcap_flags" = "yes"; then
75326 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75329 $as_echo "$ac_hwcap_flags" >&6; }
75331 CFLAGS="$ac_save_CFLAGS"
75333 esac
75338 # Check if assembler supports rdrand opcode.
75340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75341 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75342 if ${ac_cv_x86_rdrand+:} false; then :
75343 $as_echo_n "(cached) " >&6
75344 else
75346 ac_cv_x86_rdrand=no
75347 case "$target" in
75348 i?86-*-* | \
75349 x86_64-*-*)
75350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75351 /* end confdefs.h. */
75354 main ()
75356 asm("rdrand %eax");
75358 return 0;
75360 _ACEOF
75361 if ac_fn_c_try_compile "$LINENO"; then :
75362 ac_cv_x86_rdrand=yes
75363 else
75364 ac_cv_x86_rdrand=no
75366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75367 esac
75371 if test $ac_cv_x86_rdrand = yes; then
75373 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75377 $as_echo "$ac_cv_x86_rdrand" >&6; }
75379 # Check if assembler supports rdseed opcode.
75381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75382 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75383 if ${ac_cv_x86_rdseed+:} false; then :
75384 $as_echo_n "(cached) " >&6
75385 else
75387 ac_cv_x86_rdseed=no
75388 case "$target" in
75389 i?86-*-* | \
75390 x86_64-*-*)
75391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75392 /* end confdefs.h. */
75395 main ()
75397 asm("rdseed %eax");
75399 return 0;
75401 _ACEOF
75402 if ac_fn_c_try_compile "$LINENO"; then :
75403 ac_cv_x86_rdseed=yes
75404 else
75405 ac_cv_x86_rdseed=no
75407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75408 esac
75412 if test $ac_cv_x86_rdseed = yes; then
75414 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75418 $as_echo "$ac_cv_x86_rdseed" >&6; }
75421 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75423 # Do checks for resource limit functions.
75426 ac_ext=cpp
75427 ac_cpp='$CXXCPP $CPPFLAGS'
75428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75432 setrlimit_have_headers=yes
75433 for ac_header in unistd.h sys/time.h sys/resource.h
75434 do :
75435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75436 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75438 cat >>confdefs.h <<_ACEOF
75439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75440 _ACEOF
75442 else
75443 setrlimit_have_headers=no
75446 done
75448 # If don't have the headers, then we can't run the tests now, and we
75449 # won't be seeing any of these during testsuite compilation.
75450 if test $setrlimit_have_headers = yes; then
75451 # Can't do these in a loop, else the resulting syntax is wrong.
75453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75454 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75456 /* end confdefs.h. */
75457 #include <unistd.h>
75458 #include <sys/time.h>
75459 #include <sys/resource.h>
75462 main ()
75464 int f = RLIMIT_DATA ;
75466 return 0;
75468 _ACEOF
75469 if ac_fn_cxx_try_compile "$LINENO"; then :
75470 glibcxx_mresult=1
75471 else
75472 glibcxx_mresult=0
75474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75476 cat >>confdefs.h <<_ACEOF
75477 #define HAVE_LIMIT_DATA $glibcxx_mresult
75478 _ACEOF
75480 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75482 $as_echo "$res" >&6; }
75485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75486 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75488 /* end confdefs.h. */
75489 #include <unistd.h>
75490 #include <sys/time.h>
75491 #include <sys/resource.h>
75494 main ()
75496 int f = RLIMIT_RSS ;
75498 return 0;
75500 _ACEOF
75501 if ac_fn_cxx_try_compile "$LINENO"; then :
75502 glibcxx_mresult=1
75503 else
75504 glibcxx_mresult=0
75506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75508 cat >>confdefs.h <<_ACEOF
75509 #define HAVE_LIMIT_RSS $glibcxx_mresult
75510 _ACEOF
75512 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75514 $as_echo "$res" >&6; }
75517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75518 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75520 /* end confdefs.h. */
75521 #include <unistd.h>
75522 #include <sys/time.h>
75523 #include <sys/resource.h>
75526 main ()
75528 int f = RLIMIT_VMEM ;
75530 return 0;
75532 _ACEOF
75533 if ac_fn_cxx_try_compile "$LINENO"; then :
75534 glibcxx_mresult=1
75535 else
75536 glibcxx_mresult=0
75538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75540 cat >>confdefs.h <<_ACEOF
75541 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75542 _ACEOF
75544 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75546 $as_echo "$res" >&6; }
75549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75550 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75552 /* end confdefs.h. */
75553 #include <unistd.h>
75554 #include <sys/time.h>
75555 #include <sys/resource.h>
75558 main ()
75560 int f = RLIMIT_AS ;
75562 return 0;
75564 _ACEOF
75565 if ac_fn_cxx_try_compile "$LINENO"; then :
75566 glibcxx_mresult=1
75567 else
75568 glibcxx_mresult=0
75570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75572 cat >>confdefs.h <<_ACEOF
75573 #define HAVE_LIMIT_AS $glibcxx_mresult
75574 _ACEOF
75576 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75578 $as_echo "$res" >&6; }
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75582 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75584 /* end confdefs.h. */
75585 #include <unistd.h>
75586 #include <sys/time.h>
75587 #include <sys/resource.h>
75590 main ()
75592 int f = RLIMIT_FSIZE ;
75594 return 0;
75596 _ACEOF
75597 if ac_fn_cxx_try_compile "$LINENO"; then :
75598 glibcxx_mresult=1
75599 else
75600 glibcxx_mresult=0
75602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75604 cat >>confdefs.h <<_ACEOF
75605 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75606 _ACEOF
75608 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75610 $as_echo "$res" >&6; }
75613 # Check for rlimit, setrlimit.
75614 if ${glibcxx_cv_setrlimit+:} false; then :
75615 $as_echo_n "(cached) " >&6
75616 else
75618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75619 /* end confdefs.h. */
75620 #include <unistd.h>
75621 #include <sys/time.h>
75622 #include <sys/resource.h>
75625 main ()
75627 struct rlimit r;
75628 setrlimit(0, &r);
75630 return 0;
75632 _ACEOF
75633 if ac_fn_cxx_try_compile "$LINENO"; then :
75634 glibcxx_cv_setrlimit=yes
75635 else
75636 glibcxx_cv_setrlimit=no
75638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75645 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75646 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75647 ac_res_limits=yes
75649 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75651 else
75652 ac_res_limits=no
75654 ac_ext=c
75655 ac_cpp='$CPP $CPPFLAGS'
75656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75661 $as_echo "$ac_res_limits" >&6; }
75664 if $GLIBCXX_IS_NATIVE ; then
75665 # Look for setenv, so that extended locale tests can be performed.
75667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75668 $as_echo_n "checking for setenv declaration... " >&6; }
75669 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75670 if ${glibcxx_cv_func_setenv_use+:} false; then :
75671 $as_echo_n "(cached) " >&6
75672 else
75675 ac_ext=cpp
75676 ac_cpp='$CXXCPP $CPPFLAGS'
75677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75682 /* end confdefs.h. */
75683 #include <stdlib.h>
75685 main ()
75687 setenv(0, 0, 0);
75689 return 0;
75691 _ACEOF
75692 if ac_fn_cxx_try_compile "$LINENO"; then :
75693 glibcxx_cv_func_setenv_use=yes
75694 else
75695 glibcxx_cv_func_setenv_use=no
75697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75698 ac_ext=c
75699 ac_cpp='$CPP $CPPFLAGS'
75700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75709 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75710 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75711 for ac_func in setenv
75712 do :
75713 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75714 if test "x$ac_cv_func_setenv" = xyes; then :
75715 cat >>confdefs.h <<_ACEOF
75716 #define HAVE_SETENV 1
75717 _ACEOF
75720 done
75726 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75727 test $enable_symvers != no; then
75728 case "$host" in
75729 *-*-cygwin*)
75730 enable_abi_check=no ;;
75732 enable_abi_check=yes ;;
75733 esac
75734 else
75735 # Only build this as native, since automake does not understand
75736 # CXX_FOR_BUILD.
75737 enable_abi_check=no
75740 # Export file names for ABI checking.
75741 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75743 baseline_subdir_switch="$abi_baseline_subdir_switch"
75747 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75749 # Check whether --enable-libstdcxx-threads was given.
75750 if test "${enable_libstdcxx_threads+set}" = set; then :
75751 enableval=$enable_libstdcxx_threads;
75752 case "$enableval" in
75753 yes|no) ;;
75754 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75755 esac
75757 else
75758 enable_libstdcxx_threads=auto
75763 if test x$enable_libstdcxx_threads = xauto ||
75764 test x$enable_libstdcxx_threads = xyes; then
75767 ac_ext=cpp
75768 ac_cpp='$CXXCPP $CPPFLAGS'
75769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75774 ac_save_CXXFLAGS="$CXXFLAGS"
75775 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75776 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75778 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75779 case $target_thread_file in
75780 posix)
75781 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75782 esac
75784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75785 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75788 /* end confdefs.h. */
75789 #include <unistd.h>
75791 main ()
75794 // In case of POSIX threads check _POSIX_TIMEOUTS.
75795 #if (defined(_PTHREADS) \
75796 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75797 #error
75798 #endif
75801 return 0;
75803 _ACEOF
75804 if ac_fn_cxx_try_compile "$LINENO"; then :
75805 ac_gthread_use_mutex_timedlock=1
75806 else
75807 ac_gthread_use_mutex_timedlock=0
75809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75812 cat >>confdefs.h <<_ACEOF
75813 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75814 _ACEOF
75817 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75818 else res_mutex_timedlock=no ; fi
75819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75820 $as_echo "$res_mutex_timedlock" >&6; }
75822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75823 $as_echo_n "checking for gthreads library... " >&6; }
75825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75826 /* end confdefs.h. */
75827 #include "gthr.h"
75829 main ()
75832 #ifndef __GTHREADS_CXX0X
75833 #error
75834 #endif
75837 return 0;
75839 _ACEOF
75840 if ac_fn_cxx_try_compile "$LINENO"; then :
75841 ac_has_gthreads=yes
75842 else
75843 ac_has_gthreads=no
75845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75846 else
75847 ac_has_gthreads=no
75850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75851 $as_echo "$ac_has_gthreads" >&6; }
75853 if test x"$ac_has_gthreads" = x"yes"; then
75855 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75858 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75859 # but only do so if we're using pthread in the gthread library.
75860 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75861 # but the pthread library is not there by default and the gthread library
75862 # does not use it.
75863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75864 /* end confdefs.h. */
75865 #include "gthr.h"
75867 main ()
75870 #if (!defined(_PTHREADS))
75871 #error
75872 #endif
75875 return 0;
75877 _ACEOF
75878 if ac_fn_cxx_try_compile "$LINENO"; then :
75879 ac_gthread_use_pthreads=yes
75880 else
75881 ac_gthread_use_pthreads=no
75883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75884 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75885 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75887 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75889 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75896 CXXFLAGS="$ac_save_CXXFLAGS"
75897 ac_ext=c
75898 ac_cpp='$CPP $CPPFLAGS'
75899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75905 # For Filesystem TS.
75906 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75907 do :
75908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75909 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75910 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75911 cat >>confdefs.h <<_ACEOF
75912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75913 _ACEOF
75917 done
75920 # Check whether --enable-libstdcxx-filesystem-ts was given.
75921 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75922 enableval=$enable_libstdcxx_filesystem_ts;
75923 case "$enableval" in
75924 yes|no|auto) ;;
75925 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75926 esac
75928 else
75929 enable_libstdcxx_filesystem_ts=auto
75934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75935 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75936 if test x"$ac_cv_header_dirent_h" != x"yes"; then
75937 enable_libstdcxx_filesystem_ts=no
75939 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75940 case "${target_os}" in
75941 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75942 enable_libstdcxx_filesystem_ts=yes
75944 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75945 enable_libstdcxx_filesystem_ts=yes
75947 rtems*)
75948 enable_libstdcxx_filesystem_ts=yes
75950 solaris*)
75951 enable_libstdcxx_filesystem_ts=yes
75953 mingw*)
75954 enable_libstdcxx_filesystem_ts=yes
75957 enable_libstdcxx_filesystem_ts=no
75959 esac
75961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75962 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75965 if test $enable_libstdcxx_filesystem_ts = yes; then
75967 ac_ext=cpp
75968 ac_cpp='$CXXCPP $CPPFLAGS'
75969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75973 ac_save_CXXFLAGS="$CXXFLAGS"
75974 CXXFLAGS="$CXXFLAGS -fno-exceptions"
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75976 $as_echo_n "checking for struct dirent.d_type... " >&6; }
75977 if ${glibcxx_cv_dirent_d_type+:} false; then :
75978 $as_echo_n "(cached) " >&6
75979 else
75980 if test x$gcc_no_link = xyes; then
75981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75982 /* end confdefs.h. */
75983 #include <dirent.h>
75985 main ()
75988 struct dirent d;
75989 if (sizeof d.d_type) return 0;
75992 return 0;
75994 _ACEOF
75995 if ac_fn_cxx_try_compile "$LINENO"; then :
75996 glibcxx_cv_dirent_d_type=yes
75997 else
75998 glibcxx_cv_dirent_d_type=no
76000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76001 else
76002 if test x$gcc_no_link = xyes; then
76003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76006 /* end confdefs.h. */
76007 #include <dirent.h>
76009 main ()
76012 struct dirent d;
76013 if (sizeof d.d_type) return 0;
76016 return 0;
76018 _ACEOF
76019 if ac_fn_cxx_try_link "$LINENO"; then :
76020 glibcxx_cv_dirent_d_type=yes
76021 else
76022 glibcxx_cv_dirent_d_type=no
76024 rm -f core conftest.err conftest.$ac_objext \
76025 conftest$ac_exeext conftest.$ac_ext
76030 if test $glibcxx_cv_dirent_d_type = yes; then
76032 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76036 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76038 $as_echo_n "checking for realpath... " >&6; }
76039 if ${glibcxx_cv_realpath+:} false; then :
76040 $as_echo_n "(cached) " >&6
76041 else
76042 if test x$gcc_no_link = xyes; then
76043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76044 /* end confdefs.h. */
76046 #include <limits.h>
76047 #include <stdlib.h>
76048 #include <unistd.h>
76051 main ()
76054 #if _XOPEN_VERSION < 500
76055 #error
76056 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76057 char *tmp = realpath((const char*)NULL, (char*)NULL);
76058 #else
76059 #error
76060 #endif
76063 return 0;
76065 _ACEOF
76066 if ac_fn_cxx_try_compile "$LINENO"; then :
76067 glibcxx_cv_realpath=yes
76068 else
76069 glibcxx_cv_realpath=no
76071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76072 else
76073 if test x$gcc_no_link = xyes; then
76074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76077 /* end confdefs.h. */
76079 #include <limits.h>
76080 #include <stdlib.h>
76081 #include <unistd.h>
76084 main ()
76087 #if _XOPEN_VERSION < 500
76088 #error
76089 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76090 char *tmp = realpath((const char*)NULL, (char*)NULL);
76091 #else
76092 #error
76093 #endif
76096 return 0;
76098 _ACEOF
76099 if ac_fn_cxx_try_link "$LINENO"; then :
76100 glibcxx_cv_realpath=yes
76101 else
76102 glibcxx_cv_realpath=no
76104 rm -f core conftest.err conftest.$ac_objext \
76105 conftest$ac_exeext conftest.$ac_ext
76110 if test $glibcxx_cv_realpath = yes; then
76112 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76116 $as_echo "$glibcxx_cv_realpath" >&6; }
76117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76118 $as_echo_n "checking for utimensat... " >&6; }
76119 if ${glibcxx_cv_utimensat+:} false; then :
76120 $as_echo_n "(cached) " >&6
76121 else
76122 if test x$gcc_no_link = xyes; then
76123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76124 /* end confdefs.h. */
76126 #include <fcntl.h>
76127 #include <sys/stat.h>
76130 main ()
76133 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76134 int i = utimensat(AT_FDCWD, "path", ts, 0);
76137 return 0;
76139 _ACEOF
76140 if ac_fn_cxx_try_compile "$LINENO"; then :
76141 glibcxx_cv_utimensat=yes
76142 else
76143 glibcxx_cv_utimensat=no
76145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76146 else
76147 if test x$gcc_no_link = xyes; then
76148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76151 /* end confdefs.h. */
76153 #include <fcntl.h>
76154 #include <sys/stat.h>
76157 main ()
76160 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76161 int i = utimensat(AT_FDCWD, "path", ts, 0);
76164 return 0;
76166 _ACEOF
76167 if ac_fn_cxx_try_link "$LINENO"; then :
76168 glibcxx_cv_utimensat=yes
76169 else
76170 glibcxx_cv_utimensat=no
76172 rm -f core conftest.err conftest.$ac_objext \
76173 conftest$ac_exeext conftest.$ac_ext
76178 if test $glibcxx_cv_utimensat = yes; then
76180 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76184 $as_echo "$glibcxx_cv_utimensat" >&6; }
76185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76186 $as_echo_n "checking for utime... " >&6; }
76187 if ${glibcxx_cv_utime+:} false; then :
76188 $as_echo_n "(cached) " >&6
76189 else
76190 if test x$gcc_no_link = xyes; then
76191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76192 /* end confdefs.h. */
76194 #include <utime.h>
76197 main ()
76200 struct utimbuf t = { 1, 1 };
76201 int i = utime("path", &t);
76204 return 0;
76206 _ACEOF
76207 if ac_fn_cxx_try_compile "$LINENO"; then :
76208 glibcxx_cv_utime=yes
76209 else
76210 glibcxx_cv_utime=no
76212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76213 else
76214 if test x$gcc_no_link = xyes; then
76215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76218 /* end confdefs.h. */
76220 #include <utime.h>
76223 main ()
76226 struct utimbuf t = { 1, 1 };
76227 int i = utime("path", &t);
76230 return 0;
76232 _ACEOF
76233 if ac_fn_cxx_try_link "$LINENO"; then :
76234 glibcxx_cv_utime=yes
76235 else
76236 glibcxx_cv_utime=no
76238 rm -f core conftest.err conftest.$ac_objext \
76239 conftest$ac_exeext conftest.$ac_ext
76244 if test $glibcxx_cv_utime = yes; then
76246 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76250 $as_echo "$glibcxx_cv_utime" >&6; }
76251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76252 $as_echo_n "checking for lstat... " >&6; }
76253 if ${glibcxx_cv_lstat+:} false; then :
76254 $as_echo_n "(cached) " >&6
76255 else
76256 if test x$gcc_no_link = xyes; then
76257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76258 /* end confdefs.h. */
76259 #include <sys/stat.h>
76261 main ()
76264 struct stat st;
76265 int i = lstat("path", &st);
76268 return 0;
76270 _ACEOF
76271 if ac_fn_cxx_try_compile "$LINENO"; then :
76272 glibcxx_cv_lstat=yes
76273 else
76274 glibcxx_cv_lstat=no
76276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76277 else
76278 if test x$gcc_no_link = xyes; then
76279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76282 /* end confdefs.h. */
76283 #include <sys/stat.h>
76285 main ()
76288 struct stat st;
76289 int i = lstat("path", &st);
76292 return 0;
76294 _ACEOF
76295 if ac_fn_cxx_try_link "$LINENO"; then :
76296 glibcxx_cv_lstat=yes
76297 else
76298 glibcxx_cv_lstat=no
76300 rm -f core conftest.err conftest.$ac_objext \
76301 conftest$ac_exeext conftest.$ac_ext
76306 if test $glibcxx_cv_lstat = yes; then
76308 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76312 $as_echo "$glibcxx_cv_lstat" >&6; }
76313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76314 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76315 if ${glibcxx_cv_st_mtim+:} false; then :
76316 $as_echo_n "(cached) " >&6
76317 else
76318 if test x$gcc_no_link = xyes; then
76319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76320 /* end confdefs.h. */
76321 #include <sys/stat.h>
76323 main ()
76326 struct stat st;
76327 return st.st_mtim.tv_nsec;
76330 return 0;
76332 _ACEOF
76333 if ac_fn_cxx_try_compile "$LINENO"; then :
76334 glibcxx_cv_st_mtim=yes
76335 else
76336 glibcxx_cv_st_mtim=no
76338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76339 else
76340 if test x$gcc_no_link = xyes; then
76341 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76344 /* end confdefs.h. */
76345 #include <sys/stat.h>
76347 main ()
76350 struct stat st;
76351 return st.st_mtim.tv_nsec;
76354 return 0;
76356 _ACEOF
76357 if ac_fn_cxx_try_link "$LINENO"; then :
76358 glibcxx_cv_st_mtim=yes
76359 else
76360 glibcxx_cv_st_mtim=no
76362 rm -f core conftest.err conftest.$ac_objext \
76363 conftest$ac_exeext conftest.$ac_ext
76368 if test $glibcxx_cv_st_mtim = yes; then
76370 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76374 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76376 $as_echo_n "checking for fchmod... " >&6; }
76377 if ${glibcxx_cv_fchmod+:} false; then :
76378 $as_echo_n "(cached) " >&6
76379 else
76380 if test x$gcc_no_link = xyes; then
76381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76382 /* end confdefs.h. */
76383 #include <sys/stat.h>
76385 main ()
76387 fchmod(1, S_IWUSR);
76389 return 0;
76391 _ACEOF
76392 if ac_fn_cxx_try_compile "$LINENO"; then :
76393 glibcxx_cv_fchmod=yes
76394 else
76395 glibcxx_cv_fchmod=no
76397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76398 else
76399 if test x$gcc_no_link = xyes; then
76400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76403 /* end confdefs.h. */
76404 #include <sys/stat.h>
76406 main ()
76408 fchmod(1, S_IWUSR);
76410 return 0;
76412 _ACEOF
76413 if ac_fn_cxx_try_link "$LINENO"; then :
76414 glibcxx_cv_fchmod=yes
76415 else
76416 glibcxx_cv_fchmod=no
76418 rm -f core conftest.err conftest.$ac_objext \
76419 conftest$ac_exeext conftest.$ac_ext
76424 if test $glibcxx_cv_fchmod = yes; then
76426 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76430 $as_echo "$glibcxx_cv_fchmod" >&6; }
76431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76432 $as_echo_n "checking for fchmodat... " >&6; }
76433 if ${glibcxx_cv_fchmodat+:} false; then :
76434 $as_echo_n "(cached) " >&6
76435 else
76436 if test x$gcc_no_link = xyes; then
76437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76438 /* end confdefs.h. */
76440 #include <fcntl.h>
76441 #include <sys/stat.h>
76444 main ()
76446 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76448 return 0;
76450 _ACEOF
76451 if ac_fn_cxx_try_compile "$LINENO"; then :
76452 glibcxx_cv_fchmodat=yes
76453 else
76454 glibcxx_cv_fchmodat=no
76456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76457 else
76458 if test x$gcc_no_link = xyes; then
76459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462 /* end confdefs.h. */
76464 #include <fcntl.h>
76465 #include <sys/stat.h>
76468 main ()
76470 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76472 return 0;
76474 _ACEOF
76475 if ac_fn_cxx_try_link "$LINENO"; then :
76476 glibcxx_cv_fchmodat=yes
76477 else
76478 glibcxx_cv_fchmodat=no
76480 rm -f core conftest.err conftest.$ac_objext \
76481 conftest$ac_exeext conftest.$ac_ext
76486 if test $glibcxx_cv_fchmodat = yes; then
76488 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76492 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76494 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76495 if ${glibcxx_cv_sendfile+:} false; then :
76496 $as_echo_n "(cached) " >&6
76497 else
76498 case "${target_os}" in
76499 gnu* | linux* | solaris* | uclinux*)
76500 if test x$gcc_no_link = xyes; then
76501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76502 /* end confdefs.h. */
76503 #include <sys/sendfile.h>
76505 main ()
76507 sendfile(1, 2, (off_t*)0, sizeof 1);
76509 return 0;
76511 _ACEOF
76512 if ac_fn_cxx_try_compile "$LINENO"; then :
76513 glibcxx_cv_sendfile=yes
76514 else
76515 glibcxx_cv_sendfile=no
76517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76518 else
76519 if test x$gcc_no_link = xyes; then
76520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76523 /* end confdefs.h. */
76524 #include <sys/sendfile.h>
76526 main ()
76528 sendfile(1, 2, (off_t*)0, sizeof 1);
76530 return 0;
76532 _ACEOF
76533 if ac_fn_cxx_try_link "$LINENO"; then :
76534 glibcxx_cv_sendfile=yes
76535 else
76536 glibcxx_cv_sendfile=no
76538 rm -f core conftest.err conftest.$ac_objext \
76539 conftest$ac_exeext conftest.$ac_ext
76543 glibcxx_cv_sendfile=no
76545 esac
76549 if test $glibcxx_cv_sendfile = yes; then
76551 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76555 $as_echo "$glibcxx_cv_sendfile" >&6; }
76556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76557 $as_echo_n "checking for link... " >&6; }
76558 if ${glibcxx_cv_link+:} false; then :
76559 $as_echo_n "(cached) " >&6
76560 else
76561 if test x$gcc_no_link = xyes; then
76562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76563 /* end confdefs.h. */
76564 #include <unistd.h>
76566 main ()
76568 link("", "");
76570 return 0;
76572 _ACEOF
76573 if ac_fn_cxx_try_compile "$LINENO"; then :
76574 glibcxx_cv_link=yes
76575 else
76576 glibcxx_cv_link=no
76578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76579 else
76580 if test x$gcc_no_link = xyes; then
76581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76584 /* end confdefs.h. */
76585 #include <unistd.h>
76587 main ()
76589 link("", "");
76591 return 0;
76593 _ACEOF
76594 if ac_fn_cxx_try_link "$LINENO"; then :
76595 glibcxx_cv_link=yes
76596 else
76597 glibcxx_cv_link=no
76599 rm -f core conftest.err conftest.$ac_objext \
76600 conftest$ac_exeext conftest.$ac_ext
76605 if test $glibcxx_cv_link = yes; then
76607 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76611 $as_echo "$glibcxx_cv_link" >&6; }
76612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76613 $as_echo_n "checking for readlink... " >&6; }
76614 if ${glibcxx_cv_readlink+:} false; then :
76615 $as_echo_n "(cached) " >&6
76616 else
76617 if test x$gcc_no_link = xyes; then
76618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76619 /* end confdefs.h. */
76620 #include <unistd.h>
76622 main ()
76624 char buf[32]; readlink("", buf, sizeof(buf));
76626 return 0;
76628 _ACEOF
76629 if ac_fn_cxx_try_compile "$LINENO"; then :
76630 glibcxx_cv_readlink=yes
76631 else
76632 glibcxx_cv_readlink=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 <unistd.h>
76643 main ()
76645 char buf[32]; readlink("", buf, sizeof(buf));
76647 return 0;
76649 _ACEOF
76650 if ac_fn_cxx_try_link "$LINENO"; then :
76651 glibcxx_cv_readlink=yes
76652 else
76653 glibcxx_cv_readlink=no
76655 rm -f core conftest.err conftest.$ac_objext \
76656 conftest$ac_exeext conftest.$ac_ext
76661 if test $glibcxx_cv_readlink = yes; then
76663 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76667 $as_echo "$glibcxx_cv_readlink" >&6; }
76668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76669 $as_echo_n "checking for symlink... " >&6; }
76670 if ${glibcxx_cv_symlink+:} false; then :
76671 $as_echo_n "(cached) " >&6
76672 else
76673 if test x$gcc_no_link = xyes; then
76674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76675 /* end confdefs.h. */
76676 #include <unistd.h>
76678 main ()
76680 symlink("", "");
76682 return 0;
76684 _ACEOF
76685 if ac_fn_cxx_try_compile "$LINENO"; then :
76686 glibcxx_cv_symlink=yes
76687 else
76688 glibcxx_cv_symlink=no
76690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76691 else
76692 if test x$gcc_no_link = xyes; then
76693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76696 /* end confdefs.h. */
76697 #include <unistd.h>
76699 main ()
76701 symlink("", "");
76703 return 0;
76705 _ACEOF
76706 if ac_fn_cxx_try_link "$LINENO"; then :
76707 glibcxx_cv_symlink=yes
76708 else
76709 glibcxx_cv_symlink=no
76711 rm -f core conftest.err conftest.$ac_objext \
76712 conftest$ac_exeext conftest.$ac_ext
76717 if test $glibcxx_cv_symlink = yes; then
76719 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76723 $as_echo "$glibcxx_cv_symlink" >&6; }
76724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76725 $as_echo_n "checking for truncate... " >&6; }
76726 if ${glibcxx_cv_truncate+:} false; then :
76727 $as_echo_n "(cached) " >&6
76728 else
76729 if test x$gcc_no_link = xyes; then
76730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76731 /* end confdefs.h. */
76732 #include <unistd.h>
76734 main ()
76736 truncate("", 99);
76738 return 0;
76740 _ACEOF
76741 if ac_fn_cxx_try_compile "$LINENO"; then :
76742 glibcxx_cv_truncate=yes
76743 else
76744 glibcxx_cv_truncate=no
76746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76747 else
76748 if test x$gcc_no_link = xyes; then
76749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76752 /* end confdefs.h. */
76753 #include <unistd.h>
76755 main ()
76757 truncate("", 99);
76759 return 0;
76761 _ACEOF
76762 if ac_fn_cxx_try_link "$LINENO"; then :
76763 glibcxx_cv_truncate=yes
76764 else
76765 glibcxx_cv_truncate=no
76767 rm -f core conftest.err conftest.$ac_objext \
76768 conftest$ac_exeext conftest.$ac_ext
76773 if test $glibcxx_cv_truncate = yes; then
76775 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76779 $as_echo "$glibcxx_cv_truncate" >&6; }
76780 CXXFLAGS="$ac_save_CXXFLAGS"
76781 ac_ext=c
76782 ac_cpp='$CPP $CPPFLAGS'
76783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76790 # For Networking TS.
76791 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
76792 do :
76793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76794 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76796 cat >>confdefs.h <<_ACEOF
76797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76798 _ACEOF
76802 done
76805 # For Transactional Memory TS
76807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76808 $as_echo_n "checking how size_t is mangled... " >&6; }
76809 if ${glibcxx_cv_size_t_mangling+:} false; then :
76810 $as_echo_n "(cached) " >&6
76811 else
76813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76814 /* end confdefs.h. */
76817 main ()
76819 extern __SIZE_TYPE__ x; extern unsigned long x;
76821 return 0;
76823 _ACEOF
76824 if ac_fn_c_try_compile "$LINENO"; then :
76825 glibcxx_cv_size_t_mangling=m
76826 else
76828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76829 /* end confdefs.h. */
76832 main ()
76834 extern __SIZE_TYPE__ x; extern unsigned int x;
76836 return 0;
76838 _ACEOF
76839 if ac_fn_c_try_compile "$LINENO"; then :
76840 glibcxx_cv_size_t_mangling=j
76841 else
76843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76844 /* end confdefs.h. */
76847 main ()
76849 extern __SIZE_TYPE__ x; extern unsigned long long x;
76851 return 0;
76853 _ACEOF
76854 if ac_fn_c_try_compile "$LINENO"; then :
76855 glibcxx_cv_size_t_mangling=y
76856 else
76858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76859 /* end confdefs.h. */
76862 main ()
76864 extern __SIZE_TYPE__ x; extern unsigned short x;
76866 return 0;
76868 _ACEOF
76869 if ac_fn_c_try_compile "$LINENO"; then :
76870 glibcxx_cv_size_t_mangling=t
76871 else
76873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76874 /* end confdefs.h. */
76877 main ()
76879 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76881 return 0;
76883 _ACEOF
76884 if ac_fn_c_try_compile "$LINENO"; then :
76885 glibcxx_cv_size_t_mangling=u6uint20
76886 else
76887 glibcxx_cv_size_t_mangling=x
76889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76905 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76906 if test $glibcxx_cv_size_t_mangling = x; then
76907 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76910 cat >>confdefs.h <<_ACEOF
76911 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76912 _ACEOF
76916 # Check which release added std::exception_ptr for the target
76918 if test $enable_symvers != no; then
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76920 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76921 case ${target} in
76922 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76923 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76924 ac_exception_ptr_since_gcc46=yes
76927 # If the value of this macro changes then we will need to hardcode
76928 # yes/no here for additional targets based on the original value.
76929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76930 /* end confdefs.h. */
76933 main ()
76936 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76937 # error atomic int not always lock free
76938 #endif
76941 return 0;
76943 _ACEOF
76944 if ac_fn_c_try_compile "$LINENO"; then :
76945 ac_exception_ptr_since_gcc46=yes
76946 else
76947 ac_exception_ptr_since_gcc46=no
76949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76951 esac
76952 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76954 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76957 $as_echo "4.6.0" >&6; }
76958 else
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76960 $as_echo "7.1.0" >&6; }
76965 # Define documentation rules conditionally.
76967 # See if makeinfo has been installed and is modern enough
76968 # that we can use it.
76970 # Extract the first word of "makeinfo", so it can be a program name with args.
76971 set dummy makeinfo; ac_word=$2
76972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76973 $as_echo_n "checking for $ac_word... " >&6; }
76974 if ${ac_cv_prog_MAKEINFO+:} false; then :
76975 $as_echo_n "(cached) " >&6
76976 else
76977 if test -n "$MAKEINFO"; then
76978 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76979 else
76980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76981 for as_dir in $PATH
76983 IFS=$as_save_IFS
76984 test -z "$as_dir" && as_dir=.
76985 for ac_exec_ext in '' $ac_executable_extensions; do
76986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76987 ac_cv_prog_MAKEINFO="makeinfo"
76988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76989 break 2
76991 done
76992 done
76993 IFS=$as_save_IFS
76997 MAKEINFO=$ac_cv_prog_MAKEINFO
76998 if test -n "$MAKEINFO"; then
76999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77000 $as_echo "$MAKEINFO" >&6; }
77001 else
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77003 $as_echo "no" >&6; }
77007 if test -n "$MAKEINFO"; then
77008 # Found it, now check the version.
77009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77010 $as_echo_n "checking for modern makeinfo... " >&6; }
77011 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77012 $as_echo_n "(cached) " >&6
77013 else
77014 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77015 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77017 case $ac_prog_version in
77018 '') gcc_cv_prog_makeinfo_modern=no;;
77019 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77020 *) gcc_cv_prog_makeinfo_modern=no;;
77021 esac
77024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77025 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77026 else
77027 gcc_cv_prog_makeinfo_modern=no
77029 if test $gcc_cv_prog_makeinfo_modern = no; then
77030 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77033 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77034 BUILD_INFO_TRUE=
77035 BUILD_INFO_FALSE='#'
77036 else
77037 BUILD_INFO_TRUE='#'
77038 BUILD_INFO_FALSE=
77042 # Check for doxygen
77043 # Extract the first word of "doxygen", so it can be a program name with args.
77044 set dummy doxygen; ac_word=$2
77045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77046 $as_echo_n "checking for $ac_word... " >&6; }
77047 if ${ac_cv_prog_DOXYGEN+:} false; then :
77048 $as_echo_n "(cached) " >&6
77049 else
77050 if test -n "$DOXYGEN"; then
77051 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77052 else
77053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77054 for as_dir in $PATH
77056 IFS=$as_save_IFS
77057 test -z "$as_dir" && as_dir=.
77058 for ac_exec_ext in '' $ac_executable_extensions; do
77059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77060 ac_cv_prog_DOXYGEN="yes"
77061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77062 break 2
77064 done
77065 done
77066 IFS=$as_save_IFS
77068 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77071 DOXYGEN=$ac_cv_prog_DOXYGEN
77072 if test -n "$DOXYGEN"; then
77073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77074 $as_echo "$DOXYGEN" >&6; }
77075 else
77076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77077 $as_echo "no" >&6; }
77081 # Extract the first word of "dot", so it can be a program name with args.
77082 set dummy dot; ac_word=$2
77083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77084 $as_echo_n "checking for $ac_word... " >&6; }
77085 if ${ac_cv_prog_DOT+:} false; then :
77086 $as_echo_n "(cached) " >&6
77087 else
77088 if test -n "$DOT"; then
77089 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77090 else
77091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77092 for as_dir in $PATH
77094 IFS=$as_save_IFS
77095 test -z "$as_dir" && as_dir=.
77096 for ac_exec_ext in '' $ac_executable_extensions; do
77097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77098 ac_cv_prog_DOT="yes"
77099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77100 break 2
77102 done
77103 done
77104 IFS=$as_save_IFS
77106 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77109 DOT=$ac_cv_prog_DOT
77110 if test -n "$DOT"; then
77111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77112 $as_echo "$DOT" >&6; }
77113 else
77114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77115 $as_echo "no" >&6; }
77120 # Check for docbook
77121 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77122 set dummy xmlcatalog; ac_word=$2
77123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77124 $as_echo_n "checking for $ac_word... " >&6; }
77125 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77126 $as_echo_n "(cached) " >&6
77127 else
77128 if test -n "$XMLCATALOG"; then
77129 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77130 else
77131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77132 for as_dir in $PATH
77134 IFS=$as_save_IFS
77135 test -z "$as_dir" && as_dir=.
77136 for ac_exec_ext in '' $ac_executable_extensions; do
77137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77138 ac_cv_prog_XMLCATALOG="yes"
77139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77140 break 2
77142 done
77143 done
77144 IFS=$as_save_IFS
77146 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77149 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77150 if test -n "$XMLCATALOG"; then
77151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77152 $as_echo "$XMLCATALOG" >&6; }
77153 else
77154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77155 $as_echo "no" >&6; }
77159 # Extract the first word of "xsltproc", so it can be a program name with args.
77160 set dummy xsltproc; ac_word=$2
77161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77162 $as_echo_n "checking for $ac_word... " >&6; }
77163 if ${ac_cv_prog_XSLTPROC+:} false; then :
77164 $as_echo_n "(cached) " >&6
77165 else
77166 if test -n "$XSLTPROC"; then
77167 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77168 else
77169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77170 for as_dir in $PATH
77172 IFS=$as_save_IFS
77173 test -z "$as_dir" && as_dir=.
77174 for ac_exec_ext in '' $ac_executable_extensions; do
77175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77176 ac_cv_prog_XSLTPROC="yes"
77177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77178 break 2
77180 done
77181 done
77182 IFS=$as_save_IFS
77184 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77187 XSLTPROC=$ac_cv_prog_XSLTPROC
77188 if test -n "$XSLTPROC"; then
77189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77190 $as_echo "$XSLTPROC" >&6; }
77191 else
77192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77193 $as_echo "no" >&6; }
77197 # Extract the first word of "xmllint", so it can be a program name with args.
77198 set dummy xmllint; ac_word=$2
77199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77200 $as_echo_n "checking for $ac_word... " >&6; }
77201 if ${ac_cv_prog_XMLLINT+:} false; then :
77202 $as_echo_n "(cached) " >&6
77203 else
77204 if test -n "$XMLLINT"; then
77205 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77206 else
77207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77208 for as_dir in $PATH
77210 IFS=$as_save_IFS
77211 test -z "$as_dir" && as_dir=.
77212 for ac_exec_ext in '' $ac_executable_extensions; do
77213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77214 ac_cv_prog_XMLLINT="yes"
77215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77216 break 2
77218 done
77219 done
77220 IFS=$as_save_IFS
77222 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77225 XMLLINT=$ac_cv_prog_XMLLINT
77226 if test -n "$XMLLINT"; then
77227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77228 $as_echo "$XMLLINT" >&6; }
77229 else
77230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77231 $as_echo "no" >&6; }
77237 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77240 $as_echo_n "checking for local stylesheet directory... " >&6; }
77241 glibcxx_local_stylesheets=no
77242 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77243 then
77244 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77245 glibcxx_local_stylesheets=yes
77246 else
77247 for dir in \
77248 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77249 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77250 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77251 /usr/share/xml/docbook/stylesheet/nwalsh/current
77253 if test -d $dir; then
77254 glibcxx_local_stylesheets=yes
77255 XSL_STYLE_DIR=$dir
77256 break
77258 done
77260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77261 $as_echo "$glibcxx_local_stylesheets" >&6; }
77263 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77265 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77266 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77269 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77270 glibcxx_stylesheets=no
77271 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77272 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77273 glibcxx_stylesheets=yes
77276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77277 $as_echo "$glibcxx_stylesheets" >&6; }
77279 else
77280 glibcxx_stylesheets=no
77283 # Check for epub3 dependencies.
77284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77285 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77286 glibcxx_epub_stylesheets=no
77287 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77288 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77289 glibcxx_epub_stylesheets=yes
77292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77293 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77294 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77295 BUILD_EPUB_TRUE=
77296 BUILD_EPUB_FALSE='#'
77297 else
77298 BUILD_EPUB_TRUE='#'
77299 BUILD_EPUB_FALSE=
77305 # Check for xml/html dependencies.
77306 if test $ac_cv_prog_DOXYGEN = "yes" &&
77307 test $ac_cv_prog_DOT = "yes" &&
77308 test $ac_cv_prog_XSLTPROC = "yes" &&
77309 test $ac_cv_prog_XMLLINT = "yes" &&
77310 test $glibcxx_stylesheets = "yes"; then
77311 BUILD_XML_TRUE=
77312 BUILD_XML_FALSE='#'
77313 else
77314 BUILD_XML_TRUE='#'
77315 BUILD_XML_FALSE=
77319 if test $ac_cv_prog_DOXYGEN = "yes" &&
77320 test $ac_cv_prog_DOT = "yes" &&
77321 test $ac_cv_prog_XSLTPROC = "yes" &&
77322 test $ac_cv_prog_XMLLINT = "yes" &&
77323 test $glibcxx_stylesheets = "yes"; then
77324 BUILD_HTML_TRUE=
77325 BUILD_HTML_FALSE='#'
77326 else
77327 BUILD_HTML_TRUE='#'
77328 BUILD_HTML_FALSE=
77332 # Check for man dependencies.
77333 if test $ac_cv_prog_DOXYGEN = "yes" &&
77334 test $ac_cv_prog_DOT = "yes"; then
77335 BUILD_MAN_TRUE=
77336 BUILD_MAN_FALSE='#'
77337 else
77338 BUILD_MAN_TRUE='#'
77339 BUILD_MAN_FALSE=
77343 # Check for pdf dependencies.
77344 # Extract the first word of "dblatex", so it can be a program name with args.
77345 set dummy dblatex; ac_word=$2
77346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77347 $as_echo_n "checking for $ac_word... " >&6; }
77348 if ${ac_cv_prog_DBLATEX+:} false; then :
77349 $as_echo_n "(cached) " >&6
77350 else
77351 if test -n "$DBLATEX"; then
77352 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77353 else
77354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77355 for as_dir in $PATH
77357 IFS=$as_save_IFS
77358 test -z "$as_dir" && as_dir=.
77359 for ac_exec_ext in '' $ac_executable_extensions; do
77360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77361 ac_cv_prog_DBLATEX="yes"
77362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77363 break 2
77365 done
77366 done
77367 IFS=$as_save_IFS
77369 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77372 DBLATEX=$ac_cv_prog_DBLATEX
77373 if test -n "$DBLATEX"; then
77374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77375 $as_echo "$DBLATEX" >&6; }
77376 else
77377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77378 $as_echo "no" >&6; }
77382 # Extract the first word of "pdflatex", so it can be a program name with args.
77383 set dummy pdflatex; ac_word=$2
77384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77385 $as_echo_n "checking for $ac_word... " >&6; }
77386 if ${ac_cv_prog_PDFLATEX+:} false; then :
77387 $as_echo_n "(cached) " >&6
77388 else
77389 if test -n "$PDFLATEX"; then
77390 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77391 else
77392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77393 for as_dir in $PATH
77395 IFS=$as_save_IFS
77396 test -z "$as_dir" && as_dir=.
77397 for ac_exec_ext in '' $ac_executable_extensions; do
77398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77399 ac_cv_prog_PDFLATEX="yes"
77400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77401 break 2
77403 done
77404 done
77405 IFS=$as_save_IFS
77407 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77410 PDFLATEX=$ac_cv_prog_PDFLATEX
77411 if test -n "$PDFLATEX"; then
77412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77413 $as_echo "$PDFLATEX" >&6; }
77414 else
77415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77416 $as_echo "no" >&6; }
77420 if test $ac_cv_prog_DOXYGEN = "yes" &&
77421 test $ac_cv_prog_DOT = "yes" &&
77422 test $ac_cv_prog_XSLTPROC = "yes" &&
77423 test $ac_cv_prog_XMLLINT = "yes" &&
77424 test $ac_cv_prog_DBLATEX = "yes" &&
77425 test $ac_cv_prog_PDFLATEX = "yes"; then
77426 BUILD_PDF_TRUE=
77427 BUILD_PDF_FALSE='#'
77428 else
77429 BUILD_PDF_TRUE='#'
77430 BUILD_PDF_FALSE=
77434 case "$build" in
77435 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77436 * ) glibcxx_include_dir_notparallel=no ;;
77437 esac
77438 if test $glibcxx_include_dir_notparallel = "yes"; then
77439 INCLUDE_DIR_NOTPARALLEL_TRUE=
77440 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77441 else
77442 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77443 INCLUDE_DIR_NOTPARALLEL_FALSE=
77447 # Propagate the target-specific source directories through the build chain.
77448 ATOMICITY_SRCDIR=config/${atomicity_dir}
77449 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77450 ATOMIC_FLAGS=${atomic_flags}
77451 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77452 OS_INC_SRCDIR=config/${os_include_dir}
77453 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77454 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77455 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77456 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77468 # Add CET specific flags if Intel CET is enabled.
77469 # Check whether --enable-cet was given.
77470 if test "${enable_cet+set}" = set; then :
77471 enableval=$enable_cet;
77472 case "$enableval" in
77473 yes|no|auto) ;;
77474 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77475 esac
77477 else
77478 enable_cet=no
77482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77483 $as_echo_n "checking for CET support... " >&6; }
77485 case "$host" in
77486 i[34567]86-*-linux* | x86_64-*-linux*)
77487 case "$enable_cet" in
77488 auto)
77489 # Check if target supports multi-byte NOPs
77490 # and if assembler supports CET insn.
77491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77492 /* end confdefs.h. */
77495 main ()
77498 #if !defined(__SSE2__)
77499 #error target does not support multi-byte NOPs
77500 #else
77501 asm ("setssbsy");
77502 #endif
77505 return 0;
77507 _ACEOF
77508 if ac_fn_c_try_compile "$LINENO"; then :
77509 enable_cet=yes
77510 else
77511 enable_cet=no
77513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77515 yes)
77516 # Check if assembler supports CET.
77517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77518 /* end confdefs.h. */
77521 main ()
77523 asm ("setssbsy");
77525 return 0;
77527 _ACEOF
77528 if ac_fn_c_try_compile "$LINENO"; then :
77530 else
77531 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77535 esac
77538 enable_cet=no
77540 esac
77541 if test x$enable_cet = xyes; then
77542 CET_FLAGS="-fcf-protection -mshstk"
77543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77544 $as_echo "yes" >&6; }
77545 else
77546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77547 $as_echo "no" >&6; }
77550 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77551 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77555 # Determine cross-compile flags and AM_CONDITIONALs.
77556 #AC_SUBST(GLIBCXX_IS_NATIVE)
77557 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77558 if test $is_hosted = yes; then
77559 GLIBCXX_HOSTED_TRUE=
77560 GLIBCXX_HOSTED_FALSE='#'
77561 else
77562 GLIBCXX_HOSTED_TRUE='#'
77563 GLIBCXX_HOSTED_FALSE=
77567 if test $enable_libstdcxx_pch = yes; then
77568 GLIBCXX_BUILD_PCH_TRUE=
77569 GLIBCXX_BUILD_PCH_FALSE='#'
77570 else
77571 GLIBCXX_BUILD_PCH_TRUE='#'
77572 GLIBCXX_BUILD_PCH_FALSE=
77576 if test $enable_float128 = yes; then
77577 ENABLE_FLOAT128_TRUE=
77578 ENABLE_FLOAT128_FALSE='#'
77579 else
77580 ENABLE_FLOAT128_TRUE='#'
77581 ENABLE_FLOAT128_FALSE=
77585 if test $enable_libstdcxx_allocator_flag = new; then
77586 ENABLE_ALLOCATOR_NEW_TRUE=
77587 ENABLE_ALLOCATOR_NEW_FALSE='#'
77588 else
77589 ENABLE_ALLOCATOR_NEW_TRUE='#'
77590 ENABLE_ALLOCATOR_NEW_FALSE=
77594 if test $enable_cheaders = c; then
77595 GLIBCXX_C_HEADERS_C_TRUE=
77596 GLIBCXX_C_HEADERS_C_FALSE='#'
77597 else
77598 GLIBCXX_C_HEADERS_C_TRUE='#'
77599 GLIBCXX_C_HEADERS_C_FALSE=
77603 if test $enable_cheaders = c_std; then
77604 GLIBCXX_C_HEADERS_C_STD_TRUE=
77605 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77606 else
77607 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77608 GLIBCXX_C_HEADERS_C_STD_FALSE=
77612 if test $enable_cheaders = c_global; then
77613 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77614 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77615 else
77616 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77617 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77621 if test $c_compatibility = yes; then
77622 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77623 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77624 else
77625 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77626 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77630 if test $enable_libstdcxx_debug = yes; then
77631 GLIBCXX_BUILD_DEBUG_TRUE=
77632 GLIBCXX_BUILD_DEBUG_FALSE='#'
77633 else
77634 GLIBCXX_BUILD_DEBUG_TRUE='#'
77635 GLIBCXX_BUILD_DEBUG_FALSE=
77639 if test $enable_extern_template = yes; then
77640 ENABLE_EXTERN_TEMPLATE_TRUE=
77641 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77642 else
77643 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77644 ENABLE_EXTERN_TEMPLATE_FALSE=
77648 if test $python_mod_dir != no; then
77649 ENABLE_PYTHONDIR_TRUE=
77650 ENABLE_PYTHONDIR_FALSE='#'
77651 else
77652 ENABLE_PYTHONDIR_TRUE='#'
77653 ENABLE_PYTHONDIR_FALSE=
77657 if test $enable_werror = yes; then
77658 ENABLE_WERROR_TRUE=
77659 ENABLE_WERROR_FALSE='#'
77660 else
77661 ENABLE_WERROR_TRUE='#'
77662 ENABLE_WERROR_FALSE=
77666 if test $enable_vtable_verify = yes; then
77667 ENABLE_VTABLE_VERIFY_TRUE=
77668 ENABLE_VTABLE_VERIFY_FALSE='#'
77669 else
77670 ENABLE_VTABLE_VERIFY_TRUE='#'
77671 ENABLE_VTABLE_VERIFY_FALSE=
77675 if test $enable_symvers != no; then
77676 ENABLE_SYMVERS_TRUE=
77677 ENABLE_SYMVERS_FALSE='#'
77678 else
77679 ENABLE_SYMVERS_TRUE='#'
77680 ENABLE_SYMVERS_FALSE=
77684 if test $enable_symvers = gnu; then
77685 ENABLE_SYMVERS_GNU_TRUE=
77686 ENABLE_SYMVERS_GNU_FALSE='#'
77687 else
77688 ENABLE_SYMVERS_GNU_TRUE='#'
77689 ENABLE_SYMVERS_GNU_FALSE=
77693 if test $enable_symvers = gnu-versioned-namespace; then
77694 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77695 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77696 else
77697 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77698 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77702 if test $enable_symvers = darwin; then
77703 ENABLE_SYMVERS_DARWIN_TRUE=
77704 ENABLE_SYMVERS_DARWIN_FALSE='#'
77705 else
77706 ENABLE_SYMVERS_DARWIN_TRUE='#'
77707 ENABLE_SYMVERS_DARWIN_FALSE=
77711 if test $enable_symvers = sun; then
77712 ENABLE_SYMVERS_SUN_TRUE=
77713 ENABLE_SYMVERS_SUN_FALSE='#'
77714 else
77715 ENABLE_SYMVERS_SUN_TRUE='#'
77716 ENABLE_SYMVERS_SUN_FALSE=
77720 if test $enable_libstdcxx_visibility = yes; then
77721 ENABLE_VISIBILITY_TRUE=
77722 ENABLE_VISIBILITY_FALSE='#'
77723 else
77724 ENABLE_VISIBILITY_TRUE='#'
77725 ENABLE_VISIBILITY_FALSE=
77729 if test $enable_libstdcxx_dual_abi = yes; then
77730 ENABLE_DUAL_ABI_TRUE=
77731 ENABLE_DUAL_ABI_FALSE='#'
77732 else
77733 ENABLE_DUAL_ABI_TRUE='#'
77734 ENABLE_DUAL_ABI_FALSE=
77738 if test $glibcxx_cxx11_abi = 1; then
77739 ENABLE_CXX11_ABI_TRUE=
77740 ENABLE_CXX11_ABI_FALSE='#'
77741 else
77742 ENABLE_CXX11_ABI_TRUE='#'
77743 ENABLE_CXX11_ABI_FALSE=
77747 if test $ac_ldbl_compat = yes; then
77748 GLIBCXX_LDBL_COMPAT_TRUE=
77749 GLIBCXX_LDBL_COMPAT_FALSE='#'
77750 else
77751 GLIBCXX_LDBL_COMPAT_TRUE='#'
77752 GLIBCXX_LDBL_COMPAT_FALSE=
77756 if test $enable_libstdcxx_filesystem_ts = yes; then
77757 ENABLE_FILESYSTEM_TS_TRUE=
77758 ENABLE_FILESYSTEM_TS_FALSE='#'
77759 else
77760 ENABLE_FILESYSTEM_TS_TRUE='#'
77761 ENABLE_FILESYSTEM_TS_FALSE=
77767 cat >confcache <<\_ACEOF
77768 # This file is a shell script that caches the results of configure
77769 # tests run on this system so they can be shared between configure
77770 # scripts and configure runs, see configure's option --config-cache.
77771 # It is not useful on other systems. If it contains results you don't
77772 # want to keep, you may remove or edit it.
77774 # config.status only pays attention to the cache file if you give it
77775 # the --recheck option to rerun configure.
77777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77779 # following values.
77781 _ACEOF
77783 # The following way of writing the cache mishandles newlines in values,
77784 # but we know of no workaround that is simple, portable, and efficient.
77785 # So, we kill variables containing newlines.
77786 # Ultrix sh set writes to stderr and can't be redirected directly,
77787 # and sets the high bit in the cache file unless we assign to the vars.
77789 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77790 eval ac_val=\$$ac_var
77791 case $ac_val in #(
77792 *${as_nl}*)
77793 case $ac_var in #(
77794 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77796 esac
77797 case $ac_var in #(
77798 _ | IFS | as_nl) ;; #(
77799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77800 *) { eval $ac_var=; unset $ac_var;} ;;
77801 esac ;;
77802 esac
77803 done
77805 (set) 2>&1 |
77806 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77807 *${as_nl}ac_space=\ *)
77808 # `set' does not quote correctly, so add quotes: double-quote
77809 # substitution turns \\\\ into \\, and sed turns \\ into \.
77810 sed -n \
77811 "s/'/'\\\\''/g;
77812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77813 ;; #(
77815 # `set' quotes correctly as required by POSIX, so do not add quotes.
77816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77818 esac |
77819 sort
77821 sed '
77822 /^ac_cv_env_/b end
77823 t clear
77824 :clear
77825 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77826 t end
77827 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77828 :end' >>confcache
77829 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77830 if test -w "$cache_file"; then
77831 if test "x$cache_file" != "x/dev/null"; then
77832 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77833 $as_echo "$as_me: updating cache $cache_file" >&6;}
77834 if test ! -f "$cache_file" || test -h "$cache_file"; then
77835 cat confcache >"$cache_file"
77836 else
77837 case $cache_file in #(
77838 */* | ?:*)
77839 mv -f confcache "$cache_file"$$ &&
77840 mv -f "$cache_file"$$ "$cache_file" ;; #(
77842 mv -f confcache "$cache_file" ;;
77843 esac
77846 else
77847 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77848 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77851 rm -f confcache
77853 if test ${multilib} = yes; then
77854 multilib_arg="--enable-multilib"
77855 else
77856 multilib_arg=
77859 # Export all the install information.
77861 glibcxx_toolexecdir=no
77862 glibcxx_toolexeclibdir=no
77863 glibcxx_prefixdir=$prefix
77865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77866 $as_echo_n "checking for gxx-include-dir... " >&6; }
77868 # Check whether --with-gxx-include-dir was given.
77869 if test "${with_gxx_include_dir+set}" = set; then :
77870 withval=$with_gxx_include_dir; case "$withval" in
77871 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77872 no) gxx_include_dir=no ;;
77873 *) gxx_include_dir=$withval ;;
77874 esac
77875 else
77876 gxx_include_dir=no
77879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77880 $as_echo "$gxx_include_dir" >&6; }
77882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77883 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77884 # Check whether --enable-version-specific-runtime-libs was given.
77885 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77886 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77887 yes) version_specific_libs=yes ;;
77888 no) version_specific_libs=no ;;
77889 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77890 esac
77891 else
77892 version_specific_libs=no
77895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77896 $as_echo "$version_specific_libs" >&6; }
77899 # Check whether --with-toolexeclibdir was given.
77900 if test "${with_toolexeclibdir+set}" = set; then :
77901 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77905 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77907 esac
77908 else
77909 with_toolexeclibdir=no
77914 # Default case for install directory for include files.
77915 if test $version_specific_libs = no && test $gxx_include_dir = no; then
77916 gxx_include_dir='include/c++/${gcc_version}'
77917 if test -n "$with_cross_host" &&
77918 test x"$with_cross_host" != x"no"; then
77919 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77920 else
77921 gxx_include_dir='${prefix}/'"$gxx_include_dir"
77925 # Version-specific runtime libs processing.
77926 if test $version_specific_libs = yes; then
77927 # Need the gcc compiler version to know where to install libraries
77928 # and header files if --enable-version-specific-runtime-libs option
77929 # is selected. FIXME: these variables are misnamed, there are
77930 # no executables installed in _toolexecdir or _toolexeclibdir.
77931 if test x"$gxx_include_dir" = x"no"; then
77932 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77934 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77935 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77938 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77939 # Install a library built with a cross compiler in tooldir, not libdir.
77940 if test x"$glibcxx_toolexecdir" = x"no"; then
77941 if test -n "$with_cross_host" &&
77942 test x"$with_cross_host" != x"no"; then
77943 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77944 case ${with_toolexeclibdir} in
77946 glibcxx_toolexeclibdir='${toolexecdir}/lib'
77949 glibcxx_toolexeclibdir=${with_toolexeclibdir}
77951 esac
77952 else
77953 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77954 glibcxx_toolexeclibdir='${libdir}'
77956 multi_os_directory=`$CXX -print-multi-os-directory`
77957 case $multi_os_directory in
77958 .) ;; # Avoid trailing /.
77959 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77960 esac
77963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77964 $as_echo_n "checking for install location... " >&6; }
77965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77966 $as_echo "$gxx_include_dir" >&6; }
77974 # Export all the include and flag information to Makefiles.
77976 # Used for every C++ compile we perform.
77977 GLIBCXX_INCLUDES="\
77978 -I$glibcxx_builddir/include/$host_alias \
77979 -I$glibcxx_builddir/include \
77980 -I$glibcxx_srcdir/libsupc++"
77982 # For Canadian crosses, pick this up too.
77983 if test $CANADIAN = yes; then
77984 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77987 # Stuff in the actual top level. Currently only used by libsupc++ to
77988 # get unwind* headers from the libgcc dir.
77989 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77990 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77992 # Now, export this to all the little Makefiles....
77997 # Optimization flags that are probably a good idea for thrill-seekers. Just
77998 # uncomment the lines below and make, everything else is ready to go...
77999 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78000 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78003 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78007 # Determine what GCC version number to use in filesystem paths.
78009 get_gcc_base_ver="cat"
78011 # Check whether --with-gcc-major-version-only was given.
78012 if test "${with_gcc_major_version_only+set}" = set; then :
78013 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78014 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78022 ac_config_files="$ac_config_files Makefile"
78024 ac_config_files="$ac_config_files scripts/testsuite_flags"
78026 ac_config_files="$ac_config_files scripts/extract_symvers"
78028 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78031 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78032 # that multilib installs will end up installed in the correct place.
78033 # The testsuite needs it for multilib-aware ABI baseline files.
78034 # To work around this not being passed down from config-ml.in ->
78035 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78036 # append it here. Only modify Makefiles that have just been created.
78038 # Also, get rid of this simulated-VPATH thing that automake does.
78039 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/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78042 ac_config_commands="$ac_config_commands generate-headers"
78045 cat >confcache <<\_ACEOF
78046 # This file is a shell script that caches the results of configure
78047 # tests run on this system so they can be shared between configure
78048 # scripts and configure runs, see configure's option --config-cache.
78049 # It is not useful on other systems. If it contains results you don't
78050 # want to keep, you may remove or edit it.
78052 # config.status only pays attention to the cache file if you give it
78053 # the --recheck option to rerun configure.
78055 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78056 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78057 # following values.
78059 _ACEOF
78061 # The following way of writing the cache mishandles newlines in values,
78062 # but we know of no workaround that is simple, portable, and efficient.
78063 # So, we kill variables containing newlines.
78064 # Ultrix sh set writes to stderr and can't be redirected directly,
78065 # and sets the high bit in the cache file unless we assign to the vars.
78067 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78068 eval ac_val=\$$ac_var
78069 case $ac_val in #(
78070 *${as_nl}*)
78071 case $ac_var in #(
78072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78074 esac
78075 case $ac_var in #(
78076 _ | IFS | as_nl) ;; #(
78077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78078 *) { eval $ac_var=; unset $ac_var;} ;;
78079 esac ;;
78080 esac
78081 done
78083 (set) 2>&1 |
78084 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78085 *${as_nl}ac_space=\ *)
78086 # `set' does not quote correctly, so add quotes: double-quote
78087 # substitution turns \\\\ into \\, and sed turns \\ into \.
78088 sed -n \
78089 "s/'/'\\\\''/g;
78090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78091 ;; #(
78093 # `set' quotes correctly as required by POSIX, so do not add quotes.
78094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78096 esac |
78097 sort
78099 sed '
78100 /^ac_cv_env_/b end
78101 t clear
78102 :clear
78103 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78104 t end
78105 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78106 :end' >>confcache
78107 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78108 if test -w "$cache_file"; then
78109 if test "x$cache_file" != "x/dev/null"; then
78110 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78111 $as_echo "$as_me: updating cache $cache_file" >&6;}
78112 if test ! -f "$cache_file" || test -h "$cache_file"; then
78113 cat confcache >"$cache_file"
78114 else
78115 case $cache_file in #(
78116 */* | ?:*)
78117 mv -f confcache "$cache_file"$$ &&
78118 mv -f "$cache_file"$$ "$cache_file" ;; #(
78120 mv -f confcache "$cache_file" ;;
78121 esac
78124 else
78125 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78126 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78129 rm -f confcache
78131 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78132 # Let make expand exec_prefix.
78133 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78135 DEFS=-DHAVE_CONFIG_H
78137 ac_libobjs=
78138 ac_ltlibobjs=
78140 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78141 # 1. Remove the extension, and $U if already installed.
78142 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78143 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78144 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78145 # will be set to the directory where LIBOBJS objects are built.
78146 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78147 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78148 done
78149 LIBOBJS=$ac_libobjs
78151 LTLIBOBJS=$ac_ltlibobjs
78154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78155 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78156 if test -n "$am_sleep_pid"; then
78157 # Hide warnings about reused PIDs.
78158 wait $am_sleep_pid 2>/dev/null
78160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78161 $as_echo "done" >&6; }
78162 if test -n "$EXEEXT"; then
78163 am__EXEEXT_TRUE=
78164 am__EXEEXT_FALSE='#'
78165 else
78166 am__EXEEXT_TRUE='#'
78167 am__EXEEXT_FALSE=
78170 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78171 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78174 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78175 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78178 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78179 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78182 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78183 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78186 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78187 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78190 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78191 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78194 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78195 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78198 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78199 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78202 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78203 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78206 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78207 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78210 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78211 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78214 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78215 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78218 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78219 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78222 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78223 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78226 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78227 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78230 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78231 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78234 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78235 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78238 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78239 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78242 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78243 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78246 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78247 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78250 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78251 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78254 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78255 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78258 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78259 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78262 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78263 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78266 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78267 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78270 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78271 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78274 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78275 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78278 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78279 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78282 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78283 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78286 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78287 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78290 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78291 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78294 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78295 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78299 : "${CONFIG_STATUS=./config.status}"
78300 ac_write_fail=0
78301 ac_clean_files_save=$ac_clean_files
78302 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78304 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78305 as_write_fail=0
78306 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78307 #! $SHELL
78308 # Generated by $as_me.
78309 # Run this file to recreate the current configuration.
78310 # Compiler output produced by configure, useful for debugging
78311 # configure, is in config.log if it exists.
78313 debug=false
78314 ac_cs_recheck=false
78315 ac_cs_silent=false
78317 SHELL=\${CONFIG_SHELL-$SHELL}
78318 export SHELL
78319 _ASEOF
78320 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78321 ## -------------------- ##
78322 ## M4sh Initialization. ##
78323 ## -------------------- ##
78325 # Be more Bourne compatible
78326 DUALCASE=1; export DUALCASE # for MKS sh
78327 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78328 emulate sh
78329 NULLCMD=:
78330 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78331 # is contrary to our usage. Disable this feature.
78332 alias -g '${1+"$@"}'='"$@"'
78333 setopt NO_GLOB_SUBST
78334 else
78335 case `(set -o) 2>/dev/null` in #(
78336 *posix*) :
78337 set -o posix ;; #(
78338 *) :
78340 esac
78344 as_nl='
78346 export as_nl
78347 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78348 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78349 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78350 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78351 # Prefer a ksh shell builtin over an external printf program on Solaris,
78352 # but without wasting forks for bash or zsh.
78353 if test -z "$BASH_VERSION$ZSH_VERSION" \
78354 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78355 as_echo='print -r --'
78356 as_echo_n='print -rn --'
78357 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78358 as_echo='printf %s\n'
78359 as_echo_n='printf %s'
78360 else
78361 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78362 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78363 as_echo_n='/usr/ucb/echo -n'
78364 else
78365 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78366 as_echo_n_body='eval
78367 arg=$1;
78368 case $arg in #(
78369 *"$as_nl"*)
78370 expr "X$arg" : "X\\(.*\\)$as_nl";
78371 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78372 esac;
78373 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78375 export as_echo_n_body
78376 as_echo_n='sh -c $as_echo_n_body as_echo'
78378 export as_echo_body
78379 as_echo='sh -c $as_echo_body as_echo'
78382 # The user is always right.
78383 if test "${PATH_SEPARATOR+set}" != set; then
78384 PATH_SEPARATOR=:
78385 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78386 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78387 PATH_SEPARATOR=';'
78392 # IFS
78393 # We need space, tab and new line, in precisely that order. Quoting is
78394 # there to prevent editors from complaining about space-tab.
78395 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78396 # splitting by setting IFS to empty value.)
78397 IFS=" "" $as_nl"
78399 # Find who we are. Look in the path if we contain no directory separator.
78400 as_myself=
78401 case $0 in #((
78402 *[\\/]* ) as_myself=$0 ;;
78403 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78404 for as_dir in $PATH
78406 IFS=$as_save_IFS
78407 test -z "$as_dir" && as_dir=.
78408 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78409 done
78410 IFS=$as_save_IFS
78413 esac
78414 # We did not find ourselves, most probably we were run as `sh COMMAND'
78415 # in which case we are not to be found in the path.
78416 if test "x$as_myself" = x; then
78417 as_myself=$0
78419 if test ! -f "$as_myself"; then
78420 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78421 exit 1
78424 # Unset variables that we do not need and which cause bugs (e.g. in
78425 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78426 # suppresses any "Segmentation fault" message there. '((' could
78427 # trigger a bug in pdksh 5.2.14.
78428 for as_var in BASH_ENV ENV MAIL MAILPATH
78429 do eval test x\${$as_var+set} = xset \
78430 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78431 done
78432 PS1='$ '
78433 PS2='> '
78434 PS4='+ '
78436 # NLS nuisances.
78437 LC_ALL=C
78438 export LC_ALL
78439 LANGUAGE=C
78440 export LANGUAGE
78442 # CDPATH.
78443 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78446 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78447 # ----------------------------------------
78448 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78449 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78450 # script with STATUS, using 1 if that was 0.
78451 as_fn_error ()
78453 as_status=$1; test $as_status -eq 0 && as_status=1
78454 if test "$4"; then
78455 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78456 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78458 $as_echo "$as_me: error: $2" >&2
78459 as_fn_exit $as_status
78460 } # as_fn_error
78463 # as_fn_set_status STATUS
78464 # -----------------------
78465 # Set $? to STATUS, without forking.
78466 as_fn_set_status ()
78468 return $1
78469 } # as_fn_set_status
78471 # as_fn_exit STATUS
78472 # -----------------
78473 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78474 as_fn_exit ()
78476 set +e
78477 as_fn_set_status $1
78478 exit $1
78479 } # as_fn_exit
78481 # as_fn_unset VAR
78482 # ---------------
78483 # Portably unset VAR.
78484 as_fn_unset ()
78486 { eval $1=; unset $1;}
78488 as_unset=as_fn_unset
78489 # as_fn_append VAR VALUE
78490 # ----------------------
78491 # Append the text in VALUE to the end of the definition contained in VAR. Take
78492 # advantage of any shell optimizations that allow amortized linear growth over
78493 # repeated appends, instead of the typical quadratic growth present in naive
78494 # implementations.
78495 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78496 eval 'as_fn_append ()
78498 eval $1+=\$2
78500 else
78501 as_fn_append ()
78503 eval $1=\$$1\$2
78505 fi # as_fn_append
78507 # as_fn_arith ARG...
78508 # ------------------
78509 # Perform arithmetic evaluation on the ARGs, and store the result in the
78510 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78511 # must be portable across $(()) and expr.
78512 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78513 eval 'as_fn_arith ()
78515 as_val=$(( $* ))
78517 else
78518 as_fn_arith ()
78520 as_val=`expr "$@" || test $? -eq 1`
78522 fi # as_fn_arith
78525 if expr a : '\(a\)' >/dev/null 2>&1 &&
78526 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78527 as_expr=expr
78528 else
78529 as_expr=false
78532 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78533 as_basename=basename
78534 else
78535 as_basename=false
78538 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78539 as_dirname=dirname
78540 else
78541 as_dirname=false
78544 as_me=`$as_basename -- "$0" ||
78545 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78546 X"$0" : 'X\(//\)$' \| \
78547 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78548 $as_echo X/"$0" |
78549 sed '/^.*\/\([^/][^/]*\)\/*$/{
78550 s//\1/
78553 /^X\/\(\/\/\)$/{
78554 s//\1/
78557 /^X\/\(\/\).*/{
78558 s//\1/
78561 s/.*/./; q'`
78563 # Avoid depending upon Character Ranges.
78564 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78565 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78566 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78567 as_cr_digits='0123456789'
78568 as_cr_alnum=$as_cr_Letters$as_cr_digits
78570 ECHO_C= ECHO_N= ECHO_T=
78571 case `echo -n x` in #(((((
78572 -n*)
78573 case `echo 'xy\c'` in
78574 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78575 xy) ECHO_C='\c';;
78576 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78577 ECHO_T=' ';;
78578 esac;;
78580 ECHO_N='-n';;
78581 esac
78583 rm -f conf$$ conf$$.exe conf$$.file
78584 if test -d conf$$.dir; then
78585 rm -f conf$$.dir/conf$$.file
78586 else
78587 rm -f conf$$.dir
78588 mkdir conf$$.dir 2>/dev/null
78590 if (echo >conf$$.file) 2>/dev/null; then
78591 if ln -s conf$$.file conf$$ 2>/dev/null; then
78592 as_ln_s='ln -s'
78593 # ... but there are two gotchas:
78594 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78595 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78596 # In both cases, we have to default to `cp -pR'.
78597 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78598 as_ln_s='cp -pR'
78599 elif ln conf$$.file conf$$ 2>/dev/null; then
78600 as_ln_s=ln
78601 else
78602 as_ln_s='cp -pR'
78604 else
78605 as_ln_s='cp -pR'
78607 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78608 rmdir conf$$.dir 2>/dev/null
78611 # as_fn_mkdir_p
78612 # -------------
78613 # Create "$as_dir" as a directory, including parents if necessary.
78614 as_fn_mkdir_p ()
78617 case $as_dir in #(
78618 -*) as_dir=./$as_dir;;
78619 esac
78620 test -d "$as_dir" || eval $as_mkdir_p || {
78621 as_dirs=
78622 while :; do
78623 case $as_dir in #(
78624 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78625 *) as_qdir=$as_dir;;
78626 esac
78627 as_dirs="'$as_qdir' $as_dirs"
78628 as_dir=`$as_dirname -- "$as_dir" ||
78629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78630 X"$as_dir" : 'X\(//\)[^/]' \| \
78631 X"$as_dir" : 'X\(//\)$' \| \
78632 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78633 $as_echo X"$as_dir" |
78634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78635 s//\1/
78638 /^X\(\/\/\)[^/].*/{
78639 s//\1/
78642 /^X\(\/\/\)$/{
78643 s//\1/
78646 /^X\(\/\).*/{
78647 s//\1/
78650 s/.*/./; q'`
78651 test -d "$as_dir" && break
78652 done
78653 test -z "$as_dirs" || eval "mkdir $as_dirs"
78654 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78657 } # as_fn_mkdir_p
78658 if mkdir -p . 2>/dev/null; then
78659 as_mkdir_p='mkdir -p "$as_dir"'
78660 else
78661 test -d ./-p && rmdir ./-p
78662 as_mkdir_p=false
78666 # as_fn_executable_p FILE
78667 # -----------------------
78668 # Test if FILE is an executable regular file.
78669 as_fn_executable_p ()
78671 test -f "$1" && test -x "$1"
78672 } # as_fn_executable_p
78673 as_test_x='test -x'
78674 as_executable_p=as_fn_executable_p
78676 # Sed expression to map a string onto a valid CPP name.
78677 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78679 # Sed expression to map a string onto a valid variable name.
78680 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78683 exec 6>&1
78684 ## ----------------------------------- ##
78685 ## Main body of $CONFIG_STATUS script. ##
78686 ## ----------------------------------- ##
78687 _ASEOF
78688 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78691 # Save the log message, to keep $0 and so on meaningful, and to
78692 # report actual input values of CONFIG_FILES etc. instead of their
78693 # values after options handling.
78694 ac_log="
78695 This file was extended by package-unused $as_me version-unused, which was
78696 generated by GNU Autoconf 2.69. Invocation command line was
78698 CONFIG_FILES = $CONFIG_FILES
78699 CONFIG_HEADERS = $CONFIG_HEADERS
78700 CONFIG_LINKS = $CONFIG_LINKS
78701 CONFIG_COMMANDS = $CONFIG_COMMANDS
78702 $ $0 $@
78704 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78707 _ACEOF
78709 case $ac_config_files in *"
78710 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78711 esac
78713 case $ac_config_headers in *"
78714 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78715 esac
78718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78719 # Files that config.status was made for.
78720 config_files="$ac_config_files"
78721 config_headers="$ac_config_headers"
78722 config_commands="$ac_config_commands"
78724 _ACEOF
78726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78727 ac_cs_usage="\
78728 \`$as_me' instantiates files and other configuration actions
78729 from templates according to the current configuration. Unless the files
78730 and actions are specified as TAGs, all are instantiated by default.
78732 Usage: $0 [OPTION]... [TAG]...
78734 -h, --help print this help, then exit
78735 -V, --version print version number and configuration settings, then exit
78736 --config print configuration, then exit
78737 -q, --quiet, --silent
78738 do not print progress messages
78739 -d, --debug don't remove temporary files
78740 --recheck update $as_me by reconfiguring in the same conditions
78741 --file=FILE[:TEMPLATE]
78742 instantiate the configuration file FILE
78743 --header=FILE[:TEMPLATE]
78744 instantiate the configuration header FILE
78746 Configuration files:
78747 $config_files
78749 Configuration headers:
78750 $config_headers
78752 Configuration commands:
78753 $config_commands
78755 Report bugs to the package provider."
78757 _ACEOF
78758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78759 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78760 ac_cs_version="\\
78761 package-unused config.status version-unused
78762 configured by $0, generated by GNU Autoconf 2.69,
78763 with options \\"\$ac_cs_config\\"
78765 Copyright (C) 2012 Free Software Foundation, Inc.
78766 This config.status script is free software; the Free Software Foundation
78767 gives unlimited permission to copy, distribute and modify it."
78769 ac_pwd='$ac_pwd'
78770 srcdir='$srcdir'
78771 INSTALL='$INSTALL'
78772 MKDIR_P='$MKDIR_P'
78773 AWK='$AWK'
78774 test -n "\$AWK" || AWK=awk
78775 _ACEOF
78777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78778 # The default lists apply if the user does not specify any file.
78779 ac_need_defaults=:
78780 while test $# != 0
78782 case $1 in
78783 --*=?*)
78784 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78785 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78786 ac_shift=:
78788 --*=)
78789 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78790 ac_optarg=
78791 ac_shift=:
78794 ac_option=$1
78795 ac_optarg=$2
78796 ac_shift=shift
78798 esac
78800 case $ac_option in
78801 # Handling of the options.
78802 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78803 ac_cs_recheck=: ;;
78804 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78805 $as_echo "$ac_cs_version"; exit ;;
78806 --config | --confi | --conf | --con | --co | --c )
78807 $as_echo "$ac_cs_config"; exit ;;
78808 --debug | --debu | --deb | --de | --d | -d )
78809 debug=: ;;
78810 --file | --fil | --fi | --f )
78811 $ac_shift
78812 case $ac_optarg in
78813 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78814 '') as_fn_error $? "missing file argument" ;;
78815 esac
78816 as_fn_append CONFIG_FILES " '$ac_optarg'"
78817 ac_need_defaults=false;;
78818 --header | --heade | --head | --hea )
78819 $ac_shift
78820 case $ac_optarg in
78821 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78822 esac
78823 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78824 ac_need_defaults=false;;
78825 --he | --h)
78826 # Conflict between --help and --header
78827 as_fn_error $? "ambiguous option: \`$1'
78828 Try \`$0 --help' for more information.";;
78829 --help | --hel | -h )
78830 $as_echo "$ac_cs_usage"; exit ;;
78831 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78832 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78833 ac_cs_silent=: ;;
78835 # This is an error.
78836 -*) as_fn_error $? "unrecognized option: \`$1'
78837 Try \`$0 --help' for more information." ;;
78839 *) as_fn_append ac_config_targets " $1"
78840 ac_need_defaults=false ;;
78842 esac
78843 shift
78844 done
78846 ac_configure_extra_args=
78848 if $ac_cs_silent; then
78849 exec 6>/dev/null
78850 ac_configure_extra_args="$ac_configure_extra_args --silent"
78853 _ACEOF
78854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78855 if \$ac_cs_recheck; then
78856 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78857 shift
78858 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78859 CONFIG_SHELL='$SHELL'
78860 export CONFIG_SHELL
78861 exec "\$@"
78864 _ACEOF
78865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78866 exec 5>>config.log
78868 echo
78869 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78870 ## Running $as_me. ##
78871 _ASBOX
78872 $as_echo "$ac_log"
78873 } >&5
78875 _ACEOF
78876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78878 # INIT-COMMANDS
78881 srcdir="$srcdir"
78882 host="$host"
78883 target="$target"
78884 with_multisubdir="$with_multisubdir"
78885 with_multisrctop="$with_multisrctop"
78886 with_target_subdir="$with_target_subdir"
78887 ac_configure_args="${multilib_arg} ${ac_configure_args}"
78888 multi_basedir="$multi_basedir"
78889 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78890 CC="$CC"
78891 CXX="$CXX"
78892 GFORTRAN="$GFORTRAN"
78893 GDC="$GDC"
78896 # The HP-UX ksh and POSIX shell print the target directory to stdout
78897 # if CDPATH is set.
78898 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78900 sed_quote_subst='$sed_quote_subst'
78901 double_quote_subst='$double_quote_subst'
78902 delay_variable_subst='$delay_variable_subst'
78903 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78904 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78905 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78906 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78907 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78908 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78909 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78910 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78911 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78912 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78913 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78914 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78915 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78916 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78917 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78918 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78919 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78920 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78921 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78922 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78923 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78924 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78925 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78926 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78927 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78928 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78929 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78930 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78931 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78932 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78933 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78934 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78935 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78936 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78937 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78938 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78939 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78940 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78941 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78942 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78943 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78944 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78945 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78946 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78947 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78948 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78949 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78950 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78951 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"`'
78952 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78953 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78954 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78955 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78956 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78957 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78958 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78959 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78960 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78961 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78962 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78963 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78964 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78965 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78966 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78967 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78968 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78969 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78970 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78971 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78972 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78973 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78974 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78975 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78976 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78977 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78978 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78979 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78980 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78981 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78982 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78983 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78984 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78985 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78986 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78987 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78988 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78989 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78990 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78991 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78992 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78993 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78994 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78995 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78996 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78997 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78998 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78999 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79000 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79001 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79002 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79003 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79004 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79005 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79006 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79007 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79008 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79009 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79010 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79011 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79012 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79013 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79014 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79015 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79016 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79017 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79018 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79019 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79020 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79021 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79022 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79023 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79024 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79025 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79026 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79027 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79028 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79029 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79030 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79031 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79032 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79033 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79034 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79035 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79036 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79037 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79038 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79039 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79040 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79041 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79042 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79043 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79044 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79045 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79046 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79047 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79048 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79049 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79050 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79051 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79052 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79053 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79054 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79055 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79056 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79057 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79058 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79059 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79060 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79061 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79062 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79063 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79064 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79065 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79066 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79067 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79068 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79069 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79070 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79071 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79072 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79073 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79074 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79075 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79076 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79077 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79079 LTCC='$LTCC'
79080 LTCFLAGS='$LTCFLAGS'
79081 compiler='$compiler_DEFAULT'
79083 # A function that is used when there is no print builtin or printf.
79084 func_fallback_echo ()
79086 eval 'cat <<_LTECHO_EOF
79088 _LTECHO_EOF'
79091 # Quote evaled strings.
79092 for var in SHELL \
79093 ECHO \
79094 SED \
79095 GREP \
79096 EGREP \
79097 FGREP \
79098 LD \
79099 NM \
79100 LN_S \
79101 lt_SP2NL \
79102 lt_NL2SP \
79103 reload_flag \
79104 OBJDUMP \
79105 deplibs_check_method \
79106 file_magic_cmd \
79107 AR \
79108 AR_FLAGS \
79109 STRIP \
79110 RANLIB \
79111 CC \
79112 CFLAGS \
79113 compiler \
79114 lt_cv_sys_global_symbol_pipe \
79115 lt_cv_sys_global_symbol_to_cdecl \
79116 lt_cv_sys_global_symbol_to_c_name_address \
79117 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79118 lt_prog_compiler_no_builtin_flag \
79119 lt_prog_compiler_wl \
79120 lt_prog_compiler_pic \
79121 lt_prog_compiler_static \
79122 lt_cv_prog_compiler_c_o \
79123 need_locks \
79124 DSYMUTIL \
79125 NMEDIT \
79126 LIPO \
79127 OTOOL \
79128 OTOOL64 \
79129 shrext_cmds \
79130 export_dynamic_flag_spec \
79131 whole_archive_flag_spec \
79132 compiler_needs_object \
79133 with_gnu_ld \
79134 allow_undefined_flag \
79135 no_undefined_flag \
79136 hardcode_libdir_flag_spec \
79137 hardcode_libdir_flag_spec_ld \
79138 hardcode_libdir_separator \
79139 fix_srcfile_path \
79140 exclude_expsyms \
79141 include_expsyms \
79142 file_list_spec \
79143 variables_saved_for_relink \
79144 libname_spec \
79145 library_names_spec \
79146 soname_spec \
79147 install_override_mode \
79148 finish_eval \
79149 old_striplib \
79150 striplib \
79151 compiler_lib_search_dirs \
79152 predep_objects \
79153 postdep_objects \
79154 predeps \
79155 postdeps \
79156 compiler_lib_search_path \
79157 LD_CXX \
79158 reload_flag_CXX \
79159 compiler_CXX \
79160 lt_prog_compiler_no_builtin_flag_CXX \
79161 lt_prog_compiler_wl_CXX \
79162 lt_prog_compiler_pic_CXX \
79163 lt_prog_compiler_static_CXX \
79164 lt_cv_prog_compiler_c_o_CXX \
79165 export_dynamic_flag_spec_CXX \
79166 whole_archive_flag_spec_CXX \
79167 compiler_needs_object_CXX \
79168 with_gnu_ld_CXX \
79169 allow_undefined_flag_CXX \
79170 no_undefined_flag_CXX \
79171 hardcode_libdir_flag_spec_CXX \
79172 hardcode_libdir_flag_spec_ld_CXX \
79173 hardcode_libdir_separator_CXX \
79174 fix_srcfile_path_CXX \
79175 exclude_expsyms_CXX \
79176 include_expsyms_CXX \
79177 file_list_spec_CXX \
79178 compiler_lib_search_dirs_CXX \
79179 predep_objects_CXX \
79180 postdep_objects_CXX \
79181 predeps_CXX \
79182 postdeps_CXX \
79183 compiler_lib_search_path_CXX; do
79184 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79185 *[\\\\\\\`\\"\\\$]*)
79186 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79189 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79191 esac
79192 done
79194 # Double-quote double-evaled strings.
79195 for var in reload_cmds \
79196 old_postinstall_cmds \
79197 old_postuninstall_cmds \
79198 old_archive_cmds \
79199 extract_expsyms_cmds \
79200 old_archive_from_new_cmds \
79201 old_archive_from_expsyms_cmds \
79202 archive_cmds \
79203 archive_expsym_cmds \
79204 module_cmds \
79205 module_expsym_cmds \
79206 export_symbols_cmds \
79207 prelink_cmds \
79208 postinstall_cmds \
79209 postuninstall_cmds \
79210 finish_cmds \
79211 sys_lib_search_path_spec \
79212 sys_lib_dlsearch_path_spec \
79213 reload_cmds_CXX \
79214 old_archive_cmds_CXX \
79215 old_archive_from_new_cmds_CXX \
79216 old_archive_from_expsyms_cmds_CXX \
79217 archive_cmds_CXX \
79218 archive_expsym_cmds_CXX \
79219 module_cmds_CXX \
79220 module_expsym_cmds_CXX \
79221 export_symbols_cmds_CXX \
79222 prelink_cmds_CXX; do
79223 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79224 *[\\\\\\\`\\"\\\$]*)
79225 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79228 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79230 esac
79231 done
79233 ac_aux_dir='$ac_aux_dir'
79234 xsi_shell='$xsi_shell'
79235 lt_shell_append='$lt_shell_append'
79237 # See if we are running on zsh, and set the options which allow our
79238 # commands through without removal of \ escapes INIT.
79239 if test -n "\${ZSH_VERSION+set}" ; then
79240 setopt NO_GLOB_SUBST
79244 PACKAGE='$PACKAGE'
79245 VERSION='$VERSION'
79246 TIMESTAMP='$TIMESTAMP'
79247 RM='$RM'
79248 ofile='$ofile'
79255 GCC="$GCC"
79256 CC="$CC"
79257 acx_cv_header_stdint="$acx_cv_header_stdint"
79258 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79259 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79260 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79261 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79262 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79263 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79264 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79265 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79266 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79267 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79268 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79269 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79270 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79273 _ACEOF
79275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79277 # Handling of arguments.
79278 for ac_config_target in $ac_config_targets
79280 case $ac_config_target in
79281 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79282 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79283 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79284 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79285 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79286 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79287 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79288 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79289 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79290 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79291 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79292 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79293 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79294 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79295 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79296 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79297 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79298 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79299 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79300 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79302 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79303 esac
79304 done
79307 # If the user did not use the arguments to specify the items to instantiate,
79308 # then the envvar interface is used. Set only those that are not.
79309 # We use the long form for the default assignment because of an extremely
79310 # bizarre bug on SunOS 4.1.3.
79311 if $ac_need_defaults; then
79312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79317 # Have a temporary directory for convenience. Make it in the build tree
79318 # simply because there is no reason against having it here, and in addition,
79319 # creating and moving files from /tmp can sometimes cause problems.
79320 # Hook for its removal unless debugging.
79321 # Note that there is a small window in which the directory will not be cleaned:
79322 # after its creation but before its name has been assigned to `$tmp'.
79323 $debug ||
79325 tmp= ac_tmp=
79326 trap 'exit_status=$?
79327 : "${ac_tmp:=$tmp}"
79328 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79330 trap 'as_fn_exit 1' 1 2 13 15
79332 # Create a (secure) tmp directory for tmp files.
79335 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79336 test -d "$tmp"
79337 } ||
79339 tmp=./conf$$-$RANDOM
79340 (umask 077 && mkdir "$tmp")
79341 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79342 ac_tmp=$tmp
79344 # Set up the scripts for CONFIG_FILES section.
79345 # No need to generate them if there are no CONFIG_FILES.
79346 # This happens for instance with `./config.status config.h'.
79347 if test -n "$CONFIG_FILES"; then
79350 ac_cr=`echo X | tr X '\015'`
79351 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79352 # But we know of no other shell where ac_cr would be empty at this
79353 # point, so we can use a bashism as a fallback.
79354 if test "x$ac_cr" = x; then
79355 eval ac_cr=\$\'\\r\'
79357 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79358 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79359 ac_cs_awk_cr='\\r'
79360 else
79361 ac_cs_awk_cr=$ac_cr
79364 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79365 _ACEOF
79369 echo "cat >conf$$subs.awk <<_ACEOF" &&
79370 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79371 echo "_ACEOF"
79372 } >conf$$subs.sh ||
79373 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79374 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79375 ac_delim='%!_!# '
79376 for ac_last_try in false false false false false :; do
79377 . ./conf$$subs.sh ||
79378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79380 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79381 if test $ac_delim_n = $ac_delim_num; then
79382 break
79383 elif $ac_last_try; then
79384 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79385 else
79386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79388 done
79389 rm -f conf$$subs.sh
79391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79392 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79393 _ACEOF
79394 sed -n '
79396 s/^/S["/; s/!.*/"]=/
79399 s/^[^!]*!//
79400 :repl
79401 t repl
79402 s/'"$ac_delim"'$//
79403 t delim
79406 s/\(.\{148\}\)..*/\1/
79407 t more1
79408 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79411 b repl
79412 :more1
79413 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79416 s/.\{148\}//
79417 t nl
79418 :delim
79420 s/\(.\{148\}\)..*/\1/
79421 t more2
79422 s/["\\]/\\&/g; s/^/"/; s/$/"/
79425 :more2
79426 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79429 s/.\{148\}//
79430 t delim
79431 ' <conf$$subs.awk | sed '
79432 /^[^""]/{
79434 s/\n//
79436 ' >>$CONFIG_STATUS || ac_write_fail=1
79437 rm -f conf$$subs.awk
79438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79439 _ACAWK
79440 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79441 for (key in S) S_is_set[key] = 1
79442 FS = "\a"
79446 line = $ 0
79447 nfields = split(line, field, "@")
79448 substed = 0
79449 len = length(field[1])
79450 for (i = 2; i < nfields; i++) {
79451 key = field[i]
79452 keylen = length(key)
79453 if (S_is_set[key]) {
79454 value = S[key]
79455 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79456 len += length(value) + length(field[++i])
79457 substed = 1
79458 } else
79459 len += 1 + keylen
79462 print line
79465 _ACAWK
79466 _ACEOF
79467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79468 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79469 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79470 else
79472 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79473 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79474 _ACEOF
79476 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79477 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79478 # trailing colons and then remove the whole line if VPATH becomes empty
79479 # (actually we leave an empty line to preserve line numbers).
79480 if test "x$srcdir" = x.; then
79481 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79483 s///
79484 s/^/:/
79485 s/[ ]*$/:/
79486 s/:\$(srcdir):/:/g
79487 s/:\${srcdir}:/:/g
79488 s/:@srcdir@:/:/g
79489 s/^:*//
79490 s/:*$//
79492 s/\(=[ ]*\).*/\1/
79494 s/\n//
79495 s/^[^=]*=[ ]*$//
79499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79500 fi # test -n "$CONFIG_FILES"
79502 # Set up the scripts for CONFIG_HEADERS section.
79503 # No need to generate them if there are no CONFIG_HEADERS.
79504 # This happens for instance with `./config.status Makefile'.
79505 if test -n "$CONFIG_HEADERS"; then
79506 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79507 BEGIN {
79508 _ACEOF
79510 # Transform confdefs.h into an awk script `defines.awk', embedded as
79511 # here-document in config.status, that substitutes the proper values into
79512 # config.h.in to produce config.h.
79514 # Create a delimiter string that does not exist in confdefs.h, to ease
79515 # handling of long lines.
79516 ac_delim='%!_!# '
79517 for ac_last_try in false false :; do
79518 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79519 if test -z "$ac_tt"; then
79520 break
79521 elif $ac_last_try; then
79522 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79523 else
79524 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79526 done
79528 # For the awk script, D is an array of macro values keyed by name,
79529 # likewise P contains macro parameters if any. Preserve backslash
79530 # newline sequences.
79532 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79533 sed -n '
79534 s/.\{148\}/&'"$ac_delim"'/g
79535 t rset
79536 :rset
79537 s/^[ ]*#[ ]*define[ ][ ]*/ /
79538 t def
79540 :def
79541 s/\\$//
79542 t bsnl
79543 s/["\\]/\\&/g
79544 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79545 D["\1"]=" \3"/p
79546 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79548 :bsnl
79549 s/["\\]/\\&/g
79550 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79551 D["\1"]=" \3\\\\\\n"\\/p
79552 t cont
79553 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79554 t cont
79556 :cont
79558 s/.\{148\}/&'"$ac_delim"'/g
79559 t clear
79560 :clear
79561 s/\\$//
79562 t bsnlc
79563 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79565 :bsnlc
79566 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79567 b cont
79568 ' <confdefs.h | sed '
79569 s/'"$ac_delim"'/"\\\
79570 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79573 for (key in D) D_is_set[key] = 1
79574 FS = "\a"
79576 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79577 line = \$ 0
79578 split(line, arg, " ")
79579 if (arg[1] == "#") {
79580 defundef = arg[2]
79581 mac1 = arg[3]
79582 } else {
79583 defundef = substr(arg[1], 2)
79584 mac1 = arg[2]
79586 split(mac1, mac2, "(") #)
79587 macro = mac2[1]
79588 prefix = substr(line, 1, index(line, defundef) - 1)
79589 if (D_is_set[macro]) {
79590 # Preserve the white space surrounding the "#".
79591 print prefix "define", macro P[macro] D[macro]
79592 next
79593 } else {
79594 # Replace #undef with comments. This is necessary, for example,
79595 # in the case of _POSIX_SOURCE, which is predefined and required
79596 # on some systems where configure will not decide to define it.
79597 if (defundef == "undef") {
79598 print "/*", prefix defundef, macro, "*/"
79599 next
79603 { print }
79604 _ACAWK
79605 _ACEOF
79606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79607 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79608 fi # test -n "$CONFIG_HEADERS"
79611 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79612 shift
79613 for ac_tag
79615 case $ac_tag in
79616 :[FHLC]) ac_mode=$ac_tag; continue;;
79617 esac
79618 case $ac_mode$ac_tag in
79619 :[FHL]*:*);;
79620 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79621 :[FH]-) ac_tag=-:-;;
79622 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79623 esac
79624 ac_save_IFS=$IFS
79625 IFS=:
79626 set x $ac_tag
79627 IFS=$ac_save_IFS
79628 shift
79629 ac_file=$1
79630 shift
79632 case $ac_mode in
79633 :L) ac_source=$1;;
79634 :[FH])
79635 ac_file_inputs=
79636 for ac_f
79638 case $ac_f in
79639 -) ac_f="$ac_tmp/stdin";;
79640 *) # Look for the file first in the build tree, then in the source tree
79641 # (if the path is not absolute). The absolute path cannot be DOS-style,
79642 # because $ac_f cannot contain `:'.
79643 test -f "$ac_f" ||
79644 case $ac_f in
79645 [\\/$]*) false;;
79646 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79647 esac ||
79648 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79649 esac
79650 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79651 as_fn_append ac_file_inputs " '$ac_f'"
79652 done
79654 # Let's still pretend it is `configure' which instantiates (i.e., don't
79655 # use $as_me), people would be surprised to read:
79656 # /* config.h. Generated by config.status. */
79657 configure_input='Generated from '`
79658 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79659 `' by configure.'
79660 if test x"$ac_file" != x-; then
79661 configure_input="$ac_file. $configure_input"
79662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79663 $as_echo "$as_me: creating $ac_file" >&6;}
79665 # Neutralize special characters interpreted by sed in replacement strings.
79666 case $configure_input in #(
79667 *\&* | *\|* | *\\* )
79668 ac_sed_conf_input=`$as_echo "$configure_input" |
79669 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79670 *) ac_sed_conf_input=$configure_input;;
79671 esac
79673 case $ac_tag in
79674 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79676 esac
79678 esac
79680 ac_dir=`$as_dirname -- "$ac_file" ||
79681 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79682 X"$ac_file" : 'X\(//\)[^/]' \| \
79683 X"$ac_file" : 'X\(//\)$' \| \
79684 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79685 $as_echo X"$ac_file" |
79686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79687 s//\1/
79690 /^X\(\/\/\)[^/].*/{
79691 s//\1/
79694 /^X\(\/\/\)$/{
79695 s//\1/
79698 /^X\(\/\).*/{
79699 s//\1/
79702 s/.*/./; q'`
79703 as_dir="$ac_dir"; as_fn_mkdir_p
79704 ac_builddir=.
79706 case "$ac_dir" in
79707 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79709 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79710 # A ".." for each directory in $ac_dir_suffix.
79711 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79712 case $ac_top_builddir_sub in
79713 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79714 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79715 esac ;;
79716 esac
79717 ac_abs_top_builddir=$ac_pwd
79718 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79719 # for backward compatibility:
79720 ac_top_builddir=$ac_top_build_prefix
79722 case $srcdir in
79723 .) # We are building in place.
79724 ac_srcdir=.
79725 ac_top_srcdir=$ac_top_builddir_sub
79726 ac_abs_top_srcdir=$ac_pwd ;;
79727 [\\/]* | ?:[\\/]* ) # Absolute name.
79728 ac_srcdir=$srcdir$ac_dir_suffix;
79729 ac_top_srcdir=$srcdir
79730 ac_abs_top_srcdir=$srcdir ;;
79731 *) # Relative name.
79732 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79733 ac_top_srcdir=$ac_top_build_prefix$srcdir
79734 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79735 esac
79736 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79739 case $ac_mode in
79742 # CONFIG_FILE
79745 case $INSTALL in
79746 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79747 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79748 esac
79749 ac_MKDIR_P=$MKDIR_P
79750 case $MKDIR_P in
79751 [\\/$]* | ?:[\\/]* ) ;;
79752 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79753 esac
79754 _ACEOF
79756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79757 # If the template does not know about datarootdir, expand it.
79758 # FIXME: This hack should be removed a few years after 2.60.
79759 ac_datarootdir_hack=; ac_datarootdir_seen=
79760 ac_sed_dataroot='
79761 /datarootdir/ {
79765 /@datadir@/p
79766 /@docdir@/p
79767 /@infodir@/p
79768 /@localedir@/p
79769 /@mandir@/p'
79770 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79771 *datarootdir*) ac_datarootdir_seen=yes;;
79772 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79774 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79775 _ACEOF
79776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79777 ac_datarootdir_hack='
79778 s&@datadir@&$datadir&g
79779 s&@docdir@&$docdir&g
79780 s&@infodir@&$infodir&g
79781 s&@localedir@&$localedir&g
79782 s&@mandir@&$mandir&g
79783 s&\\\${datarootdir}&$datarootdir&g' ;;
79784 esac
79785 _ACEOF
79787 # Neutralize VPATH when `$srcdir' = `.'.
79788 # Shell code in configure.ac might set extrasub.
79789 # FIXME: do we really want to maintain this feature?
79790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79791 ac_sed_extra="$ac_vpsub
79792 $extrasub
79793 _ACEOF
79794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79796 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79797 s|@configure_input@|$ac_sed_conf_input|;t t
79798 s&@top_builddir@&$ac_top_builddir_sub&;t t
79799 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79800 s&@srcdir@&$ac_srcdir&;t t
79801 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79802 s&@top_srcdir@&$ac_top_srcdir&;t t
79803 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79804 s&@builddir@&$ac_builddir&;t t
79805 s&@abs_builddir@&$ac_abs_builddir&;t t
79806 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79807 s&@INSTALL@&$ac_INSTALL&;t t
79808 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79809 $ac_datarootdir_hack
79811 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79812 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79814 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79815 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79816 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79817 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79819 which seems to be undefined. Please make sure it is defined" >&5
79820 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79821 which seems to be undefined. Please make sure it is defined" >&2;}
79823 rm -f "$ac_tmp/stdin"
79824 case $ac_file in
79825 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79826 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79827 esac \
79828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79832 # CONFIG_HEADER
79834 if test x"$ac_file" != x-; then
79836 $as_echo "/* $configure_input */" \
79837 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79838 } >"$ac_tmp/config.h" \
79839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79840 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79841 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79842 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79843 else
79844 rm -f "$ac_file"
79845 mv "$ac_tmp/config.h" "$ac_file" \
79846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79848 else
79849 $as_echo "/* $configure_input */" \
79850 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79851 || as_fn_error $? "could not create -" "$LINENO" 5
79853 # Compute "$ac_file"'s index in $config_headers.
79854 _am_arg="$ac_file"
79855 _am_stamp_count=1
79856 for _am_header in $config_headers :; do
79857 case $_am_header in
79858 $_am_arg | $_am_arg:* )
79859 break ;;
79861 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79862 esac
79863 done
79864 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79865 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79866 X"$_am_arg" : 'X\(//\)[^/]' \| \
79867 X"$_am_arg" : 'X\(//\)$' \| \
79868 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79869 $as_echo X"$_am_arg" |
79870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79871 s//\1/
79874 /^X\(\/\/\)[^/].*/{
79875 s//\1/
79878 /^X\(\/\/\)$/{
79879 s//\1/
79882 /^X\(\/\).*/{
79883 s//\1/
79886 s/.*/./; q'`/stamp-h$_am_stamp_count
79889 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79890 $as_echo "$as_me: executing $ac_file commands" >&6;}
79892 esac
79895 case $ac_file$ac_mode in
79896 "default-1":C)
79897 # Only add multilib support code if we just rebuilt the top-level
79898 # Makefile.
79899 case " $CONFIG_FILES " in
79900 *" Makefile "*)
79901 ac_file=Makefile . ${multi_basedir}/config-ml.in
79903 esac ;;
79904 "libtool":C)
79906 # See if we are running on zsh, and set the options which allow our
79907 # commands through without removal of \ escapes.
79908 if test -n "${ZSH_VERSION+set}" ; then
79909 setopt NO_GLOB_SUBST
79912 cfgfile="${ofile}T"
79913 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79914 $RM "$cfgfile"
79916 cat <<_LT_EOF >> "$cfgfile"
79917 #! $SHELL
79919 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79920 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79921 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79922 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
79924 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79925 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79926 # Written by Gordon Matzigkeit, 1996
79928 # This file is part of GNU Libtool.
79930 # GNU Libtool is free software; you can redistribute it and/or
79931 # modify it under the terms of the GNU General Public License as
79932 # published by the Free Software Foundation; either version 2 of
79933 # the License, or (at your option) any later version.
79935 # As a special exception to the GNU General Public License,
79936 # if you distribute this file as part of a program or library that
79937 # is built using GNU Libtool, you may include this file under the
79938 # same distribution terms that you use for the rest of that program.
79940 # GNU Libtool is distributed in the hope that it will be useful,
79941 # but WITHOUT ANY WARRANTY; without even the implied warranty of
79942 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79943 # GNU General Public License for more details.
79945 # You should have received a copy of the GNU General Public License
79946 # along with GNU Libtool; see the file COPYING. If not, a copy
79947 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79948 # obtained by writing to the Free Software Foundation, Inc.,
79949 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79952 # The names of the tagged configurations supported by this script.
79953 available_tags="CXX "
79955 # ### BEGIN LIBTOOL CONFIG
79957 # Which release of libtool.m4 was used?
79958 macro_version=$macro_version
79959 macro_revision=$macro_revision
79961 # Whether or not to build shared libraries.
79962 build_libtool_libs=$enable_shared
79964 # Whether or not to build static libraries.
79965 build_old_libs=$enable_static
79967 # What type of objects to build.
79968 pic_mode=$pic_mode
79970 # Whether or not to optimize for fast installation.
79971 fast_install=$enable_fast_install
79973 # Shell to use when invoking shell scripts.
79974 SHELL=$lt_SHELL
79976 # An echo program that protects backslashes.
79977 ECHO=$lt_ECHO
79979 # The host system.
79980 host_alias=$host_alias
79981 host=$host
79982 host_os=$host_os
79984 # The build system.
79985 build_alias=$build_alias
79986 build=$build
79987 build_os=$build_os
79989 # A sed program that does not truncate output.
79990 SED=$lt_SED
79992 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
79993 Xsed="\$SED -e 1s/^X//"
79995 # A grep program that handles long lines.
79996 GREP=$lt_GREP
79998 # An ERE matcher.
79999 EGREP=$lt_EGREP
80001 # A literal string matcher.
80002 FGREP=$lt_FGREP
80004 # A BSD- or MS-compatible name lister.
80005 NM=$lt_NM
80007 # Whether we need soft or hard links.
80008 LN_S=$lt_LN_S
80010 # What is the maximum length of a command?
80011 max_cmd_len=$max_cmd_len
80013 # Object file suffix (normally "o").
80014 objext=$ac_objext
80016 # Executable file suffix (normally "").
80017 exeext=$exeext
80019 # whether the shell understands "unset".
80020 lt_unset=$lt_unset
80022 # turn spaces into newlines.
80023 SP2NL=$lt_lt_SP2NL
80025 # turn newlines into spaces.
80026 NL2SP=$lt_lt_NL2SP
80028 # An object symbol dumper.
80029 OBJDUMP=$lt_OBJDUMP
80031 # Method to check whether dependent libraries are shared objects.
80032 deplibs_check_method=$lt_deplibs_check_method
80034 # Command to use when deplibs_check_method == "file_magic".
80035 file_magic_cmd=$lt_file_magic_cmd
80037 # The archiver.
80038 AR=$lt_AR
80039 AR_FLAGS=$lt_AR_FLAGS
80041 # A symbol stripping program.
80042 STRIP=$lt_STRIP
80044 # Commands used to install an old-style archive.
80045 RANLIB=$lt_RANLIB
80046 old_postinstall_cmds=$lt_old_postinstall_cmds
80047 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80049 # Whether to use a lock for old archive extraction.
80050 lock_old_archive_extraction=$lock_old_archive_extraction
80052 # A C compiler.
80053 LTCC=$lt_CC
80055 # LTCC compiler flags.
80056 LTCFLAGS=$lt_CFLAGS
80058 # Take the output of nm and produce a listing of raw symbols and C names.
80059 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80061 # Transform the output of nm in a proper C declaration.
80062 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80064 # Transform the output of nm in a C name address pair.
80065 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80067 # Transform the output of nm in a C name address pair when lib prefix is needed.
80068 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80070 # The name of the directory that contains temporary libtool files.
80071 objdir=$objdir
80073 # Used to examine libraries when file_magic_cmd begins with "file".
80074 MAGIC_CMD=$MAGIC_CMD
80076 # Must we lock files when doing compilation?
80077 need_locks=$lt_need_locks
80079 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80080 DSYMUTIL=$lt_DSYMUTIL
80082 # Tool to change global to local symbols on Mac OS X.
80083 NMEDIT=$lt_NMEDIT
80085 # Tool to manipulate fat objects and archives on Mac OS X.
80086 LIPO=$lt_LIPO
80088 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80089 OTOOL=$lt_OTOOL
80091 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80092 OTOOL64=$lt_OTOOL64
80094 # Old archive suffix (normally "a").
80095 libext=$libext
80097 # Shared library suffix (normally ".so").
80098 shrext_cmds=$lt_shrext_cmds
80100 # The commands to extract the exported symbol list from a shared archive.
80101 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80103 # Variables whose values should be saved in libtool wrapper scripts and
80104 # restored at link time.
80105 variables_saved_for_relink=$lt_variables_saved_for_relink
80107 # Do we need the "lib" prefix for modules?
80108 need_lib_prefix=$need_lib_prefix
80110 # Do we need a version for libraries?
80111 need_version=$need_version
80113 # Library versioning type.
80114 version_type=$version_type
80116 # Shared library runtime path variable.
80117 runpath_var=$runpath_var
80119 # Shared library path variable.
80120 shlibpath_var=$shlibpath_var
80122 # Is shlibpath searched before the hard-coded library search path?
80123 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80125 # Format of library name prefix.
80126 libname_spec=$lt_libname_spec
80128 # List of archive names. First name is the real one, the rest are links.
80129 # The last name is the one that the linker finds with -lNAME
80130 library_names_spec=$lt_library_names_spec
80132 # The coded name of the library, if different from the real name.
80133 soname_spec=$lt_soname_spec
80135 # Permission mode override for installation of shared libraries.
80136 install_override_mode=$lt_install_override_mode
80138 # Command to use after installation of a shared archive.
80139 postinstall_cmds=$lt_postinstall_cmds
80141 # Command to use after uninstallation of a shared archive.
80142 postuninstall_cmds=$lt_postuninstall_cmds
80144 # Commands used to finish a libtool library installation in a directory.
80145 finish_cmds=$lt_finish_cmds
80147 # As "finish_cmds", except a single script fragment to be evaled but
80148 # not shown.
80149 finish_eval=$lt_finish_eval
80151 # Whether we should hardcode library paths into libraries.
80152 hardcode_into_libs=$hardcode_into_libs
80154 # Compile-time system search path for libraries.
80155 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80157 # Run-time system search path for libraries.
80158 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80160 # Whether dlopen is supported.
80161 dlopen_support=$enable_dlopen
80163 # Whether dlopen of programs is supported.
80164 dlopen_self=$enable_dlopen_self
80166 # Whether dlopen of statically linked programs is supported.
80167 dlopen_self_static=$enable_dlopen_self_static
80169 # Commands to strip libraries.
80170 old_striplib=$lt_old_striplib
80171 striplib=$lt_striplib
80174 # The linker used to build libraries.
80175 LD=$lt_LD
80177 # How to create reloadable object files.
80178 reload_flag=$lt_reload_flag
80179 reload_cmds=$lt_reload_cmds
80181 # Commands used to build an old-style archive.
80182 old_archive_cmds=$lt_old_archive_cmds
80184 # A language specific compiler.
80185 CC=$lt_compiler
80187 # Is the compiler the GNU compiler?
80188 with_gcc=$GCC
80190 # Compiler flag to turn off builtin functions.
80191 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80193 # How to pass a linker flag through the compiler.
80194 wl=$lt_lt_prog_compiler_wl
80196 # Additional compiler flags for building library objects.
80197 pic_flag=$lt_lt_prog_compiler_pic
80199 # Compiler flag to prevent dynamic linking.
80200 link_static_flag=$lt_lt_prog_compiler_static
80202 # Does compiler simultaneously support -c and -o options?
80203 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80205 # Whether or not to add -lc for building shared libraries.
80206 build_libtool_need_lc=$archive_cmds_need_lc
80208 # Whether or not to disallow shared libs when runtime libs are static.
80209 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80211 # Compiler flag to allow reflexive dlopens.
80212 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80214 # Compiler flag to generate shared objects directly from archives.
80215 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80217 # Whether the compiler copes with passing no objects directly.
80218 compiler_needs_object=$lt_compiler_needs_object
80220 # Create an old-style archive from a shared archive.
80221 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80223 # Create a temporary old-style archive to link instead of a shared archive.
80224 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80226 # Commands used to build a shared archive.
80227 archive_cmds=$lt_archive_cmds
80228 archive_expsym_cmds=$lt_archive_expsym_cmds
80230 # Commands used to build a loadable module if different from building
80231 # a shared archive.
80232 module_cmds=$lt_module_cmds
80233 module_expsym_cmds=$lt_module_expsym_cmds
80235 # Whether we are building with GNU ld or not.
80236 with_gnu_ld=$lt_with_gnu_ld
80238 # Flag that allows shared libraries with undefined symbols to be built.
80239 allow_undefined_flag=$lt_allow_undefined_flag
80241 # Flag that enforces no undefined symbols.
80242 no_undefined_flag=$lt_no_undefined_flag
80244 # Flag to hardcode \$libdir into a binary during linking.
80245 # This must work even if \$libdir does not exist
80246 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80248 # If ld is used when linking, flag to hardcode \$libdir into a binary
80249 # during linking. This must work even if \$libdir does not exist.
80250 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80252 # Whether we need a single "-rpath" flag with a separated argument.
80253 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80255 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80256 # DIR into the resulting binary.
80257 hardcode_direct=$hardcode_direct
80259 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80260 # DIR into the resulting binary and the resulting library dependency is
80261 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80262 # library is relocated.
80263 hardcode_direct_absolute=$hardcode_direct_absolute
80265 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80266 # into the resulting binary.
80267 hardcode_minus_L=$hardcode_minus_L
80269 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80270 # into the resulting binary.
80271 hardcode_shlibpath_var=$hardcode_shlibpath_var
80273 # Set to "yes" if building a shared library automatically hardcodes DIR
80274 # into the library and all subsequent libraries and executables linked
80275 # against it.
80276 hardcode_automatic=$hardcode_automatic
80278 # Set to yes if linker adds runtime paths of dependent libraries
80279 # to runtime path list.
80280 inherit_rpath=$inherit_rpath
80282 # Whether libtool must link a program against all its dependency libraries.
80283 link_all_deplibs=$link_all_deplibs
80285 # Fix the shell variable \$srcfile for the compiler.
80286 fix_srcfile_path=$lt_fix_srcfile_path
80288 # Set to "yes" if exported symbols are required.
80289 always_export_symbols=$always_export_symbols
80291 # The commands to list exported symbols.
80292 export_symbols_cmds=$lt_export_symbols_cmds
80294 # Symbols that should not be listed in the preloaded symbols.
80295 exclude_expsyms=$lt_exclude_expsyms
80297 # Symbols that must always be exported.
80298 include_expsyms=$lt_include_expsyms
80300 # Commands necessary for linking programs (against libraries) with templates.
80301 prelink_cmds=$lt_prelink_cmds
80303 # Specify filename containing input files.
80304 file_list_spec=$lt_file_list_spec
80306 # How to hardcode a shared library path into an executable.
80307 hardcode_action=$hardcode_action
80309 # The directories searched by this compiler when creating a shared library.
80310 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80312 # Dependencies to place before and after the objects being linked to
80313 # create a shared library.
80314 predep_objects=$lt_predep_objects
80315 postdep_objects=$lt_postdep_objects
80316 predeps=$lt_predeps
80317 postdeps=$lt_postdeps
80319 # The library search path used internally by the compiler when linking
80320 # a shared library.
80321 compiler_lib_search_path=$lt_compiler_lib_search_path
80323 # ### END LIBTOOL CONFIG
80325 _LT_EOF
80327 case $host_os in
80328 aix3*)
80329 cat <<\_LT_EOF >> "$cfgfile"
80330 # AIX sometimes has problems with the GCC collect2 program. For some
80331 # reason, if we set the COLLECT_NAMES environment variable, the problems
80332 # vanish in a puff of smoke.
80333 if test "X${COLLECT_NAMES+set}" != Xset; then
80334 COLLECT_NAMES=
80335 export COLLECT_NAMES
80337 _LT_EOF
80339 esac
80342 ltmain="$ac_aux_dir/ltmain.sh"
80345 # We use sed instead of cat because bash on DJGPP gets confused if
80346 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80347 # text mode, it properly converts lines to CR/LF. This bash problem
80348 # is reportedly fixed, but why not run on old versions too?
80349 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80350 || (rm -f "$cfgfile"; exit 1)
80352 case $xsi_shell in
80353 yes)
80354 cat << \_LT_EOF >> "$cfgfile"
80356 # func_dirname file append nondir_replacement
80357 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80358 # otherwise set result to NONDIR_REPLACEMENT.
80359 func_dirname ()
80361 case ${1} in
80362 */*) func_dirname_result="${1%/*}${2}" ;;
80363 * ) func_dirname_result="${3}" ;;
80364 esac
80367 # func_basename file
80368 func_basename ()
80370 func_basename_result="${1##*/}"
80373 # func_dirname_and_basename file append nondir_replacement
80374 # perform func_basename and func_dirname in a single function
80375 # call:
80376 # dirname: Compute the dirname of FILE. If nonempty,
80377 # add APPEND to the result, otherwise set result
80378 # to NONDIR_REPLACEMENT.
80379 # value returned in "$func_dirname_result"
80380 # basename: Compute filename of FILE.
80381 # value retuned in "$func_basename_result"
80382 # Implementation must be kept synchronized with func_dirname
80383 # and func_basename. For efficiency, we do not delegate to
80384 # those functions but instead duplicate the functionality here.
80385 func_dirname_and_basename ()
80387 case ${1} in
80388 */*) func_dirname_result="${1%/*}${2}" ;;
80389 * ) func_dirname_result="${3}" ;;
80390 esac
80391 func_basename_result="${1##*/}"
80394 # func_stripname prefix suffix name
80395 # strip PREFIX and SUFFIX off of NAME.
80396 # PREFIX and SUFFIX must not contain globbing or regex special
80397 # characters, hashes, percent signs, but SUFFIX may contain a leading
80398 # dot (in which case that matches only a dot).
80399 func_stripname ()
80401 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80402 # positional parameters, so assign one to ordinary parameter first.
80403 func_stripname_result=${3}
80404 func_stripname_result=${func_stripname_result#"${1}"}
80405 func_stripname_result=${func_stripname_result%"${2}"}
80408 # func_opt_split
80409 func_opt_split ()
80411 func_opt_split_opt=${1%%=*}
80412 func_opt_split_arg=${1#*=}
80415 # func_lo2o object
80416 func_lo2o ()
80418 case ${1} in
80419 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80420 *) func_lo2o_result=${1} ;;
80421 esac
80424 # func_xform libobj-or-source
80425 func_xform ()
80427 func_xform_result=${1%.*}.lo
80430 # func_arith arithmetic-term...
80431 func_arith ()
80433 func_arith_result=$(( $* ))
80436 # func_len string
80437 # STRING may not start with a hyphen.
80438 func_len ()
80440 func_len_result=${#1}
80443 _LT_EOF
80445 *) # Bourne compatible functions.
80446 cat << \_LT_EOF >> "$cfgfile"
80448 # func_dirname file append nondir_replacement
80449 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80450 # otherwise set result to NONDIR_REPLACEMENT.
80451 func_dirname ()
80453 # Extract subdirectory from the argument.
80454 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80455 if test "X$func_dirname_result" = "X${1}"; then
80456 func_dirname_result="${3}"
80457 else
80458 func_dirname_result="$func_dirname_result${2}"
80462 # func_basename file
80463 func_basename ()
80465 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80469 # func_stripname prefix suffix name
80470 # strip PREFIX and SUFFIX off of NAME.
80471 # PREFIX and SUFFIX must not contain globbing or regex special
80472 # characters, hashes, percent signs, but SUFFIX may contain a leading
80473 # dot (in which case that matches only a dot).
80474 # func_strip_suffix prefix name
80475 func_stripname ()
80477 case ${2} in
80478 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80479 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80480 esac
80483 # sed scripts:
80484 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80485 my_sed_long_arg='1s/^-[^=]*=//'
80487 # func_opt_split
80488 func_opt_split ()
80490 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80491 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80494 # func_lo2o object
80495 func_lo2o ()
80497 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80500 # func_xform libobj-or-source
80501 func_xform ()
80503 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80506 # func_arith arithmetic-term...
80507 func_arith ()
80509 func_arith_result=`expr "$@"`
80512 # func_len string
80513 # STRING may not start with a hyphen.
80514 func_len ()
80516 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80519 _LT_EOF
80520 esac
80522 case $lt_shell_append in
80523 yes)
80524 cat << \_LT_EOF >> "$cfgfile"
80526 # func_append var value
80527 # Append VALUE to the end of shell variable VAR.
80528 func_append ()
80530 eval "$1+=\$2"
80532 _LT_EOF
80535 cat << \_LT_EOF >> "$cfgfile"
80537 # func_append var value
80538 # Append VALUE to the end of shell variable VAR.
80539 func_append ()
80541 eval "$1=\$$1\$2"
80544 _LT_EOF
80546 esac
80549 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80550 || (rm -f "$cfgfile"; exit 1)
80552 mv -f "$cfgfile" "$ofile" ||
80553 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80554 chmod +x "$ofile"
80557 cat <<_LT_EOF >> "$ofile"
80559 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80561 # The linker used to build libraries.
80562 LD=$lt_LD_CXX
80564 # How to create reloadable object files.
80565 reload_flag=$lt_reload_flag_CXX
80566 reload_cmds=$lt_reload_cmds_CXX
80568 # Commands used to build an old-style archive.
80569 old_archive_cmds=$lt_old_archive_cmds_CXX
80571 # A language specific compiler.
80572 CC=$lt_compiler_CXX
80574 # Is the compiler the GNU compiler?
80575 with_gcc=$GCC_CXX
80577 # Compiler flag to turn off builtin functions.
80578 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80580 # How to pass a linker flag through the compiler.
80581 wl=$lt_lt_prog_compiler_wl_CXX
80583 # Additional compiler flags for building library objects.
80584 pic_flag=$lt_lt_prog_compiler_pic_CXX
80586 # Compiler flag to prevent dynamic linking.
80587 link_static_flag=$lt_lt_prog_compiler_static_CXX
80589 # Does compiler simultaneously support -c and -o options?
80590 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80592 # Whether or not to add -lc for building shared libraries.
80593 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80595 # Whether or not to disallow shared libs when runtime libs are static.
80596 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80598 # Compiler flag to allow reflexive dlopens.
80599 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80601 # Compiler flag to generate shared objects directly from archives.
80602 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80604 # Whether the compiler copes with passing no objects directly.
80605 compiler_needs_object=$lt_compiler_needs_object_CXX
80607 # Create an old-style archive from a shared archive.
80608 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80610 # Create a temporary old-style archive to link instead of a shared archive.
80611 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80613 # Commands used to build a shared archive.
80614 archive_cmds=$lt_archive_cmds_CXX
80615 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80617 # Commands used to build a loadable module if different from building
80618 # a shared archive.
80619 module_cmds=$lt_module_cmds_CXX
80620 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80622 # Whether we are building with GNU ld or not.
80623 with_gnu_ld=$lt_with_gnu_ld_CXX
80625 # Flag that allows shared libraries with undefined symbols to be built.
80626 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80628 # Flag that enforces no undefined symbols.
80629 no_undefined_flag=$lt_no_undefined_flag_CXX
80631 # Flag to hardcode \$libdir into a binary during linking.
80632 # This must work even if \$libdir does not exist
80633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80635 # If ld is used when linking, flag to hardcode \$libdir into a binary
80636 # during linking. This must work even if \$libdir does not exist.
80637 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80639 # Whether we need a single "-rpath" flag with a separated argument.
80640 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80642 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80643 # DIR into the resulting binary.
80644 hardcode_direct=$hardcode_direct_CXX
80646 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80647 # DIR into the resulting binary and the resulting library dependency is
80648 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80649 # library is relocated.
80650 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80652 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80653 # into the resulting binary.
80654 hardcode_minus_L=$hardcode_minus_L_CXX
80656 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80657 # into the resulting binary.
80658 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80660 # Set to "yes" if building a shared library automatically hardcodes DIR
80661 # into the library and all subsequent libraries and executables linked
80662 # against it.
80663 hardcode_automatic=$hardcode_automatic_CXX
80665 # Set to yes if linker adds runtime paths of dependent libraries
80666 # to runtime path list.
80667 inherit_rpath=$inherit_rpath_CXX
80669 # Whether libtool must link a program against all its dependency libraries.
80670 link_all_deplibs=$link_all_deplibs_CXX
80672 # Fix the shell variable \$srcfile for the compiler.
80673 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80675 # Set to "yes" if exported symbols are required.
80676 always_export_symbols=$always_export_symbols_CXX
80678 # The commands to list exported symbols.
80679 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80681 # Symbols that should not be listed in the preloaded symbols.
80682 exclude_expsyms=$lt_exclude_expsyms_CXX
80684 # Symbols that must always be exported.
80685 include_expsyms=$lt_include_expsyms_CXX
80687 # Commands necessary for linking programs (against libraries) with templates.
80688 prelink_cmds=$lt_prelink_cmds_CXX
80690 # Specify filename containing input files.
80691 file_list_spec=$lt_file_list_spec_CXX
80693 # How to hardcode a shared library path into an executable.
80694 hardcode_action=$hardcode_action_CXX
80696 # The directories searched by this compiler when creating a shared library.
80697 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80699 # Dependencies to place before and after the objects being linked to
80700 # create a shared library.
80701 predep_objects=$lt_predep_objects_CXX
80702 postdep_objects=$lt_postdep_objects_CXX
80703 predeps=$lt_predeps_CXX
80704 postdeps=$lt_postdeps_CXX
80706 # The library search path used internally by the compiler when linking
80707 # a shared library.
80708 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80710 # ### END LIBTOOL TAG CONFIG: CXX
80711 _LT_EOF
80714 "include/gstdint.h":C)
80715 if test "$GCC" = yes; then
80716 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80717 else
80718 echo "/* generated for $CC */" > tmp-stdint.h
80721 sed 's/^ *//' >> tmp-stdint.h <<EOF
80723 #ifndef GCC_GENERATED_STDINT_H
80724 #define GCC_GENERATED_STDINT_H 1
80726 #include <sys/types.h>
80729 if test "$acx_cv_header_stdint" != stdint.h; then
80730 echo "#include <stddef.h>" >> tmp-stdint.h
80732 if test "$acx_cv_header_stdint" != stddef.h; then
80733 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80736 sed 's/^ *//' >> tmp-stdint.h <<EOF
80737 /* glibc uses these symbols as guards to prevent redefinitions. */
80738 #ifdef __int8_t_defined
80739 #define _INT8_T
80740 #define _INT16_T
80741 #define _INT32_T
80742 #endif
80743 #ifdef __uint32_t_defined
80744 #define _UINT32_T
80745 #endif
80749 # ----------------- done header, emit basic int types -------------
80750 if test "$acx_cv_header_stdint" = stddef.h; then
80751 sed 's/^ *//' >> tmp-stdint.h <<EOF
80753 #ifndef _UINT8_T
80754 #define _UINT8_T
80755 #ifndef __uint8_t_defined
80756 #define __uint8_t_defined
80757 #ifndef uint8_t
80758 typedef unsigned $acx_cv_type_int8_t uint8_t;
80759 #endif
80760 #endif
80761 #endif
80763 #ifndef _UINT16_T
80764 #define _UINT16_T
80765 #ifndef __uint16_t_defined
80766 #define __uint16_t_defined
80767 #ifndef uint16_t
80768 typedef unsigned $acx_cv_type_int16_t uint16_t;
80769 #endif
80770 #endif
80771 #endif
80773 #ifndef _UINT32_T
80774 #define _UINT32_T
80775 #ifndef __uint32_t_defined
80776 #define __uint32_t_defined
80777 #ifndef uint32_t
80778 typedef unsigned $acx_cv_type_int32_t uint32_t;
80779 #endif
80780 #endif
80781 #endif
80783 #ifndef _INT8_T
80784 #define _INT8_T
80785 #ifndef __int8_t_defined
80786 #define __int8_t_defined
80787 #ifndef int8_t
80788 typedef $acx_cv_type_int8_t int8_t;
80789 #endif
80790 #endif
80791 #endif
80793 #ifndef _INT16_T
80794 #define _INT16_T
80795 #ifndef __int16_t_defined
80796 #define __int16_t_defined
80797 #ifndef int16_t
80798 typedef $acx_cv_type_int16_t int16_t;
80799 #endif
80800 #endif
80801 #endif
80803 #ifndef _INT32_T
80804 #define _INT32_T
80805 #ifndef __int32_t_defined
80806 #define __int32_t_defined
80807 #ifndef int32_t
80808 typedef $acx_cv_type_int32_t int32_t;
80809 #endif
80810 #endif
80811 #endif
80813 elif test "$ac_cv_type_u_int32_t" = yes; then
80814 sed 's/^ *//' >> tmp-stdint.h <<EOF
80816 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80817 #ifndef _INT8_T
80818 #define _INT8_T
80819 #endif
80820 #ifndef _INT16_T
80821 #define _INT16_T
80822 #endif
80823 #ifndef _INT32_T
80824 #define _INT32_T
80825 #endif
80827 #ifndef _UINT8_T
80828 #define _UINT8_T
80829 #ifndef __uint8_t_defined
80830 #define __uint8_t_defined
80831 #ifndef uint8_t
80832 typedef u_int8_t uint8_t;
80833 #endif
80834 #endif
80835 #endif
80837 #ifndef _UINT16_T
80838 #define _UINT16_T
80839 #ifndef __uint16_t_defined
80840 #define __uint16_t_defined
80841 #ifndef uint16_t
80842 typedef u_int16_t uint16_t;
80843 #endif
80844 #endif
80845 #endif
80847 #ifndef _UINT32_T
80848 #define _UINT32_T
80849 #ifndef __uint32_t_defined
80850 #define __uint32_t_defined
80851 #ifndef uint32_t
80852 typedef u_int32_t uint32_t;
80853 #endif
80854 #endif
80855 #endif
80857 else
80858 sed 's/^ *//' >> tmp-stdint.h <<EOF
80860 /* Some systems have guard macros to prevent redefinitions, define them. */
80861 #ifndef _INT8_T
80862 #define _INT8_T
80863 #endif
80864 #ifndef _INT16_T
80865 #define _INT16_T
80866 #endif
80867 #ifndef _INT32_T
80868 #define _INT32_T
80869 #endif
80870 #ifndef _UINT8_T
80871 #define _UINT8_T
80872 #endif
80873 #ifndef _UINT16_T
80874 #define _UINT16_T
80875 #endif
80876 #ifndef _UINT32_T
80877 #define _UINT32_T
80878 #endif
80882 # ------------- done basic int types, emit int64_t types ------------
80883 if test "$ac_cv_type_uint64_t" = yes; then
80884 sed 's/^ *//' >> tmp-stdint.h <<EOF
80886 /* system headers have good uint64_t and int64_t */
80887 #ifndef _INT64_T
80888 #define _INT64_T
80889 #endif
80890 #ifndef _UINT64_T
80891 #define _UINT64_T
80892 #endif
80894 elif test "$ac_cv_type_u_int64_t" = yes; then
80895 sed 's/^ *//' >> tmp-stdint.h <<EOF
80897 /* system headers have an u_int64_t (and int64_t) */
80898 #ifndef _INT64_T
80899 #define _INT64_T
80900 #endif
80901 #ifndef _UINT64_T
80902 #define _UINT64_T
80903 #ifndef __uint64_t_defined
80904 #define __uint64_t_defined
80905 #ifndef uint64_t
80906 typedef u_int64_t uint64_t;
80907 #endif
80908 #endif
80909 #endif
80911 elif test -n "$acx_cv_type_int64_t"; then
80912 sed 's/^ *//' >> tmp-stdint.h <<EOF
80914 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80915 #ifndef _INT64_T
80916 #define _INT64_T
80917 #ifndef int64_t
80918 typedef $acx_cv_type_int64_t int64_t;
80919 #endif
80920 #endif
80921 #ifndef _UINT64_T
80922 #define _UINT64_T
80923 #ifndef __uint64_t_defined
80924 #define __uint64_t_defined
80925 #ifndef uint64_t
80926 typedef unsigned $acx_cv_type_int64_t uint64_t;
80927 #endif
80928 #endif
80929 #endif
80931 else
80932 sed 's/^ *//' >> tmp-stdint.h <<EOF
80934 /* some common heuristics for int64_t, using compiler-specific tests */
80935 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80936 #ifndef _INT64_T
80937 #define _INT64_T
80938 #ifndef __int64_t_defined
80939 #ifndef int64_t
80940 typedef long long int64_t;
80941 #endif
80942 #endif
80943 #endif
80944 #ifndef _UINT64_T
80945 #define _UINT64_T
80946 #ifndef uint64_t
80947 typedef unsigned long long uint64_t;
80948 #endif
80949 #endif
80951 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80952 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80953 does not implement __extension__. But that compiler doesn't define
80954 __GNUC_MINOR__. */
80955 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80956 # define __extension__
80957 # endif
80959 # ifndef _INT64_T
80960 # define _INT64_T
80961 # ifndef int64_t
80962 __extension__ typedef long long int64_t;
80963 # endif
80964 # endif
80965 # ifndef _UINT64_T
80966 # define _UINT64_T
80967 # ifndef uint64_t
80968 __extension__ typedef unsigned long long uint64_t;
80969 # endif
80970 # endif
80972 #elif !defined __STRICT_ANSI__
80973 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80975 # ifndef _INT64_T
80976 # define _INT64_T
80977 # ifndef int64_t
80978 typedef __int64 int64_t;
80979 # endif
80980 # endif
80981 # ifndef _UINT64_T
80982 # define _UINT64_T
80983 # ifndef uint64_t
80984 typedef unsigned __int64 uint64_t;
80985 # endif
80986 # endif
80987 # endif /* compiler */
80989 #endif /* ANSI version */
80993 # ------------- done int64_t types, emit intptr types ------------
80994 if test "$ac_cv_type_uintptr_t" != yes; then
80995 sed 's/^ *//' >> tmp-stdint.h <<EOF
80997 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80998 #ifndef __uintptr_t_defined
80999 #ifndef uintptr_t
81000 typedef u$acx_cv_type_intptr_t uintptr_t;
81001 #endif
81002 #endif
81003 #ifndef __intptr_t_defined
81004 #ifndef intptr_t
81005 typedef $acx_cv_type_intptr_t intptr_t;
81006 #endif
81007 #endif
81011 # ------------- done intptr types, emit int_least types ------------
81012 if test "$ac_cv_type_int_least32_t" != yes; then
81013 sed 's/^ *//' >> tmp-stdint.h <<EOF
81015 /* Define int_least types */
81016 typedef int8_t int_least8_t;
81017 typedef int16_t int_least16_t;
81018 typedef int32_t int_least32_t;
81019 #ifdef _INT64_T
81020 typedef int64_t int_least64_t;
81021 #endif
81023 typedef uint8_t uint_least8_t;
81024 typedef uint16_t uint_least16_t;
81025 typedef uint32_t uint_least32_t;
81026 #ifdef _UINT64_T
81027 typedef uint64_t uint_least64_t;
81028 #endif
81032 # ------------- done intptr types, emit int_fast types ------------
81033 if test "$ac_cv_type_int_fast32_t" != yes; then
81034 sed 's/^ *//' >> tmp-stdint.h <<EOF
81036 /* Define int_fast types. short is often slow */
81037 typedef int8_t int_fast8_t;
81038 typedef int int_fast16_t;
81039 typedef int32_t int_fast32_t;
81040 #ifdef _INT64_T
81041 typedef int64_t int_fast64_t;
81042 #endif
81044 typedef uint8_t uint_fast8_t;
81045 typedef unsigned int uint_fast16_t;
81046 typedef uint32_t uint_fast32_t;
81047 #ifdef _UINT64_T
81048 typedef uint64_t uint_fast64_t;
81049 #endif
81053 if test "$ac_cv_type_uintmax_t" != yes; then
81054 sed 's/^ *//' >> tmp-stdint.h <<EOF
81056 /* Define intmax based on what we found */
81057 #ifndef intmax_t
81058 #ifdef _INT64_T
81059 typedef int64_t intmax_t;
81060 #else
81061 typedef long intmax_t;
81062 #endif
81063 #endif
81064 #ifndef uintmax_t
81065 #ifdef _UINT64_T
81066 typedef uint64_t uintmax_t;
81067 #else
81068 typedef unsigned long uintmax_t;
81069 #endif
81070 #endif
81074 sed 's/^ *//' >> tmp-stdint.h <<EOF
81076 #endif /* GCC_GENERATED_STDINT_H */
81079 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81080 rm -f tmp-stdint.h
81081 else
81082 mv -f tmp-stdint.h include/gstdint.h
81086 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81087 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81088 "include/Makefile":F) cat > vpsed$$ << \_EOF
81089 s!`test -f '$<' || echo '$(srcdir)/'`!!
81090 _EOF
81091 sed -f vpsed$$ $ac_file > tmp$$
81092 mv tmp$$ $ac_file
81093 rm vpsed$$
81094 echo 'MULTISUBDIR =' >> $ac_file
81095 ml_norecursion=yes
81096 . ${multi_basedir}/config-ml.in
81097 { ml_norecursion=; unset ml_norecursion;}
81099 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81100 s!`test -f '$<' || echo '$(srcdir)/'`!!
81101 _EOF
81102 sed -f vpsed$$ $ac_file > tmp$$
81103 mv tmp$$ $ac_file
81104 rm vpsed$$
81105 echo 'MULTISUBDIR =' >> $ac_file
81106 ml_norecursion=yes
81107 . ${multi_basedir}/config-ml.in
81108 { ml_norecursion=; unset ml_norecursion;}
81110 "src/Makefile":F) cat > vpsed$$ << \_EOF
81111 s!`test -f '$<' || echo '$(srcdir)/'`!!
81112 _EOF
81113 sed -f vpsed$$ $ac_file > tmp$$
81114 mv tmp$$ $ac_file
81115 rm vpsed$$
81116 echo 'MULTISUBDIR =' >> $ac_file
81117 ml_norecursion=yes
81118 . ${multi_basedir}/config-ml.in
81119 { ml_norecursion=; unset ml_norecursion;}
81121 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81122 s!`test -f '$<' || echo '$(srcdir)/'`!!
81123 _EOF
81124 sed -f vpsed$$ $ac_file > tmp$$
81125 mv tmp$$ $ac_file
81126 rm vpsed$$
81127 echo 'MULTISUBDIR =' >> $ac_file
81128 ml_norecursion=yes
81129 . ${multi_basedir}/config-ml.in
81130 { ml_norecursion=; unset ml_norecursion;}
81132 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81133 s!`test -f '$<' || echo '$(srcdir)/'`!!
81134 _EOF
81135 sed -f vpsed$$ $ac_file > tmp$$
81136 mv tmp$$ $ac_file
81137 rm vpsed$$
81138 echo 'MULTISUBDIR =' >> $ac_file
81139 ml_norecursion=yes
81140 . ${multi_basedir}/config-ml.in
81141 { ml_norecursion=; unset ml_norecursion;}
81143 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81144 s!`test -f '$<' || echo '$(srcdir)/'`!!
81145 _EOF
81146 sed -f vpsed$$ $ac_file > tmp$$
81147 mv tmp$$ $ac_file
81148 rm vpsed$$
81149 echo 'MULTISUBDIR =' >> $ac_file
81150 ml_norecursion=yes
81151 . ${multi_basedir}/config-ml.in
81152 { ml_norecursion=; unset ml_norecursion;}
81154 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81155 s!`test -f '$<' || echo '$(srcdir)/'`!!
81156 _EOF
81157 sed -f vpsed$$ $ac_file > tmp$$
81158 mv tmp$$ $ac_file
81159 rm vpsed$$
81160 echo 'MULTISUBDIR =' >> $ac_file
81161 ml_norecursion=yes
81162 . ${multi_basedir}/config-ml.in
81163 { ml_norecursion=; unset ml_norecursion;}
81165 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81166 s!`test -f '$<' || echo '$(srcdir)/'`!!
81167 _EOF
81168 sed -f vpsed$$ $ac_file > tmp$$
81169 mv tmp$$ $ac_file
81170 rm vpsed$$
81171 echo 'MULTISUBDIR =' >> $ac_file
81172 ml_norecursion=yes
81173 . ${multi_basedir}/config-ml.in
81174 { ml_norecursion=; unset ml_norecursion;}
81176 "po/Makefile":F) cat > vpsed$$ << \_EOF
81177 s!`test -f '$<' || echo '$(srcdir)/'`!!
81178 _EOF
81179 sed -f vpsed$$ $ac_file > tmp$$
81180 mv tmp$$ $ac_file
81181 rm vpsed$$
81182 echo 'MULTISUBDIR =' >> $ac_file
81183 ml_norecursion=yes
81184 . ${multi_basedir}/config-ml.in
81185 { ml_norecursion=; unset ml_norecursion;}
81187 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81188 s!`test -f '$<' || echo '$(srcdir)/'`!!
81189 _EOF
81190 sed -f vpsed$$ $ac_file > tmp$$
81191 mv tmp$$ $ac_file
81192 rm vpsed$$
81193 echo 'MULTISUBDIR =' >> $ac_file
81194 ml_norecursion=yes
81195 . ${multi_basedir}/config-ml.in
81196 { ml_norecursion=; unset ml_norecursion;}
81198 "python/Makefile":F) cat > vpsed$$ << \_EOF
81199 s!`test -f '$<' || echo '$(srcdir)/'`!!
81200 _EOF
81201 sed -f vpsed$$ $ac_file > tmp$$
81202 mv tmp$$ $ac_file
81203 rm vpsed$$
81204 echo 'MULTISUBDIR =' >> $ac_file
81205 ml_norecursion=yes
81206 . ${multi_basedir}/config-ml.in
81207 { ml_norecursion=; unset ml_norecursion;}
81209 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81211 esac
81212 done # for ac_tag
81215 as_fn_exit 0
81216 _ACEOF
81217 ac_clean_files=$ac_clean_files_save
81219 test $ac_write_fail = 0 ||
81220 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81223 # configure is writing to config.log, and then calls config.status.
81224 # config.status does its own redirection, appending to config.log.
81225 # Unfortunately, on DOS this fails, as config.log is still kept open
81226 # by configure, so config.status won't be able to write to it; its
81227 # output is simply discarded. So we exec the FD to /dev/null,
81228 # effectively closing config.log, so it can be properly (re)opened and
81229 # appended to by config.status. When coming back to configure, we
81230 # need to make the FD available again.
81231 if test "$no_create" != yes; then
81232 ac_cs_success=:
81233 ac_config_status_args=
81234 test "$silent" = yes &&
81235 ac_config_status_args="$ac_config_status_args --quiet"
81236 exec 5>/dev/null
81237 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81238 exec 5>>config.log
81239 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81240 # would make configure fail if this is the last instruction.
81241 $ac_cs_success || as_fn_exit 1
81243 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81245 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}