Fix hppa64-hpux11 build to remove source paths from embedded path.
[official-gcc.git] / libstdc++-v3 / configure
blobe390e39ce11d83a650631d53315b961ac8426d66
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_FILESYSTEM_TS_FALSE
679 ENABLE_FILESYSTEM_TS_TRUE
680 baseline_subdir_switch
681 baseline_dir
682 HWCAP_CFLAGS
683 GLIBCXX_LDBL_COMPAT_FALSE
684 GLIBCXX_LDBL_COMPAT_TRUE
685 LONG_DOUBLE_COMPAT_FLAGS
686 ENABLE_CXX11_ABI_FALSE
687 ENABLE_CXX11_ABI_TRUE
688 glibcxx_cxx98_abi
689 ENABLE_DUAL_ABI_FALSE
690 ENABLE_DUAL_ABI_TRUE
691 ENABLE_VISIBILITY_FALSE
692 ENABLE_VISIBILITY_TRUE
693 libtool_VERSION
694 ENABLE_SYMVERS_SUN_FALSE
695 ENABLE_SYMVERS_SUN_TRUE
696 ENABLE_SYMVERS_DARWIN_FALSE
697 ENABLE_SYMVERS_DARWIN_TRUE
698 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
699 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
700 ENABLE_SYMVERS_GNU_FALSE
701 ENABLE_SYMVERS_GNU_TRUE
702 ENABLE_SYMVERS_FALSE
703 ENABLE_SYMVERS_TRUE
704 port_specific_symbol_files
705 SYMVER_FILE
706 CXXFILT
707 LTLIBICONV
708 LIBICONV
709 OPT_LDFLAGS
710 SECTION_LDFLAGS
711 GLIBCXX_LIBS
712 ENABLE_VTABLE_VERIFY_FALSE
713 ENABLE_VTABLE_VERIFY_TRUE
714 VTV_CYGMIN_FALSE
715 VTV_CYGMIN_TRUE
716 VTV_CXXLINKFLAGS
717 VTV_PCH_CXXFLAGS
718 VTV_CXXFLAGS
719 ENABLE_WERROR_FALSE
720 ENABLE_WERROR_TRUE
721 ENABLE_PYTHONDIR_FALSE
722 ENABLE_PYTHONDIR_TRUE
723 python_mod_dir
724 ENABLE_EXTERN_TEMPLATE_FALSE
725 ENABLE_EXTERN_TEMPLATE_TRUE
726 EXTRA_CXX_FLAGS
727 GLIBCXX_BUILD_DEBUG_FALSE
728 GLIBCXX_BUILD_DEBUG_TRUE
729 DEBUG_FLAGS
730 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
731 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
732 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
733 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
734 GLIBCXX_C_HEADERS_C_STD_FALSE
735 GLIBCXX_C_HEADERS_C_STD_TRUE
736 GLIBCXX_C_HEADERS_C_FALSE
737 GLIBCXX_C_HEADERS_C_TRUE
738 C_INCLUDE_DIR
739 ALLOCATOR_NAME
740 ALLOCATOR_H
741 ENABLE_ALLOCATOR_NEW_FALSE
742 ENABLE_ALLOCATOR_NEW_TRUE
743 CLOCALE_INTERNAL_H
744 CLOCALE_CC
745 CTIME_CC
746 CTIME_H
747 CNUMERIC_CC
748 CMONEY_CC
749 CMESSAGES_CC
750 CCTYPE_CC
751 CCOLLATE_CC
752 CCODECVT_CC
753 CMESSAGES_H
754 CLOCALE_H
755 USE_NLS
756 glibcxx_localedir
757 glibcxx_POFILES
758 glibcxx_MOFILES
759 check_msgfmt
760 BASIC_FILE_CC
761 BASIC_FILE_H
762 CSTDIO_H
763 SECTION_FLAGS
764 ENABLE_FLOAT128_FALSE
765 ENABLE_FLOAT128_TRUE
766 thread_header
767 glibcxx_PCHFLAGS
768 GLIBCXX_BUILD_PCH_FALSE
769 GLIBCXX_BUILD_PCH_TRUE
770 GLIBCXX_HOSTED_FALSE
771 GLIBCXX_HOSTED_TRUE
772 glibcxx_compiler_shared_flag
773 glibcxx_compiler_pic_flag
774 glibcxx_lt_pic_flag
775 enable_static
776 enable_shared
777 lt_host_flags
778 CXXCPP
779 OTOOL64
780 OTOOL
781 LIPO
782 NMEDIT
783 DSYMUTIL
784 OBJDUMP
786 ac_ct_DUMPBIN
787 DUMPBIN
789 FGREP
791 LIBTOOL
792 EGREP
793 GREP
795 MAINT
796 MAINTAINER_MODE_FALSE
797 MAINTAINER_MODE_TRUE
798 RANLIB
801 LN_S
802 toplevel_srcdir
803 toplevel_builddir
804 glibcxx_srcdir
805 glibcxx_builddir
806 ac_ct_CXX
807 CXXFLAGS
809 OBJEXT
810 EXEEXT
811 ac_ct_CC
812 CPPFLAGS
813 LDFLAGS
814 CFLAGS
816 AM_BACKSLASH
817 AM_DEFAULT_VERBOSITY
818 AM_DEFAULT_V
819 AM_V
820 am__untar
821 am__tar
822 AMTAR
823 am__leading_dot
824 SET_MAKE
826 mkdir_p
827 MKDIR_P
828 INSTALL_STRIP_PROGRAM
829 STRIP
830 install_sh
831 MAKEINFO
832 AUTOHEADER
833 AUTOMAKE
834 AUTOCONF
835 ACLOCAL
836 VERSION
837 PACKAGE
838 CYGPATH_W
839 am__isrc
840 INSTALL_DATA
841 INSTALL_SCRIPT
842 INSTALL_PROGRAM
843 target_os
844 target_vendor
845 target_cpu
846 target
847 host_os
848 host_vendor
849 host_cpu
850 host
851 build_os
852 build_vendor
853 build_cpu
854 build
855 multi_basedir
856 target_alias
857 host_alias
858 build_alias
859 LIBS
860 ECHO_T
861 ECHO_N
862 ECHO_C
863 DEFS
864 mandir
865 localedir
866 libdir
867 psdir
868 pdfdir
869 dvidir
870 htmldir
871 infodir
872 docdir
873 oldincludedir
874 includedir
875 localstatedir
876 sharedstatedir
877 sysconfdir
878 datadir
879 datarootdir
880 libexecdir
881 sbindir
882 bindir
883 program_transform_name
884 prefix
885 exec_prefix
886 PACKAGE_URL
887 PACKAGE_BUGREPORT
888 PACKAGE_STRING
889 PACKAGE_VERSION
890 PACKAGE_TARNAME
891 PACKAGE_NAME
892 PATH_SEPARATOR
893 SHELL'
894 ac_subst_files=''
895 ac_user_opts='
896 enable_option_checking
897 enable_multilib
898 enable_silent_rules
899 enable_largefile
900 with_target_subdir
901 with_cross_host
902 with_newlib
903 enable_maintainer_mode
904 enable_shared
905 enable_static
906 with_pic
907 enable_fast_install
908 with_gnu_ld
909 enable_libtool_lock
910 enable_hosted_libstdcxx
911 enable_libstdcxx_verbose
912 enable_libstdcxx_pch
913 with_libstdcxx_lock_policy
914 enable_cstdio
915 enable_clocale
916 enable_nls
917 enable_libstdcxx_allocator
918 enable_cheaders_obsolete
919 enable_cheaders
920 enable_long_long
921 enable_wchar_t
922 enable_c99
923 enable_concept_checks
924 enable_libstdcxx_debug_flags
925 enable_libstdcxx_debug
926 enable_cxx_flags
927 enable_fully_dynamic_string
928 enable_extern_template
929 with_python_dir
930 enable_werror
931 enable_vtable_verify
932 enable_libstdcxx_time
933 enable_tls
934 enable_rpath
935 with_libiconv_prefix
936 with_libiconv_type
937 with_system_libunwind
938 enable_linux_futex
939 enable_symvers
940 enable_libstdcxx_visibility
941 enable_libstdcxx_dual_abi
942 with_default_libstdcxx_abi
943 enable_libstdcxx_threads
944 enable_libstdcxx_filesystem_ts
945 enable_cet
946 with_gxx_include_dir
947 enable_version_specific_runtime_libs
948 with_toolexeclibdir
949 with_gcc_major_version_only
951 ac_precious_vars='build_alias
952 host_alias
953 target_alias
955 CFLAGS
956 LDFLAGS
957 LIBS
958 CPPFLAGS
960 CXXFLAGS
963 CXXCPP
964 CXXFILT'
967 # Initialize some variables set by options.
968 ac_init_help=
969 ac_init_version=false
970 ac_unrecognized_opts=
971 ac_unrecognized_sep=
972 # The variables have the same names as the options, with
973 # dashes changed to underlines.
974 cache_file=/dev/null
975 exec_prefix=NONE
976 no_create=
977 no_recursion=
978 prefix=NONE
979 program_prefix=NONE
980 program_suffix=NONE
981 program_transform_name=s,x,x,
982 silent=
983 site=
984 srcdir=
985 verbose=
986 x_includes=NONE
987 x_libraries=NONE
989 # Installation directory options.
990 # These are left unexpanded so users can "make install exec_prefix=/foo"
991 # and all the variables that are supposed to be based on exec_prefix
992 # by default will actually change.
993 # Use braces instead of parens because sh, perl, etc. also accept them.
994 # (The list follows the same order as the GNU Coding Standards.)
995 bindir='${exec_prefix}/bin'
996 sbindir='${exec_prefix}/sbin'
997 libexecdir='${exec_prefix}/libexec'
998 datarootdir='${prefix}/share'
999 datadir='${datarootdir}'
1000 sysconfdir='${prefix}/etc'
1001 sharedstatedir='${prefix}/com'
1002 localstatedir='${prefix}/var'
1003 includedir='${prefix}/include'
1004 oldincludedir='/usr/include'
1005 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1006 infodir='${datarootdir}/info'
1007 htmldir='${docdir}'
1008 dvidir='${docdir}'
1009 pdfdir='${docdir}'
1010 psdir='${docdir}'
1011 libdir='${exec_prefix}/lib'
1012 localedir='${datarootdir}/locale'
1013 mandir='${datarootdir}/man'
1015 ac_prev=
1016 ac_dashdash=
1017 for ac_option
1019 # If the previous option needs an argument, assign it.
1020 if test -n "$ac_prev"; then
1021 eval $ac_prev=\$ac_option
1022 ac_prev=
1023 continue
1026 case $ac_option in
1027 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1028 *=) ac_optarg= ;;
1029 *) ac_optarg=yes ;;
1030 esac
1032 # Accept the important Cygnus configure options, so we can diagnose typos.
1034 case $ac_dashdash$ac_option in
1036 ac_dashdash=yes ;;
1038 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1039 ac_prev=bindir ;;
1040 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1041 bindir=$ac_optarg ;;
1043 -build | --build | --buil | --bui | --bu)
1044 ac_prev=build_alias ;;
1045 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1046 build_alias=$ac_optarg ;;
1048 -cache-file | --cache-file | --cache-fil | --cache-fi \
1049 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1050 ac_prev=cache_file ;;
1051 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1052 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1053 cache_file=$ac_optarg ;;
1055 --config-cache | -C)
1056 cache_file=config.cache ;;
1058 -datadir | --datadir | --datadi | --datad)
1059 ac_prev=datadir ;;
1060 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1061 datadir=$ac_optarg ;;
1063 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1064 | --dataroo | --dataro | --datar)
1065 ac_prev=datarootdir ;;
1066 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1067 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1068 datarootdir=$ac_optarg ;;
1070 -disable-* | --disable-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid feature name: $ac_useropt"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "enable_$ac_useropt"
1080 "*) ;;
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1083 esac
1084 eval enable_$ac_useropt=no ;;
1086 -docdir | --docdir | --docdi | --doc | --do)
1087 ac_prev=docdir ;;
1088 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1089 docdir=$ac_optarg ;;
1091 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1092 ac_prev=dvidir ;;
1093 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1094 dvidir=$ac_optarg ;;
1096 -enable-* | --enable-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid feature name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1105 "enable_$ac_useropt"
1106 "*) ;;
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1109 esac
1110 eval enable_$ac_useropt=\$ac_optarg ;;
1112 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1113 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1114 | --exec | --exe | --ex)
1115 ac_prev=exec_prefix ;;
1116 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1117 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1118 | --exec=* | --exe=* | --ex=*)
1119 exec_prefix=$ac_optarg ;;
1121 -gas | --gas | --ga | --g)
1122 # Obsolete; use --with-gas.
1123 with_gas=yes ;;
1125 -help | --help | --hel | --he | -h)
1126 ac_init_help=long ;;
1127 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1128 ac_init_help=recursive ;;
1129 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1130 ac_init_help=short ;;
1132 -host | --host | --hos | --ho)
1133 ac_prev=host_alias ;;
1134 -host=* | --host=* | --hos=* | --ho=*)
1135 host_alias=$ac_optarg ;;
1137 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1138 ac_prev=htmldir ;;
1139 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1140 | --ht=*)
1141 htmldir=$ac_optarg ;;
1143 -includedir | --includedir | --includedi | --included | --include \
1144 | --includ | --inclu | --incl | --inc)
1145 ac_prev=includedir ;;
1146 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1147 | --includ=* | --inclu=* | --incl=* | --inc=*)
1148 includedir=$ac_optarg ;;
1150 -infodir | --infodir | --infodi | --infod | --info | --inf)
1151 ac_prev=infodir ;;
1152 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1153 infodir=$ac_optarg ;;
1155 -libdir | --libdir | --libdi | --libd)
1156 ac_prev=libdir ;;
1157 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1158 libdir=$ac_optarg ;;
1160 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1161 | --libexe | --libex | --libe)
1162 ac_prev=libexecdir ;;
1163 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1164 | --libexe=* | --libex=* | --libe=*)
1165 libexecdir=$ac_optarg ;;
1167 -localedir | --localedir | --localedi | --localed | --locale)
1168 ac_prev=localedir ;;
1169 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1170 localedir=$ac_optarg ;;
1172 -localstatedir | --localstatedir | --localstatedi | --localstated \
1173 | --localstate | --localstat | --localsta | --localst | --locals)
1174 ac_prev=localstatedir ;;
1175 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1176 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1177 localstatedir=$ac_optarg ;;
1179 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1180 ac_prev=mandir ;;
1181 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1182 mandir=$ac_optarg ;;
1184 -nfp | --nfp | --nf)
1185 # Obsolete; use --without-fp.
1186 with_fp=no ;;
1188 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1189 | --no-cr | --no-c | -n)
1190 no_create=yes ;;
1192 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1193 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1194 no_recursion=yes ;;
1196 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1197 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1198 | --oldin | --oldi | --old | --ol | --o)
1199 ac_prev=oldincludedir ;;
1200 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1201 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1202 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1203 oldincludedir=$ac_optarg ;;
1205 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1206 ac_prev=prefix ;;
1207 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1208 prefix=$ac_optarg ;;
1210 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1211 | --program-pre | --program-pr | --program-p)
1212 ac_prev=program_prefix ;;
1213 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1214 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1215 program_prefix=$ac_optarg ;;
1217 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1218 | --program-suf | --program-su | --program-s)
1219 ac_prev=program_suffix ;;
1220 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1221 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1222 program_suffix=$ac_optarg ;;
1224 -program-transform-name | --program-transform-name \
1225 | --program-transform-nam | --program-transform-na \
1226 | --program-transform-n | --program-transform- \
1227 | --program-transform | --program-transfor \
1228 | --program-transfo | --program-transf \
1229 | --program-trans | --program-tran \
1230 | --progr-tra | --program-tr | --program-t)
1231 ac_prev=program_transform_name ;;
1232 -program-transform-name=* | --program-transform-name=* \
1233 | --program-transform-nam=* | --program-transform-na=* \
1234 | --program-transform-n=* | --program-transform-=* \
1235 | --program-transform=* | --program-transfor=* \
1236 | --program-transfo=* | --program-transf=* \
1237 | --program-trans=* | --program-tran=* \
1238 | --progr-tra=* | --program-tr=* | --program-t=*)
1239 program_transform_name=$ac_optarg ;;
1241 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1242 ac_prev=pdfdir ;;
1243 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1244 pdfdir=$ac_optarg ;;
1246 -psdir | --psdir | --psdi | --psd | --ps)
1247 ac_prev=psdir ;;
1248 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1249 psdir=$ac_optarg ;;
1251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1252 | -silent | --silent | --silen | --sile | --sil)
1253 silent=yes ;;
1255 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1256 ac_prev=sbindir ;;
1257 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1258 | --sbi=* | --sb=*)
1259 sbindir=$ac_optarg ;;
1261 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1262 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1263 | --sharedst | --shareds | --shared | --share | --shar \
1264 | --sha | --sh)
1265 ac_prev=sharedstatedir ;;
1266 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1267 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1268 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1269 | --sha=* | --sh=*)
1270 sharedstatedir=$ac_optarg ;;
1272 -site | --site | --sit)
1273 ac_prev=site ;;
1274 -site=* | --site=* | --sit=*)
1275 site=$ac_optarg ;;
1277 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1278 ac_prev=srcdir ;;
1279 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1280 srcdir=$ac_optarg ;;
1282 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1283 | --syscon | --sysco | --sysc | --sys | --sy)
1284 ac_prev=sysconfdir ;;
1285 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1286 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1287 sysconfdir=$ac_optarg ;;
1289 -target | --target | --targe | --targ | --tar | --ta | --t)
1290 ac_prev=target_alias ;;
1291 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1292 target_alias=$ac_optarg ;;
1294 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1295 verbose=yes ;;
1297 -version | --version | --versio | --versi | --vers | -V)
1298 ac_init_version=: ;;
1300 -with-* | --with-*)
1301 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1304 as_fn_error $? "invalid package name: $ac_useropt"
1305 ac_useropt_orig=$ac_useropt
1306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1309 "with_$ac_useropt"
1310 "*) ;;
1311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1312 ac_unrecognized_sep=', ';;
1313 esac
1314 eval with_$ac_useropt=\$ac_optarg ;;
1316 -without-* | --without-*)
1317 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320 as_fn_error $? "invalid package name: $ac_useropt"
1321 ac_useropt_orig=$ac_useropt
1322 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323 case $ac_user_opts in
1325 "with_$ac_useropt"
1326 "*) ;;
1327 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1328 ac_unrecognized_sep=', ';;
1329 esac
1330 eval with_$ac_useropt=no ;;
1332 --x)
1333 # Obsolete; use --with-x.
1334 with_x=yes ;;
1336 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1337 | --x-incl | --x-inc | --x-in | --x-i)
1338 ac_prev=x_includes ;;
1339 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1340 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1341 x_includes=$ac_optarg ;;
1343 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1344 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1345 ac_prev=x_libraries ;;
1346 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1347 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1348 x_libraries=$ac_optarg ;;
1350 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1351 Try \`$0 --help' for more information"
1354 *=*)
1355 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1356 # Reject names that are not valid shell variable names.
1357 case $ac_envvar in #(
1358 '' | [0-9]* | *[!_$as_cr_alnum]* )
1359 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1360 esac
1361 eval $ac_envvar=\$ac_optarg
1362 export $ac_envvar ;;
1365 # FIXME: should be removed in autoconf 3.0.
1366 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1367 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1368 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1369 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1372 esac
1373 done
1375 if test -n "$ac_prev"; then
1376 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1377 as_fn_error $? "missing argument to $ac_option"
1380 if test -n "$ac_unrecognized_opts"; then
1381 case $enable_option_checking in
1382 no) ;;
1383 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1384 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1385 esac
1388 # Check all directory arguments for consistency.
1389 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1390 datadir sysconfdir sharedstatedir localstatedir includedir \
1391 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1392 libdir localedir mandir
1394 eval ac_val=\$$ac_var
1395 # Remove trailing slashes.
1396 case $ac_val in
1397 */ )
1398 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1399 eval $ac_var=\$ac_val;;
1400 esac
1401 # Be sure to have absolute directory names.
1402 case $ac_val in
1403 [\\/$]* | ?:[\\/]* ) continue;;
1404 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1405 esac
1406 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1407 done
1409 # There might be people who depend on the old broken behavior: `$host'
1410 # used to hold the argument of --host etc.
1411 # FIXME: To remove some day.
1412 build=$build_alias
1413 host=$host_alias
1414 target=$target_alias
1416 # FIXME: To remove some day.
1417 if test "x$host_alias" != x; then
1418 if test "x$build_alias" = x; then
1419 cross_compiling=maybe
1420 elif test "x$build_alias" != "x$host_alias"; then
1421 cross_compiling=yes
1425 ac_tool_prefix=
1426 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1428 test "$silent" = yes && exec 6>/dev/null
1431 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1432 ac_ls_di=`ls -di .` &&
1433 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1434 as_fn_error $? "working directory cannot be determined"
1435 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1436 as_fn_error $? "pwd does not report name of working directory"
1439 # Find the source files, if location was not specified.
1440 if test -z "$srcdir"; then
1441 ac_srcdir_defaulted=yes
1442 # Try the directory containing this script, then the parent directory.
1443 ac_confdir=`$as_dirname -- "$as_myself" ||
1444 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1445 X"$as_myself" : 'X\(//\)[^/]' \| \
1446 X"$as_myself" : 'X\(//\)$' \| \
1447 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1448 $as_echo X"$as_myself" |
1449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1450 s//\1/
1453 /^X\(\/\/\)[^/].*/{
1454 s//\1/
1457 /^X\(\/\/\)$/{
1458 s//\1/
1461 /^X\(\/\).*/{
1462 s//\1/
1465 s/.*/./; q'`
1466 srcdir=$ac_confdir
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468 srcdir=..
1470 else
1471 ac_srcdir_defaulted=no
1473 if test ! -r "$srcdir/$ac_unique_file"; then
1474 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1475 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1477 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1478 ac_abs_confdir=`(
1479 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1480 pwd)`
1481 # When building in place, set srcdir=.
1482 if test "$ac_abs_confdir" = "$ac_pwd"; then
1483 srcdir=.
1485 # Remove unnecessary trailing slashes from srcdir.
1486 # Double slashes in file names in object file debugging info
1487 # mess up M-x gdb in Emacs.
1488 case $srcdir in
1489 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1490 esac
1491 for ac_var in $ac_precious_vars; do
1492 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1493 eval ac_env_${ac_var}_value=\$${ac_var}
1494 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1495 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1496 done
1499 # Report the --help message.
1501 if test "$ac_init_help" = "long"; then
1502 # Omit some internal or obsolete options to make the list less imposing.
1503 # This message is too long to be a string in the A/UX 3.1 sh.
1504 cat <<_ACEOF
1505 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1507 Usage: $0 [OPTION]... [VAR=VALUE]...
1509 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1510 VAR=VALUE. See below for descriptions of some of the useful variables.
1512 Defaults for the options are specified in brackets.
1514 Configuration:
1515 -h, --help display this help and exit
1516 --help=short display options specific to this package
1517 --help=recursive display the short help of all the included packages
1518 -V, --version display version information and exit
1519 -q, --quiet, --silent do not print \`checking ...' messages
1520 --cache-file=FILE cache test results in FILE [disabled]
1521 -C, --config-cache alias for \`--cache-file=config.cache'
1522 -n, --no-create do not create output files
1523 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1525 Installation directories:
1526 --prefix=PREFIX install architecture-independent files in PREFIX
1527 [$ac_default_prefix]
1528 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1529 [PREFIX]
1531 By default, \`make install' will install all the files in
1532 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1533 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1534 for instance \`--prefix=\$HOME'.
1536 For better control, use the options below.
1538 Fine tuning of the installation directories:
1539 --bindir=DIR user executables [EPREFIX/bin]
1540 --sbindir=DIR system admin executables [EPREFIX/sbin]
1541 --libexecdir=DIR program executables [EPREFIX/libexec]
1542 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1543 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1544 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1545 --libdir=DIR object code libraries [EPREFIX/lib]
1546 --includedir=DIR C header files [PREFIX/include]
1547 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1548 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1549 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1550 --infodir=DIR info documentation [DATAROOTDIR/info]
1551 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1552 --mandir=DIR man documentation [DATAROOTDIR/man]
1553 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1554 --htmldir=DIR html documentation [DOCDIR]
1555 --dvidir=DIR dvi documentation [DOCDIR]
1556 --pdfdir=DIR pdf documentation [DOCDIR]
1557 --psdir=DIR ps documentation [DOCDIR]
1558 _ACEOF
1560 cat <<\_ACEOF
1562 Program names:
1563 --program-prefix=PREFIX prepend PREFIX to installed program names
1564 --program-suffix=SUFFIX append SUFFIX to installed program names
1565 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1567 System types:
1568 --build=BUILD configure for building on BUILD [guessed]
1569 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1570 --target=TARGET configure for building compilers for TARGET [HOST]
1571 _ACEOF
1574 if test -n "$ac_init_help"; then
1575 case $ac_init_help in
1576 short | recursive ) echo "Configuration of package-unused version-unused:";;
1577 esac
1578 cat <<\_ACEOF
1580 Optional Features:
1581 --disable-option-checking ignore unrecognized --enable/--with options
1582 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1583 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1584 --enable-multilib build many library versions (default)
1585 --enable-silent-rules less verbose build output (undo: "make V=1")
1586 --disable-silent-rules verbose build output (undo: "make V=0")
1587 --disable-largefile omit support for large files
1588 --enable-maintainer-mode
1589 enable make rules and dependencies not useful (and
1590 sometimes confusing) to the casual installer
1591 --enable-shared[=PKGS] build shared libraries [default=yes]
1592 --enable-static[=PKGS] build static libraries [default=yes]
1593 --enable-fast-install[=PKGS]
1594 optimize for fast installation [default=yes]
1595 --disable-libtool-lock avoid locking (might break parallel builds)
1596 --disable-hosted-libstdcxx
1597 only build freestanding C++ runtime support
1598 --disable-libstdcxx-verbose
1599 disable termination messages to standard error
1600 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1601 [default=$is_hosted]
1602 --enable-cstdio[=PACKAGE]
1603 use target-specific I/O package [default=stdio]
1604 --enable-clocale[=MODEL]
1605 use MODEL for target locale package [default=auto]
1606 --enable-nls use Native Language Support (default)
1607 --enable-libstdcxx-allocator[=KIND]
1608 use KIND for target std::allocator base
1609 [default=auto]
1610 --enable-cheaders-obsolete
1611 allow use of obsolete "C" headers for g++
1612 [default=no]
1613 --enable-cheaders[=KIND]
1614 construct "C" headers for g++ [default=$c_model]
1615 --enable-long-long enable template specializations for 'long long'
1616 [default=yes]
1617 --enable-wchar_t enable template specializations for 'wchar_t'
1618 [default=yes]
1619 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1620 --enable-concept-checks use Boost-derived template checks [default=no]
1621 --enable-libstdcxx-debug-flags=FLAGS
1622 pass compiler FLAGS when building debug library
1623 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1624 --enable-libstdcxx-debug
1625 build extra debug library [default=no]
1626 --enable-cxx-flags=FLAGS
1627 pass compiler FLAGS when building library [default=]
1628 --enable-fully-dynamic-string
1629 do not put empty strings in per-process static
1630 memory [default=no]
1631 --enable-extern-template
1632 enable extern template [default=yes]
1633 --enable-werror turns on -Werror [default=no]
1634 --enable-vtable-verify enable vtable verify [default=no]
1635 --enable-libstdcxx-time[=KIND]
1636 use KIND for check type [default=auto]
1637 --enable-tls Use thread-local storage [default=yes]
1638 --disable-rpath do not hardcode runtime library paths
1639 --enable-linux-futex use the Linux futex system call [default=default]
1640 --enable-symvers[=STYLE]
1641 enables symbol versioning of the shared library
1642 [default=yes]
1643 --enable-libstdcxx-visibility
1644 enables visibility safe usage [default=yes]
1645 --enable-libstdcxx-dual-abi
1646 support two versions of std::string [default=yes]
1647 --enable-libstdcxx-threads
1648 enable C++11 threads support [default=auto]
1649 --enable-libstdcxx-filesystem-ts
1650 turns on ISO/IEC TS 18822 support [default=auto]
1651 --enable-cet enable Intel CET in target libraries [default=auto]
1652 --enable-version-specific-runtime-libs
1653 Specify that runtime libraries should be installed
1654 in a compiler-specific directory
1656 Optional Packages:
1657 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1658 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1659 --with-target-subdir=SUBDIR
1660 configuring in a subdirectory
1661 --with-cross-host=HOST configuring with a cross compiler
1662 --with-newlib assume newlib as a system C library
1663 --with-pic try to use only PIC/non-PIC objects [default=use
1664 both]
1665 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1666 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1667 synchronization policy for shared_ptr reference
1668 counting [default=auto]
1669 --with-python-dir the location to install Python modules. This path is
1670 relative starting from the prefix.
1671 --with-gnu-ld assume the C compiler uses GNU ld default=no
1672 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1673 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1674 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1675 --with-system-libunwind use installed libunwind
1676 --with-default-libstdcxx-abi
1677 set the std::string ABI to use by default
1678 --with-gxx-include-dir=DIR
1679 installation directory for include files
1680 --with-toolexeclibdir=DIR
1681 install libraries built with a cross compiler within
1683 --with-gcc-major-version-only
1684 use only GCC major number in filesystem paths
1686 Some influential environment variables:
1687 CC C compiler command
1688 CFLAGS C compiler flags
1689 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1690 nonstandard directory <lib dir>
1691 LIBS libraries to pass to the linker, e.g. -l<library>
1692 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1693 you have headers in a nonstandard directory <include dir>
1694 CXX C++ compiler command
1695 CXXFLAGS C++ compiler flags
1696 CPP C preprocessor
1697 CXXCPP C++ preprocessor
1698 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1699 `c++filt', `gc++filt' on PATH.
1701 Use these variables to override the choices made by `configure' or to help
1702 it to find libraries and programs with nonstandard names/locations.
1704 Report bugs to the package provider.
1705 _ACEOF
1706 ac_status=$?
1709 if test "$ac_init_help" = "recursive"; then
1710 # If there are subdirs, report their specific --help.
1711 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1712 test -d "$ac_dir" ||
1713 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1714 continue
1715 ac_builddir=.
1717 case "$ac_dir" in
1718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1721 # A ".." for each directory in $ac_dir_suffix.
1722 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1723 case $ac_top_builddir_sub in
1724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1725 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1726 esac ;;
1727 esac
1728 ac_abs_top_builddir=$ac_pwd
1729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1730 # for backward compatibility:
1731 ac_top_builddir=$ac_top_build_prefix
1733 case $srcdir in
1734 .) # We are building in place.
1735 ac_srcdir=.
1736 ac_top_srcdir=$ac_top_builddir_sub
1737 ac_abs_top_srcdir=$ac_pwd ;;
1738 [\\/]* | ?:[\\/]* ) # Absolute name.
1739 ac_srcdir=$srcdir$ac_dir_suffix;
1740 ac_top_srcdir=$srcdir
1741 ac_abs_top_srcdir=$srcdir ;;
1742 *) # Relative name.
1743 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1744 ac_top_srcdir=$ac_top_build_prefix$srcdir
1745 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1746 esac
1747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1749 cd "$ac_dir" || { ac_status=$?; continue; }
1750 # Check for guested configure.
1751 if test -f "$ac_srcdir/configure.gnu"; then
1752 echo &&
1753 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1754 elif test -f "$ac_srcdir/configure"; then
1755 echo &&
1756 $SHELL "$ac_srcdir/configure" --help=recursive
1757 else
1758 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1759 fi || ac_status=$?
1760 cd "$ac_pwd" || { ac_status=$?; break; }
1761 done
1764 test -n "$ac_init_help" && exit $ac_status
1765 if $ac_init_version; then
1766 cat <<\_ACEOF
1767 package-unused configure version-unused
1768 generated by GNU Autoconf 2.69
1770 Copyright (C) 2012 Free Software Foundation, Inc.
1771 This configure script is free software; the Free Software Foundation
1772 gives unlimited permission to copy, distribute and modify it.
1773 _ACEOF
1774 exit
1777 ## ------------------------ ##
1778 ## Autoconf initialization. ##
1779 ## ------------------------ ##
1781 # ac_fn_c_try_compile LINENO
1782 # --------------------------
1783 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1784 ac_fn_c_try_compile ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 rm -f conftest.$ac_objext
1788 if { { ac_try="$ac_compile"
1789 case "(($ac_try" in
1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1792 esac
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_compile") 2>conftest.err
1796 ac_status=$?
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } && {
1804 test -z "$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1806 } && test -s conftest.$ac_objext; then :
1807 ac_retval=0
1808 else
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1812 ac_retval=1
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1817 } # ac_fn_c_try_compile
1819 # ac_fn_cxx_try_compile LINENO
1820 # ----------------------------
1821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1822 ac_fn_cxx_try_compile ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 rm -f conftest.$ac_objext
1826 if { { ac_try="$ac_compile"
1827 case "(($ac_try" in
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1830 esac
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_compile") 2>conftest.err
1834 ac_status=$?
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_cxx_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest.$ac_objext; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1850 ac_retval=1
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_cxx_try_compile
1857 # ac_fn_c_try_cpp LINENO
1858 # ----------------------
1859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1860 ac_fn_c_try_cpp ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 if { { ac_try="$ac_cpp conftest.$ac_ext"
1864 case "(($ac_try" in
1865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1867 esac
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1871 ac_status=$?
1872 if test -s conftest.err; then
1873 grep -v '^ *+' conftest.err >conftest.er1
1874 cat conftest.er1 >&5
1875 mv -f conftest.er1 conftest.err
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } > conftest.i && {
1879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880 test ! -s conftest.err
1881 }; then :
1882 ac_retval=0
1883 else
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1887 ac_retval=1
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status $ac_retval
1892 } # ac_fn_c_try_cpp
1894 # ac_fn_c_try_link LINENO
1895 # -----------------------
1896 # Try to link conftest.$ac_ext, and return whether this succeeded.
1897 ac_fn_c_try_link ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 rm -f conftest.$ac_objext conftest$ac_exeext
1901 if { { ac_try="$ac_link"
1902 case "(($ac_try" in
1903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1905 esac
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_link") 2>conftest.err
1909 ac_status=$?
1910 if test -s conftest.err; then
1911 grep -v '^ *+' conftest.err >conftest.er1
1912 cat conftest.er1 >&5
1913 mv -f conftest.er1 conftest.err
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && {
1917 test -z "$ac_c_werror_flag" ||
1918 test ! -s conftest.err
1919 } && test -s conftest$ac_exeext && {
1920 test "$cross_compiling" = yes ||
1921 test -x conftest$ac_exeext
1922 }; then :
1923 ac_retval=0
1924 else
1925 $as_echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.$ac_ext >&5
1928 ac_retval=1
1930 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1931 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1932 # interfere with the next link command; also delete a directory that is
1933 # left behind by Apple's compiler. We do this before executing the actions.
1934 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 as_fn_set_status $ac_retval
1938 } # ac_fn_c_try_link
1940 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1941 # -------------------------------------------------------
1942 # Tests whether HEADER exists and can be compiled using the include files in
1943 # INCLUDES, setting the cache variable VAR accordingly.
1944 ac_fn_c_check_header_compile ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1951 else
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1955 #include <$2>
1956 _ACEOF
1957 if ac_fn_c_try_compile "$LINENO"; then :
1958 eval "$3=yes"
1959 else
1960 eval "$3=no"
1962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1964 eval ac_res=\$$3
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_header_compile
1971 # ac_fn_c_try_run LINENO
1972 # ----------------------
1973 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1974 # that executables *can* be run.
1975 ac_fn_c_try_run ()
1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978 if { { ac_try="$ac_link"
1979 case "(($ac_try" in
1980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1981 *) ac_try_echo=$ac_try;;
1982 esac
1983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1984 $as_echo "$ac_try_echo"; } >&5
1985 (eval "$ac_link") 2>&5
1986 ac_status=$?
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1989 { { case "(($ac_try" in
1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1992 esac
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_try") 2>&5
1996 ac_status=$?
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; }; }; then :
1999 ac_retval=0
2000 else
2001 $as_echo "$as_me: program exited with status $ac_status" >&5
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2005 ac_retval=$ac_status
2007 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009 as_fn_set_status $ac_retval
2011 } # ac_fn_c_try_run
2013 # ac_fn_c_check_func LINENO FUNC VAR
2014 # ----------------------------------
2015 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2016 ac_fn_c_check_func ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \${$3+:} false; then :
2022 $as_echo_n "(cached) " >&6
2023 else
2024 if test x$gcc_no_link = xyes; then
2025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2029 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2031 #define $2 innocuous_$2
2033 /* System header to define __stub macros and hopefully few prototypes,
2034 which can conflict with char $2 (); below.
2035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2036 <limits.h> exists even on freestanding compilers. */
2038 #ifdef __STDC__
2039 # include <limits.h>
2040 #else
2041 # include <assert.h>
2042 #endif
2044 #undef $2
2046 /* Override any GCC internal prototype to avoid an error.
2047 Use char because int might match the return type of a GCC
2048 builtin and then its argument prototype would still apply. */
2049 #ifdef __cplusplus
2050 extern "C"
2051 #endif
2052 char $2 ();
2053 /* The GNU C library defines this for functions which it implements
2054 to always fail with ENOSYS. Some functions are actually named
2055 something starting with __ and the normal name is an alias. */
2056 #if defined __stub_$2 || defined __stub___$2
2057 choke me
2058 #endif
2061 main ()
2063 return $2 ();
2065 return 0;
2067 _ACEOF
2068 if ac_fn_c_try_link "$LINENO"; then :
2069 eval "$3=yes"
2070 else
2071 eval "$3=no"
2073 rm -f core conftest.err conftest.$ac_objext \
2074 conftest$ac_exeext conftest.$ac_ext
2076 eval ac_res=\$$3
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_func
2083 # ac_fn_cxx_try_cpp LINENO
2084 # ------------------------
2085 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2086 ac_fn_cxx_try_cpp ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if { { ac_try="$ac_cpp conftest.$ac_ext"
2090 case "(($ac_try" in
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2093 esac
2094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 $as_echo "$ac_try_echo"; } >&5
2096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2097 ac_status=$?
2098 if test -s conftest.err; then
2099 grep -v '^ *+' conftest.err >conftest.er1
2100 cat conftest.er1 >&5
2101 mv -f conftest.er1 conftest.err
2103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2104 test $ac_status = 0; } > conftest.i && {
2105 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2106 test ! -s conftest.err
2107 }; then :
2108 ac_retval=0
2109 else
2110 $as_echo "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2113 ac_retval=1
2115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 as_fn_set_status $ac_retval
2118 } # ac_fn_cxx_try_cpp
2120 # ac_fn_cxx_try_link LINENO
2121 # -------------------------
2122 # Try to link conftest.$ac_ext, and return whether this succeeded.
2123 ac_fn_cxx_try_link ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 rm -f conftest.$ac_objext conftest$ac_exeext
2127 if { { ac_try="$ac_link"
2128 case "(($ac_try" in
2129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2130 *) ac_try_echo=$ac_try;;
2131 esac
2132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2133 $as_echo "$ac_try_echo"; } >&5
2134 (eval "$ac_link") 2>conftest.err
2135 ac_status=$?
2136 if test -s conftest.err; then
2137 grep -v '^ *+' conftest.err >conftest.er1
2138 cat conftest.er1 >&5
2139 mv -f conftest.er1 conftest.err
2141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2142 test $ac_status = 0; } && {
2143 test -z "$ac_cxx_werror_flag" ||
2144 test ! -s conftest.err
2145 } && test -s conftest$ac_exeext && {
2146 test "$cross_compiling" = yes ||
2147 test -x conftest$ac_exeext
2148 }; then :
2149 ac_retval=0
2150 else
2151 $as_echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.$ac_ext >&5
2154 ac_retval=1
2156 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2157 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2158 # interfere with the next link command; also delete a directory that is
2159 # left behind by Apple's compiler. We do this before executing the actions.
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 as_fn_set_status $ac_retval
2164 } # ac_fn_cxx_try_link
2166 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2167 # -------------------------------------------------------
2168 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2169 # the include files in INCLUDES and setting the cache variable VAR
2170 # accordingly.
2171 ac_fn_c_check_header_mongrel ()
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174 if eval \${$3+:} false; then :
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2176 $as_echo_n "checking for $2... " >&6; }
2177 if eval \${$3+:} false; then :
2178 $as_echo_n "(cached) " >&6
2180 eval ac_res=\$$3
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2183 else
2184 # Is the header compilable?
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2186 $as_echo_n "checking $2 usability... " >&6; }
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2190 #include <$2>
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193 ac_header_compiler=yes
2194 else
2195 ac_header_compiler=no
2197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2199 $as_echo "$ac_header_compiler" >&6; }
2201 # Is the header present?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2203 $as_echo_n "checking $2 presence... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 #include <$2>
2207 _ACEOF
2208 if ac_fn_c_try_cpp "$LINENO"; then :
2209 ac_header_preproc=yes
2210 else
2211 ac_header_preproc=no
2213 rm -f conftest.err conftest.i conftest.$ac_ext
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2215 $as_echo "$ac_header_preproc" >&6; }
2217 # So? What about this header?
2218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2219 yes:no: )
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2221 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2223 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2225 no:yes:* )
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2227 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2229 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2231 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2233 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2235 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2237 esac
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239 $as_echo_n "checking for $2... " >&6; }
2240 if eval \${$3+:} false; then :
2241 $as_echo_n "(cached) " >&6
2242 else
2243 eval "$3=\$ac_header_compiler"
2245 eval ac_res=\$$3
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251 } # ac_fn_c_check_header_mongrel
2253 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2254 # ---------------------------------------------------------
2255 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2256 # the include files in INCLUDES and setting the cache variable VAR
2257 # accordingly.
2258 ac_fn_cxx_check_header_mongrel ()
2260 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261 if eval \${$3+:} false; then :
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2263 $as_echo_n "checking for $2... " >&6; }
2264 if eval \${$3+:} false; then :
2265 $as_echo_n "(cached) " >&6
2267 eval ac_res=\$$3
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2269 $as_echo "$ac_res" >&6; }
2270 else
2271 # Is the header compilable?
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2273 $as_echo_n "checking $2 usability... " >&6; }
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2277 #include <$2>
2278 _ACEOF
2279 if ac_fn_cxx_try_compile "$LINENO"; then :
2280 ac_header_compiler=yes
2281 else
2282 ac_header_compiler=no
2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2286 $as_echo "$ac_header_compiler" >&6; }
2288 # Is the header present?
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2290 $as_echo_n "checking $2 presence... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2293 #include <$2>
2294 _ACEOF
2295 if ac_fn_cxx_try_cpp "$LINENO"; then :
2296 ac_header_preproc=yes
2297 else
2298 ac_header_preproc=no
2300 rm -f conftest.err conftest.i conftest.$ac_ext
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2302 $as_echo "$ac_header_preproc" >&6; }
2304 # So? What about this header?
2305 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2306 yes:no: )
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2308 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2310 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2312 no:yes:* )
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2314 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2316 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2318 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2320 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2322 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2324 esac
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2326 $as_echo_n "checking for $2... " >&6; }
2327 if eval \${$3+:} false; then :
2328 $as_echo_n "(cached) " >&6
2329 else
2330 eval "$3=\$ac_header_compiler"
2332 eval ac_res=\$$3
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2334 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 } # ac_fn_cxx_check_header_mongrel
2340 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2341 # --------------------------------------------
2342 # Tries to find the compile-time value of EXPR in a program that includes
2343 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2344 # computed
2345 ac_fn_c_compute_int ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 if test "$cross_compiling" = yes; then
2349 # Depending upon the size, compute the lo and hi bounds.
2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351 /* end confdefs.h. */
2354 main ()
2356 static int test_array [1 - 2 * !(($2) >= 0)];
2357 test_array [0] = 0;
2358 return test_array [0];
2361 return 0;
2363 _ACEOF
2364 if ac_fn_c_try_compile "$LINENO"; then :
2365 ac_lo=0 ac_mid=0
2366 while :; do
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2371 main ()
2373 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2374 test_array [0] = 0;
2375 return test_array [0];
2378 return 0;
2380 _ACEOF
2381 if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_hi=$ac_mid; break
2383 else
2384 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2385 if test $ac_lo -le $ac_mid; then
2386 ac_lo= ac_hi=
2387 break
2389 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 else
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2398 main ()
2400 static int test_array [1 - 2 * !(($2) < 0)];
2401 test_array [0] = 0;
2402 return test_array [0];
2405 return 0;
2407 _ACEOF
2408 if ac_fn_c_try_compile "$LINENO"; then :
2409 ac_hi=-1 ac_mid=-1
2410 while :; do
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2415 main ()
2417 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2418 test_array [0] = 0;
2419 return test_array [0];
2422 return 0;
2424 _ACEOF
2425 if ac_fn_c_try_compile "$LINENO"; then :
2426 ac_lo=$ac_mid; break
2427 else
2428 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2429 if test $ac_mid -le $ac_hi; then
2430 ac_lo= ac_hi=
2431 break
2433 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 done
2437 else
2438 ac_lo= ac_hi=
2440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 # Binary search between lo and hi bounds.
2444 while test "x$ac_lo" != "x$ac_hi"; do
2445 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2450 main ()
2452 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2453 test_array [0] = 0;
2454 return test_array [0];
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 ac_hi=$ac_mid
2462 else
2463 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2466 done
2467 case $ac_lo in #((
2468 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2469 '') ac_retval=1 ;;
2470 esac
2471 else
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2475 static long int longval () { return $2; }
2476 static unsigned long int ulongval () { return $2; }
2477 #include <stdio.h>
2478 #include <stdlib.h>
2480 main ()
2483 FILE *f = fopen ("conftest.val", "w");
2484 if (! f)
2485 return 1;
2486 if (($2) < 0)
2488 long int i = longval ();
2489 if (i != ($2))
2490 return 1;
2491 fprintf (f, "%ld", i);
2493 else
2495 unsigned long int i = ulongval ();
2496 if (i != ($2))
2497 return 1;
2498 fprintf (f, "%lu", i);
2500 /* Do not output a trailing newline, as this causes \r\n confusion
2501 on some platforms. */
2502 return ferror (f) || fclose (f) != 0;
2505 return 0;
2507 _ACEOF
2508 if ac_fn_c_try_run "$LINENO"; then :
2509 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2510 else
2511 ac_retval=1
2513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2514 conftest.$ac_objext conftest.beam conftest.$ac_ext
2515 rm -f conftest.val
2518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 as_fn_set_status $ac_retval
2521 } # ac_fn_c_compute_int
2523 # ac_fn_cxx_check_func LINENO FUNC VAR
2524 # ------------------------------------
2525 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2526 ac_fn_cxx_check_func ()
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2530 $as_echo_n "checking for $2... " >&6; }
2531 if eval \${$3+:} false; then :
2532 $as_echo_n "(cached) " >&6
2533 else
2534 if test x$gcc_no_link = xyes; then
2535 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2539 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2541 #define $2 innocuous_$2
2543 /* System header to define __stub macros and hopefully few prototypes,
2544 which can conflict with char $2 (); below.
2545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2546 <limits.h> exists even on freestanding compilers. */
2548 #ifdef __STDC__
2549 # include <limits.h>
2550 #else
2551 # include <assert.h>
2552 #endif
2554 #undef $2
2556 /* Override any GCC internal prototype to avoid an error.
2557 Use char because int might match the return type of a GCC
2558 builtin and then its argument prototype would still apply. */
2559 #ifdef __cplusplus
2560 extern "C"
2561 #endif
2562 char $2 ();
2563 /* The GNU C library defines this for functions which it implements
2564 to always fail with ENOSYS. Some functions are actually named
2565 something starting with __ and the normal name is an alias. */
2566 #if defined __stub_$2 || defined __stub___$2
2567 choke me
2568 #endif
2571 main ()
2573 return $2 ();
2575 return 0;
2577 _ACEOF
2578 if ac_fn_cxx_try_link "$LINENO"; then :
2579 eval "$3=yes"
2580 else
2581 eval "$3=no"
2583 rm -f core conftest.err conftest.$ac_objext \
2584 conftest$ac_exeext conftest.$ac_ext
2586 eval ac_res=\$$3
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 $as_echo "$ac_res" >&6; }
2589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 } # ac_fn_cxx_check_func
2593 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2594 # -------------------------------------------
2595 # Tests whether TYPE exists after having included INCLUDES, setting cache
2596 # variable VAR accordingly.
2597 ac_fn_c_check_type ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2601 $as_echo_n "checking for $2... " >&6; }
2602 if eval \${$3+:} false; then :
2603 $as_echo_n "(cached) " >&6
2604 else
2605 eval "$3=no"
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2610 main ()
2612 if (sizeof ($2))
2613 return 0;
2615 return 0;
2617 _ACEOF
2618 if ac_fn_c_try_compile "$LINENO"; then :
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2623 main ()
2625 if (sizeof (($2)))
2626 return 0;
2628 return 0;
2630 _ACEOF
2631 if ac_fn_c_try_compile "$LINENO"; then :
2633 else
2634 eval "$3=yes"
2636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2640 eval ac_res=\$$3
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2642 $as_echo "$ac_res" >&6; }
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 } # ac_fn_c_check_type
2647 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2648 # ---------------------------------------------
2649 # Tests whether TYPE exists after having included INCLUDES, setting cache
2650 # variable VAR accordingly.
2651 ac_fn_cxx_check_type ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \${$3+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 eval "$3=no"
2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2664 main ()
2666 if (sizeof ($2))
2667 return 0;
2669 return 0;
2671 _ACEOF
2672 if ac_fn_cxx_try_compile "$LINENO"; then :
2673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2674 /* end confdefs.h. */
2677 main ()
2679 if (sizeof (($2)))
2680 return 0;
2682 return 0;
2684 _ACEOF
2685 if ac_fn_cxx_try_compile "$LINENO"; then :
2687 else
2688 eval "$3=yes"
2690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 eval ac_res=\$$3
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2696 $as_echo "$ac_res" >&6; }
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2699 } # ac_fn_cxx_check_type
2700 cat >config.log <<_ACEOF
2701 This file contains any messages produced by compilers while
2702 running configure, to aid debugging if configure makes a mistake.
2704 It was created by package-unused $as_me version-unused, which was
2705 generated by GNU Autoconf 2.69. Invocation command line was
2707 $ $0 $@
2709 _ACEOF
2710 exec 5>>config.log
2712 cat <<_ASUNAME
2713 ## --------- ##
2714 ## Platform. ##
2715 ## --------- ##
2717 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2718 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2719 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2720 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2721 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2723 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2724 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2726 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2727 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2728 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2729 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2730 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2731 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2732 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2734 _ASUNAME
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 for as_dir in $PATH
2739 IFS=$as_save_IFS
2740 test -z "$as_dir" && as_dir=.
2741 $as_echo "PATH: $as_dir"
2742 done
2743 IFS=$as_save_IFS
2745 } >&5
2747 cat >&5 <<_ACEOF
2750 ## ----------- ##
2751 ## Core tests. ##
2752 ## ----------- ##
2754 _ACEOF
2757 # Keep a trace of the command line.
2758 # Strip out --no-create and --no-recursion so they do not pile up.
2759 # Strip out --silent because we don't want to record it for future runs.
2760 # Also quote any args containing shell meta-characters.
2761 # Make two passes to allow for proper duplicate-argument suppression.
2762 ac_configure_args=
2763 ac_configure_args0=
2764 ac_configure_args1=
2765 ac_must_keep_next=false
2766 for ac_pass in 1 2
2768 for ac_arg
2770 case $ac_arg in
2771 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2772 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2773 | -silent | --silent | --silen | --sile | --sil)
2774 continue ;;
2775 *\'*)
2776 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2777 esac
2778 case $ac_pass in
2779 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2781 as_fn_append ac_configure_args1 " '$ac_arg'"
2782 if test $ac_must_keep_next = true; then
2783 ac_must_keep_next=false # Got value, back to normal.
2784 else
2785 case $ac_arg in
2786 *=* | --config-cache | -C | -disable-* | --disable-* \
2787 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2788 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2789 | -with-* | --with-* | -without-* | --without-* | --x)
2790 case "$ac_configure_args0 " in
2791 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2792 esac
2794 -* ) ac_must_keep_next=true ;;
2795 esac
2797 as_fn_append ac_configure_args " '$ac_arg'"
2799 esac
2800 done
2801 done
2802 { ac_configure_args0=; unset ac_configure_args0;}
2803 { ac_configure_args1=; unset ac_configure_args1;}
2805 # When interrupted or exit'd, cleanup temporary files, and complete
2806 # config.log. We remove comments because anyway the quotes in there
2807 # would cause problems or look ugly.
2808 # WARNING: Use '\'' to represent an apostrophe within the trap.
2809 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2810 trap 'exit_status=$?
2811 # Save into config.log some information that might help in debugging.
2813 echo
2815 $as_echo "## ---------------- ##
2816 ## Cache variables. ##
2817 ## ---------------- ##"
2818 echo
2819 # The following way of writing the cache mishandles newlines in values,
2821 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2822 eval ac_val=\$$ac_var
2823 case $ac_val in #(
2824 *${as_nl}*)
2825 case $ac_var in #(
2826 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2827 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2828 esac
2829 case $ac_var in #(
2830 _ | IFS | as_nl) ;; #(
2831 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2832 *) { eval $ac_var=; unset $ac_var;} ;;
2833 esac ;;
2834 esac
2835 done
2836 (set) 2>&1 |
2837 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2838 *${as_nl}ac_space=\ *)
2839 sed -n \
2840 "s/'\''/'\''\\\\'\'''\''/g;
2841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2842 ;; #(
2844 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2846 esac |
2847 sort
2849 echo
2851 $as_echo "## ----------------- ##
2852 ## Output variables. ##
2853 ## ----------------- ##"
2854 echo
2855 for ac_var in $ac_subst_vars
2857 eval ac_val=\$$ac_var
2858 case $ac_val in
2859 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2860 esac
2861 $as_echo "$ac_var='\''$ac_val'\''"
2862 done | sort
2863 echo
2865 if test -n "$ac_subst_files"; then
2866 $as_echo "## ------------------- ##
2867 ## File substitutions. ##
2868 ## ------------------- ##"
2869 echo
2870 for ac_var in $ac_subst_files
2872 eval ac_val=\$$ac_var
2873 case $ac_val in
2874 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2875 esac
2876 $as_echo "$ac_var='\''$ac_val'\''"
2877 done | sort
2878 echo
2881 if test -s confdefs.h; then
2882 $as_echo "## ----------- ##
2883 ## confdefs.h. ##
2884 ## ----------- ##"
2885 echo
2886 cat confdefs.h
2887 echo
2889 test "$ac_signal" != 0 &&
2890 $as_echo "$as_me: caught signal $ac_signal"
2891 $as_echo "$as_me: exit $exit_status"
2892 } >&5
2893 rm -f core *.core core.conftest.* &&
2894 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2895 exit $exit_status
2897 for ac_signal in 1 2 13 15; do
2898 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2899 done
2900 ac_signal=0
2902 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2903 rm -f -r conftest* confdefs.h
2905 $as_echo "/* confdefs.h */" > confdefs.h
2907 # Predefined preprocessor variables.
2909 cat >>confdefs.h <<_ACEOF
2910 #define PACKAGE_NAME "$PACKAGE_NAME"
2911 _ACEOF
2913 cat >>confdefs.h <<_ACEOF
2914 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2915 _ACEOF
2917 cat >>confdefs.h <<_ACEOF
2918 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2919 _ACEOF
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE_STRING "$PACKAGE_STRING"
2923 _ACEOF
2925 cat >>confdefs.h <<_ACEOF
2926 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2927 _ACEOF
2929 cat >>confdefs.h <<_ACEOF
2930 #define PACKAGE_URL "$PACKAGE_URL"
2931 _ACEOF
2934 # Let the site file select an alternate cache file if it wants to.
2935 # Prefer an explicitly selected file to automatically selected ones.
2936 ac_site_file1=NONE
2937 ac_site_file2=NONE
2938 if test -n "$CONFIG_SITE"; then
2939 # We do not want a PATH search for config.site.
2940 case $CONFIG_SITE in #((
2941 -*) ac_site_file1=./$CONFIG_SITE;;
2942 */*) ac_site_file1=$CONFIG_SITE;;
2943 *) ac_site_file1=./$CONFIG_SITE;;
2944 esac
2945 elif test "x$prefix" != xNONE; then
2946 ac_site_file1=$prefix/share/config.site
2947 ac_site_file2=$prefix/etc/config.site
2948 else
2949 ac_site_file1=$ac_default_prefix/share/config.site
2950 ac_site_file2=$ac_default_prefix/etc/config.site
2952 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2954 test "x$ac_site_file" = xNONE && continue
2955 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2957 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2958 sed 's/^/| /' "$ac_site_file" >&5
2959 . "$ac_site_file" \
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_fn_error $? "failed to load site script $ac_site_file
2963 See \`config.log' for more details" "$LINENO" 5; }
2965 done
2967 if test -r "$cache_file"; then
2968 # Some versions of bash will fail to source /dev/null (special files
2969 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2970 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2972 $as_echo "$as_me: loading cache $cache_file" >&6;}
2973 case $cache_file in
2974 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2975 *) . "./$cache_file";;
2976 esac
2978 else
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2980 $as_echo "$as_me: creating cache $cache_file" >&6;}
2981 >$cache_file
2984 # Check that the precious variables saved in the cache have kept the same
2985 # value.
2986 ac_cache_corrupted=false
2987 for ac_var in $ac_precious_vars; do
2988 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2989 eval ac_new_set=\$ac_env_${ac_var}_set
2990 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2991 eval ac_new_val=\$ac_env_${ac_var}_value
2992 case $ac_old_set,$ac_new_set in
2993 set,)
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2995 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2996 ac_cache_corrupted=: ;;
2997 ,set)
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2999 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3000 ac_cache_corrupted=: ;;
3001 ,);;
3003 if test "x$ac_old_val" != "x$ac_new_val"; then
3004 # differences in whitespace do not lead to failure.
3005 ac_old_val_w=`echo x $ac_old_val`
3006 ac_new_val_w=`echo x $ac_new_val`
3007 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3009 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3010 ac_cache_corrupted=:
3011 else
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3013 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3014 eval $ac_var=\$ac_old_val
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3017 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3019 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3020 fi;;
3021 esac
3022 # Pass precious variables to config.status.
3023 if test "$ac_new_set" = set; then
3024 case $ac_new_val in
3025 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3026 *) ac_arg=$ac_var=$ac_new_val ;;
3027 esac
3028 case " $ac_configure_args " in
3029 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3030 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3031 esac
3033 done
3034 if $ac_cache_corrupted; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3038 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3039 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3041 ## -------------------- ##
3042 ## Main body of script. ##
3043 ## -------------------- ##
3045 ac_ext=c
3046 ac_cpp='$CPP $CPPFLAGS'
3047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 ac_config_headers="$ac_config_headers config.h"
3059 # This works around the fact that libtool configuration may change LD
3060 # for this particular configuration, but some shells, instead of
3061 # keeping the changes in LD private, export them just because LD is
3062 # exported. Only used at the end of this file.
3063 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3065 # Find the rest of the source tree framework.
3066 # Default to --enable-multilib
3067 # Check whether --enable-multilib was given.
3068 if test "${enable_multilib+set}" = set; then :
3069 enableval=$enable_multilib; case "$enableval" in
3070 yes) multilib=yes ;;
3071 no) multilib=no ;;
3072 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3073 esac
3074 else
3075 multilib=yes
3079 # We may get other options which we leave undocumented:
3080 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3081 # See config-ml.in if you want the gory details.
3083 if test "$srcdir" = "."; then
3084 if test "$with_target_subdir" != "."; then
3085 multi_basedir="$srcdir/$with_multisrctop../.."
3086 else
3087 multi_basedir="$srcdir/$with_multisrctop.."
3089 else
3090 multi_basedir="$srcdir/.."
3094 # Even if the default multilib is not a cross compilation,
3095 # it may be that some of the other multilibs are.
3096 if test $cross_compiling = no && test $multilib = yes \
3097 && test "x${with_multisubdir}" != x ; then
3098 cross_compiling=maybe
3101 ac_config_commands="$ac_config_commands default-1"
3104 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3106 # You will slowly go insane if you do not grok the following fact: when
3107 # building v3 as part of the compiler, the top-level /target/ becomes the
3108 # library's /host/. configure then causes --target to default to --host,
3109 # exactly like any other package using autoconf. Therefore, 'target' and
3110 # 'host' will always be the same. This makes sense both for native and
3111 # cross compilers, just think about it for a little while. :-)
3113 # Also, if v3 is being configured as part of a cross compiler, the top-level
3114 # configure script will pass the "real" host as $with_cross_host.
3116 # Do not delete or change the following two lines. For why, see
3117 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3118 ac_aux_dir=
3119 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3120 if test -f "$ac_dir/install-sh"; then
3121 ac_aux_dir=$ac_dir
3122 ac_install_sh="$ac_aux_dir/install-sh -c"
3123 break
3124 elif test -f "$ac_dir/install.sh"; then
3125 ac_aux_dir=$ac_dir
3126 ac_install_sh="$ac_aux_dir/install.sh -c"
3127 break
3128 elif test -f "$ac_dir/shtool"; then
3129 ac_aux_dir=$ac_dir
3130 ac_install_sh="$ac_aux_dir/shtool install -c"
3131 break
3133 done
3134 if test -z "$ac_aux_dir"; then
3135 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3138 # These three variables are undocumented and unsupported,
3139 # and are intended to be withdrawn in a future Autoconf release.
3140 # They can cause serious problems if a builder's source tree is in a directory
3141 # whose full name contains unusual characters.
3142 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3143 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3144 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3147 # Make sure we can run config.sub.
3148 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3149 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3152 $as_echo_n "checking build system type... " >&6; }
3153 if ${ac_cv_build+:} false; then :
3154 $as_echo_n "(cached) " >&6
3155 else
3156 ac_build_alias=$build_alias
3157 test "x$ac_build_alias" = x &&
3158 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3159 test "x$ac_build_alias" = x &&
3160 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3161 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3162 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3166 $as_echo "$ac_cv_build" >&6; }
3167 case $ac_cv_build in
3168 *-*-*) ;;
3169 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3170 esac
3171 build=$ac_cv_build
3172 ac_save_IFS=$IFS; IFS='-'
3173 set x $ac_cv_build
3174 shift
3175 build_cpu=$1
3176 build_vendor=$2
3177 shift; shift
3178 # Remember, the first character of IFS is used to create $*,
3179 # except with old shells:
3180 build_os=$*
3181 IFS=$ac_save_IFS
3182 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3186 $as_echo_n "checking host system type... " >&6; }
3187 if ${ac_cv_host+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189 else
3190 if test "x$host_alias" = x; then
3191 ac_cv_host=$ac_cv_build
3192 else
3193 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3194 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3199 $as_echo "$ac_cv_host" >&6; }
3200 case $ac_cv_host in
3201 *-*-*) ;;
3202 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3203 esac
3204 host=$ac_cv_host
3205 ac_save_IFS=$IFS; IFS='-'
3206 set x $ac_cv_host
3207 shift
3208 host_cpu=$1
3209 host_vendor=$2
3210 shift; shift
3211 # Remember, the first character of IFS is used to create $*,
3212 # except with old shells:
3213 host_os=$*
3214 IFS=$ac_save_IFS
3215 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3219 $as_echo_n "checking target system type... " >&6; }
3220 if ${ac_cv_target+:} false; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3223 if test "x$target_alias" = x; then
3224 ac_cv_target=$ac_cv_host
3225 else
3226 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3232 $as_echo "$ac_cv_target" >&6; }
3233 case $ac_cv_target in
3234 *-*-*) ;;
3235 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3236 esac
3237 target=$ac_cv_target
3238 ac_save_IFS=$IFS; IFS='-'
3239 set x $ac_cv_target
3240 shift
3241 target_cpu=$1
3242 target_vendor=$2
3243 shift; shift
3244 # Remember, the first character of IFS is used to create $*,
3245 # except with old shells:
3246 target_os=$*
3247 IFS=$ac_save_IFS
3248 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3251 # The aliases save the names the user supplied, while $host etc.
3252 # will get canonicalized.
3253 test -n "$target_alias" &&
3254 test "$program_prefix$program_suffix$program_transform_name" = \
3255 NONENONEs,x,x, &&
3256 program_prefix=${target_alias}-
3258 target_alias=${target_alias-$host_alias}
3260 # Handy for debugging:
3261 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3263 if test "$build" != "$host"; then
3264 # We are being configured with some form of cross compiler.
3265 GLIBCXX_IS_NATIVE=false
3266 case "$host","$target" in
3267 # Darwin crosses can use the host system's libraries and headers,
3268 # because of the fat library support. Of course, it must be the
3269 # same version of Darwin on both sides. Allow the user to
3270 # just say --target=foo-darwin without a version number to mean
3271 # "the version on this system".
3272 *-*-darwin*,*-*-darwin*)
3273 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3274 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3275 if test $hostos = $targetos -o $targetos = darwin ; then
3276 GLIBCXX_IS_NATIVE=true
3283 esac
3284 else
3285 GLIBCXX_IS_NATIVE=true
3288 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3289 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3290 # 1.x: minimum required version
3291 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3292 # of other PACKAGE_* variables will, however, and there's nothing
3293 # we can do about that; they come from AC_INIT).
3294 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3295 # file in the top srcdir, etc, etc), so stop complaining.
3296 # no-dependencies: turns off auto dependency generation (just for now)
3297 # no-dist: we don't want 'dist' and related rules.
3298 # -Wall: turns on all automake warnings...
3299 # -Wno-portability: ...except this one, since GNU make is now required.
3300 am__api_version='1.15'
3302 # Find a good install program. We prefer a C program (faster),
3303 # so one script is as good as another. But avoid the broken or
3304 # incompatible versions:
3305 # SysV /etc/install, /usr/sbin/install
3306 # SunOS /usr/etc/install
3307 # IRIX /sbin/install
3308 # AIX /bin/install
3309 # AmigaOS /C/install, which installs bootblocks on floppy discs
3310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3313 # OS/2's system install, which has a completely different semantic
3314 # ./install, which can be erroneously created by make from ./install.sh.
3315 # Reject install programs that cannot install multiple files.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3317 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3318 if test -z "$INSTALL"; then
3319 if ${ac_cv_path_install+:} false; then :
3320 $as_echo_n "(cached) " >&6
3321 else
3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 for as_dir in $PATH
3325 IFS=$as_save_IFS
3326 test -z "$as_dir" && as_dir=.
3327 # Account for people who put trailing slashes in PATH elements.
3328 case $as_dir/ in #((
3329 ./ | .// | /[cC]/* | \
3330 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3331 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3332 /usr/ucb/* ) ;;
3334 # OSF1 and SCO ODT 3.0 have their own names for install.
3335 # Don't use installbsd from OSF since it installs stuff as root
3336 # by default.
3337 for ac_prog in ginstall scoinst install; do
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3340 if test $ac_prog = install &&
3341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3342 # AIX install. It has an incompatible calling convention.
3344 elif test $ac_prog = install &&
3345 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3346 # program-specific install script used by HP pwplus--don't use.
3348 else
3349 rm -rf conftest.one conftest.two conftest.dir
3350 echo one > conftest.one
3351 echo two > conftest.two
3352 mkdir conftest.dir
3353 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3354 test -s conftest.one && test -s conftest.two &&
3355 test -s conftest.dir/conftest.one &&
3356 test -s conftest.dir/conftest.two
3357 then
3358 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3359 break 3
3363 done
3364 done
3366 esac
3368 done
3369 IFS=$as_save_IFS
3371 rm -rf conftest.one conftest.two conftest.dir
3374 if test "${ac_cv_path_install+set}" = set; then
3375 INSTALL=$ac_cv_path_install
3376 else
3377 # As a last resort, use the slow shell script. Don't cache a
3378 # value for INSTALL within a source directory, because that will
3379 # break other packages using the cache if that directory is
3380 # removed, or if the value is a relative name.
3381 INSTALL=$ac_install_sh
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3385 $as_echo "$INSTALL" >&6; }
3387 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3388 # It thinks the first close brace ends the variable substitution.
3389 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3391 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3393 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3396 $as_echo_n "checking whether build environment is sane... " >&6; }
3397 # Reject unsafe characters in $srcdir or the absolute working directory
3398 # name. Accept space and tab only in the latter.
3399 am_lf='
3401 case `pwd` in
3402 *[\\\"\#\$\&\'\`$am_lf]*)
3403 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3404 esac
3405 case $srcdir in
3406 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3407 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3408 esac
3410 # Do 'set' in a subshell so we don't clobber the current shell's
3411 # arguments. Must try -L first in case configure is actually a
3412 # symlink; some systems play weird games with the mod time of symlinks
3413 # (eg FreeBSD returns the mod time of the symlink's containing
3414 # directory).
3415 if (
3416 am_has_slept=no
3417 for am_try in 1 2; do
3418 echo "timestamp, slept: $am_has_slept" > conftest.file
3419 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3420 if test "$*" = "X"; then
3421 # -L didn't work.
3422 set X `ls -t "$srcdir/configure" conftest.file`
3424 if test "$*" != "X $srcdir/configure conftest.file" \
3425 && test "$*" != "X conftest.file $srcdir/configure"; then
3427 # If neither matched, then we have a broken ls. This can happen
3428 # if, for instance, CONFIG_SHELL is bash and it inherits a
3429 # broken ls alias from the environment. This has actually
3430 # happened. Such a system could not be considered "sane".
3431 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3432 alias in your environment" "$LINENO" 5
3434 if test "$2" = conftest.file || test $am_try -eq 2; then
3435 break
3437 # Just in case.
3438 sleep 1
3439 am_has_slept=yes
3440 done
3441 test "$2" = conftest.file
3443 then
3444 # Ok.
3446 else
3447 as_fn_error $? "newly created file is older than distributed files!
3448 Check your system clock" "$LINENO" 5
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3451 $as_echo "yes" >&6; }
3452 # If we didn't sleep, we still need to ensure time stamps of config.status and
3453 # generated files are strictly newer.
3454 am_sleep_pid=
3455 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3456 ( sleep 1 ) &
3457 am_sleep_pid=$!
3460 rm -f conftest.file
3462 test "$program_prefix" != NONE &&
3463 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3464 # Use a double $ so make ignores it.
3465 test "$program_suffix" != NONE &&
3466 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3467 # Double any \ or $.
3468 # By default was `s,x,x', remove it if useless.
3469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3472 # Expand $ac_aux_dir to an absolute path.
3473 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3475 if test x"${MISSING+set}" != xset; then
3476 case $am_aux_dir in
3477 *\ * | *\ *)
3478 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3480 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3481 esac
3483 # Use eval to expand $SHELL
3484 if eval "$MISSING --is-lightweight"; then
3485 am_missing_run="$MISSING "
3486 else
3487 am_missing_run=
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3489 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3492 if test x"${install_sh+set}" != xset; then
3493 case $am_aux_dir in
3494 *\ * | *\ *)
3495 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3497 install_sh="\${SHELL} $am_aux_dir/install-sh"
3498 esac
3501 # Installed binaries are usually stripped using 'strip' when the user
3502 # run "make install-strip". However 'strip' might not be the right
3503 # tool to use in cross-compilation environments, therefore Automake
3504 # will honor the 'STRIP' environment variable to overrule this program.
3505 if test "$cross_compiling" != no; then
3506 if test -n "$ac_tool_prefix"; then
3507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}strip; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if ${ac_cv_prog_STRIP+:} false; then :
3512 $as_echo_n "(cached) " >&6
3513 else
3514 if test -n "$STRIP"; then
3515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3516 else
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 for as_dir in $PATH
3520 IFS=$as_save_IFS
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526 break 2
3528 done
3529 done
3530 IFS=$as_save_IFS
3534 STRIP=$ac_cv_prog_STRIP
3535 if test -n "$STRIP"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3537 $as_echo "$STRIP" >&6; }
3538 else
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3545 if test -z "$ac_cv_prog_STRIP"; then
3546 ac_ct_STRIP=$STRIP
3547 # Extract the first word of "strip", so it can be a program name with args.
3548 set dummy strip; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3552 $as_echo_n "(cached) " >&6
3553 else
3554 if test -n "$ac_ct_STRIP"; then
3555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3560 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3564 ac_cv_prog_ac_ct_STRIP="strip"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2
3568 done
3569 done
3570 IFS=$as_save_IFS
3574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3575 if test -n "$ac_ct_STRIP"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3577 $as_echo "$ac_ct_STRIP" >&6; }
3578 else
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3583 if test "x$ac_ct_STRIP" = x; then
3584 STRIP=":"
3585 else
3586 case $cross_compiling:$ac_tool_warned in
3587 yes:)
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3591 esac
3592 STRIP=$ac_ct_STRIP
3594 else
3595 STRIP="$ac_cv_prog_STRIP"
3599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3603 if test -z "$MKDIR_P"; then
3604 if ${ac_cv_path_mkdir+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_prog in mkdir gmkdir; do
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3615 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3616 'mkdir (GNU coreutils) '* | \
3617 'mkdir (coreutils) '* | \
3618 'mkdir (fileutils) '4.1*)
3619 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3620 break 3;;
3621 esac
3622 done
3623 done
3624 done
3625 IFS=$as_save_IFS
3629 test -d ./--version && rmdir ./--version
3630 if test "${ac_cv_path_mkdir+set}" = set; then
3631 MKDIR_P="$ac_cv_path_mkdir -p"
3632 else
3633 # As a last resort, use the slow shell script. Don't cache a
3634 # value for MKDIR_P within a source directory, because that will
3635 # break other packages using the cache if that directory is
3636 # removed, or if the value is a relative name.
3637 MKDIR_P="$ac_install_sh -d"
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3641 $as_echo "$MKDIR_P" >&6; }
3643 for ac_prog in gawk mawk nawk awk
3645 # Extract the first word of "$ac_prog", so it can be a program name with args.
3646 set dummy $ac_prog; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_AWK+:} false; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$AWK"; then
3653 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_AWK="$ac_prog"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3672 AWK=$ac_cv_prog_AWK
3673 if test -n "$AWK"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3675 $as_echo "$AWK" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3682 test -n "$AWK" && break
3683 done
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3686 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3687 set x ${MAKE-make}
3688 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3689 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 cat >conftest.make <<\_ACEOF
3693 SHELL = /bin/sh
3694 all:
3695 @echo '@@@%%%=$(MAKE)=@@@%%%'
3696 _ACEOF
3697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3699 *@@@%%%=?*=@@@%%%*)
3700 eval ac_cv_prog_make_${ac_make}_set=yes;;
3702 eval ac_cv_prog_make_${ac_make}_set=no;;
3703 esac
3704 rm -f conftest.make
3706 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708 $as_echo "yes" >&6; }
3709 SET_MAKE=
3710 else
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3713 SET_MAKE="MAKE=${MAKE-make}"
3716 rm -rf .tst 2>/dev/null
3717 mkdir .tst 2>/dev/null
3718 if test -d .tst; then
3719 am__leading_dot=.
3720 else
3721 am__leading_dot=_
3723 rmdir .tst 2>/dev/null
3725 # Check whether --enable-silent-rules was given.
3726 if test "${enable_silent_rules+set}" = set; then :
3727 enableval=$enable_silent_rules;
3730 case $enable_silent_rules in # (((
3731 yes) AM_DEFAULT_VERBOSITY=0;;
3732 no) AM_DEFAULT_VERBOSITY=1;;
3733 *) AM_DEFAULT_VERBOSITY=1;;
3734 esac
3735 am_make=${MAKE-make}
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3737 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3738 if ${am_cv_make_support_nested_variables+:} false; then :
3739 $as_echo_n "(cached) " >&6
3740 else
3741 if $as_echo 'TRUE=$(BAR$(V))
3742 BAR0=false
3743 BAR1=true
3745 am__doit:
3746 @$(TRUE)
3747 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3748 am_cv_make_support_nested_variables=yes
3749 else
3750 am_cv_make_support_nested_variables=no
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3754 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3755 if test $am_cv_make_support_nested_variables = yes; then
3756 AM_V='$(V)'
3757 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3758 else
3759 AM_V=$AM_DEFAULT_VERBOSITY
3760 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3762 AM_BACKSLASH='\'
3764 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3765 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3766 # is not polluted with repeated "-I."
3767 am__isrc=' -I$(srcdir)'
3768 # test to see if srcdir already configured
3769 if test -f $srcdir/config.status; then
3770 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3774 # test whether we have cygpath
3775 if test -z "$CYGPATH_W"; then
3776 if (cygpath --version) >/dev/null 2>/dev/null; then
3777 CYGPATH_W='cygpath -w'
3778 else
3779 CYGPATH_W=echo
3784 # Define the identity of the package.
3785 PACKAGE='libstdc++'
3786 VERSION='version-unused'
3789 # Some tools Automake needs.
3791 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3794 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3797 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3800 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3803 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3805 # For better backward compatibility. To be removed once Automake 1.9.x
3806 # dies out for good. For more background, see:
3807 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3808 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3809 mkdir_p='$(MKDIR_P)'
3811 # We need awk for the "check" target (and possibly the TAP driver). The
3812 # system "awk" is bad on some platforms.
3813 # Always define AMTAR for backward compatibility. Yes, it's still used
3814 # in the wild :-( We should find a proper way to deprecate it ...
3815 AMTAR='$${TAR-tar}'
3818 # We'll loop over all known methods to create a tar archive until one works.
3819 _am_tools='gnutar pax cpio none'
3821 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3828 # POSIX will say in a future version that running "rm -f" with no argument
3829 # is OK; and we want to be able to make that assumption in our Makefile
3830 # recipes. So use an aggressive probe to check that the usage we want is
3831 # actually supported "in the wild" to an acceptable degree.
3832 # See automake bug#10828.
3833 # To make any issue more visible, cause the running configure to be aborted
3834 # by default if the 'rm' program in use doesn't match our expectations; the
3835 # user can still override this though.
3836 if rm -f && rm -fr && rm -rf; then : OK; else
3837 cat >&2 <<'END'
3838 Oops!
3840 Your 'rm' program seems unable to run without file operands specified
3841 on the command line, even when the '-f' option is present. This is contrary
3842 to the behaviour of most rm programs out there, and not conforming with
3843 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3845 Please tell bug-automake@gnu.org about your system, including the value
3846 of your $PATH and any error possibly output before this message. This
3847 can help us improve future automake versions.
3850 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3851 echo 'Configuration will proceed anyway, since you have set the' >&2
3852 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3853 echo >&2
3854 else
3855 cat >&2 <<'END'
3856 Aborting the configuration process, to ensure you take notice of the issue.
3858 You can download and install GNU coreutils to get an 'rm' implementation
3859 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3861 If you want to complete the configuration process using your problematic
3862 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3863 to "yes", and re-run configure.
3866 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3873 # -fno-builtin must be present here so that a non-conflicting form of
3874 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3876 save_CXXFLAGS="$CXXFLAGS"
3877 CXXFLAGS="$CXXFLAGS -fno-builtin"
3878 ac_ext=c
3879 ac_cpp='$CPP $CPPFLAGS'
3880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883 if test -n "$ac_tool_prefix"; then
3884 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3885 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_prog_CC+:} false; then :
3889 $as_echo_n "(cached) " >&6
3890 else
3891 if test -n "$CC"; then
3892 ac_cv_prog_CC="$CC" # Let the user override the test.
3893 else
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 for as_dir in $PATH
3897 IFS=$as_save_IFS
3898 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3901 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 break 2
3905 done
3906 done
3907 IFS=$as_save_IFS
3911 CC=$ac_cv_prog_CC
3912 if test -n "$CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3914 $as_echo "$CC" >&6; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3922 if test -z "$ac_cv_prog_CC"; then
3923 ac_ct_CC=$CC
3924 # Extract the first word of "gcc", so it can be a program name with args.
3925 set dummy gcc; ac_word=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 if test -n "$ac_ct_CC"; then
3932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_ac_ct_CC="gcc"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3945 done
3946 done
3947 IFS=$as_save_IFS
3951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3952 if test -n "$ac_ct_CC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3954 $as_echo "$ac_ct_CC" >&6; }
3955 else
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3960 if test "x$ac_ct_CC" = x; then
3961 CC=""
3962 else
3963 case $cross_compiling:$ac_tool_warned in
3964 yes:)
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3967 ac_tool_warned=yes ;;
3968 esac
3969 CC=$ac_ct_CC
3971 else
3972 CC="$ac_cv_prog_CC"
3975 if test -z "$CC"; then
3976 if test -n "$ac_tool_prefix"; then
3977 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3978 set dummy ${ac_tool_prefix}cc; ac_word=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if ${ac_cv_prog_CC+:} false; then :
3982 $as_echo_n "(cached) " >&6
3983 else
3984 if test -n "$CC"; then
3985 ac_cv_prog_CC="$CC" # Let the user override the test.
3986 else
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 for as_dir in $PATH
3990 IFS=$as_save_IFS
3991 test -z "$as_dir" && as_dir=.
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3994 ac_cv_prog_CC="${ac_tool_prefix}cc"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 break 2
3998 done
3999 done
4000 IFS=$as_save_IFS
4004 CC=$ac_cv_prog_CC
4005 if test -n "$CC"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4007 $as_echo "$CC" >&6; }
4008 else
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4016 if test -z "$CC"; then
4017 # Extract the first word of "cc", so it can be a program name with args.
4018 set dummy cc; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_CC+:} false; then :
4022 $as_echo_n "(cached) " >&6
4023 else
4024 if test -n "$CC"; then
4025 ac_cv_prog_CC="$CC" # Let the user override the test.
4026 else
4027 ac_prog_rejected=no
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4036 ac_prog_rejected=yes
4037 continue
4039 ac_cv_prog_CC="cc"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 break 2
4043 done
4044 done
4045 IFS=$as_save_IFS
4047 if test $ac_prog_rejected = yes; then
4048 # We found a bogon in the path, so make sure we never use it.
4049 set dummy $ac_cv_prog_CC
4050 shift
4051 if test $# != 0; then
4052 # We chose a different compiler from the bogus one.
4053 # However, it has the same basename, so the bogon will be chosen
4054 # first if we set CC to just the basename; use the full file name.
4055 shift
4056 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4061 CC=$ac_cv_prog_CC
4062 if test -n "$CC"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4064 $as_echo "$CC" >&6; }
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4072 if test -z "$CC"; then
4073 if test -n "$ac_tool_prefix"; then
4074 for ac_prog in cl.exe
4076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_CC+:} false; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 if test -n "$CC"; then
4084 ac_cv_prog_CC="$CC" # Let the user override the test.
4085 else
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 for as_dir in $PATH
4089 IFS=$as_save_IFS
4090 test -z "$as_dir" && as_dir=.
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 break 2
4097 done
4098 done
4099 IFS=$as_save_IFS
4103 CC=$ac_cv_prog_CC
4104 if test -n "$CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4106 $as_echo "$CC" >&6; }
4107 else
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4113 test -n "$CC" && break
4114 done
4116 if test -z "$CC"; then
4117 ac_ct_CC=$CC
4118 for ac_prog in cl.exe
4120 # Extract the first word of "$ac_prog", so it can be a program name with args.
4121 set dummy $ac_prog; ac_word=$2
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 if test -n "$ac_ct_CC"; then
4128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4129 else
4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 for as_dir in $PATH
4133 IFS=$as_save_IFS
4134 test -z "$as_dir" && as_dir=.
4135 for ac_exec_ext in '' $ac_executable_extensions; do
4136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4137 ac_cv_prog_ac_ct_CC="$ac_prog"
4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 break 2
4141 done
4142 done
4143 IFS=$as_save_IFS
4147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4148 if test -n "$ac_ct_CC"; then
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4150 $as_echo "$ac_ct_CC" >&6; }
4151 else
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4157 test -n "$ac_ct_CC" && break
4158 done
4160 if test "x$ac_ct_CC" = x; then
4161 CC=""
4162 else
4163 case $cross_compiling:$ac_tool_warned in
4164 yes:)
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4167 ac_tool_warned=yes ;;
4168 esac
4169 CC=$ac_ct_CC
4176 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $? "no acceptable C compiler found in \$PATH
4179 See \`config.log' for more details" "$LINENO" 5; }
4181 # Provide some information about the compiler.
4182 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4183 set X $ac_compile
4184 ac_compiler=$2
4185 for ac_option in --version -v -V -qversion; do
4186 { { ac_try="$ac_compiler $ac_option >&5"
4187 case "(($ac_try" in
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4190 esac
4191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192 $as_echo "$ac_try_echo"; } >&5
4193 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4194 ac_status=$?
4195 if test -s conftest.err; then
4196 sed '10a\
4197 ... rest of stderr output deleted ...
4198 10q' conftest.err >conftest.er1
4199 cat conftest.er1 >&5
4201 rm -f conftest.er1 conftest.err
4202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4203 test $ac_status = 0; }
4204 done
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4208 #include <stdio.h>
4210 main ()
4212 printf ("hello world\n");
4214 return 0;
4216 _ACEOF
4217 # FIXME: Cleanup?
4218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4219 (eval $ac_link) 2>&5
4220 ac_status=$?
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }; then :
4223 gcc_no_link=no
4224 else
4225 gcc_no_link=yes
4227 if test x$gcc_no_link = xyes; then
4228 # Setting cross_compile will disable run tests; it will
4229 # also disable AC_CHECK_FILE but that's generally
4230 # correct if we can't link.
4231 cross_compiling=yes
4232 EXEEXT=
4233 else
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 ac_clean_files_save=$ac_clean_files
4246 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4247 # Try to create an executable without -o first, disregard a.out.
4248 # It will help us diagnose broken compilers, and finding out an intuition
4249 # of exeext.
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4251 $as_echo_n "checking whether the C compiler works... " >&6; }
4252 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4254 # The possible output files:
4255 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4257 ac_rmfiles=
4258 for ac_file in $ac_files
4260 case $ac_file in
4261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4262 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4263 esac
4264 done
4265 rm -f $ac_rmfiles
4267 if { { ac_try="$ac_link_default"
4268 case "(($ac_try" in
4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4271 esac
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_link_default") 2>&5
4275 ac_status=$?
4276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4277 test $ac_status = 0; }; then :
4278 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4279 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4280 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4281 # so that the user can short-circuit this test for compilers unknown to
4282 # Autoconf.
4283 for ac_file in $ac_files ''
4285 test -f "$ac_file" || continue
4286 case $ac_file in
4287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4289 [ab].out )
4290 # We found the default executable, but exeext='' is most
4291 # certainly right.
4292 break;;
4293 *.* )
4294 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4295 then :; else
4296 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4298 # We set ac_cv_exeext here because the later test for it is not
4299 # safe: cross compilers may not add the suffix if given an `-o'
4300 # argument, so we may need to know it at that point already.
4301 # Even if this section looks crufty: it has the advantage of
4302 # actually working.
4303 break;;
4305 break;;
4306 esac
4307 done
4308 test "$ac_cv_exeext" = no && ac_cv_exeext=
4310 else
4311 ac_file=''
4313 if test -z "$ac_file"; then :
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4316 $as_echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error 77 "C compiler cannot create executables
4322 See \`config.log' for more details" "$LINENO" 5; }
4323 else
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4325 $as_echo "yes" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4328 $as_echo_n "checking for C compiler default output file name... " >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4330 $as_echo "$ac_file" >&6; }
4331 ac_exeext=$ac_cv_exeext
4333 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4334 ac_clean_files=$ac_clean_files_save
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4336 $as_echo_n "checking for suffix of executables... " >&6; }
4337 if { { ac_try="$ac_link"
4338 case "(($ac_try" in
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4341 esac
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_link") 2>&5
4345 ac_status=$?
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }; then :
4348 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4349 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4350 # work properly (i.e., refer to `conftest.exe'), while it won't with
4351 # `rm'.
4352 for ac_file in conftest.exe conftest conftest.*; do
4353 test -f "$ac_file" || continue
4354 case $ac_file in
4355 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4356 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4357 break;;
4358 * ) break;;
4359 esac
4360 done
4361 else
4362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4364 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4365 See \`config.log' for more details" "$LINENO" 5; }
4367 rm -f conftest conftest$ac_cv_exeext
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4369 $as_echo "$ac_cv_exeext" >&6; }
4371 rm -f conftest.$ac_ext
4372 EXEEXT=$ac_cv_exeext
4373 ac_exeext=$EXEEXT
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4376 #include <stdio.h>
4378 main ()
4380 FILE *f = fopen ("conftest.out", "w");
4381 return ferror (f) || fclose (f) != 0;
4384 return 0;
4386 _ACEOF
4387 ac_clean_files="$ac_clean_files conftest.out"
4388 # Check that the compiler produces executables we can run. If not, either
4389 # the compiler is broken, or we cross compile.
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4391 $as_echo_n "checking whether we are cross compiling... " >&6; }
4392 if test "$cross_compiling" != yes; then
4393 { { ac_try="$ac_link"
4394 case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4397 esac
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_link") 2>&5
4401 ac_status=$?
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }
4404 if { ac_try='./conftest$ac_cv_exeext'
4405 { { case "(($ac_try" in
4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4408 esac
4409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_try") 2>&5
4412 ac_status=$?
4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4414 test $ac_status = 0; }; }; then
4415 cross_compiling=no
4416 else
4417 if test "$cross_compiling" = maybe; then
4418 cross_compiling=yes
4419 else
4420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error $? "cannot run C compiled programs.
4423 If you meant to cross compile, use \`--host'.
4424 See \`config.log' for more details" "$LINENO" 5; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4429 $as_echo "$cross_compiling" >&6; }
4431 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4432 ac_clean_files=$ac_clean_files_save
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4435 $as_echo_n "checking for suffix of object files... " >&6; }
4436 if ${ac_cv_objext+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4443 main ()
4447 return 0;
4449 _ACEOF
4450 rm -f conftest.o conftest.obj
4451 if { { ac_try="$ac_compile"
4452 case "(($ac_try" in
4453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4455 esac
4456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_compile") 2>&5
4459 ac_status=$?
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }; then :
4462 for ac_file in conftest.o conftest.obj conftest.*; do
4463 test -f "$ac_file" || continue;
4464 case $ac_file in
4465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4467 break;;
4468 esac
4469 done
4470 else
4471 $as_echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4476 as_fn_error $? "cannot compute suffix of object files: cannot compile
4477 See \`config.log' for more details" "$LINENO" 5; }
4479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4482 $as_echo "$ac_cv_objext" >&6; }
4483 OBJEXT=$ac_cv_objext
4484 ac_objext=$OBJEXT
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4486 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4487 if ${ac_cv_c_compiler_gnu+:} false; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4496 #ifndef __GNUC__
4497 choke me
4498 #endif
4501 return 0;
4503 _ACEOF
4504 if ac_fn_c_try_compile "$LINENO"; then :
4505 ac_compiler_gnu=yes
4506 else
4507 ac_compiler_gnu=no
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4515 if test $ac_compiler_gnu = yes; then
4516 GCC=yes
4517 else
4518 GCC=
4520 ac_test_CFLAGS=${CFLAGS+set}
4521 ac_save_CFLAGS=$CFLAGS
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4524 if ${ac_cv_prog_cc_g+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 ac_save_c_werror_flag=$ac_c_werror_flag
4528 ac_c_werror_flag=yes
4529 ac_cv_prog_cc_g=no
4530 CFLAGS="-g"
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 main ()
4539 return 0;
4541 _ACEOF
4542 if ac_fn_c_try_compile "$LINENO"; then :
4543 ac_cv_prog_cc_g=yes
4544 else
4545 CFLAGS=""
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4550 main ()
4554 return 0;
4556 _ACEOF
4557 if ac_fn_c_try_compile "$LINENO"; then :
4559 else
4560 ac_c_werror_flag=$ac_save_c_werror_flag
4561 CFLAGS="-g"
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_c_try_compile "$LINENO"; then :
4574 ac_cv_prog_cc_g=yes
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_c_werror_flag=$ac_save_c_werror_flag
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4584 $as_echo "$ac_cv_prog_cc_g" >&6; }
4585 if test "$ac_test_CFLAGS" = set; then
4586 CFLAGS=$ac_save_CFLAGS
4587 elif test $ac_cv_prog_cc_g = yes; then
4588 if test "$GCC" = yes; then
4589 CFLAGS="-g -O2"
4590 else
4591 CFLAGS="-g"
4593 else
4594 if test "$GCC" = yes; then
4595 CFLAGS="-O2"
4596 else
4597 CFLAGS=
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4601 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4602 if ${ac_cv_prog_cc_c89+:} false; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 ac_cv_prog_cc_c89=no
4606 ac_save_CC=$CC
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4609 #include <stdarg.h>
4610 #include <stdio.h>
4611 struct stat;
4612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4613 struct buf { int x; };
4614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4615 static char *e (p, i)
4616 char **p;
4617 int i;
4619 return p[i];
4621 static char *f (char * (*g) (char **, int), char **p, ...)
4623 char *s;
4624 va_list v;
4625 va_start (v,p);
4626 s = g (p, va_arg (v,int));
4627 va_end (v);
4628 return s;
4631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4632 function prototypes and stuff, but not '\xHH' hex character constants.
4633 These don't provoke an error unfortunately, instead are silently treated
4634 as 'x'. The following induces an error, until -std is added to get
4635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4636 array size at least. It's necessary to write '\x00'==0 to get something
4637 that's true only with -std. */
4638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4641 inside strings and character constants. */
4642 #define FOO(x) 'x'
4643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4645 int test (int i, double x);
4646 struct s1 {int (*f) (int a);};
4647 struct s2 {int (*f) (double a);};
4648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4649 int argc;
4650 char **argv;
4652 main ()
4654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4656 return 0;
4658 _ACEOF
4659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4662 CC="$ac_save_CC $ac_arg"
4663 if ac_fn_c_try_compile "$LINENO"; then :
4664 ac_cv_prog_cc_c89=$ac_arg
4666 rm -f core conftest.err conftest.$ac_objext
4667 test "x$ac_cv_prog_cc_c89" != "xno" && break
4668 done
4669 rm -f conftest.$ac_ext
4670 CC=$ac_save_CC
4673 # AC_CACHE_VAL
4674 case "x$ac_cv_prog_cc_c89" in
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4677 $as_echo "none needed" >&6; } ;;
4678 xno)
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4680 $as_echo "unsupported" >&6; } ;;
4682 CC="$CC $ac_cv_prog_cc_c89"
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4684 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4685 esac
4686 if test "x$ac_cv_prog_cc_c89" != xno; then :
4690 ac_ext=c
4691 ac_cpp='$CPP $CPPFLAGS'
4692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4696 ac_ext=c
4697 ac_cpp='$CPP $CPPFLAGS'
4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4702 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4703 if ${am_cv_prog_cc_c_o+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4710 main ()
4714 return 0;
4716 _ACEOF
4717 # Make sure it works both with $CC and with simple cc.
4718 # Following AC_PROG_CC_C_O, we do the test twice because some
4719 # compilers refuse to overwrite an existing .o file with -o,
4720 # though they will create one.
4721 am_cv_prog_cc_c_o=yes
4722 for am_i in 1 2; do
4723 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4724 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4725 ac_status=$?
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } \
4728 && test -f conftest2.$ac_objext; then
4729 : OK
4730 else
4731 am_cv_prog_cc_c_o=no
4732 break
4734 done
4735 rm -f core conftest*
4736 unset am_i
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4739 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4740 if test "$am_cv_prog_cc_c_o" != yes; then
4741 # Losing compiler, so override with the script.
4742 # FIXME: It is wrong to rewrite CC.
4743 # But if we don't then we get into trouble of one sort or another.
4744 # A longer-term fix would be to have automake use am__CC in this case,
4745 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4746 CC="$am_aux_dir/compile $CC"
4748 ac_ext=c
4749 ac_cpp='$CPP $CPPFLAGS'
4750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755 ac_ext=cpp
4756 ac_cpp='$CXXCPP $CPPFLAGS'
4757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4760 if test -z "$CXX"; then
4761 if test -n "$CCC"; then
4762 CXX=$CCC
4763 else
4764 if test -n "$ac_tool_prefix"; then
4765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if ${ac_cv_prog_CXX+:} false; then :
4772 $as_echo_n "(cached) " >&6
4773 else
4774 if test -n "$CXX"; then
4775 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4776 else
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH
4780 IFS=$as_save_IFS
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 break 2
4788 done
4789 done
4790 IFS=$as_save_IFS
4794 CXX=$ac_cv_prog_CXX
4795 if test -n "$CXX"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4797 $as_echo "$CXX" >&6; }
4798 else
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4804 test -n "$CXX" && break
4805 done
4807 if test -z "$CXX"; then
4808 ac_ct_CXX=$CXX
4809 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4811 # Extract the first word of "$ac_prog", so it can be a program name with args.
4812 set dummy $ac_prog; ac_word=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
4818 if test -n "$ac_ct_CXX"; then
4819 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4820 else
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 for as_dir in $PATH
4824 IFS=$as_save_IFS
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4828 ac_cv_prog_ac_ct_CXX="$ac_prog"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 break 2
4832 done
4833 done
4834 IFS=$as_save_IFS
4838 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4839 if test -n "$ac_ct_CXX"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4841 $as_echo "$ac_ct_CXX" >&6; }
4842 else
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4848 test -n "$ac_ct_CXX" && break
4849 done
4851 if test "x$ac_ct_CXX" = x; then
4852 CXX="g++"
4853 else
4854 case $cross_compiling:$ac_tool_warned in
4855 yes:)
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4859 esac
4860 CXX=$ac_ct_CXX
4866 # Provide some information about the compiler.
4867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4868 set X $ac_compile
4869 ac_compiler=$2
4870 for ac_option in --version -v -V -qversion; do
4871 { { ac_try="$ac_compiler $ac_option >&5"
4872 case "(($ac_try" in
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4875 esac
4876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4877 $as_echo "$ac_try_echo"; } >&5
4878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4879 ac_status=$?
4880 if test -s conftest.err; then
4881 sed '10a\
4882 ... rest of stderr output deleted ...
4883 10q' conftest.err >conftest.er1
4884 cat conftest.er1 >&5
4886 rm -f conftest.er1 conftest.err
4887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4888 test $ac_status = 0; }
4889 done
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4892 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4893 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4894 $as_echo_n "(cached) " >&6
4895 else
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4900 main ()
4902 #ifndef __GNUC__
4903 choke me
4904 #endif
4907 return 0;
4909 _ACEOF
4910 if ac_fn_cxx_try_compile "$LINENO"; then :
4911 ac_compiler_gnu=yes
4912 else
4913 ac_compiler_gnu=no
4915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4920 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4921 if test $ac_compiler_gnu = yes; then
4922 GXX=yes
4923 else
4924 GXX=
4926 ac_test_CXXFLAGS=${CXXFLAGS+set}
4927 ac_save_CXXFLAGS=$CXXFLAGS
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4929 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4930 if ${ac_cv_prog_cxx_g+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4934 ac_cxx_werror_flag=yes
4935 ac_cv_prog_cxx_g=no
4936 CXXFLAGS="-g"
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4941 main ()
4945 return 0;
4947 _ACEOF
4948 if ac_fn_cxx_try_compile "$LINENO"; then :
4949 ac_cv_prog_cxx_g=yes
4950 else
4951 CXXFLAGS=""
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4960 return 0;
4962 _ACEOF
4963 if ac_fn_cxx_try_compile "$LINENO"; then :
4965 else
4966 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4967 CXXFLAGS="-g"
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_cxx_try_compile "$LINENO"; then :
4980 ac_cv_prog_cxx_g=yes
4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4990 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4991 if test "$ac_test_CXXFLAGS" = set; then
4992 CXXFLAGS=$ac_save_CXXFLAGS
4993 elif test $ac_cv_prog_cxx_g = yes; then
4994 if test "$GXX" = yes; then
4995 CXXFLAGS="-g -O2"
4996 else
4997 CXXFLAGS="-g"
4999 else
5000 if test "$GXX" = yes; then
5001 CXXFLAGS="-O2"
5002 else
5003 CXXFLAGS=
5006 ac_ext=c
5007 ac_cpp='$CPP $CPPFLAGS'
5008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5012 CXXFLAGS="$save_CXXFLAGS"
5015 # Check whether --enable-largefile was given.
5016 if test "${enable_largefile+set}" = set; then :
5017 enableval=$enable_largefile;
5020 if test "$enable_largefile" != no; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5023 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5024 if ${ac_cv_sys_largefile_CC+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 ac_cv_sys_largefile_CC=no
5028 if test "$GCC" != yes; then
5029 ac_save_CC=$CC
5030 while :; do
5031 # IRIX 6.2 and later do not support large files by default,
5032 # so use the C compiler's -n32 option if that helps.
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5035 #include <sys/types.h>
5036 /* Check that off_t can represent 2**63 - 1 correctly.
5037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5038 since some C++ compilers masquerading as C compilers
5039 incorrectly reject 9223372036854775807. */
5040 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5042 && LARGE_OFF_T % 2147483647 == 1)
5043 ? 1 : -1];
5045 main ()
5049 return 0;
5051 _ACEOF
5052 if ac_fn_c_try_compile "$LINENO"; then :
5053 break
5055 rm -f core conftest.err conftest.$ac_objext
5056 CC="$CC -n32"
5057 if ac_fn_c_try_compile "$LINENO"; then :
5058 ac_cv_sys_largefile_CC=' -n32'; break
5060 rm -f core conftest.err conftest.$ac_objext
5061 break
5062 done
5063 CC=$ac_save_CC
5064 rm -f conftest.$ac_ext
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5068 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5069 if test "$ac_cv_sys_largefile_CC" != no; then
5070 CC=$CC$ac_cv_sys_largefile_CC
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5074 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5075 if ${ac_cv_sys_file_offset_bits+:} false; then :
5076 $as_echo_n "(cached) " >&6
5077 else
5078 while :; do
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5081 #include <sys/types.h>
5082 /* Check that off_t can represent 2**63 - 1 correctly.
5083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5084 since some C++ compilers masquerading as C compilers
5085 incorrectly reject 9223372036854775807. */
5086 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5088 && LARGE_OFF_T % 2147483647 == 1)
5089 ? 1 : -1];
5091 main ()
5095 return 0;
5097 _ACEOF
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099 ac_cv_sys_file_offset_bits=no; break
5101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5104 #define _FILE_OFFSET_BITS 64
5105 #include <sys/types.h>
5106 /* Check that off_t can represent 2**63 - 1 correctly.
5107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5108 since some C++ compilers masquerading as C compilers
5109 incorrectly reject 9223372036854775807. */
5110 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5112 && LARGE_OFF_T % 2147483647 == 1)
5113 ? 1 : -1];
5115 main ()
5119 return 0;
5121 _ACEOF
5122 if ac_fn_c_try_compile "$LINENO"; then :
5123 ac_cv_sys_file_offset_bits=64; break
5125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5126 ac_cv_sys_file_offset_bits=unknown
5127 break
5128 done
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5131 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5132 case $ac_cv_sys_file_offset_bits in #(
5133 no | unknown) ;;
5135 cat >>confdefs.h <<_ACEOF
5136 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5137 _ACEOF
5139 esac
5140 rm -rf conftest*
5141 if test $ac_cv_sys_file_offset_bits = unknown; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5143 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5144 if ${ac_cv_sys_large_files+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 while :; do
5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h. */
5150 #include <sys/types.h>
5151 /* Check that off_t can represent 2**63 - 1 correctly.
5152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5153 since some C++ compilers masquerading as C compilers
5154 incorrectly reject 9223372036854775807. */
5155 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5157 && LARGE_OFF_T % 2147483647 == 1)
5158 ? 1 : -1];
5160 main ()
5164 return 0;
5166 _ACEOF
5167 if ac_fn_c_try_compile "$LINENO"; then :
5168 ac_cv_sys_large_files=no; break
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5173 #define _LARGE_FILES 1
5174 #include <sys/types.h>
5175 /* Check that off_t can represent 2**63 - 1 correctly.
5176 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5177 since some C++ compilers masquerading as C compilers
5178 incorrectly reject 9223372036854775807. */
5179 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5180 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5181 && LARGE_OFF_T % 2147483647 == 1)
5182 ? 1 : -1];
5184 main ()
5188 return 0;
5190 _ACEOF
5191 if ac_fn_c_try_compile "$LINENO"; then :
5192 ac_cv_sys_large_files=1; break
5194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195 ac_cv_sys_large_files=unknown
5196 break
5197 done
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5200 $as_echo "$ac_cv_sys_large_files" >&6; }
5201 case $ac_cv_sys_large_files in #(
5202 no | unknown) ;;
5204 cat >>confdefs.h <<_ACEOF
5205 #define _LARGE_FILES $ac_cv_sys_large_files
5206 _ACEOF
5208 esac
5209 rm -rf conftest*
5216 # Runs configure.host, and assorted other critical bits. Sets
5217 # up critical shell variables.
5218 ac_ext=c
5219 ac_cpp='$CPP $CPPFLAGS'
5220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5224 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5225 # On Suns, sometimes $CPP names a directory.
5226 if test -n "$CPP" && test -d "$CPP"; then
5227 CPP=
5229 if test -z "$CPP"; then
5230 if ${ac_cv_prog_CPP+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 # Double quotes because CPP needs to be expanded
5234 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5236 ac_preproc_ok=false
5237 for ac_c_preproc_warn_flag in '' yes
5239 # Use a header file that comes with gcc, so configuring glibc
5240 # with a fresh cross-compiler works.
5241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5242 # <limits.h> exists even on freestanding compilers.
5243 # On the NeXT, cc -E runs the code through the compiler's parser,
5244 # not just through cpp. "Syntax error" is here to catch this case.
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247 #ifdef __STDC__
5248 # include <limits.h>
5249 #else
5250 # include <assert.h>
5251 #endif
5252 Syntax error
5253 _ACEOF
5254 if ac_fn_c_try_cpp "$LINENO"; then :
5256 else
5257 # Broken: fails on valid input.
5258 continue
5260 rm -f conftest.err conftest.i conftest.$ac_ext
5262 # OK, works on sane cases. Now check whether nonexistent headers
5263 # can be detected and how.
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5266 #include <ac_nonexistent.h>
5267 _ACEOF
5268 if ac_fn_c_try_cpp "$LINENO"; then :
5269 # Broken: success on invalid input.
5270 continue
5271 else
5272 # Passes both tests.
5273 ac_preproc_ok=:
5274 break
5276 rm -f conftest.err conftest.i conftest.$ac_ext
5278 done
5279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5280 rm -f conftest.i conftest.err conftest.$ac_ext
5281 if $ac_preproc_ok; then :
5282 break
5285 done
5286 ac_cv_prog_CPP=$CPP
5289 CPP=$ac_cv_prog_CPP
5290 else
5291 ac_cv_prog_CPP=$CPP
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5294 $as_echo "$CPP" >&6; }
5295 ac_preproc_ok=false
5296 for ac_c_preproc_warn_flag in '' yes
5298 # Use a header file that comes with gcc, so configuring glibc
5299 # with a fresh cross-compiler works.
5300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5301 # <limits.h> exists even on freestanding compilers.
5302 # On the NeXT, cc -E runs the code through the compiler's parser,
5303 # not just through cpp. "Syntax error" is here to catch this case.
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5306 #ifdef __STDC__
5307 # include <limits.h>
5308 #else
5309 # include <assert.h>
5310 #endif
5311 Syntax error
5312 _ACEOF
5313 if ac_fn_c_try_cpp "$LINENO"; then :
5315 else
5316 # Broken: fails on valid input.
5317 continue
5319 rm -f conftest.err conftest.i conftest.$ac_ext
5321 # OK, works on sane cases. Now check whether nonexistent headers
5322 # can be detected and how.
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5325 #include <ac_nonexistent.h>
5326 _ACEOF
5327 if ac_fn_c_try_cpp "$LINENO"; then :
5328 # Broken: success on invalid input.
5329 continue
5330 else
5331 # Passes both tests.
5332 ac_preproc_ok=:
5333 break
5335 rm -f conftest.err conftest.i conftest.$ac_ext
5337 done
5338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5339 rm -f conftest.i conftest.err conftest.$ac_ext
5340 if $ac_preproc_ok; then :
5342 else
5343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5345 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5346 See \`config.log' for more details" "$LINENO" 5; }
5349 ac_ext=c
5350 ac_cpp='$CPP $CPPFLAGS'
5351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5357 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5358 if ${ac_cv_path_GREP+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 if test -z "$GREP"; then
5362 ac_path_GREP_found=false
5363 # Loop through the user's path and test for each of PROGNAME-LIST
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_prog in grep ggrep; do
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5372 as_fn_executable_p "$ac_path_GREP" || continue
5373 # Check for GNU ac_path_GREP and select it if it is found.
5374 # Check for GNU $ac_path_GREP
5375 case `"$ac_path_GREP" --version 2>&1` in
5376 *GNU*)
5377 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5379 ac_count=0
5380 $as_echo_n 0123456789 >"conftest.in"
5381 while :
5383 cat "conftest.in" "conftest.in" >"conftest.tmp"
5384 mv "conftest.tmp" "conftest.in"
5385 cp "conftest.in" "conftest.nl"
5386 $as_echo 'GREP' >> "conftest.nl"
5387 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5389 as_fn_arith $ac_count + 1 && ac_count=$as_val
5390 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5391 # Best one so far, save it but keep looking for a better one
5392 ac_cv_path_GREP="$ac_path_GREP"
5393 ac_path_GREP_max=$ac_count
5395 # 10*(2^10) chars as input seems more than enough
5396 test $ac_count -gt 10 && break
5397 done
5398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5399 esac
5401 $ac_path_GREP_found && break 3
5402 done
5403 done
5404 done
5405 IFS=$as_save_IFS
5406 if test -z "$ac_cv_path_GREP"; then
5407 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5409 else
5410 ac_cv_path_GREP=$GREP
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5415 $as_echo "$ac_cv_path_GREP" >&6; }
5416 GREP="$ac_cv_path_GREP"
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5420 $as_echo_n "checking for egrep... " >&6; }
5421 if ${ac_cv_path_EGREP+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5425 then ac_cv_path_EGREP="$GREP -E"
5426 else
5427 if test -z "$EGREP"; then
5428 ac_path_EGREP_found=false
5429 # Loop through the user's path and test for each of PROGNAME-LIST
5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5433 IFS=$as_save_IFS
5434 test -z "$as_dir" && as_dir=.
5435 for ac_prog in egrep; do
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5438 as_fn_executable_p "$ac_path_EGREP" || continue
5439 # Check for GNU ac_path_EGREP and select it if it is found.
5440 # Check for GNU $ac_path_EGREP
5441 case `"$ac_path_EGREP" --version 2>&1` in
5442 *GNU*)
5443 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5445 ac_count=0
5446 $as_echo_n 0123456789 >"conftest.in"
5447 while :
5449 cat "conftest.in" "conftest.in" >"conftest.tmp"
5450 mv "conftest.tmp" "conftest.in"
5451 cp "conftest.in" "conftest.nl"
5452 $as_echo 'EGREP' >> "conftest.nl"
5453 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5454 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5455 as_fn_arith $ac_count + 1 && ac_count=$as_val
5456 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5457 # Best one so far, save it but keep looking for a better one
5458 ac_cv_path_EGREP="$ac_path_EGREP"
5459 ac_path_EGREP_max=$ac_count
5461 # 10*(2^10) chars as input seems more than enough
5462 test $ac_count -gt 10 && break
5463 done
5464 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5465 esac
5467 $ac_path_EGREP_found && break 3
5468 done
5469 done
5470 done
5471 IFS=$as_save_IFS
5472 if test -z "$ac_cv_path_EGREP"; then
5473 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5475 else
5476 ac_cv_path_EGREP=$EGREP
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5482 $as_echo "$ac_cv_path_EGREP" >&6; }
5483 EGREP="$ac_cv_path_EGREP"
5487 # Keep these sync'd with the list in Makefile.am. The first provides an
5488 # expandable list at autoconf time; the second provides an expandable list
5489 # (i.e., shell variable) at configure time.
5491 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5493 # These need to be absolute paths, yet at the same time need to
5494 # canonicalize only relative paths, because then amd will not unmount
5495 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5496 glibcxx_builddir=`${PWDCMD-pwd}`
5497 case $srcdir in
5498 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5499 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5500 esac
5501 toplevel_builddir=${glibcxx_builddir}/..
5502 toplevel_srcdir=${glibcxx_srcdir}/..
5508 # We use these options to decide which functions to include. They are
5509 # set from the top level.
5511 # Check whether --with-target-subdir was given.
5512 if test "${with_target_subdir+set}" = set; then :
5513 withval=$with_target_subdir;
5518 # Check whether --with-cross-host was given.
5519 if test "${with_cross_host+set}" = set; then :
5520 withval=$with_cross_host;
5525 # Check whether --with-newlib was given.
5526 if test "${with_newlib+set}" = set; then :
5527 withval=$with_newlib;
5531 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5532 # available). Uncomment the next line to force a particular method.
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5534 $as_echo_n "checking whether ln -s works... " >&6; }
5535 LN_S=$as_ln_s
5536 if test "$LN_S" = "ln -s"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5538 $as_echo "yes" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5541 $as_echo "no, using $LN_S" >&6; }
5544 #LN_S='cp -p'
5546 if test -n "$ac_tool_prefix"; then
5547 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5548 set dummy ${ac_tool_prefix}as; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if ${ac_cv_prog_AS+:} false; then :
5552 $as_echo_n "(cached) " >&6
5553 else
5554 if test -n "$AS"; then
5555 ac_cv_prog_AS="$AS" # Let the user override the test.
5556 else
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH
5560 IFS=$as_save_IFS
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_AS="${ac_tool_prefix}as"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 break 2
5568 done
5569 done
5570 IFS=$as_save_IFS
5574 AS=$ac_cv_prog_AS
5575 if test -n "$AS"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5577 $as_echo "$AS" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5585 if test -z "$ac_cv_prog_AS"; then
5586 ac_ct_AS=$AS
5587 # Extract the first word of "as", so it can be a program name with args.
5588 set dummy as; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test -n "$ac_ct_AS"; then
5595 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_ac_ct_AS="as"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5615 if test -n "$ac_ct_AS"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5617 $as_echo "$ac_ct_AS" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5623 if test "x$ac_ct_AS" = x; then
5624 AS=""
5625 else
5626 case $cross_compiling:$ac_tool_warned in
5627 yes:)
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5630 ac_tool_warned=yes ;;
5631 esac
5632 AS=$ac_ct_AS
5634 else
5635 AS="$ac_cv_prog_AS"
5638 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}ar; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_AR+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if test -n "$AR"; then
5647 ac_cv_prog_AR="$AR" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_AR="${ac_tool_prefix}ar"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 AR=$ac_cv_prog_AR
5667 if test -n "$AR"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5669 $as_echo "$AR" >&6; }
5670 else
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5677 if test -z "$ac_cv_prog_AR"; then
5678 ac_ct_AR=$AR
5679 # Extract the first word of "ar", so it can be a program name with args.
5680 set dummy ar; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -n "$ac_ct_AR"; then
5687 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_ac_ct_AR="ar"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5707 if test -n "$ac_ct_AR"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5709 $as_echo "$ac_ct_AR" >&6; }
5710 else
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5715 if test "x$ac_ct_AR" = x; then
5716 AR=""
5717 else
5718 case $cross_compiling:$ac_tool_warned in
5719 yes:)
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned=yes ;;
5723 esac
5724 AR=$ac_ct_AR
5726 else
5727 AR="$ac_cv_prog_AR"
5730 if test -n "$ac_tool_prefix"; then
5731 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5732 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_RANLIB+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$RANLIB"; then
5739 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 RANLIB=$ac_cv_prog_RANLIB
5759 if test -n "$RANLIB"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5761 $as_echo "$RANLIB" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5769 if test -z "$ac_cv_prog_RANLIB"; then
5770 ac_ct_RANLIB=$RANLIB
5771 # Extract the first word of "ranlib", so it can be a program name with args.
5772 set dummy ranlib; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$ac_ct_RANLIB"; then
5779 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_ac_ct_RANLIB="ranlib"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5799 if test -n "$ac_ct_RANLIB"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5801 $as_echo "$ac_ct_RANLIB" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5807 if test "x$ac_ct_RANLIB" = x; then
5808 RANLIB="ranlib-not-found-in-path-error"
5809 else
5810 case $cross_compiling:$ac_tool_warned in
5811 yes:)
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5814 ac_tool_warned=yes ;;
5815 esac
5816 RANLIB=$ac_ct_RANLIB
5818 else
5819 RANLIB="$ac_cv_prog_RANLIB"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5825 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5826 # Check whether --enable-maintainer-mode was given.
5827 if test "${enable_maintainer_mode+set}" = set; then :
5828 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5829 else
5830 USE_MAINTAINER_MODE=no
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5834 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5835 if test $USE_MAINTAINER_MODE = yes; then
5836 MAINTAINER_MODE_TRUE=
5837 MAINTAINER_MODE_FALSE='#'
5838 else
5839 MAINTAINER_MODE_TRUE='#'
5840 MAINTAINER_MODE_FALSE=
5843 MAINT=$MAINTAINER_MODE_TRUE
5847 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5848 # which are themselves conditionally expanded.
5849 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5850 ## other macros from doing the same. This should be automated.) -pme
5852 # Check for C library flavor since GNU/Linux platforms use different
5853 # configuration directories depending on the C library in use.
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5857 #include <stdio.h>
5858 #if __UCLIBC__
5859 _using_uclibc
5860 #endif
5862 _ACEOF
5863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5864 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5865 uclibc=yes
5866 else
5867 uclibc=no
5869 rm -f conftest*
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5875 #include <stdio.h>
5876 #if __BIONIC__
5877 _using_bionic
5878 #endif
5880 _ACEOF
5881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5882 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5883 bionic=yes
5884 else
5885 bionic=no
5887 rm -f conftest*
5890 # Find platform-specific directories containing configuration info.
5891 # Also possibly modify flags used elsewhere, as needed by the platform.
5893 . $glibcxx_srcdir/configure.host
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5895 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5897 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5901 # Libtool setup.
5902 if test "x${with_newlib}" != "xyes"; then
5903 enable_dlopen=yes
5908 case `pwd` in
5909 *\ * | *\ *)
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5911 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5912 esac
5916 macro_version='2.2.7a'
5917 macro_revision='1.3134'
5931 ltmain="$ac_aux_dir/ltmain.sh"
5933 # Backslashify metacharacters that are still active within
5934 # double-quoted strings.
5935 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5937 # Same as above, but do not quote variable references.
5938 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5940 # Sed substitution to delay expansion of an escaped shell variable in a
5941 # double_quote_subst'ed string.
5942 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5944 # Sed substitution to delay expansion of an escaped single quote.
5945 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5947 # Sed substitution to avoid accidental globbing in evaled expressions
5948 no_glob_subst='s/\*/\\\*/g'
5950 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5951 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5952 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5955 $as_echo_n "checking how to print strings... " >&6; }
5956 # Test print first, because it will be a builtin if present.
5957 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5958 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5959 ECHO='print -r --'
5960 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5961 ECHO='printf %s\n'
5962 else
5963 # Use this function as a fallback that always works.
5964 func_fallback_echo ()
5966 eval 'cat <<_LTECHO_EOF
5968 _LTECHO_EOF'
5970 ECHO='func_fallback_echo'
5973 # func_echo_all arg...
5974 # Invoke $ECHO with all args, space-separated.
5975 func_echo_all ()
5977 $ECHO ""
5980 case "$ECHO" in
5981 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5982 $as_echo "printf" >&6; } ;;
5983 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5984 $as_echo "print -r" >&6; } ;;
5985 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5986 $as_echo "cat" >&6; } ;;
5987 esac
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6003 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6004 if ${ac_cv_path_SED+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6008 for ac_i in 1 2 3 4 5 6 7; do
6009 ac_script="$ac_script$as_nl$ac_script"
6010 done
6011 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6012 { ac_script=; unset ac_script;}
6013 if test -z "$SED"; then
6014 ac_path_SED_found=false
6015 # Loop through the user's path and test for each of PROGNAME-LIST
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6019 IFS=$as_save_IFS
6020 test -z "$as_dir" && as_dir=.
6021 for ac_prog in sed gsed; do
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6024 as_fn_executable_p "$ac_path_SED" || continue
6025 # Check for GNU ac_path_SED and select it if it is found.
6026 # Check for GNU $ac_path_SED
6027 case `"$ac_path_SED" --version 2>&1` in
6028 *GNU*)
6029 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6031 ac_count=0
6032 $as_echo_n 0123456789 >"conftest.in"
6033 while :
6035 cat "conftest.in" "conftest.in" >"conftest.tmp"
6036 mv "conftest.tmp" "conftest.in"
6037 cp "conftest.in" "conftest.nl"
6038 $as_echo '' >> "conftest.nl"
6039 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6040 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6041 as_fn_arith $ac_count + 1 && ac_count=$as_val
6042 if test $ac_count -gt ${ac_path_SED_max-0}; then
6043 # Best one so far, save it but keep looking for a better one
6044 ac_cv_path_SED="$ac_path_SED"
6045 ac_path_SED_max=$ac_count
6047 # 10*(2^10) chars as input seems more than enough
6048 test $ac_count -gt 10 && break
6049 done
6050 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6051 esac
6053 $ac_path_SED_found && break 3
6054 done
6055 done
6056 done
6057 IFS=$as_save_IFS
6058 if test -z "$ac_cv_path_SED"; then
6059 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6061 else
6062 ac_cv_path_SED=$SED
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6067 $as_echo "$ac_cv_path_SED" >&6; }
6068 SED="$ac_cv_path_SED"
6069 rm -f conftest.sed
6071 test -z "$SED" && SED=sed
6072 Xsed="$SED -e 1s/^X//"
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6085 $as_echo_n "checking for fgrep... " >&6; }
6086 if ${ac_cv_path_FGREP+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6090 then ac_cv_path_FGREP="$GREP -F"
6091 else
6092 if test -z "$FGREP"; then
6093 ac_path_FGREP_found=false
6094 # Loop through the user's path and test for each of PROGNAME-LIST
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_prog in fgrep; do
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6103 as_fn_executable_p "$ac_path_FGREP" || continue
6104 # Check for GNU ac_path_FGREP and select it if it is found.
6105 # Check for GNU $ac_path_FGREP
6106 case `"$ac_path_FGREP" --version 2>&1` in
6107 *GNU*)
6108 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6110 ac_count=0
6111 $as_echo_n 0123456789 >"conftest.in"
6112 while :
6114 cat "conftest.in" "conftest.in" >"conftest.tmp"
6115 mv "conftest.tmp" "conftest.in"
6116 cp "conftest.in" "conftest.nl"
6117 $as_echo 'FGREP' >> "conftest.nl"
6118 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6119 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6120 as_fn_arith $ac_count + 1 && ac_count=$as_val
6121 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6122 # Best one so far, save it but keep looking for a better one
6123 ac_cv_path_FGREP="$ac_path_FGREP"
6124 ac_path_FGREP_max=$ac_count
6126 # 10*(2^10) chars as input seems more than enough
6127 test $ac_count -gt 10 && break
6128 done
6129 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6130 esac
6132 $ac_path_FGREP_found && break 3
6133 done
6134 done
6135 done
6136 IFS=$as_save_IFS
6137 if test -z "$ac_cv_path_FGREP"; then
6138 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6140 else
6141 ac_cv_path_FGREP=$FGREP
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6147 $as_echo "$ac_cv_path_FGREP" >&6; }
6148 FGREP="$ac_cv_path_FGREP"
6151 test -z "$GREP" && GREP=grep
6171 # Check whether --with-gnu-ld was given.
6172 if test "${with_gnu_ld+set}" = set; then :
6173 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6174 else
6175 with_gnu_ld=no
6178 ac_prog=ld
6179 if test "$GCC" = yes; then
6180 # Check if gcc -print-prog-name=ld gives a path.
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6182 $as_echo_n "checking for ld used by $CC... " >&6; }
6183 case $host in
6184 *-*-mingw*)
6185 # gcc leaves a trailing carriage return which upsets mingw
6186 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6188 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6189 esac
6190 case $ac_prog in
6191 # Accept absolute paths.
6192 [\\/]* | ?:[\\/]*)
6193 re_direlt='/[^/][^/]*/\.\./'
6194 # Canonicalize the pathname of ld
6195 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6196 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6197 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6198 done
6199 test -z "$LD" && LD="$ac_prog"
6202 # If it fails, then pretend we aren't using GCC.
6203 ac_prog=ld
6206 # If it is relative, then search for the first ld in PATH.
6207 with_gnu_ld=unknown
6209 esac
6210 elif test "$with_gnu_ld" = yes; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6212 $as_echo_n "checking for GNU ld... " >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6215 $as_echo_n "checking for non-GNU ld... " >&6; }
6217 if ${lt_cv_path_LD+:} false; then :
6218 $as_echo_n "(cached) " >&6
6219 else
6220 if test -z "$LD"; then
6221 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6222 for ac_dir in $PATH; do
6223 IFS="$lt_save_ifs"
6224 test -z "$ac_dir" && ac_dir=.
6225 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6226 lt_cv_path_LD="$ac_dir/$ac_prog"
6227 # Check to see if the program is GNU ld. I'd rather use --version,
6228 # but apparently some variants of GNU ld only accept -v.
6229 # Break only if it was the GNU/non-GNU ld that we prefer.
6230 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6231 *GNU* | *'with BFD'*)
6232 test "$with_gnu_ld" != no && break
6235 test "$with_gnu_ld" != yes && break
6237 esac
6239 done
6240 IFS="$lt_save_ifs"
6241 else
6242 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6246 LD="$lt_cv_path_LD"
6247 if test -n "$LD"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6249 $as_echo "$LD" >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6254 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6256 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6257 if ${lt_cv_prog_gnu_ld+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259 else
6260 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6261 case `$LD -v 2>&1 </dev/null` in
6262 *GNU* | *'with BFD'*)
6263 lt_cv_prog_gnu_ld=yes
6266 lt_cv_prog_gnu_ld=no
6268 esac
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6271 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6272 with_gnu_ld=$lt_cv_prog_gnu_ld
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6283 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6284 if ${lt_cv_path_NM+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 if test -n "$NM"; then
6288 # Let the user override the test.
6289 lt_cv_path_NM="$NM"
6290 else
6291 lt_nm_to_check="${ac_tool_prefix}nm"
6292 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6293 lt_nm_to_check="$lt_nm_to_check nm"
6295 for lt_tmp_nm in $lt_nm_to_check; do
6296 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6297 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6298 IFS="$lt_save_ifs"
6299 test -z "$ac_dir" && ac_dir=.
6300 tmp_nm="$ac_dir/$lt_tmp_nm"
6301 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6302 # Check to see if the nm accepts a BSD-compat flag.
6303 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6304 # nm: unknown option "B" ignored
6305 # Tru64's nm complains that /dev/null is an invalid object file
6306 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6307 */dev/null* | *'Invalid file or object type'*)
6308 lt_cv_path_NM="$tmp_nm -B"
6309 break
6312 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6313 */dev/null*)
6314 lt_cv_path_NM="$tmp_nm -p"
6315 break
6318 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6319 continue # so that we can try to find one that supports BSD flags
6321 esac
6323 esac
6325 done
6326 IFS="$lt_save_ifs"
6327 done
6328 : ${lt_cv_path_NM=no}
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6332 $as_echo "$lt_cv_path_NM" >&6; }
6333 if test "$lt_cv_path_NM" != "no"; then
6334 NM="$lt_cv_path_NM"
6335 else
6336 # Didn't find any BSD compatible name lister, look for dumpbin.
6337 if test -n "$DUMPBIN"; then :
6338 # Let the user override the test.
6339 else
6340 if test -n "$ac_tool_prefix"; then
6341 for ac_prog in dumpbin "link -dump"
6343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346 $as_echo_n "checking for $ac_word... " >&6; }
6347 if ${ac_cv_prog_DUMPBIN+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 if test -n "$DUMPBIN"; then
6351 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6352 else
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 for as_dir in $PATH
6356 IFS=$as_save_IFS
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 break 2
6364 done
6365 done
6366 IFS=$as_save_IFS
6370 DUMPBIN=$ac_cv_prog_DUMPBIN
6371 if test -n "$DUMPBIN"; then
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6373 $as_echo "$DUMPBIN" >&6; }
6374 else
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376 $as_echo "no" >&6; }
6380 test -n "$DUMPBIN" && break
6381 done
6383 if test -z "$DUMPBIN"; then
6384 ac_ct_DUMPBIN=$DUMPBIN
6385 for ac_prog in dumpbin "link -dump"
6387 # Extract the first word of "$ac_prog", so it can be a program name with args.
6388 set dummy $ac_prog; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 if test -n "$ac_ct_DUMPBIN"; then
6395 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 break 2
6408 done
6409 done
6410 IFS=$as_save_IFS
6414 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6415 if test -n "$ac_ct_DUMPBIN"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6417 $as_echo "$ac_ct_DUMPBIN" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6424 test -n "$ac_ct_DUMPBIN" && break
6425 done
6427 if test "x$ac_ct_DUMPBIN" = x; then
6428 DUMPBIN=":"
6429 else
6430 case $cross_compiling:$ac_tool_warned in
6431 yes:)
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6435 esac
6436 DUMPBIN=$ac_ct_DUMPBIN
6440 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6441 *COFF*)
6442 DUMPBIN="$DUMPBIN -symbols"
6445 DUMPBIN=:
6447 esac
6450 if test "$DUMPBIN" != ":"; then
6451 NM="$DUMPBIN"
6454 test -z "$NM" && NM=nm
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6462 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6463 if ${lt_cv_nm_interface+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 lt_cv_nm_interface="BSD nm"
6467 echo "int some_variable = 0;" > conftest.$ac_ext
6468 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6469 (eval "$ac_compile" 2>conftest.err)
6470 cat conftest.err >&5
6471 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6472 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6473 cat conftest.err >&5
6474 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6475 cat conftest.out >&5
6476 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6477 lt_cv_nm_interface="MS dumpbin"
6479 rm -f conftest*
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6482 $as_echo "$lt_cv_nm_interface" >&6; }
6484 # find the maximum length of command line arguments
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6486 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6487 if ${lt_cv_sys_max_cmd_len+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6491 teststring="ABCD"
6493 case $build_os in
6494 msdosdjgpp*)
6495 # On DJGPP, this test can blow up pretty badly due to problems in libc
6496 # (any single argument exceeding 2000 bytes causes a buffer overrun
6497 # during glob expansion). Even if it were fixed, the result of this
6498 # check would be larger than it should be.
6499 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6502 gnu*)
6503 # Under GNU Hurd, this test is not required because there is
6504 # no limit to the length of command line arguments.
6505 # Libtool will interpret -1 as no limit whatsoever
6506 lt_cv_sys_max_cmd_len=-1;
6509 cygwin* | mingw* | cegcc*)
6510 # On Win9x/ME, this test blows up -- it succeeds, but takes
6511 # about 5 minutes as the teststring grows exponentially.
6512 # Worse, since 9x/ME are not pre-emptively multitasking,
6513 # you end up with a "frozen" computer, even though with patience
6514 # the test eventually succeeds (with a max line length of 256k).
6515 # Instead, let's just punt: use the minimum linelength reported by
6516 # all of the supported platforms: 8192 (on NT/2K/XP).
6517 lt_cv_sys_max_cmd_len=8192;
6520 mint*)
6521 # On MiNT this can take a long time and run out of memory.
6522 lt_cv_sys_max_cmd_len=8192;
6525 amigaos*)
6526 # On AmigaOS with pdksh, this test takes hours, literally.
6527 # So we just punt and use a minimum line length of 8192.
6528 lt_cv_sys_max_cmd_len=8192;
6531 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6532 # This has been around since 386BSD, at least. Likely further.
6533 if test -x /sbin/sysctl; then
6534 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6535 elif test -x /usr/sbin/sysctl; then
6536 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6537 else
6538 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6540 # And add a safety zone
6541 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6545 interix*)
6546 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6547 lt_cv_sys_max_cmd_len=196608
6550 osf*)
6551 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6552 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6553 # nice to cause kernel panics so lets avoid the loop below.
6554 # First set a reasonable default.
6555 lt_cv_sys_max_cmd_len=16384
6557 if test -x /sbin/sysconfig; then
6558 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6559 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6560 esac
6563 sco3.2v5*)
6564 lt_cv_sys_max_cmd_len=102400
6566 sysv5* | sco5v6* | sysv4.2uw2*)
6567 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6568 if test -n "$kargmax"; then
6569 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6570 else
6571 lt_cv_sys_max_cmd_len=32768
6575 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6576 if test -n "$lt_cv_sys_max_cmd_len"; then
6577 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6579 else
6580 # Make teststring a little bigger before we do anything with it.
6581 # a 1K string should be a reasonable start.
6582 for i in 1 2 3 4 5 6 7 8 ; do
6583 teststring=$teststring$teststring
6584 done
6585 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6586 # If test is not a shell built-in, we'll probably end up computing a
6587 # maximum length that is only half of the actual maximum length, but
6588 # we can't tell.
6589 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6590 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6591 test $i != 17 # 1/2 MB should be enough
6593 i=`expr $i + 1`
6594 teststring=$teststring$teststring
6595 done
6596 # Only check the string length outside the loop.
6597 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6598 teststring=
6599 # Add a significant safety factor because C++ compilers can tack on
6600 # massive amounts of additional arguments before passing them to the
6601 # linker. It appears as though 1/2 is a usable value.
6602 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6605 esac
6609 if test -n $lt_cv_sys_max_cmd_len ; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6611 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6612 else
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6614 $as_echo "none" >&6; }
6616 max_cmd_len=$lt_cv_sys_max_cmd_len
6623 : ${CP="cp -f"}
6624 : ${MV="mv -f"}
6625 : ${RM="rm -f"}
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6628 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6629 # Try some XSI features
6630 xsi_shell=no
6631 ( _lt_dummy="a/b/c"
6632 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6633 = c,a/b,, \
6634 && eval 'test $(( 1 + 1 )) -eq 2 \
6635 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6636 && xsi_shell=yes
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6638 $as_echo "$xsi_shell" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6642 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6643 lt_shell_append=no
6644 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6645 >/dev/null 2>&1 \
6646 && lt_shell_append=yes
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6648 $as_echo "$lt_shell_append" >&6; }
6651 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6652 lt_unset=unset
6653 else
6654 lt_unset=false
6661 # test EBCDIC or ASCII
6662 case `echo X|tr X '\101'` in
6663 A) # ASCII based system
6664 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6665 lt_SP2NL='tr \040 \012'
6666 lt_NL2SP='tr \015\012 \040\040'
6668 *) # EBCDIC based system
6669 lt_SP2NL='tr \100 \n'
6670 lt_NL2SP='tr \r\n \100\100'
6672 esac
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6683 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6684 if ${lt_cv_ld_reload_flag+:} false; then :
6685 $as_echo_n "(cached) " >&6
6686 else
6687 lt_cv_ld_reload_flag='-r'
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6690 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6691 reload_flag=$lt_cv_ld_reload_flag
6692 case $reload_flag in
6693 "" | " "*) ;;
6694 *) reload_flag=" $reload_flag" ;;
6695 esac
6696 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6697 case $host_os in
6698 darwin*)
6699 if test "$GCC" = yes; then
6700 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6701 else
6702 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6705 esac
6715 if test -n "$ac_tool_prefix"; then
6716 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6717 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if ${ac_cv_prog_OBJDUMP+:} false; then :
6721 $as_echo_n "(cached) " >&6
6722 else
6723 if test -n "$OBJDUMP"; then
6724 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6729 IFS=$as_save_IFS
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 break 2
6737 done
6738 done
6739 IFS=$as_save_IFS
6743 OBJDUMP=$ac_cv_prog_OBJDUMP
6744 if test -n "$OBJDUMP"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6746 $as_echo "$OBJDUMP" >&6; }
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6754 if test -z "$ac_cv_prog_OBJDUMP"; then
6755 ac_ct_OBJDUMP=$OBJDUMP
6756 # Extract the first word of "objdump", so it can be a program name with args.
6757 set dummy objdump; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 if test -n "$ac_ct_OBJDUMP"; then
6764 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6784 if test -n "$ac_ct_OBJDUMP"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6786 $as_echo "$ac_ct_OBJDUMP" >&6; }
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6792 if test "x$ac_ct_OBJDUMP" = x; then
6793 OBJDUMP="false"
6794 else
6795 case $cross_compiling:$ac_tool_warned in
6796 yes:)
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6799 ac_tool_warned=yes ;;
6800 esac
6801 OBJDUMP=$ac_ct_OBJDUMP
6803 else
6804 OBJDUMP="$ac_cv_prog_OBJDUMP"
6807 test -z "$OBJDUMP" && OBJDUMP=objdump
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6818 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6819 if ${lt_cv_deplibs_check_method+:} false; then :
6820 $as_echo_n "(cached) " >&6
6821 else
6822 lt_cv_file_magic_cmd='$MAGIC_CMD'
6823 lt_cv_file_magic_test_file=
6824 lt_cv_deplibs_check_method='unknown'
6825 # Need to set the preceding variable on all platforms that support
6826 # interlibrary dependencies.
6827 # 'none' -- dependencies not supported.
6828 # `unknown' -- same as none, but documents that we really don't know.
6829 # 'pass_all' -- all dependencies passed with no checks.
6830 # 'test_compile' -- check by making test program.
6831 # 'file_magic [[regex]]' -- check by looking for files in library path
6832 # which responds to the $file_magic_cmd with a given extended regex.
6833 # If you have `file' or equivalent on your system and you're not sure
6834 # whether `pass_all' will *always* work, you probably want this one.
6836 case $host_os in
6837 aix[4-9]*)
6838 lt_cv_deplibs_check_method=pass_all
6841 beos*)
6842 lt_cv_deplibs_check_method=pass_all
6845 bsdi[45]*)
6846 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6847 lt_cv_file_magic_cmd='/usr/bin/file -L'
6848 lt_cv_file_magic_test_file=/shlib/libc.so
6851 cygwin*)
6852 # func_win32_libid is a shell function defined in ltmain.sh
6853 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6854 lt_cv_file_magic_cmd='func_win32_libid'
6857 mingw* | pw32*)
6858 # Base MSYS/MinGW do not provide the 'file' command needed by
6859 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6860 # unless we find 'file', for example because we are cross-compiling.
6861 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6862 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6863 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6864 lt_cv_file_magic_cmd='func_win32_libid'
6865 else
6866 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6867 lt_cv_file_magic_cmd='$OBJDUMP -f'
6871 cegcc*)
6872 # use the weaker test based on 'objdump'. See mingw*.
6873 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6874 lt_cv_file_magic_cmd='$OBJDUMP -f'
6877 darwin* | rhapsody*)
6878 lt_cv_deplibs_check_method=pass_all
6881 freebsd* | dragonfly*)
6882 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6883 case $host_cpu in
6884 i*86 )
6885 # Not sure whether the presence of OpenBSD here was a mistake.
6886 # Let's accept both of them until this is cleared up.
6887 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6888 lt_cv_file_magic_cmd=/usr/bin/file
6889 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6891 esac
6892 else
6893 lt_cv_deplibs_check_method=pass_all
6897 gnu*)
6898 lt_cv_deplibs_check_method=pass_all
6901 haiku*)
6902 lt_cv_deplibs_check_method=pass_all
6905 hpux10.20* | hpux11*)
6906 lt_cv_file_magic_cmd=/usr/bin/file
6907 case $host_cpu in
6908 ia64*)
6909 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6910 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6912 hppa*64*)
6913 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]'
6914 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6917 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6918 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6920 esac
6923 interix[3-9]*)
6924 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6925 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6928 irix5* | irix6* | nonstopux*)
6929 case $LD in
6930 *-32|*"-32 ") libmagic=32-bit;;
6931 *-n32|*"-n32 ") libmagic=N32;;
6932 *-64|*"-64 ") libmagic=64-bit;;
6933 *) libmagic=never-match;;
6934 esac
6935 lt_cv_deplibs_check_method=pass_all
6938 # This must be Linux ELF.
6939 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6940 lt_cv_deplibs_check_method=pass_all
6943 netbsd*)
6944 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6945 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6946 else
6947 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6951 newos6*)
6952 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6953 lt_cv_file_magic_cmd=/usr/bin/file
6954 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6957 *nto* | *qnx*)
6958 lt_cv_deplibs_check_method=pass_all
6961 openbsd*)
6962 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6963 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6964 else
6965 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6969 osf3* | osf4* | osf5*)
6970 lt_cv_deplibs_check_method=pass_all
6973 rdos*)
6974 lt_cv_deplibs_check_method=pass_all
6977 solaris*)
6978 lt_cv_deplibs_check_method=pass_all
6981 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6982 lt_cv_deplibs_check_method=pass_all
6985 sysv4 | sysv4.3*)
6986 case $host_vendor in
6987 motorola)
6988 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]'
6989 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6991 ncr)
6992 lt_cv_deplibs_check_method=pass_all
6994 sequent)
6995 lt_cv_file_magic_cmd='/bin/file'
6996 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6998 sni)
6999 lt_cv_file_magic_cmd='/bin/file'
7000 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7001 lt_cv_file_magic_test_file=/lib/libc.so
7003 siemens)
7004 lt_cv_deplibs_check_method=pass_all
7007 lt_cv_deplibs_check_method=pass_all
7009 esac
7012 tpf*)
7013 lt_cv_deplibs_check_method=pass_all
7015 esac
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7019 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7020 file_magic_cmd=$lt_cv_file_magic_cmd
7021 deplibs_check_method=$lt_cv_deplibs_check_method
7022 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}ar; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_AR+:} false; then :
7041 $as_echo_n "(cached) " >&6
7042 else
7043 if test -n "$AR"; then
7044 ac_cv_prog_AR="$AR" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7049 IFS=$as_save_IFS
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_AR="${ac_tool_prefix}ar"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 break 2
7057 done
7058 done
7059 IFS=$as_save_IFS
7063 AR=$ac_cv_prog_AR
7064 if test -n "$AR"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7066 $as_echo "$AR" >&6; }
7067 else
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7074 if test -z "$ac_cv_prog_AR"; then
7075 ac_ct_AR=$AR
7076 # Extract the first word of "ar", so it can be a program name with args.
7077 set dummy ar; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7081 $as_echo_n "(cached) " >&6
7082 else
7083 if test -n "$ac_ct_AR"; then
7084 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7085 else
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 for as_dir in $PATH
7089 IFS=$as_save_IFS
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_ac_ct_AR="ar"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 break 2
7097 done
7098 done
7099 IFS=$as_save_IFS
7103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7104 if test -n "$ac_ct_AR"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7106 $as_echo "$ac_ct_AR" >&6; }
7107 else
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_ct_AR" = x; then
7113 AR="false"
7114 else
7115 case $cross_compiling:$ac_tool_warned in
7116 yes:)
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7120 esac
7121 AR=$ac_ct_AR
7123 else
7124 AR="$ac_cv_prog_AR"
7127 test -z "$AR" && AR=ar
7128 test -z "$AR_FLAGS" && AR_FLAGS=cru
7140 if test -n "$ac_tool_prefix"; then
7141 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7142 set dummy ${ac_tool_prefix}strip; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_STRIP+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 if test -n "$STRIP"; then
7149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7154 IFS=$as_save_IFS
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 STRIP=$ac_cv_prog_STRIP
7169 if test -n "$STRIP"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7171 $as_echo "$STRIP" >&6; }
7172 else
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7179 if test -z "$ac_cv_prog_STRIP"; then
7180 ac_ct_STRIP=$STRIP
7181 # Extract the first word of "strip", so it can be a program name with args.
7182 set dummy strip; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7186 $as_echo_n "(cached) " >&6
7187 else
7188 if test -n "$ac_ct_STRIP"; then
7189 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7190 else
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 for as_dir in $PATH
7194 IFS=$as_save_IFS
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_ac_ct_STRIP="strip"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 break 2
7202 done
7203 done
7204 IFS=$as_save_IFS
7208 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7209 if test -n "$ac_ct_STRIP"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7211 $as_echo "$ac_ct_STRIP" >&6; }
7212 else
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7217 if test "x$ac_ct_STRIP" = x; then
7218 STRIP=":"
7219 else
7220 case $cross_compiling:$ac_tool_warned in
7221 yes:)
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7224 ac_tool_warned=yes ;;
7225 esac
7226 STRIP=$ac_ct_STRIP
7228 else
7229 STRIP="$ac_cv_prog_STRIP"
7232 test -z "$STRIP" && STRIP=:
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_RANLIB+:} false; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 if test -n "$RANLIB"; then
7248 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 RANLIB=$ac_cv_prog_RANLIB
7268 if test -n "$RANLIB"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7270 $as_echo "$RANLIB" >&6; }
7271 else
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_RANLIB"; then
7279 ac_ct_RANLIB=$RANLIB
7280 # Extract the first word of "ranlib", so it can be a program name with args.
7281 set dummy ranlib; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 if test -n "$ac_ct_RANLIB"; then
7288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_prog_ac_ct_RANLIB="ranlib"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7301 done
7302 done
7303 IFS=$as_save_IFS
7307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7308 if test -n "$ac_ct_RANLIB"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7310 $as_echo "$ac_ct_RANLIB" >&6; }
7311 else
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_RANLIB" = x; then
7317 RANLIB=":"
7318 else
7319 case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325 RANLIB=$ac_ct_RANLIB
7327 else
7328 RANLIB="$ac_cv_prog_RANLIB"
7331 test -z "$RANLIB" && RANLIB=:
7338 # Determine commands to create old-style static archives.
7339 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7340 old_postinstall_cmds='chmod 644 $oldlib'
7341 old_postuninstall_cmds=
7343 if test -n "$RANLIB"; then
7344 case $host_os in
7345 openbsd*)
7346 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7349 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7351 esac
7352 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7355 case $host_os in
7356 darwin*)
7357 lock_old_archive_extraction=yes ;;
7359 lock_old_archive_extraction=no ;;
7360 esac
7400 # If no C compiler was specified, use CC.
7401 LTCC=${LTCC-"$CC"}
7403 # If no C compiler flags were specified, use CFLAGS.
7404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7406 # Allow CC to be a program name with arguments.
7407 compiler=$CC
7410 # Check for command to grab the raw symbol name followed by C symbol from nm.
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7412 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7413 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7414 $as_echo_n "(cached) " >&6
7415 else
7417 # These are sane defaults that work on at least a few old systems.
7418 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7420 # Character class describing NM global symbol codes.
7421 symcode='[BCDEGRST]'
7423 # Regexp to match symbols that can be accessed directly from C.
7424 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7426 # Define system-specific variables.
7427 case $host_os in
7428 aix*)
7429 symcode='[BCDT]'
7431 cygwin* | mingw* | pw32* | cegcc*)
7432 symcode='[ABCDGISTW]'
7434 hpux*)
7435 if test "$host_cpu" = ia64; then
7436 symcode='[ABCDEGRST]'
7439 irix* | nonstopux*)
7440 symcode='[BCDEGRST]'
7442 osf*)
7443 symcode='[BCDEGQRST]'
7445 solaris*)
7446 symcode='[BDRT]'
7448 sco3.2v5*)
7449 symcode='[DT]'
7451 sysv4.2uw2*)
7452 symcode='[DT]'
7454 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7455 symcode='[ABDT]'
7457 sysv4)
7458 symcode='[DFNSTU]'
7460 esac
7462 # If we're using GNU nm, then use its standard symbol codes.
7463 case `$NM -V 2>&1` in
7464 *GNU* | *'with BFD'*)
7465 symcode='[ABCDGIRSTW]' ;;
7466 esac
7468 # Transform an extracted symbol line into a proper C declaration.
7469 # Some systems (esp. on ia64) link data and code symbols differently,
7470 # so use this general approach.
7471 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7473 # Transform an extracted symbol line into symbol name and symbol address
7474 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7475 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'"
7477 # Handle CRLF in mingw tool chain
7478 opt_cr=
7479 case $build_os in
7480 mingw*)
7481 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7483 esac
7485 # Try without a prefix underscore, then with it.
7486 for ac_symprfx in "" "_"; do
7488 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7489 symxfrm="\\1 $ac_symprfx\\2 \\2"
7491 # Write the raw and C identifiers.
7492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7493 # Fake it for dumpbin and say T for any non-static function
7494 # and D for any global variable.
7495 # Also find C++ and __fastcall symbols from MSVC++,
7496 # which start with @ or ?.
7497 lt_cv_sys_global_symbol_pipe="$AWK '"\
7498 " {last_section=section; section=\$ 3};"\
7499 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7500 " \$ 0!~/External *\|/{next};"\
7501 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7502 " {if(hide[section]) next};"\
7503 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7504 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7505 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7506 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7507 " ' prfx=^$ac_symprfx"
7508 else
7509 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7512 # Check to see that the pipe works correctly.
7513 pipe_works=no
7515 rm -f conftest*
7516 cat > conftest.$ac_ext <<_LT_EOF
7517 #ifdef __cplusplus
7518 extern "C" {
7519 #endif
7520 char nm_test_var;
7521 void nm_test_func(void);
7522 void nm_test_func(void){}
7523 #ifdef __cplusplus
7525 #endif
7526 int main(){nm_test_var='a';nm_test_func();return(0);}
7527 _LT_EOF
7529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7530 (eval $ac_compile) 2>&5
7531 ac_status=$?
7532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7533 test $ac_status = 0; }; then
7534 # Now try to grab the symbols.
7535 nlist=conftest.nm
7536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7537 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7538 ac_status=$?
7539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7540 test $ac_status = 0; } && test -s "$nlist"; then
7541 # Try sorting and uniquifying the output.
7542 if sort "$nlist" | uniq > "$nlist"T; then
7543 mv -f "$nlist"T "$nlist"
7544 else
7545 rm -f "$nlist"T
7548 # Make sure that we snagged all the symbols we need.
7549 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7550 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7551 cat <<_LT_EOF > conftest.$ac_ext
7552 #ifdef __cplusplus
7553 extern "C" {
7554 #endif
7556 _LT_EOF
7557 # Now generate the symbol file.
7558 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7560 cat <<_LT_EOF >> conftest.$ac_ext
7562 /* The mapping between symbol names and symbols. */
7563 const struct {
7564 const char *name;
7565 void *address;
7567 lt__PROGRAM__LTX_preloaded_symbols[] =
7569 { "@PROGRAM@", (void *) 0 },
7570 _LT_EOF
7571 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7572 cat <<\_LT_EOF >> conftest.$ac_ext
7573 {0, (void *) 0}
7576 /* This works around a problem in FreeBSD linker */
7577 #ifdef FREEBSD_WORKAROUND
7578 static const void *lt_preloaded_setup() {
7579 return lt__PROGRAM__LTX_preloaded_symbols;
7581 #endif
7583 #ifdef __cplusplus
7585 #endif
7586 _LT_EOF
7587 # Now try linking the two files.
7588 mv conftest.$ac_objext conftstm.$ac_objext
7589 lt_save_LIBS="$LIBS"
7590 lt_save_CFLAGS="$CFLAGS"
7591 LIBS="conftstm.$ac_objext"
7592 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7594 (eval $ac_link) 2>&5
7595 ac_status=$?
7596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7597 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7598 pipe_works=yes
7600 LIBS="$lt_save_LIBS"
7601 CFLAGS="$lt_save_CFLAGS"
7602 else
7603 echo "cannot find nm_test_func in $nlist" >&5
7605 else
7606 echo "cannot find nm_test_var in $nlist" >&5
7608 else
7609 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7611 else
7612 echo "$progname: failed program was:" >&5
7613 cat conftest.$ac_ext >&5
7615 rm -rf conftest* conftst*
7617 # Do not use the global_symbol_pipe unless it works.
7618 if test "$pipe_works" = yes; then
7619 break
7620 else
7621 lt_cv_sys_global_symbol_pipe=
7623 done
7627 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7628 lt_cv_sys_global_symbol_to_cdecl=
7630 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7632 $as_echo "failed" >&6; }
7633 else
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7635 $as_echo "ok" >&6; }
7659 # Check whether --enable-libtool-lock was given.
7660 if test "${enable_libtool_lock+set}" = set; then :
7661 enableval=$enable_libtool_lock;
7664 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7666 # Some flags need to be propagated to the compiler or linker for good
7667 # libtool support.
7668 case $host in
7669 ia64-*-hpux*)
7670 # Find out which ABI we are using.
7671 echo 'int i;' > conftest.$ac_ext
7672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7673 (eval $ac_compile) 2>&5
7674 ac_status=$?
7675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7676 test $ac_status = 0; }; then
7677 case `/usr/bin/file conftest.$ac_objext` in
7678 *ELF-32*)
7679 HPUX_IA64_MODE="32"
7681 *ELF-64*)
7682 HPUX_IA64_MODE="64"
7684 esac
7686 rm -rf conftest*
7688 *-*-irix6*)
7689 # Find out which ABI we are using.
7690 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7692 (eval $ac_compile) 2>&5
7693 ac_status=$?
7694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7695 test $ac_status = 0; }; then
7696 if test "$lt_cv_prog_gnu_ld" = yes; then
7697 case `/usr/bin/file conftest.$ac_objext` in
7698 *32-bit*)
7699 LD="${LD-ld} -melf32bsmip"
7701 *N32*)
7702 LD="${LD-ld} -melf32bmipn32"
7704 *64-bit*)
7705 LD="${LD-ld} -melf64bmip"
7707 esac
7708 else
7709 case `/usr/bin/file conftest.$ac_objext` in
7710 *32-bit*)
7711 LD="${LD-ld} -32"
7713 *N32*)
7714 LD="${LD-ld} -n32"
7716 *64-bit*)
7717 LD="${LD-ld} -64"
7719 esac
7722 rm -rf conftest*
7725 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7726 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7727 # Find out which ABI we are using.
7728 echo 'int i;' > conftest.$ac_ext
7729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7730 (eval $ac_compile) 2>&5
7731 ac_status=$?
7732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7733 test $ac_status = 0; }; then
7734 case `/usr/bin/file conftest.o` in
7735 *32-bit*)
7736 case $host in
7737 x86_64-*kfreebsd*-gnu)
7738 LD="${LD-ld} -m elf_i386_fbsd"
7740 x86_64-*linux*)
7741 case `/usr/bin/file conftest.o` in
7742 *x86-64*)
7743 LD="${LD-ld} -m elf32_x86_64"
7746 LD="${LD-ld} -m elf_i386"
7748 esac
7750 powerpc64le-*linux*)
7751 LD="${LD-ld} -m elf32lppclinux"
7753 powerpc64-*linux*)
7754 LD="${LD-ld} -m elf32ppclinux"
7756 s390x-*linux*)
7757 LD="${LD-ld} -m elf_s390"
7759 sparc64-*linux*)
7760 LD="${LD-ld} -m elf32_sparc"
7762 esac
7764 *64-bit*)
7765 case $host in
7766 x86_64-*kfreebsd*-gnu)
7767 LD="${LD-ld} -m elf_x86_64_fbsd"
7769 x86_64-*linux*)
7770 LD="${LD-ld} -m elf_x86_64"
7772 powerpcle-*linux*)
7773 LD="${LD-ld} -m elf64lppc"
7775 powerpc-*linux*)
7776 LD="${LD-ld} -m elf64ppc"
7778 s390*-*linux*|s390*-*tpf*)
7779 LD="${LD-ld} -m elf64_s390"
7781 sparc*-*linux*)
7782 LD="${LD-ld} -m elf64_sparc"
7784 esac
7786 esac
7788 rm -rf conftest*
7791 *-*-sco3.2v5*)
7792 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7793 SAVE_CFLAGS="$CFLAGS"
7794 CFLAGS="$CFLAGS -belf"
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7796 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7797 if ${lt_cv_cc_needs_belf+:} false; then :
7798 $as_echo_n "(cached) " >&6
7799 else
7800 ac_ext=c
7801 ac_cpp='$CPP $CPPFLAGS'
7802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806 if test x$gcc_no_link = xyes; then
7807 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7813 main ()
7817 return 0;
7819 _ACEOF
7820 if ac_fn_c_try_link "$LINENO"; then :
7821 lt_cv_cc_needs_belf=yes
7822 else
7823 lt_cv_cc_needs_belf=no
7825 rm -f core conftest.err conftest.$ac_objext \
7826 conftest$ac_exeext conftest.$ac_ext
7827 ac_ext=c
7828 ac_cpp='$CPP $CPPFLAGS'
7829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7835 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7836 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7837 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7838 CFLAGS="$SAVE_CFLAGS"
7841 sparc*-*solaris*)
7842 # Find out which ABI we are using.
7843 echo 'int i;' > conftest.$ac_ext
7844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7845 (eval $ac_compile) 2>&5
7846 ac_status=$?
7847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7848 test $ac_status = 0; }; then
7849 case `/usr/bin/file conftest.o` in
7850 *64-bit*)
7851 case $lt_cv_prog_gnu_ld in
7852 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7854 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7855 LD="${LD-ld} -64"
7858 esac
7860 esac
7862 rm -rf conftest*
7864 esac
7866 need_locks="$enable_libtool_lock"
7869 case $host_os in
7870 rhapsody* | darwin*)
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
7879 if test -n "$DSYMUTIL"; then
7880 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7881 else
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $PATH
7885 IFS=$as_save_IFS
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 break 2
7893 done
7894 done
7895 IFS=$as_save_IFS
7899 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7900 if test -n "$DSYMUTIL"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7902 $as_echo "$DSYMUTIL" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7910 if test -z "$ac_cv_prog_DSYMUTIL"; then
7911 ac_ct_DSYMUTIL=$DSYMUTIL
7912 # Extract the first word of "dsymutil", so it can be a program name with args.
7913 set dummy dsymutil; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 if test -n "$ac_ct_DSYMUTIL"; then
7920 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7939 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7940 if test -n "$ac_ct_DSYMUTIL"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7942 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7948 if test "x$ac_ct_DSYMUTIL" = x; then
7949 DSYMUTIL=":"
7950 else
7951 case $cross_compiling:$ac_tool_warned in
7952 yes:)
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned=yes ;;
7956 esac
7957 DSYMUTIL=$ac_ct_DSYMUTIL
7959 else
7960 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7963 if test -n "$ac_tool_prefix"; then
7964 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7965 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if ${ac_cv_prog_NMEDIT+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 if test -n "$NMEDIT"; then
7972 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7973 else
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 for as_dir in $PATH
7977 IFS=$as_save_IFS
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 break 2
7985 done
7986 done
7987 IFS=$as_save_IFS
7991 NMEDIT=$ac_cv_prog_NMEDIT
7992 if test -n "$NMEDIT"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7994 $as_echo "$NMEDIT" >&6; }
7995 else
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8002 if test -z "$ac_cv_prog_NMEDIT"; then
8003 ac_ct_NMEDIT=$NMEDIT
8004 # Extract the first word of "nmedit", so it can be a program name with args.
8005 set dummy nmedit; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 if test -n "$ac_ct_NMEDIT"; then
8012 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8013 else
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 for as_dir in $PATH
8017 IFS=$as_save_IFS
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 break 2
8025 done
8026 done
8027 IFS=$as_save_IFS
8031 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8032 if test -n "$ac_ct_NMEDIT"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8034 $as_echo "$ac_ct_NMEDIT" >&6; }
8035 else
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8040 if test "x$ac_ct_NMEDIT" = x; then
8041 NMEDIT=":"
8042 else
8043 case $cross_compiling:$ac_tool_warned in
8044 yes:)
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8047 ac_tool_warned=yes ;;
8048 esac
8049 NMEDIT=$ac_ct_NMEDIT
8051 else
8052 NMEDIT="$ac_cv_prog_NMEDIT"
8055 if test -n "$ac_tool_prefix"; then
8056 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8057 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if ${ac_cv_prog_LIPO+:} false; then :
8061 $as_echo_n "(cached) " >&6
8062 else
8063 if test -n "$LIPO"; then
8064 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8065 else
8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8067 for as_dir in $PATH
8069 IFS=$as_save_IFS
8070 test -z "$as_dir" && as_dir=.
8071 for ac_exec_ext in '' $ac_executable_extensions; do
8072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8075 break 2
8077 done
8078 done
8079 IFS=$as_save_IFS
8083 LIPO=$ac_cv_prog_LIPO
8084 if test -n "$LIPO"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8086 $as_echo "$LIPO" >&6; }
8087 else
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8094 if test -z "$ac_cv_prog_LIPO"; then
8095 ac_ct_LIPO=$LIPO
8096 # Extract the first word of "lipo", so it can be a program name with args.
8097 set dummy lipo; ac_word=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 if test -n "$ac_ct_LIPO"; then
8104 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8105 else
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 for as_dir in $PATH
8109 IFS=$as_save_IFS
8110 test -z "$as_dir" && as_dir=.
8111 for ac_exec_ext in '' $ac_executable_extensions; do
8112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8113 ac_cv_prog_ac_ct_LIPO="lipo"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8115 break 2
8117 done
8118 done
8119 IFS=$as_save_IFS
8123 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8124 if test -n "$ac_ct_LIPO"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8126 $as_echo "$ac_ct_LIPO" >&6; }
8127 else
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8132 if test "x$ac_ct_LIPO" = x; then
8133 LIPO=":"
8134 else
8135 case $cross_compiling:$ac_tool_warned in
8136 yes:)
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8139 ac_tool_warned=yes ;;
8140 esac
8141 LIPO=$ac_ct_LIPO
8143 else
8144 LIPO="$ac_cv_prog_LIPO"
8147 if test -n "$ac_tool_prefix"; then
8148 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8149 set dummy ${ac_tool_prefix}otool; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if ${ac_cv_prog_OTOOL+:} false; then :
8153 $as_echo_n "(cached) " >&6
8154 else
8155 if test -n "$OTOOL"; then
8156 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8157 else
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 for as_dir in $PATH
8161 IFS=$as_save_IFS
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8165 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8167 break 2
8169 done
8170 done
8171 IFS=$as_save_IFS
8175 OTOOL=$ac_cv_prog_OTOOL
8176 if test -n "$OTOOL"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8178 $as_echo "$OTOOL" >&6; }
8179 else
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8186 if test -z "$ac_cv_prog_OTOOL"; then
8187 ac_ct_OTOOL=$OTOOL
8188 # Extract the first word of "otool", so it can be a program name with args.
8189 set dummy otool; ac_word=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8193 $as_echo_n "(cached) " >&6
8194 else
8195 if test -n "$ac_ct_OTOOL"; then
8196 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8197 else
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8199 for as_dir in $PATH
8201 IFS=$as_save_IFS
8202 test -z "$as_dir" && as_dir=.
8203 for ac_exec_ext in '' $ac_executable_extensions; do
8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8205 ac_cv_prog_ac_ct_OTOOL="otool"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8207 break 2
8209 done
8210 done
8211 IFS=$as_save_IFS
8215 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8216 if test -n "$ac_ct_OTOOL"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8218 $as_echo "$ac_ct_OTOOL" >&6; }
8219 else
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8224 if test "x$ac_ct_OTOOL" = x; then
8225 OTOOL=":"
8226 else
8227 case $cross_compiling:$ac_tool_warned in
8228 yes:)
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8231 ac_tool_warned=yes ;;
8232 esac
8233 OTOOL=$ac_ct_OTOOL
8235 else
8236 OTOOL="$ac_cv_prog_OTOOL"
8239 if test -n "$ac_tool_prefix"; then
8240 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8241 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_OTOOL64+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 if test -n "$OTOOL64"; then
8248 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8249 else
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 for as_dir in $PATH
8253 IFS=$as_save_IFS
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 break 2
8261 done
8262 done
8263 IFS=$as_save_IFS
8267 OTOOL64=$ac_cv_prog_OTOOL64
8268 if test -n "$OTOOL64"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8270 $as_echo "$OTOOL64" >&6; }
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8278 if test -z "$ac_cv_prog_OTOOL64"; then
8279 ac_ct_OTOOL64=$OTOOL64
8280 # Extract the first word of "otool64", so it can be a program name with args.
8281 set dummy otool64; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 if test -n "$ac_ct_OTOOL64"; then
8288 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8293 IFS=$as_save_IFS
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8297 ac_cv_prog_ac_ct_OTOOL64="otool64"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 break 2
8301 done
8302 done
8303 IFS=$as_save_IFS
8307 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8308 if test -n "$ac_ct_OTOOL64"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8310 $as_echo "$ac_ct_OTOOL64" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8316 if test "x$ac_ct_OTOOL64" = x; then
8317 OTOOL64=":"
8318 else
8319 case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 OTOOL64=$ac_ct_OTOOL64
8327 else
8328 OTOOL64="$ac_cv_prog_OTOOL64"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8358 $as_echo_n "checking for -single_module linker flag... " >&6; }
8359 if ${lt_cv_apple_cc_single_mod+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 lt_cv_apple_cc_single_mod=no
8363 if test -z "${LT_MULTI_MODULE}"; then
8364 # By default we will add the -single_module flag. You can override
8365 # by either setting the environment variable LT_MULTI_MODULE
8366 # non-empty at configure time, or by adding -multi_module to the
8367 # link flags.
8368 rm -rf libconftest.dylib*
8369 echo "int foo(void){return 1;}" > conftest.c
8370 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8371 -dynamiclib -Wl,-single_module conftest.c" >&5
8372 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8373 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8374 _lt_result=$?
8375 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8376 lt_cv_apple_cc_single_mod=yes
8377 else
8378 cat conftest.err >&5
8380 rm -rf libconftest.dylib*
8381 rm -f conftest.*
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8385 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8387 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8388 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 lt_cv_ld_exported_symbols_list=no
8392 save_LDFLAGS=$LDFLAGS
8393 echo "_main" > conftest.sym
8394 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8395 if test x$gcc_no_link = xyes; then
8396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8402 main ()
8406 return 0;
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 lt_cv_ld_exported_symbols_list=yes
8411 else
8412 lt_cv_ld_exported_symbols_list=no
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 LDFLAGS="$save_LDFLAGS"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8420 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8422 $as_echo_n "checking for -force_load linker flag... " >&6; }
8423 if ${lt_cv_ld_force_load+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 lt_cv_ld_force_load=no
8427 cat > conftest.c << _LT_EOF
8428 int forced_loaded() { return 2;}
8429 _LT_EOF
8430 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8431 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8432 echo "$AR cru libconftest.a conftest.o" >&5
8433 $AR cru libconftest.a conftest.o 2>&5
8434 cat > conftest.c << _LT_EOF
8435 int main() { return 0;}
8436 _LT_EOF
8437 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8438 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8439 _lt_result=$?
8440 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8441 lt_cv_ld_force_load=yes
8442 else
8443 cat conftest.err >&5
8445 rm -f conftest.err libconftest.a conftest conftest.c
8446 rm -rf conftest.dSYM
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8450 $as_echo "$lt_cv_ld_force_load" >&6; }
8451 case $host_os in
8452 rhapsody* | darwin1.[012])
8453 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8454 darwin1.*)
8455 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8456 darwin*) # darwin 5.x on
8457 # if running on 10.5 or later, the deployment target defaults
8458 # to the OS version, if on x86, and 10.4, the deployment
8459 # target defaults to 10.4. Don't you love it?
8460 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8461 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8462 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8463 10.[012][,.]*)
8464 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8465 10.*)
8466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8467 esac
8469 esac
8470 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8471 _lt_dar_single_mod='$single_module'
8473 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8474 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8475 else
8476 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8478 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8479 _lt_dsymutil='~$DSYMUTIL $lib || :'
8480 else
8481 _lt_dsymutil=
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8487 $as_echo_n "checking for ANSI C header files... " >&6; }
8488 if ${ac_cv_header_stdc+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 #include <stdlib.h>
8494 #include <stdarg.h>
8495 #include <string.h>
8496 #include <float.h>
8499 main ()
8503 return 0;
8505 _ACEOF
8506 if ac_fn_c_try_compile "$LINENO"; then :
8507 ac_cv_header_stdc=yes
8508 else
8509 ac_cv_header_stdc=no
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8513 if test $ac_cv_header_stdc = yes; then
8514 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 #include <string.h>
8519 _ACEOF
8520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8521 $EGREP "memchr" >/dev/null 2>&1; then :
8523 else
8524 ac_cv_header_stdc=no
8526 rm -f conftest*
8530 if test $ac_cv_header_stdc = yes; then
8531 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 #include <stdlib.h>
8536 _ACEOF
8537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8538 $EGREP "free" >/dev/null 2>&1; then :
8540 else
8541 ac_cv_header_stdc=no
8543 rm -f conftest*
8547 if test $ac_cv_header_stdc = yes; then
8548 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8549 if test "$cross_compiling" = yes; then :
8551 else
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8554 #include <ctype.h>
8555 #include <stdlib.h>
8556 #if ((' ' & 0x0FF) == 0x020)
8557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8559 #else
8560 # define ISLOWER(c) \
8561 (('a' <= (c) && (c) <= 'i') \
8562 || ('j' <= (c) && (c) <= 'r') \
8563 || ('s' <= (c) && (c) <= 'z'))
8564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8565 #endif
8567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8569 main ()
8571 int i;
8572 for (i = 0; i < 256; i++)
8573 if (XOR (islower (i), ISLOWER (i))
8574 || toupper (i) != TOUPPER (i))
8575 return 2;
8576 return 0;
8578 _ACEOF
8579 if ac_fn_c_try_run "$LINENO"; then :
8581 else
8582 ac_cv_header_stdc=no
8584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8585 conftest.$ac_objext conftest.beam conftest.$ac_ext
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8591 $as_echo "$ac_cv_header_stdc" >&6; }
8592 if test $ac_cv_header_stdc = yes; then
8594 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8598 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8599 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8600 inttypes.h stdint.h unistd.h
8601 do :
8602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8606 cat >>confdefs.h <<_ACEOF
8607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8608 _ACEOF
8612 done
8615 for ac_header in dlfcn.h
8616 do :
8617 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8619 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8620 cat >>confdefs.h <<_ACEOF
8621 #define HAVE_DLFCN_H 1
8622 _ACEOF
8626 done
8633 # Set options
8638 enable_win32_dll=no
8641 # Check whether --enable-shared was given.
8642 if test "${enable_shared+set}" = set; then :
8643 enableval=$enable_shared; p=${PACKAGE-default}
8644 case $enableval in
8645 yes) enable_shared=yes ;;
8646 no) enable_shared=no ;;
8648 enable_shared=no
8649 # Look at the argument we got. We use all the common list separators.
8650 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8651 for pkg in $enableval; do
8652 IFS="$lt_save_ifs"
8653 if test "X$pkg" = "X$p"; then
8654 enable_shared=yes
8656 done
8657 IFS="$lt_save_ifs"
8659 esac
8660 else
8661 enable_shared=yes
8672 # Check whether --enable-static was given.
8673 if test "${enable_static+set}" = set; then :
8674 enableval=$enable_static; p=${PACKAGE-default}
8675 case $enableval in
8676 yes) enable_static=yes ;;
8677 no) enable_static=no ;;
8679 enable_static=no
8680 # Look at the argument we got. We use all the common list separators.
8681 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8682 for pkg in $enableval; do
8683 IFS="$lt_save_ifs"
8684 if test "X$pkg" = "X$p"; then
8685 enable_static=yes
8687 done
8688 IFS="$lt_save_ifs"
8690 esac
8691 else
8692 enable_static=yes
8704 # Check whether --with-pic was given.
8705 if test "${with_pic+set}" = set; then :
8706 withval=$with_pic; pic_mode="$withval"
8707 else
8708 pic_mode=default
8712 test -z "$pic_mode" && pic_mode=default
8720 # Check whether --enable-fast-install was given.
8721 if test "${enable_fast_install+set}" = set; then :
8722 enableval=$enable_fast_install; p=${PACKAGE-default}
8723 case $enableval in
8724 yes) enable_fast_install=yes ;;
8725 no) enable_fast_install=no ;;
8727 enable_fast_install=no
8728 # Look at the argument we got. We use all the common list separators.
8729 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8730 for pkg in $enableval; do
8731 IFS="$lt_save_ifs"
8732 if test "X$pkg" = "X$p"; then
8733 enable_fast_install=yes
8735 done
8736 IFS="$lt_save_ifs"
8738 esac
8739 else
8740 enable_fast_install=yes
8753 # This can be used to rebuild libtool when needed
8754 LIBTOOL_DEPS="$ltmain"
8756 # Always use our own libtool.
8757 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8784 test -z "$LN_S" && LN_S="ln -s"
8799 if test -n "${ZSH_VERSION+set}" ; then
8800 setopt NO_GLOB_SUBST
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8804 $as_echo_n "checking for objdir... " >&6; }
8805 if ${lt_cv_objdir+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 rm -f .libs 2>/dev/null
8809 mkdir .libs 2>/dev/null
8810 if test -d .libs; then
8811 lt_cv_objdir=.libs
8812 else
8813 # MS-DOS does not allow filenames that begin with a dot.
8814 lt_cv_objdir=_libs
8816 rmdir .libs 2>/dev/null
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8819 $as_echo "$lt_cv_objdir" >&6; }
8820 objdir=$lt_cv_objdir
8826 cat >>confdefs.h <<_ACEOF
8827 #define LT_OBJDIR "$lt_cv_objdir/"
8828 _ACEOF
8833 case $host_os in
8834 aix3*)
8835 # AIX sometimes has problems with the GCC collect2 program. For some
8836 # reason, if we set the COLLECT_NAMES environment variable, the problems
8837 # vanish in a puff of smoke.
8838 if test "X${COLLECT_NAMES+set}" != Xset; then
8839 COLLECT_NAMES=
8840 export COLLECT_NAMES
8843 esac
8845 # Global variables:
8846 ofile=libtool
8847 can_build_shared=yes
8849 # All known linkers require a `.a' archive for static linking (except MSVC,
8850 # which needs '.lib').
8851 libext=a
8853 with_gnu_ld="$lt_cv_prog_gnu_ld"
8855 old_CC="$CC"
8856 old_CFLAGS="$CFLAGS"
8858 # Set sane defaults for various variables
8859 test -z "$CC" && CC=cc
8860 test -z "$LTCC" && LTCC=$CC
8861 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8862 test -z "$LD" && LD=ld
8863 test -z "$ac_objext" && ac_objext=o
8865 for cc_temp in $compiler""; do
8866 case $cc_temp in
8867 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8868 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8869 \-*) ;;
8870 *) break;;
8871 esac
8872 done
8873 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8876 # Only perform the check for file, if the check method requires it
8877 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8878 case $deplibs_check_method in
8879 file_magic*)
8880 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8882 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8883 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8884 $as_echo_n "(cached) " >&6
8885 else
8886 case $MAGIC_CMD in
8887 [\\/*] | ?:[\\/]*)
8888 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8891 lt_save_MAGIC_CMD="$MAGIC_CMD"
8892 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8893 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8894 for ac_dir in $ac_dummy; do
8895 IFS="$lt_save_ifs"
8896 test -z "$ac_dir" && ac_dir=.
8897 if test -f $ac_dir/${ac_tool_prefix}file; then
8898 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8899 if test -n "$file_magic_test_file"; then
8900 case $deplibs_check_method in
8901 "file_magic "*)
8902 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8903 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8904 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8905 $EGREP "$file_magic_regex" > /dev/null; then
8907 else
8908 cat <<_LT_EOF 1>&2
8910 *** Warning: the command libtool uses to detect shared libraries,
8911 *** $file_magic_cmd, produces output that libtool cannot recognize.
8912 *** The result is that libtool may fail to recognize shared libraries
8913 *** as such. This will affect the creation of libtool libraries that
8914 *** depend on shared libraries, but programs linked with such libtool
8915 *** libraries will work regardless of this problem. Nevertheless, you
8916 *** may want to report the problem to your system manager and/or to
8917 *** bug-libtool@gnu.org
8919 _LT_EOF
8920 fi ;;
8921 esac
8923 break
8925 done
8926 IFS="$lt_save_ifs"
8927 MAGIC_CMD="$lt_save_MAGIC_CMD"
8929 esac
8932 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8933 if test -n "$MAGIC_CMD"; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8935 $as_echo "$MAGIC_CMD" >&6; }
8936 else
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8945 if test -z "$lt_cv_path_MAGIC_CMD"; then
8946 if test -n "$ac_tool_prefix"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8948 $as_echo_n "checking for file... " >&6; }
8949 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8950 $as_echo_n "(cached) " >&6
8951 else
8952 case $MAGIC_CMD in
8953 [\\/*] | ?:[\\/]*)
8954 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8957 lt_save_MAGIC_CMD="$MAGIC_CMD"
8958 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8959 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8960 for ac_dir in $ac_dummy; do
8961 IFS="$lt_save_ifs"
8962 test -z "$ac_dir" && ac_dir=.
8963 if test -f $ac_dir/file; then
8964 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8965 if test -n "$file_magic_test_file"; then
8966 case $deplibs_check_method in
8967 "file_magic "*)
8968 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8969 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8970 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8971 $EGREP "$file_magic_regex" > /dev/null; then
8973 else
8974 cat <<_LT_EOF 1>&2
8976 *** Warning: the command libtool uses to detect shared libraries,
8977 *** $file_magic_cmd, produces output that libtool cannot recognize.
8978 *** The result is that libtool may fail to recognize shared libraries
8979 *** as such. This will affect the creation of libtool libraries that
8980 *** depend on shared libraries, but programs linked with such libtool
8981 *** libraries will work regardless of this problem. Nevertheless, you
8982 *** may want to report the problem to your system manager and/or to
8983 *** bug-libtool@gnu.org
8985 _LT_EOF
8986 fi ;;
8987 esac
8989 break
8991 done
8992 IFS="$lt_save_ifs"
8993 MAGIC_CMD="$lt_save_MAGIC_CMD"
8995 esac
8998 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8999 if test -n "$MAGIC_CMD"; then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9001 $as_echo "$MAGIC_CMD" >&6; }
9002 else
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9008 else
9009 MAGIC_CMD=:
9015 esac
9017 # Use C for the default configuration in the libtool script
9019 lt_save_CC="$CC"
9020 ac_ext=c
9021 ac_cpp='$CPP $CPPFLAGS'
9022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9027 # Source file extension for C test sources.
9028 ac_ext=c
9030 # Object file extension for compiled C test sources.
9031 objext=o
9032 objext=$objext
9034 # Code to be used in simple compile tests
9035 lt_simple_compile_test_code="int some_variable = 0;"
9037 # Code to be used in simple link tests
9038 lt_simple_link_test_code='int main(){return(0);}'
9046 # If no C compiler was specified, use CC.
9047 LTCC=${LTCC-"$CC"}
9049 # If no C compiler flags were specified, use CFLAGS.
9050 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9052 # Allow CC to be a program name with arguments.
9053 compiler=$CC
9055 # Save the default compiler, since it gets overwritten when the other
9056 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9057 compiler_DEFAULT=$CC
9059 # save warnings/boilerplate of simple test code
9060 ac_outfile=conftest.$ac_objext
9061 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9062 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9063 _lt_compiler_boilerplate=`cat conftest.err`
9064 $RM conftest*
9066 ac_outfile=conftest.$ac_objext
9067 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9068 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9069 _lt_linker_boilerplate=`cat conftest.err`
9070 $RM -r conftest*
9073 ## CAVEAT EMPTOR:
9074 ## There is no encapsulation within the following macros, do not change
9075 ## the running order or otherwise move them around unless you know exactly
9076 ## what you are doing...
9077 if test -n "$compiler"; then
9079 lt_prog_compiler_no_builtin_flag=
9081 if test "$GCC" = yes; then
9082 case $cc_basename in
9083 nvcc*)
9084 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9086 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9087 esac
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9090 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9091 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 lt_cv_prog_compiler_rtti_exceptions=no
9095 ac_outfile=conftest.$ac_objext
9096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9097 lt_compiler_flag="-fno-rtti -fno-exceptions"
9098 # Insert the option either (1) after the last *FLAGS variable, or
9099 # (2) before a word containing "conftest.", or (3) at the end.
9100 # Note that $ac_compile itself does not contain backslashes and begins
9101 # with a dollar sign (not a hyphen), so the echo should work correctly.
9102 # The option is referenced via a variable to avoid confusing sed.
9103 lt_compile=`echo "$ac_compile" | $SED \
9104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9106 -e 's:$: $lt_compiler_flag:'`
9107 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9108 (eval "$lt_compile" 2>conftest.err)
9109 ac_status=$?
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 if (exit $ac_status) && test -s "$ac_outfile"; then
9113 # The compiler can only warn and ignore the option if not recognized
9114 # So say no if there are warnings other than the usual output.
9115 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9116 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9117 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9118 lt_cv_prog_compiler_rtti_exceptions=yes
9121 $RM conftest*
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9125 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9127 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9128 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9129 else
9140 lt_prog_compiler_wl=
9141 lt_prog_compiler_pic=
9142 lt_prog_compiler_static=
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9145 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9147 if test "$GCC" = yes; then
9148 lt_prog_compiler_wl='-Wl,'
9149 lt_prog_compiler_static='-static'
9151 case $host_os in
9152 aix*)
9153 # All AIX code is PIC.
9154 if test "$host_cpu" = ia64; then
9155 # AIX 5 now supports IA64 processor
9156 lt_prog_compiler_static='-Bstatic'
9158 lt_prog_compiler_pic='-fPIC'
9161 amigaos*)
9162 case $host_cpu in
9163 powerpc)
9164 # see comment about AmigaOS4 .so support
9165 lt_prog_compiler_pic='-fPIC'
9167 m68k)
9168 # FIXME: we need at least 68020 code to build shared libraries, but
9169 # adding the `-m68020' flag to GCC prevents building anything better,
9170 # like `-m68040'.
9171 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9173 esac
9176 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9177 # PIC is the default for these OSes.
9180 mingw* | cygwin* | pw32* | os2* | cegcc*)
9181 # This hack is so that the source file can tell whether it is being
9182 # built for inclusion in a dll (and should export symbols for example).
9183 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9184 # (--disable-auto-import) libraries
9185 lt_prog_compiler_pic='-DDLL_EXPORT'
9188 darwin* | rhapsody*)
9189 # PIC is the default on this platform
9190 # Common symbols not allowed in MH_DYLIB files
9191 lt_prog_compiler_pic='-fno-common'
9194 haiku*)
9195 # PIC is the default for Haiku.
9196 # The "-static" flag exists, but is broken.
9197 lt_prog_compiler_static=
9200 hpux*)
9201 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9202 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9203 # sets the default TLS model and affects inlining.
9204 case $host_cpu in
9205 hppa*64*)
9206 # +Z the default
9209 lt_prog_compiler_pic='-fPIC'
9211 esac
9214 interix[3-9]*)
9215 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9216 # Instead, we relocate shared libraries at runtime.
9219 msdosdjgpp*)
9220 # Just because we use GCC doesn't mean we suddenly get shared libraries
9221 # on systems that don't support them.
9222 lt_prog_compiler_can_build_shared=no
9223 enable_shared=no
9226 *nto* | *qnx*)
9227 # QNX uses GNU C++, but need to define -shared option too, otherwise
9228 # it will coredump.
9229 lt_prog_compiler_pic='-fPIC -shared'
9232 sysv4*MP*)
9233 if test -d /usr/nec; then
9234 lt_prog_compiler_pic=-Kconform_pic
9239 lt_prog_compiler_pic='-fPIC'
9241 esac
9243 case $cc_basename in
9244 nvcc*) # Cuda Compiler Driver 2.2
9245 lt_prog_compiler_wl='-Xlinker '
9246 lt_prog_compiler_pic='-Xcompiler -fPIC'
9248 esac
9249 else
9250 # PORTME Check for flag to pass linker flags through the system compiler.
9251 case $host_os in
9252 aix*)
9253 lt_prog_compiler_wl='-Wl,'
9254 if test "$host_cpu" = ia64; then
9255 # AIX 5 now supports IA64 processor
9256 lt_prog_compiler_static='-Bstatic'
9257 else
9258 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9262 mingw* | cygwin* | pw32* | os2* | cegcc*)
9263 # This hack is so that the source file can tell whether it is being
9264 # built for inclusion in a dll (and should export symbols for example).
9265 lt_prog_compiler_pic='-DDLL_EXPORT'
9268 hpux9* | hpux10* | hpux11*)
9269 lt_prog_compiler_wl='-Wl,'
9270 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9271 # not for PA HP-UX.
9272 case $host_cpu in
9273 hppa*64*|ia64*)
9274 # +Z the default
9277 lt_prog_compiler_pic='+Z'
9279 esac
9280 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9281 lt_prog_compiler_static='${wl}-a ${wl}archive'
9284 irix5* | irix6* | nonstopux*)
9285 lt_prog_compiler_wl='-Wl,'
9286 # PIC (with -KPIC) is the default.
9287 lt_prog_compiler_static='-non_shared'
9290 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9291 case $cc_basename in
9292 # old Intel for x86_64 which still supported -KPIC.
9293 ecc*)
9294 lt_prog_compiler_wl='-Wl,'
9295 lt_prog_compiler_pic='-KPIC'
9296 lt_prog_compiler_static='-static'
9298 # icc used to be incompatible with GCC.
9299 # ICC 10 doesn't accept -KPIC any more.
9300 icc* | ifort*)
9301 lt_prog_compiler_wl='-Wl,'
9302 lt_prog_compiler_pic='-fPIC'
9303 lt_prog_compiler_static='-static'
9305 # Lahey Fortran 8.1.
9306 lf95*)
9307 lt_prog_compiler_wl='-Wl,'
9308 lt_prog_compiler_pic='--shared'
9309 lt_prog_compiler_static='--static'
9311 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9312 # Portland Group compilers (*not* the Pentium gcc compiler,
9313 # which looks to be a dead project)
9314 lt_prog_compiler_wl='-Wl,'
9315 lt_prog_compiler_pic='-fpic'
9316 lt_prog_compiler_static='-Bstatic'
9318 ccc*)
9319 lt_prog_compiler_wl='-Wl,'
9320 # All Alpha code is PIC.
9321 lt_prog_compiler_static='-non_shared'
9323 xl* | bgxl* | bgf* | mpixl*)
9324 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9325 lt_prog_compiler_wl='-Wl,'
9326 lt_prog_compiler_pic='-qpic'
9327 lt_prog_compiler_static='-qstaticlink'
9330 case `$CC -V 2>&1 | sed 5q` in
9331 *Sun\ F* | *Sun*Fortran*)
9332 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9333 lt_prog_compiler_pic='-KPIC'
9334 lt_prog_compiler_static='-Bstatic'
9335 lt_prog_compiler_wl=''
9337 *Sun\ C*)
9338 # Sun C 5.9
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-Bstatic'
9341 lt_prog_compiler_wl='-Wl,'
9343 esac
9345 esac
9348 newsos6)
9349 lt_prog_compiler_pic='-KPIC'
9350 lt_prog_compiler_static='-Bstatic'
9353 *nto* | *qnx*)
9354 # QNX uses GNU C++, but need to define -shared option too, otherwise
9355 # it will coredump.
9356 lt_prog_compiler_pic='-fPIC -shared'
9359 osf3* | osf4* | osf5*)
9360 lt_prog_compiler_wl='-Wl,'
9361 # All OSF/1 code is PIC.
9362 lt_prog_compiler_static='-non_shared'
9365 rdos*)
9366 lt_prog_compiler_static='-non_shared'
9369 solaris*)
9370 lt_prog_compiler_pic='-KPIC'
9371 lt_prog_compiler_static='-Bstatic'
9372 case $cc_basename in
9373 f77* | f90* | f95*)
9374 lt_prog_compiler_wl='-Qoption ld ';;
9376 lt_prog_compiler_wl='-Wl,';;
9377 esac
9380 sunos4*)
9381 lt_prog_compiler_wl='-Qoption ld '
9382 lt_prog_compiler_pic='-PIC'
9383 lt_prog_compiler_static='-Bstatic'
9386 sysv4 | sysv4.2uw2* | sysv4.3*)
9387 lt_prog_compiler_wl='-Wl,'
9388 lt_prog_compiler_pic='-KPIC'
9389 lt_prog_compiler_static='-Bstatic'
9392 sysv4*MP*)
9393 if test -d /usr/nec ;then
9394 lt_prog_compiler_pic='-Kconform_pic'
9395 lt_prog_compiler_static='-Bstatic'
9399 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9400 lt_prog_compiler_wl='-Wl,'
9401 lt_prog_compiler_pic='-KPIC'
9402 lt_prog_compiler_static='-Bstatic'
9405 unicos*)
9406 lt_prog_compiler_wl='-Wl,'
9407 lt_prog_compiler_can_build_shared=no
9410 uts4*)
9411 lt_prog_compiler_pic='-pic'
9412 lt_prog_compiler_static='-Bstatic'
9416 lt_prog_compiler_can_build_shared=no
9418 esac
9421 case $host_os in
9422 # For platforms which do not support PIC, -DPIC is meaningless:
9423 *djgpp*)
9424 lt_prog_compiler_pic=
9427 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9429 esac
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9431 $as_echo "$lt_prog_compiler_pic" >&6; }
9439 # Check to make sure the PIC flag actually works.
9441 if test -n "$lt_prog_compiler_pic"; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9443 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9444 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 lt_cv_prog_compiler_pic_works=no
9448 ac_outfile=conftest.$ac_objext
9449 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9450 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9451 # Insert the option either (1) after the last *FLAGS variable, or
9452 # (2) before a word containing "conftest.", or (3) at the end.
9453 # Note that $ac_compile itself does not contain backslashes and begins
9454 # with a dollar sign (not a hyphen), so the echo should work correctly.
9455 # The option is referenced via a variable to avoid confusing sed.
9456 lt_compile=`echo "$ac_compile" | $SED \
9457 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9458 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9459 -e 's:$: $lt_compiler_flag:'`
9460 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9461 (eval "$lt_compile" 2>conftest.err)
9462 ac_status=$?
9463 cat conftest.err >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 if (exit $ac_status) && test -s "$ac_outfile"; then
9466 # The compiler can only warn and ignore the option if not recognized
9467 # So say no if there are warnings other than the usual output.
9468 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9469 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9470 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9471 lt_cv_prog_compiler_pic_works=yes
9474 $RM conftest*
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9478 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9480 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9481 case $lt_prog_compiler_pic in
9482 "" | " "*) ;;
9483 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9484 esac
9485 else
9486 lt_prog_compiler_pic=
9487 lt_prog_compiler_can_build_shared=no
9498 # Check to make sure the static flag actually works.
9500 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9502 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9503 if ${lt_cv_prog_compiler_static_works+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 lt_cv_prog_compiler_static_works=no
9507 save_LDFLAGS="$LDFLAGS"
9508 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9509 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9510 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9511 # The linker can only warn and ignore the option if not recognized
9512 # So say no if there are warnings
9513 if test -s conftest.err; then
9514 # Append any errors to the config.log.
9515 cat conftest.err 1>&5
9516 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9517 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9518 if diff conftest.exp conftest.er2 >/dev/null; then
9519 lt_cv_prog_compiler_static_works=yes
9521 else
9522 lt_cv_prog_compiler_static_works=yes
9525 $RM -r conftest*
9526 LDFLAGS="$save_LDFLAGS"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9530 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9532 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9534 else
9535 lt_prog_compiler_static=
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9545 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9546 if ${lt_cv_prog_compiler_c_o+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 lt_cv_prog_compiler_c_o=no
9550 $RM -r conftest 2>/dev/null
9551 mkdir conftest
9552 cd conftest
9553 mkdir out
9554 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9556 lt_compiler_flag="-o out/conftest2.$ac_objext"
9557 # Insert the option either (1) after the last *FLAGS variable, or
9558 # (2) before a word containing "conftest.", or (3) at the end.
9559 # Note that $ac_compile itself does not contain backslashes and begins
9560 # with a dollar sign (not a hyphen), so the echo should work correctly.
9561 lt_compile=`echo "$ac_compile" | $SED \
9562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9564 -e 's:$: $lt_compiler_flag:'`
9565 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9566 (eval "$lt_compile" 2>out/conftest.err)
9567 ac_status=$?
9568 cat out/conftest.err >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9571 then
9572 # The compiler can only warn and ignore the option if not recognized
9573 # So say no if there are warnings
9574 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9575 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9576 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9577 lt_cv_prog_compiler_c_o=yes
9580 chmod u+w . 2>&5
9581 $RM conftest*
9582 # SGI C++ compiler will create directory out/ii_files/ for
9583 # template instantiation
9584 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9585 $RM out/* && rmdir out
9586 cd ..
9587 $RM -r conftest
9588 $RM conftest*
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9592 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9600 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9601 if ${lt_cv_prog_compiler_c_o+:} false; then :
9602 $as_echo_n "(cached) " >&6
9603 else
9604 lt_cv_prog_compiler_c_o=no
9605 $RM -r conftest 2>/dev/null
9606 mkdir conftest
9607 cd conftest
9608 mkdir out
9609 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9611 lt_compiler_flag="-o out/conftest2.$ac_objext"
9612 # Insert the option either (1) after the last *FLAGS variable, or
9613 # (2) before a word containing "conftest.", or (3) at the end.
9614 # Note that $ac_compile itself does not contain backslashes and begins
9615 # with a dollar sign (not a hyphen), so the echo should work correctly.
9616 lt_compile=`echo "$ac_compile" | $SED \
9617 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9618 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9619 -e 's:$: $lt_compiler_flag:'`
9620 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9621 (eval "$lt_compile" 2>out/conftest.err)
9622 ac_status=$?
9623 cat out/conftest.err >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9626 then
9627 # The compiler can only warn and ignore the option if not recognized
9628 # So say no if there are warnings
9629 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9630 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9631 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9632 lt_cv_prog_compiler_c_o=yes
9635 chmod u+w . 2>&5
9636 $RM conftest*
9637 # SGI C++ compiler will create directory out/ii_files/ for
9638 # template instantiation
9639 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9640 $RM out/* && rmdir out
9641 cd ..
9642 $RM -r conftest
9643 $RM conftest*
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9647 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9652 hard_links="nottested"
9653 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9654 # do not overwrite the value of need_locks provided by the user
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9656 $as_echo_n "checking if we can lock with hard links... " >&6; }
9657 hard_links=yes
9658 $RM conftest*
9659 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9660 touch conftest.a
9661 ln conftest.a conftest.b 2>&5 || hard_links=no
9662 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9664 $as_echo "$hard_links" >&6; }
9665 if test "$hard_links" = no; then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9667 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9668 need_locks=warn
9670 else
9671 need_locks=no
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9680 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9682 runpath_var=
9683 allow_undefined_flag=
9684 always_export_symbols=no
9685 archive_cmds=
9686 archive_expsym_cmds=
9687 compiler_needs_object=no
9688 enable_shared_with_static_runtimes=no
9689 export_dynamic_flag_spec=
9690 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9691 hardcode_automatic=no
9692 hardcode_direct=no
9693 hardcode_direct_absolute=no
9694 hardcode_libdir_flag_spec=
9695 hardcode_libdir_flag_spec_ld=
9696 hardcode_libdir_separator=
9697 hardcode_minus_L=no
9698 hardcode_shlibpath_var=unsupported
9699 inherit_rpath=no
9700 link_all_deplibs=unknown
9701 module_cmds=
9702 module_expsym_cmds=
9703 old_archive_from_new_cmds=
9704 old_archive_from_expsyms_cmds=
9705 thread_safe_flag_spec=
9706 whole_archive_flag_spec=
9707 # include_expsyms should be a list of space-separated symbols to be *always*
9708 # included in the symbol list
9709 include_expsyms=
9710 # exclude_expsyms can be an extended regexp of symbols to exclude
9711 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9712 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9713 # as well as any symbol that contains `d'.
9714 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9715 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9716 # platforms (ab)use it in PIC code, but their linkers get confused if
9717 # the symbol is explicitly referenced. Since portable code cannot
9718 # rely on this symbol name, it's probably fine to never include it in
9719 # preloaded symbol tables.
9720 # Exclude shared library initialization/finalization symbols.
9721 extract_expsyms_cmds=
9723 case $host_os in
9724 cygwin* | mingw* | pw32* | cegcc*)
9725 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9726 # When not using gcc, we currently assume that we are using
9727 # Microsoft Visual C++.
9728 if test "$GCC" != yes; then
9729 with_gnu_ld=no
9732 interix*)
9733 # we just hope/assume this is gcc and not c89 (= MSVC++)
9734 with_gnu_ld=yes
9736 openbsd*)
9737 with_gnu_ld=no
9739 esac
9741 ld_shlibs=yes
9743 # On some targets, GNU ld is compatible enough with the native linker
9744 # that we're better off using the native interface for both.
9745 lt_use_gnu_ld_interface=no
9746 if test "$with_gnu_ld" = yes; then
9747 case $host_os in
9748 aix*)
9749 # The AIX port of GNU ld has always aspired to compatibility
9750 # with the native linker. However, as the warning in the GNU ld
9751 # block says, versions before 2.19.5* couldn't really create working
9752 # shared libraries, regardless of the interface used.
9753 case `$LD -v 2>&1` in
9754 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9755 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9756 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9758 lt_use_gnu_ld_interface=yes
9760 esac
9763 lt_use_gnu_ld_interface=yes
9765 esac
9768 if test "$lt_use_gnu_ld_interface" = yes; then
9769 # If archive_cmds runs LD, not CC, wlarc should be empty
9770 wlarc='${wl}'
9772 # Set some defaults for GNU ld with shared library support. These
9773 # are reset later if shared libraries are not supported. Putting them
9774 # here allows them to be overridden if necessary.
9775 runpath_var=LD_RUN_PATH
9776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9777 export_dynamic_flag_spec='${wl}--export-dynamic'
9778 # ancient GNU ld didn't support --whole-archive et. al.
9779 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9780 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9781 else
9782 whole_archive_flag_spec=
9784 supports_anon_versioning=no
9785 case `$LD -v 2>&1` in
9786 *GNU\ gold*) supports_anon_versioning=yes ;;
9787 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9788 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9789 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9790 *\ 2.11.*) ;; # other 2.11 versions
9791 *) supports_anon_versioning=yes ;;
9792 esac
9794 # See if GNU ld supports shared libraries.
9795 case $host_os in
9796 aix[3-9]*)
9797 # On AIX/PPC, the GNU linker is very broken
9798 if test "$host_cpu" != ia64; then
9799 ld_shlibs=no
9800 cat <<_LT_EOF 1>&2
9802 *** Warning: the GNU linker, at least up to release 2.19, is reported
9803 *** to be unable to reliably create shared libraries on AIX.
9804 *** Therefore, libtool is disabling shared libraries support. If you
9805 *** really care for shared libraries, you may want to install binutils
9806 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9807 *** You will then need to restart the configuration process.
9809 _LT_EOF
9813 amigaos*)
9814 case $host_cpu in
9815 powerpc)
9816 # see comment about AmigaOS4 .so support
9817 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9818 archive_expsym_cmds=''
9820 m68k)
9821 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)'
9822 hardcode_libdir_flag_spec='-L$libdir'
9823 hardcode_minus_L=yes
9825 esac
9828 beos*)
9829 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9830 allow_undefined_flag=unsupported
9831 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9832 # support --undefined. This deserves some investigation. FIXME
9833 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9834 else
9835 ld_shlibs=no
9839 cygwin* | mingw* | pw32* | cegcc*)
9840 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9841 # as there is no search path for DLLs.
9842 hardcode_libdir_flag_spec='-L$libdir'
9843 export_dynamic_flag_spec='${wl}--export-all-symbols'
9844 allow_undefined_flag=unsupported
9845 always_export_symbols=no
9846 enable_shared_with_static_runtimes=yes
9847 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9849 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9850 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9851 # If the export-symbols file already is a .def file (1st line
9852 # is EXPORTS), use it as is; otherwise, prepend...
9853 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9854 cp $export_symbols $output_objdir/$soname.def;
9855 else
9856 echo EXPORTS > $output_objdir/$soname.def;
9857 cat $export_symbols >> $output_objdir/$soname.def;
9859 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9860 else
9861 ld_shlibs=no
9865 haiku*)
9866 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9867 link_all_deplibs=yes
9870 interix[3-9]*)
9871 hardcode_direct=no
9872 hardcode_shlibpath_var=no
9873 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9874 export_dynamic_flag_spec='${wl}-E'
9875 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9876 # Instead, shared libraries are loaded at an image base (0x10000000 by
9877 # default) and relocated if they conflict, which is a slow very memory
9878 # consuming and fragmenting process. To avoid this, we pick a random,
9879 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9880 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9881 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9882 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'
9885 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9886 tmp_diet=no
9887 if test "$host_os" = linux-dietlibc; then
9888 case $cc_basename in
9889 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9890 esac
9892 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9893 && test "$tmp_diet" = no
9894 then
9895 tmp_addflag=' $pic_flag'
9896 tmp_sharedflag='-shared'
9897 case $cc_basename,$host_cpu in
9898 pgcc*) # Portland Group C compiler
9899 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'
9900 tmp_addflag=' $pic_flag'
9902 pgf77* | pgf90* | pgf95* | pgfortran*)
9903 # Portland Group f77 and f90 compilers
9904 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'
9905 tmp_addflag=' $pic_flag -Mnomain' ;;
9906 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9907 tmp_addflag=' -i_dynamic' ;;
9908 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9909 tmp_addflag=' -i_dynamic -nofor_main' ;;
9910 ifc* | ifort*) # Intel Fortran compiler
9911 tmp_addflag=' -nofor_main' ;;
9912 lf95*) # Lahey Fortran 8.1
9913 whole_archive_flag_spec=
9914 tmp_sharedflag='--shared' ;;
9915 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9916 tmp_sharedflag='-qmkshrobj'
9917 tmp_addflag= ;;
9918 nvcc*) # Cuda Compiler Driver 2.2
9919 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'
9920 compiler_needs_object=yes
9922 esac
9923 case `$CC -V 2>&1 | sed 5q` in
9924 *Sun\ C*) # Sun C 5.9
9925 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'
9926 compiler_needs_object=yes
9927 tmp_sharedflag='-G' ;;
9928 *Sun\ F*) # Sun Fortran 8.3
9929 tmp_sharedflag='-G' ;;
9930 esac
9931 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9933 if test "x$supports_anon_versioning" = xyes; then
9934 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9935 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9936 echo "local: *; };" >> $output_objdir/$libname.ver~
9937 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9940 case $cc_basename in
9941 xlf* | bgf* | bgxlf* | mpixlf*)
9942 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9943 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9944 hardcode_libdir_flag_spec=
9945 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9946 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9947 if test "x$supports_anon_versioning" = xyes; then
9948 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9949 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9950 echo "local: *; };" >> $output_objdir/$libname.ver~
9951 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9954 esac
9955 else
9956 ld_shlibs=no
9960 netbsd*)
9961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9962 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9963 wlarc=
9964 else
9965 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9966 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9970 solaris*)
9971 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9972 ld_shlibs=no
9973 cat <<_LT_EOF 1>&2
9975 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9976 *** create shared libraries on Solaris systems. Therefore, libtool
9977 *** is disabling shared libraries support. We urge you to upgrade GNU
9978 *** binutils to release 2.9.1 or newer. Another option is to modify
9979 *** your PATH or compiler configuration so that the native linker is
9980 *** used, and then restart.
9982 _LT_EOF
9983 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9984 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9986 else
9987 ld_shlibs=no
9991 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9992 case `$LD -v 2>&1` in
9993 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9994 ld_shlibs=no
9995 cat <<_LT_EOF 1>&2
9997 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9998 *** reliably create shared libraries on SCO systems. Therefore, libtool
9999 *** is disabling shared libraries support. We urge you to upgrade GNU
10000 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10001 *** your PATH or compiler configuration so that the native linker is
10002 *** used, and then restart.
10004 _LT_EOF
10007 # For security reasons, it is highly recommended that you always
10008 # use absolute paths for naming shared libraries, and exclude the
10009 # DT_RUNPATH tag from executables and libraries. But doing so
10010 # requires that you compile everything twice, which is a pain.
10011 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10012 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10013 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10014 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10015 else
10016 ld_shlibs=no
10019 esac
10022 sunos4*)
10023 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10024 wlarc=
10025 hardcode_direct=yes
10026 hardcode_shlibpath_var=no
10030 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10031 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10032 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10033 else
10034 ld_shlibs=no
10037 esac
10039 if test "$ld_shlibs" = no; then
10040 runpath_var=
10041 hardcode_libdir_flag_spec=
10042 export_dynamic_flag_spec=
10043 whole_archive_flag_spec=
10045 else
10046 # PORTME fill in a description of your system's linker (not GNU ld)
10047 case $host_os in
10048 aix3*)
10049 allow_undefined_flag=unsupported
10050 always_export_symbols=yes
10051 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'
10052 # Note: this linker hardcodes the directories in LIBPATH if there
10053 # are no directories specified by -L.
10054 hardcode_minus_L=yes
10055 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10056 # Neither direct hardcoding nor static linking is supported with a
10057 # broken collect2.
10058 hardcode_direct=unsupported
10062 aix[4-9]*)
10063 if test "$host_cpu" = ia64; then
10064 # On IA64, the linker does run time linking by default, so we don't
10065 # have to do anything special.
10066 aix_use_runtimelinking=no
10067 exp_sym_flag='-Bexport'
10068 no_entry_flag=""
10069 else
10070 # If we're using GNU nm, then we don't want the "-C" option.
10071 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10072 # Also, AIX nm treats weak defined symbols like other global
10073 # defined symbols, whereas GNU nm marks them as "W".
10074 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10075 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'
10076 else
10077 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'
10079 aix_use_runtimelinking=no
10081 # Test if we are trying to use run time linking or normal
10082 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10083 # need to do runtime linking.
10084 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10085 for ld_flag in $LDFLAGS; do
10086 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10087 aix_use_runtimelinking=yes
10088 break
10090 done
10092 esac
10094 exp_sym_flag='-bexport'
10095 no_entry_flag='-bnoentry'
10098 # When large executables or shared objects are built, AIX ld can
10099 # have problems creating the table of contents. If linking a library
10100 # or program results in "error TOC overflow" add -mminimal-toc to
10101 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10102 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10104 archive_cmds=''
10105 hardcode_direct=yes
10106 hardcode_direct_absolute=yes
10107 hardcode_libdir_separator=':'
10108 link_all_deplibs=yes
10109 file_list_spec='${wl}-f,'
10111 if test "$GCC" = yes; then
10112 case $host_os in aix4.[012]|aix4.[012].*)
10113 # We only want to do this on AIX 4.2 and lower, the check
10114 # below for broken collect2 doesn't work under 4.3+
10115 collect2name=`${CC} -print-prog-name=collect2`
10116 if test -f "$collect2name" &&
10117 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10118 then
10119 # We have reworked collect2
10121 else
10122 # We have old collect2
10123 hardcode_direct=unsupported
10124 # It fails to find uninstalled libraries when the uninstalled
10125 # path is not listed in the libpath. Setting hardcode_minus_L
10126 # to unsupported forces relinking
10127 hardcode_minus_L=yes
10128 hardcode_libdir_flag_spec='-L$libdir'
10129 hardcode_libdir_separator=
10132 esac
10133 shared_flag='-shared'
10134 if test "$aix_use_runtimelinking" = yes; then
10135 shared_flag="$shared_flag "'${wl}-G'
10137 else
10138 # not using gcc
10139 if test "$host_cpu" = ia64; then
10140 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10141 # chokes on -Wl,-G. The following line is correct:
10142 shared_flag='-G'
10143 else
10144 if test "$aix_use_runtimelinking" = yes; then
10145 shared_flag='${wl}-G'
10146 else
10147 shared_flag='${wl}-bM:SRE'
10152 export_dynamic_flag_spec='${wl}-bexpall'
10153 # It seems that -bexpall does not export symbols beginning with
10154 # underscore (_), so it is better to generate a list of symbols to export.
10155 always_export_symbols=yes
10156 if test "$aix_use_runtimelinking" = yes; then
10157 # Warning - without using the other runtime loading flags (-brtl),
10158 # -berok will link without error, but may produce a broken library.
10159 allow_undefined_flag='-berok'
10160 # Determine the default libpath from the value encoded in an
10161 # empty executable.
10162 if test x$gcc_no_link = xyes; then
10163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10169 main ()
10173 return 0;
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"; then :
10178 lt_aix_libpath_sed='
10179 /Import File Strings/,/^$/ {
10180 /^0/ {
10181 s/^0 *\(.*\)$/\1/
10185 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10186 # Check for a 64-bit object if we didn't find anything.
10187 if test -z "$aix_libpath"; then
10188 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10191 rm -f core conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10195 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10196 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"
10197 else
10198 if test "$host_cpu" = ia64; then
10199 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10200 allow_undefined_flag="-z nodefs"
10201 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"
10202 else
10203 # Determine the default libpath from the value encoded in an
10204 # empty executable.
10205 if test x$gcc_no_link = xyes; then
10206 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10212 main ()
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10221 lt_aix_libpath_sed='
10222 /Import File Strings/,/^$/ {
10223 /^0/ {
10224 s/^0 *\(.*\)$/\1/
10228 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10229 # Check for a 64-bit object if we didn't find anything.
10230 if test -z "$aix_libpath"; then
10231 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10238 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10239 # Warning - without using the other run time loading flags,
10240 # -berok will link without error, but may produce a broken library.
10241 no_undefined_flag=' ${wl}-bernotok'
10242 allow_undefined_flag=' ${wl}-berok'
10243 if test "$with_gnu_ld" = yes; then
10244 # We only use this code for GNU lds that support --whole-archive.
10245 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10246 else
10247 # Exported symbols can be pulled into shared objects from archives
10248 whole_archive_flag_spec='$convenience'
10250 archive_cmds_need_lc=yes
10251 # This is similar to how AIX traditionally builds its shared libraries.
10252 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'
10257 amigaos*)
10258 case $host_cpu in
10259 powerpc)
10260 # see comment about AmigaOS4 .so support
10261 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10262 archive_expsym_cmds=''
10264 m68k)
10265 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)'
10266 hardcode_libdir_flag_spec='-L$libdir'
10267 hardcode_minus_L=yes
10269 esac
10272 bsdi[45]*)
10273 export_dynamic_flag_spec=-rdynamic
10276 cygwin* | mingw* | pw32* | cegcc*)
10277 # When not using gcc, we currently assume that we are using
10278 # Microsoft Visual C++.
10279 # hardcode_libdir_flag_spec is actually meaningless, as there is
10280 # no search path for DLLs.
10281 hardcode_libdir_flag_spec=' '
10282 allow_undefined_flag=unsupported
10283 # Tell ltmain to make .lib files, not .a files.
10284 libext=lib
10285 # Tell ltmain to make .dll files, not .so files.
10286 shrext_cmds=".dll"
10287 # FIXME: Setting linknames here is a bad hack.
10288 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10289 # The linker will automatically build a .lib file if we build a DLL.
10290 old_archive_from_new_cmds='true'
10291 # FIXME: Should let the user specify the lib program.
10292 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10293 fix_srcfile_path='`cygpath -w "$srcfile"`'
10294 enable_shared_with_static_runtimes=yes
10297 darwin* | rhapsody*)
10300 archive_cmds_need_lc=no
10301 hardcode_direct=no
10302 hardcode_automatic=yes
10303 hardcode_shlibpath_var=unsupported
10304 if test "$lt_cv_ld_force_load" = "yes"; then
10305 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\"`'
10306 else
10307 whole_archive_flag_spec=''
10309 link_all_deplibs=yes
10310 allow_undefined_flag="$_lt_dar_allow_undefined"
10311 case $cc_basename in
10312 ifort*) _lt_dar_can_shared=yes ;;
10313 *) _lt_dar_can_shared=$GCC ;;
10314 esac
10315 if test "$_lt_dar_can_shared" = "yes"; then
10316 output_verbose_link_cmd=func_echo_all
10317 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10318 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10319 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}"
10320 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}"
10322 else
10323 ld_shlibs=no
10328 dgux*)
10329 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10330 hardcode_libdir_flag_spec='-L$libdir'
10331 hardcode_shlibpath_var=no
10334 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10335 # support. Future versions do this automatically, but an explicit c++rt0.o
10336 # does not break anything, and helps significantly (at the cost of a little
10337 # extra space).
10338 freebsd2.2*)
10339 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10340 hardcode_libdir_flag_spec='-R$libdir'
10341 hardcode_direct=yes
10342 hardcode_shlibpath_var=no
10345 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10346 freebsd2.*)
10347 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10348 hardcode_direct=yes
10349 hardcode_minus_L=yes
10350 hardcode_shlibpath_var=no
10353 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10354 freebsd* | dragonfly*)
10355 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10356 hardcode_libdir_flag_spec='-R$libdir'
10357 hardcode_direct=yes
10358 hardcode_shlibpath_var=no
10361 hpux9*)
10362 if test "$GCC" = yes; then
10363 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'
10364 else
10365 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'
10367 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10368 hardcode_libdir_separator=:
10369 hardcode_direct=yes
10371 # hardcode_minus_L: Not really in the search PATH,
10372 # but as the default location of the library.
10373 hardcode_minus_L=yes
10374 export_dynamic_flag_spec='${wl}-E'
10377 hpux10*)
10378 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10379 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10380 else
10381 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10383 if test "$with_gnu_ld" = no; then
10384 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10385 hardcode_libdir_flag_spec_ld='+b $libdir'
10386 hardcode_libdir_separator=:
10387 hardcode_direct=yes
10388 hardcode_direct_absolute=yes
10389 export_dynamic_flag_spec='${wl}-E'
10390 # hardcode_minus_L: Not really in the search PATH,
10391 # but as the default location of the library.
10392 hardcode_minus_L=yes
10396 hpux11*)
10397 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10398 case $host_cpu in
10399 hppa*64*)
10400 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10402 ia64*)
10403 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10408 esac
10409 else
10410 case $host_cpu in
10411 hppa*64*)
10412 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10414 ia64*)
10415 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10419 # Older versions of the 11.00 compiler do not understand -b yet
10420 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10422 $as_echo_n "checking if $CC understands -b... " >&6; }
10423 if ${lt_cv_prog_compiler__b+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 lt_cv_prog_compiler__b=no
10427 save_LDFLAGS="$LDFLAGS"
10428 LDFLAGS="$LDFLAGS -b"
10429 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10430 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10431 # The linker can only warn and ignore the option if not recognized
10432 # So say no if there are warnings
10433 if test -s conftest.err; then
10434 # Append any errors to the config.log.
10435 cat conftest.err 1>&5
10436 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10437 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10438 if diff conftest.exp conftest.er2 >/dev/null; then
10439 lt_cv_prog_compiler__b=yes
10441 else
10442 lt_cv_prog_compiler__b=yes
10445 $RM -r conftest*
10446 LDFLAGS="$save_LDFLAGS"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10450 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10452 if test x"$lt_cv_prog_compiler__b" = xyes; then
10453 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10454 else
10455 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10459 esac
10461 if test "$with_gnu_ld" = no; then
10462 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10463 hardcode_libdir_separator=:
10465 case $host_cpu in
10466 hppa*64*|ia64*)
10467 hardcode_direct=no
10468 hardcode_shlibpath_var=no
10471 hardcode_direct=yes
10472 hardcode_direct_absolute=yes
10473 export_dynamic_flag_spec='${wl}-E'
10475 # hardcode_minus_L: Not really in the search PATH,
10476 # but as the default location of the library.
10477 hardcode_minus_L=yes
10479 esac
10483 irix5* | irix6* | nonstopux*)
10484 if test "$GCC" = yes; then
10485 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'
10486 # Try to use the -exported_symbol ld option, if it does not
10487 # work, assume that -exports_file does not work either and
10488 # implicitly export all symbols.
10489 save_LDFLAGS="$LDFLAGS"
10490 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10491 if test x$gcc_no_link = xyes; then
10492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 int foo(void) {}
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 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'
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LDFLAGS="$save_LDFLAGS"
10505 else
10506 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'
10507 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'
10509 archive_cmds_need_lc='no'
10510 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10511 hardcode_libdir_separator=:
10512 inherit_rpath=yes
10513 link_all_deplibs=yes
10516 netbsd*)
10517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10518 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10519 else
10520 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10522 hardcode_libdir_flag_spec='-R$libdir'
10523 hardcode_direct=yes
10524 hardcode_shlibpath_var=no
10527 newsos6)
10528 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10529 hardcode_direct=yes
10530 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10531 hardcode_libdir_separator=:
10532 hardcode_shlibpath_var=no
10535 *nto* | *qnx*)
10538 openbsd*)
10539 if test -f /usr/libexec/ld.so; then
10540 hardcode_direct=yes
10541 hardcode_shlibpath_var=no
10542 hardcode_direct_absolute=yes
10543 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10544 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10545 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10546 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10547 export_dynamic_flag_spec='${wl}-E'
10548 else
10549 case $host_os in
10550 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10551 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10552 hardcode_libdir_flag_spec='-R$libdir'
10555 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10556 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10558 esac
10560 else
10561 ld_shlibs=no
10565 os2*)
10566 hardcode_libdir_flag_spec='-L$libdir'
10567 hardcode_minus_L=yes
10568 allow_undefined_flag=unsupported
10569 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'
10570 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10573 osf3*)
10574 if test "$GCC" = yes; then
10575 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10576 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'
10577 else
10578 allow_undefined_flag=' -expect_unresolved \*'
10579 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'
10581 archive_cmds_need_lc='no'
10582 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10583 hardcode_libdir_separator=:
10586 osf4* | osf5*) # as osf3* with the addition of -msym flag
10587 if test "$GCC" = yes; then
10588 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10589 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'
10590 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10591 else
10592 allow_undefined_flag=' -expect_unresolved \*'
10593 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'
10594 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~
10595 $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'
10597 # Both c and cxx compiler support -rpath directly
10598 hardcode_libdir_flag_spec='-rpath $libdir'
10600 archive_cmds_need_lc='no'
10601 hardcode_libdir_separator=:
10604 solaris*)
10605 no_undefined_flag=' -z defs'
10606 if test "$GCC" = yes; then
10607 wlarc='${wl}'
10608 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10609 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10610 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10611 else
10612 case `$CC -V 2>&1` in
10613 *"Compilers 5.0"*)
10614 wlarc=''
10615 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10616 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10617 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10620 wlarc='${wl}'
10621 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10623 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10625 esac
10627 hardcode_libdir_flag_spec='-R$libdir'
10628 hardcode_shlibpath_var=no
10629 case $host_os in
10630 solaris2.[0-5] | solaris2.[0-5].*) ;;
10632 # The compiler driver will combine and reorder linker options,
10633 # but understands `-z linker_flag'. GCC discards it without `$wl',
10634 # but is careful enough not to reorder.
10635 # Supported since Solaris 2.6 (maybe 2.5.1?)
10636 if test "$GCC" = yes; then
10637 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10638 else
10639 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10642 esac
10643 link_all_deplibs=yes
10646 sunos4*)
10647 if test "x$host_vendor" = xsequent; then
10648 # Use $CC to link under sequent, because it throws in some extra .o
10649 # files that make .init and .fini sections work.
10650 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10651 else
10652 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10654 hardcode_libdir_flag_spec='-L$libdir'
10655 hardcode_direct=yes
10656 hardcode_minus_L=yes
10657 hardcode_shlibpath_var=no
10660 sysv4)
10661 case $host_vendor in
10662 sni)
10663 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10664 hardcode_direct=yes # is this really true???
10666 siemens)
10667 ## LD is ld it makes a PLAMLIB
10668 ## CC just makes a GrossModule.
10669 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10670 reload_cmds='$CC -r -o $output$reload_objs'
10671 hardcode_direct=no
10673 motorola)
10674 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10675 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10677 esac
10678 runpath_var='LD_RUN_PATH'
10679 hardcode_shlibpath_var=no
10682 sysv4.3*)
10683 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10684 hardcode_shlibpath_var=no
10685 export_dynamic_flag_spec='-Bexport'
10688 sysv4*MP*)
10689 if test -d /usr/nec; then
10690 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691 hardcode_shlibpath_var=no
10692 runpath_var=LD_RUN_PATH
10693 hardcode_runpath_var=yes
10694 ld_shlibs=yes
10698 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10699 no_undefined_flag='${wl}-z,text'
10700 archive_cmds_need_lc=no
10701 hardcode_shlibpath_var=no
10702 runpath_var='LD_RUN_PATH'
10704 if test "$GCC" = yes; then
10705 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10706 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10707 else
10708 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10713 sysv5* | sco3.2v5* | sco5v6*)
10714 # Note: We can NOT use -z defs as we might desire, because we do not
10715 # link with -lc, and that would cause any symbols used from libc to
10716 # always be unresolved, which means just about no library would
10717 # ever link correctly. If we're not using GNU ld we use -z text
10718 # though, which does catch some bad symbols but isn't as heavy-handed
10719 # as -z defs.
10720 no_undefined_flag='${wl}-z,text'
10721 allow_undefined_flag='${wl}-z,nodefs'
10722 archive_cmds_need_lc=no
10723 hardcode_shlibpath_var=no
10724 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10725 hardcode_libdir_separator=':'
10726 link_all_deplibs=yes
10727 export_dynamic_flag_spec='${wl}-Bexport'
10728 runpath_var='LD_RUN_PATH'
10730 if test "$GCC" = yes; then
10731 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10732 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10733 else
10734 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10735 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10739 uts4*)
10740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_libdir_flag_spec='-L$libdir'
10742 hardcode_shlibpath_var=no
10746 ld_shlibs=no
10748 esac
10750 if test x$host_vendor = xsni; then
10751 case $host in
10752 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10753 export_dynamic_flag_spec='${wl}-Blargedynsym'
10755 esac
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10760 $as_echo "$ld_shlibs" >&6; }
10761 test "$ld_shlibs" = no && can_build_shared=no
10763 with_gnu_ld=$with_gnu_ld
10780 # Do we need to explicitly link libc?
10782 case "x$archive_cmds_need_lc" in
10783 x|xyes)
10784 # Assume -lc should be added
10785 archive_cmds_need_lc=yes
10787 if test "$enable_shared" = yes && test "$GCC" = yes; then
10788 case $archive_cmds in
10789 *'~'*)
10790 # FIXME: we may have to deal with multi-command sequences.
10792 '$CC '*)
10793 # Test whether the compiler implicitly links with -lc since on some
10794 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10795 # to ld, don't add -lc before -lgcc.
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10797 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10798 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10799 $as_echo_n "(cached) " >&6
10800 else
10801 $RM conftest*
10802 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10804 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10805 (eval $ac_compile) 2>&5
10806 ac_status=$?
10807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10808 test $ac_status = 0; } 2>conftest.err; then
10809 soname=conftest
10810 lib=conftest
10811 libobjs=conftest.$ac_objext
10812 deplibs=
10813 wl=$lt_prog_compiler_wl
10814 pic_flag=$lt_prog_compiler_pic
10815 compiler_flags=-v
10816 linker_flags=-v
10817 verstring=
10818 output_objdir=.
10819 libname=conftest
10820 lt_save_allow_undefined_flag=$allow_undefined_flag
10821 allow_undefined_flag=
10822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10823 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10824 ac_status=$?
10825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10826 test $ac_status = 0; }
10827 then
10828 lt_cv_archive_cmds_need_lc=no
10829 else
10830 lt_cv_archive_cmds_need_lc=yes
10832 allow_undefined_flag=$lt_save_allow_undefined_flag
10833 else
10834 cat conftest.err 1>&5
10836 $RM conftest*
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10840 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10841 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10843 esac
10846 esac
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11005 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11007 if test "$GCC" = yes; then
11008 case $host_os in
11009 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11010 *) lt_awk_arg="/^libraries:/" ;;
11011 esac
11012 case $host_os in
11013 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11014 *) lt_sed_strip_eq="s,=/,/,g" ;;
11015 esac
11016 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11017 case $lt_search_path_spec in
11018 *\;*)
11019 # if the path contains ";" then we assume it to be the separator
11020 # otherwise default to the standard path separator (i.e. ":") - it is
11021 # assumed that no part of a normal pathname contains ";" but that should
11022 # okay in the real world where ";" in dirpaths is itself problematic.
11023 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11026 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11028 esac
11029 # Ok, now we have the path, separated by spaces, we can step through it
11030 # and add multilib dir if necessary.
11031 lt_tmp_lt_search_path_spec=
11032 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11033 for lt_sys_path in $lt_search_path_spec; do
11034 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11035 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11036 else
11037 test -d "$lt_sys_path" && \
11038 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11040 done
11041 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11042 BEGIN {RS=" "; FS="/|\n";} {
11043 lt_foo="";
11044 lt_count=0;
11045 for (lt_i = NF; lt_i > 0; lt_i--) {
11046 if ($lt_i != "" && $lt_i != ".") {
11047 if ($lt_i == "..") {
11048 lt_count++;
11049 } else {
11050 if (lt_count == 0) {
11051 lt_foo="/" $lt_i lt_foo;
11052 } else {
11053 lt_count--;
11058 if (lt_foo != "") { lt_freq[lt_foo]++; }
11059 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11061 # AWK program above erroneously prepends '/' to C:/dos/paths
11062 # for these hosts.
11063 case $host_os in
11064 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11065 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11066 esac
11067 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11068 else
11069 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11071 library_names_spec=
11072 libname_spec='lib$name'
11073 soname_spec=
11074 shrext_cmds=".so"
11075 postinstall_cmds=
11076 postuninstall_cmds=
11077 finish_cmds=
11078 finish_eval=
11079 shlibpath_var=
11080 shlibpath_overrides_runpath=unknown
11081 version_type=none
11082 dynamic_linker="$host_os ld.so"
11083 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11084 need_lib_prefix=unknown
11085 hardcode_into_libs=no
11087 # when you set need_version to no, make sure it does not cause -set_version
11088 # flags to be left without arguments
11089 need_version=unknown
11091 case $host_os in
11092 aix3*)
11093 version_type=linux
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11095 shlibpath_var=LIBPATH
11097 # AIX 3 has no versioning support, so we append a major version to the name.
11098 soname_spec='${libname}${release}${shared_ext}$major'
11101 aix[4-9]*)
11102 version_type=linux
11103 need_lib_prefix=no
11104 need_version=no
11105 hardcode_into_libs=yes
11106 if test "$host_cpu" = ia64; then
11107 # AIX 5 supports IA64
11108 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 else
11111 # With GCC up to 2.95.x, collect2 would create an import file
11112 # for dependence libraries. The import file would start with
11113 # the line `#! .'. This would cause the generated library to
11114 # depend on `.', always an invalid library. This was fixed in
11115 # development snapshots of GCC prior to 3.0.
11116 case $host_os in
11117 aix4 | aix4.[01] | aix4.[01].*)
11118 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11119 echo ' yes '
11120 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11122 else
11123 can_build_shared=no
11126 esac
11127 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11128 # soname into executable. Probably we can add versioning support to
11129 # collect2, so additional links can be useful in future.
11130 if test "$aix_use_runtimelinking" = yes; then
11131 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11132 # instead of lib<name>.a to let people know that these are not
11133 # typical AIX shared libraries.
11134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11135 else
11136 # We preserve .a as extension for shared libraries through AIX4.2
11137 # and later when we are not doing run time linking.
11138 library_names_spec='${libname}${release}.a $libname.a'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11141 shlibpath_var=LIBPATH
11145 amigaos*)
11146 case $host_cpu in
11147 powerpc)
11148 # Since July 2007 AmigaOS4 officially supports .so libraries.
11149 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11152 m68k)
11153 library_names_spec='$libname.ixlibrary $libname.a'
11154 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11155 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'
11157 esac
11160 beos*)
11161 library_names_spec='${libname}${shared_ext}'
11162 dynamic_linker="$host_os ld.so"
11163 shlibpath_var=LIBRARY_PATH
11166 bsdi[45]*)
11167 version_type=linux
11168 need_version=no
11169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 soname_spec='${libname}${release}${shared_ext}$major'
11171 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11172 shlibpath_var=LD_LIBRARY_PATH
11173 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11174 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11175 # the default ld.so.conf also contains /usr/contrib/lib and
11176 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11177 # libtool to hard-code these into programs
11180 cygwin* | mingw* | pw32* | cegcc*)
11181 version_type=windows
11182 shrext_cmds=".dll"
11183 need_version=no
11184 need_lib_prefix=no
11186 case $GCC,$host_os in
11187 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11188 library_names_spec='$libname.dll.a'
11189 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11190 postinstall_cmds='base_file=`basename \${file}`~
11191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11192 dldir=$destdir/`dirname \$dlpath`~
11193 test -d \$dldir || mkdir -p \$dldir~
11194 $install_prog $dir/$dlname \$dldir/$dlname~
11195 chmod a+x \$dldir/$dlname~
11196 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11197 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11199 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11200 dlpath=$dir/\$dldll~
11201 $RM \$dlpath'
11202 shlibpath_overrides_runpath=yes
11204 case $host_os in
11205 cygwin*)
11206 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11207 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11209 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11211 mingw* | cegcc*)
11212 # MinGW DLLs use traditional 'lib' prefix
11213 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11215 pw32*)
11216 # pw32 DLLs use 'pw' prefix rather than 'lib'
11217 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11219 esac
11223 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11225 esac
11226 dynamic_linker='Win32 ld.exe'
11227 # FIXME: first we should search . and the directory the executable is in
11228 shlibpath_var=PATH
11231 darwin* | rhapsody*)
11232 dynamic_linker="$host_os dyld"
11233 version_type=darwin
11234 need_lib_prefix=no
11235 need_version=no
11236 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11237 soname_spec='${libname}${release}${major}$shared_ext'
11238 shlibpath_overrides_runpath=yes
11239 shlibpath_var=DYLD_LIBRARY_PATH
11240 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11242 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11243 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11246 dgux*)
11247 version_type=linux
11248 need_lib_prefix=no
11249 need_version=no
11250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11251 soname_spec='${libname}${release}${shared_ext}$major'
11252 shlibpath_var=LD_LIBRARY_PATH
11255 freebsd* | dragonfly*)
11256 # DragonFly does not have aout. When/if they implement a new
11257 # versioning mechanism, adjust this.
11258 if test -x /usr/bin/objformat; then
11259 objformat=`/usr/bin/objformat`
11260 else
11261 case $host_os in
11262 freebsd[23].*) objformat=aout ;;
11263 *) objformat=elf ;;
11264 esac
11266 version_type=freebsd-$objformat
11267 case $version_type in
11268 freebsd-elf*)
11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11270 need_version=no
11271 need_lib_prefix=no
11273 freebsd-*)
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11275 need_version=yes
11277 esac
11278 shlibpath_var=LD_LIBRARY_PATH
11279 case $host_os in
11280 freebsd2.*)
11281 shlibpath_overrides_runpath=yes
11283 freebsd3.[01]* | freebsdelf3.[01]*)
11284 shlibpath_overrides_runpath=yes
11285 hardcode_into_libs=yes
11287 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11288 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11289 shlibpath_overrides_runpath=no
11290 hardcode_into_libs=yes
11292 *) # from 4.6 on, and DragonFly
11293 shlibpath_overrides_runpath=yes
11294 hardcode_into_libs=yes
11296 esac
11299 gnu*)
11300 version_type=linux
11301 need_lib_prefix=no
11302 need_version=no
11303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11304 soname_spec='${libname}${release}${shared_ext}$major'
11305 shlibpath_var=LD_LIBRARY_PATH
11306 hardcode_into_libs=yes
11309 haiku*)
11310 version_type=linux
11311 need_lib_prefix=no
11312 need_version=no
11313 dynamic_linker="$host_os runtime_loader"
11314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11315 soname_spec='${libname}${release}${shared_ext}$major'
11316 shlibpath_var=LIBRARY_PATH
11317 shlibpath_overrides_runpath=yes
11318 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11319 hardcode_into_libs=yes
11322 hpux9* | hpux10* | hpux11*)
11323 # Give a soname corresponding to the major version so that dld.sl refuses to
11324 # link against other versions.
11325 version_type=sunos
11326 need_lib_prefix=no
11327 need_version=no
11328 case $host_cpu in
11329 ia64*)
11330 shrext_cmds='.so'
11331 hardcode_into_libs=yes
11332 dynamic_linker="$host_os dld.so"
11333 shlibpath_var=LD_LIBRARY_PATH
11334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 soname_spec='${libname}${release}${shared_ext}$major'
11337 if test "X$HPUX_IA64_MODE" = X32; then
11338 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11339 else
11340 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11342 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11344 hppa*64*)
11345 shrext_cmds='.sl'
11346 hardcode_into_libs=yes
11347 dynamic_linker="$host_os dld.sl"
11348 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11349 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 soname_spec='${libname}${release}${shared_ext}$major'
11352 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11353 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11356 shrext_cmds='.sl'
11357 dynamic_linker="$host_os dld.sl"
11358 shlibpath_var=SHLIB_PATH
11359 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 soname_spec='${libname}${release}${shared_ext}$major'
11363 esac
11364 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11365 postinstall_cmds='chmod 555 $lib'
11366 # or fails outright, so override atomically:
11367 install_override_mode=555
11370 interix[3-9]*)
11371 version_type=linux
11372 need_lib_prefix=no
11373 need_version=no
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11375 soname_spec='${libname}${release}${shared_ext}$major'
11376 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11377 shlibpath_var=LD_LIBRARY_PATH
11378 shlibpath_overrides_runpath=no
11379 hardcode_into_libs=yes
11382 irix5* | irix6* | nonstopux*)
11383 case $host_os in
11384 nonstopux*) version_type=nonstopux ;;
11386 if test "$lt_cv_prog_gnu_ld" = yes; then
11387 version_type=linux
11388 else
11389 version_type=irix
11390 fi ;;
11391 esac
11392 need_lib_prefix=no
11393 need_version=no
11394 soname_spec='${libname}${release}${shared_ext}$major'
11395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11396 case $host_os in
11397 irix5* | nonstopux*)
11398 libsuff= shlibsuff=
11401 case $LD in # libtool.m4 will add one of these switches to LD
11402 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11403 libsuff= shlibsuff= libmagic=32-bit;;
11404 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11405 libsuff=32 shlibsuff=N32 libmagic=N32;;
11406 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11407 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11408 *) libsuff= shlibsuff= libmagic=never-match;;
11409 esac
11411 esac
11412 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11413 shlibpath_overrides_runpath=no
11414 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11415 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11416 hardcode_into_libs=yes
11419 # No shared lib support for Linux oldld, aout, or coff.
11420 linux*oldld* | linux*aout* | linux*coff*)
11421 dynamic_linker=no
11424 # This must be Linux ELF.
11426 # uclinux* changes (here and below) have been submitted to the libtool
11427 # project, but have not yet been accepted: they are GCC-local changes
11428 # for the time being. (See
11429 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11430 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11431 version_type=linux
11432 need_lib_prefix=no
11433 need_version=no
11434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 soname_spec='${libname}${release}${shared_ext}$major'
11436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11437 shlibpath_var=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath=no
11440 # Some binutils ld are patched to set DT_RUNPATH
11441 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 lt_cv_shlibpath_overrides_runpath=no
11445 save_LDFLAGS=$LDFLAGS
11446 save_libdir=$libdir
11447 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11448 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11449 if test x$gcc_no_link = xyes; then
11450 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11456 main ()
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11465 lt_cv_shlibpath_overrides_runpath=yes
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LDFLAGS=$save_LDFLAGS
11471 libdir=$save_libdir
11475 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11477 # This implies no fast_install, which is unacceptable.
11478 # Some rework will be needed to allow for fast_install
11479 # before this can be enabled.
11480 hardcode_into_libs=yes
11482 # Append ld.so.conf contents to the search path
11483 if test -f /etc/ld.so.conf; then
11484 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' ' '`
11485 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11488 # We used to test for /lib/ld.so.1 and disable shared libraries on
11489 # powerpc, because MkLinux only supported shared libraries with the
11490 # GNU dynamic linker. Since this was broken with cross compilers,
11491 # most powerpc-linux boxes support dynamic linking these days and
11492 # people can always --disable-shared, the test was removed, and we
11493 # assume the GNU/Linux dynamic linker is in use.
11494 dynamic_linker='GNU/Linux ld.so'
11497 netbsd*)
11498 version_type=sunos
11499 need_lib_prefix=no
11500 need_version=no
11501 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11503 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11504 dynamic_linker='NetBSD (a.out) ld.so'
11505 else
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 dynamic_linker='NetBSD ld.elf_so'
11510 shlibpath_var=LD_LIBRARY_PATH
11511 shlibpath_overrides_runpath=yes
11512 hardcode_into_libs=yes
11515 newsos6)
11516 version_type=linux
11517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518 shlibpath_var=LD_LIBRARY_PATH
11519 shlibpath_overrides_runpath=yes
11522 *nto* | *qnx*)
11523 version_type=qnx
11524 need_lib_prefix=no
11525 need_version=no
11526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11527 soname_spec='${libname}${release}${shared_ext}$major'
11528 shlibpath_var=LD_LIBRARY_PATH
11529 shlibpath_overrides_runpath=no
11530 hardcode_into_libs=yes
11531 dynamic_linker='ldqnx.so'
11534 openbsd*)
11535 version_type=sunos
11536 sys_lib_dlsearch_path_spec="/usr/lib"
11537 need_lib_prefix=no
11538 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11539 case $host_os in
11540 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11541 *) need_version=no ;;
11542 esac
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11544 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11545 shlibpath_var=LD_LIBRARY_PATH
11546 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11547 case $host_os in
11548 openbsd2.[89] | openbsd2.[89].*)
11549 shlibpath_overrides_runpath=no
11552 shlibpath_overrides_runpath=yes
11554 esac
11555 else
11556 shlibpath_overrides_runpath=yes
11560 os2*)
11561 libname_spec='$name'
11562 shrext_cmds=".dll"
11563 need_lib_prefix=no
11564 library_names_spec='$libname${shared_ext} $libname.a'
11565 dynamic_linker='OS/2 ld.exe'
11566 shlibpath_var=LIBPATH
11569 osf3* | osf4* | osf5*)
11570 version_type=osf
11571 need_lib_prefix=no
11572 need_version=no
11573 soname_spec='${libname}${release}${shared_ext}$major'
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11577 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11580 rdos*)
11581 dynamic_linker=no
11584 solaris*)
11585 version_type=linux
11586 need_lib_prefix=no
11587 need_version=no
11588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11589 soname_spec='${libname}${release}${shared_ext}$major'
11590 shlibpath_var=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath=yes
11592 hardcode_into_libs=yes
11593 # ldd complains unless libraries are executable
11594 postinstall_cmds='chmod +x $lib'
11597 sunos4*)
11598 version_type=sunos
11599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11600 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11601 shlibpath_var=LD_LIBRARY_PATH
11602 shlibpath_overrides_runpath=yes
11603 if test "$with_gnu_ld" = yes; then
11604 need_lib_prefix=no
11606 need_version=yes
11609 sysv4 | sysv4.3*)
11610 version_type=linux
11611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11612 soname_spec='${libname}${release}${shared_ext}$major'
11613 shlibpath_var=LD_LIBRARY_PATH
11614 case $host_vendor in
11615 sni)
11616 shlibpath_overrides_runpath=no
11617 need_lib_prefix=no
11618 runpath_var=LD_RUN_PATH
11620 siemens)
11621 need_lib_prefix=no
11623 motorola)
11624 need_lib_prefix=no
11625 need_version=no
11626 shlibpath_overrides_runpath=no
11627 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11629 esac
11632 sysv4*MP*)
11633 if test -d /usr/nec ;then
11634 version_type=linux
11635 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11636 soname_spec='$libname${shared_ext}.$major'
11637 shlibpath_var=LD_LIBRARY_PATH
11641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11642 version_type=freebsd-elf
11643 need_lib_prefix=no
11644 need_version=no
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=yes
11649 hardcode_into_libs=yes
11650 if test "$with_gnu_ld" = yes; then
11651 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11652 else
11653 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11654 case $host_os in
11655 sco3.2v5*)
11656 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11658 esac
11660 sys_lib_dlsearch_path_spec='/usr/lib'
11663 tpf*)
11664 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11665 version_type=linux
11666 need_lib_prefix=no
11667 need_version=no
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 shlibpath_var=LD_LIBRARY_PATH
11670 shlibpath_overrides_runpath=no
11671 hardcode_into_libs=yes
11674 uts4*)
11675 version_type=linux
11676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11677 soname_spec='${libname}${release}${shared_ext}$major'
11678 shlibpath_var=LD_LIBRARY_PATH
11682 dynamic_linker=no
11684 esac
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11686 $as_echo "$dynamic_linker" >&6; }
11687 test "$dynamic_linker" = no && can_build_shared=no
11689 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11690 if test "$GCC" = yes; then
11691 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11695 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11697 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11698 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11794 hardcode_action=
11795 if test -n "$hardcode_libdir_flag_spec" ||
11796 test -n "$runpath_var" ||
11797 test "X$hardcode_automatic" = "Xyes" ; then
11799 # We can hardcode non-existent directories.
11800 if test "$hardcode_direct" != no &&
11801 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11802 # have to relink, otherwise we might link with an installed library
11803 # when we should be linking with a yet-to-be-installed one
11804 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11805 test "$hardcode_minus_L" != no; then
11806 # Linking always hardcodes the temporary library directory.
11807 hardcode_action=relink
11808 else
11809 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11810 hardcode_action=immediate
11812 else
11813 # We cannot hardcode anything, or else we can only hardcode existing
11814 # directories.
11815 hardcode_action=unsupported
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11818 $as_echo "$hardcode_action" >&6; }
11820 if test "$hardcode_action" = relink ||
11821 test "$inherit_rpath" = yes; then
11822 # Fast installation is not supported
11823 enable_fast_install=no
11824 elif test "$shlibpath_overrides_runpath" = yes ||
11825 test "$enable_shared" = no; then
11826 # Fast installation is not necessary
11827 enable_fast_install=needless
11835 if test "x$enable_dlopen" != xyes; then
11836 enable_dlopen=unknown
11837 enable_dlopen_self=unknown
11838 enable_dlopen_self_static=unknown
11839 else
11840 lt_cv_dlopen=no
11841 lt_cv_dlopen_libs=
11843 case $host_os in
11844 beos*)
11845 lt_cv_dlopen="load_add_on"
11846 lt_cv_dlopen_libs=
11847 lt_cv_dlopen_self=yes
11850 mingw* | pw32* | cegcc*)
11851 lt_cv_dlopen="LoadLibrary"
11852 lt_cv_dlopen_libs=
11855 cygwin*)
11856 lt_cv_dlopen="dlopen"
11857 lt_cv_dlopen_libs=
11860 darwin*)
11861 # if libdl is installed we need to link against it
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11864 if ${ac_cv_lib_dl_dlopen+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_lib_save_LIBS=$LIBS
11868 LIBS="-ldl $LIBS"
11869 if test x$gcc_no_link = xyes; then
11870 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char dlopen ();
11883 main ()
11885 return dlopen ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 ac_cv_lib_dl_dlopen=yes
11892 else
11893 ac_cv_lib_dl_dlopen=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11900 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11901 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11902 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11903 else
11905 lt_cv_dlopen="dyld"
11906 lt_cv_dlopen_libs=
11907 lt_cv_dlopen_self=yes
11914 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11915 if test "x$ac_cv_func_shl_load" = xyes; then :
11916 lt_cv_dlopen="shl_load"
11917 else
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11919 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11920 if ${ac_cv_lib_dld_shl_load+:} false; then :
11921 $as_echo_n "(cached) " >&6
11922 else
11923 ac_check_lib_save_LIBS=$LIBS
11924 LIBS="-ldld $LIBS"
11925 if test x$gcc_no_link = xyes; then
11926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11934 #ifdef __cplusplus
11935 extern "C"
11936 #endif
11937 char shl_load ();
11939 main ()
11941 return shl_load ();
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_link "$LINENO"; then :
11947 ac_cv_lib_dld_shl_load=yes
11948 else
11949 ac_cv_lib_dld_shl_load=no
11951 rm -f core conftest.err conftest.$ac_objext \
11952 conftest$ac_exeext conftest.$ac_ext
11953 LIBS=$ac_check_lib_save_LIBS
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11956 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11957 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11958 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11959 else
11960 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11961 if test "x$ac_cv_func_dlopen" = xyes; then :
11962 lt_cv_dlopen="dlopen"
11963 else
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11965 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11966 if ${ac_cv_lib_dl_dlopen+:} false; then :
11967 $as_echo_n "(cached) " >&6
11968 else
11969 ac_check_lib_save_LIBS=$LIBS
11970 LIBS="-ldl $LIBS"
11971 if test x$gcc_no_link = xyes; then
11972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11980 #ifdef __cplusplus
11981 extern "C"
11982 #endif
11983 char dlopen ();
11985 main ()
11987 return dlopen ();
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_link "$LINENO"; then :
11993 ac_cv_lib_dl_dlopen=yes
11994 else
11995 ac_cv_lib_dl_dlopen=no
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_lib_save_LIBS
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12002 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12003 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12004 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12005 else
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12007 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12008 if ${ac_cv_lib_svld_dlopen+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-lsvld $LIBS"
12013 if test x$gcc_no_link = xyes; then
12014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char dlopen ();
12027 main ()
12029 return dlopen ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 ac_cv_lib_svld_dlopen=yes
12036 else
12037 ac_cv_lib_svld_dlopen=no
12039 rm -f core conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_lib_save_LIBS
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12044 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12045 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12046 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12047 else
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12049 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12050 if ${ac_cv_lib_dld_dld_link+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_lib_save_LIBS=$LIBS
12054 LIBS="-ldld $LIBS"
12055 if test x$gcc_no_link = xyes; then
12056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 char dld_link ();
12069 main ()
12071 return dld_link ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 ac_cv_lib_dld_dld_link=yes
12078 else
12079 ac_cv_lib_dld_dld_link=no
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12086 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12087 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12088 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12107 esac
12109 if test "x$lt_cv_dlopen" != xno; then
12110 enable_dlopen=yes
12111 else
12112 enable_dlopen=no
12115 case $lt_cv_dlopen in
12116 dlopen)
12117 save_CPPFLAGS="$CPPFLAGS"
12118 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12120 save_LDFLAGS="$LDFLAGS"
12121 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12123 save_LIBS="$LIBS"
12124 LIBS="$lt_cv_dlopen_libs $LIBS"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12127 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12128 if ${lt_cv_dlopen_self+:} false; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 if test "$cross_compiling" = yes; then :
12132 lt_cv_dlopen_self=cross
12133 else
12134 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12135 lt_status=$lt_dlunknown
12136 cat > conftest.$ac_ext <<_LT_EOF
12137 #line 12137 "configure"
12138 #include "confdefs.h"
12140 #if HAVE_DLFCN_H
12141 #include <dlfcn.h>
12142 #endif
12144 #include <stdio.h>
12146 #ifdef RTLD_GLOBAL
12147 # define LT_DLGLOBAL RTLD_GLOBAL
12148 #else
12149 # ifdef DL_GLOBAL
12150 # define LT_DLGLOBAL DL_GLOBAL
12151 # else
12152 # define LT_DLGLOBAL 0
12153 # endif
12154 #endif
12156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12157 find out it does not work in some platform. */
12158 #ifndef LT_DLLAZY_OR_NOW
12159 # ifdef RTLD_LAZY
12160 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12161 # else
12162 # ifdef DL_LAZY
12163 # define LT_DLLAZY_OR_NOW DL_LAZY
12164 # else
12165 # ifdef RTLD_NOW
12166 # define LT_DLLAZY_OR_NOW RTLD_NOW
12167 # else
12168 # ifdef DL_NOW
12169 # define LT_DLLAZY_OR_NOW DL_NOW
12170 # else
12171 # define LT_DLLAZY_OR_NOW 0
12172 # endif
12173 # endif
12174 # endif
12175 # endif
12176 #endif
12178 /* When -fvisbility=hidden is used, assume the code has been annotated
12179 correspondingly for the symbols needed. */
12180 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12181 void fnord () __attribute__((visibility("default")));
12182 #endif
12184 void fnord () { int i=42; }
12185 int main ()
12187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12188 int status = $lt_dlunknown;
12190 if (self)
12192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12193 else
12195 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12196 else puts (dlerror ());
12198 /* dlclose (self); */
12200 else
12201 puts (dlerror ());
12203 return status;
12205 _LT_EOF
12206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12207 (eval $ac_link) 2>&5
12208 ac_status=$?
12209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12211 (./conftest; exit; ) >&5 2>/dev/null
12212 lt_status=$?
12213 case x$lt_status in
12214 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12215 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12216 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12217 esac
12218 else :
12219 # compilation failed
12220 lt_cv_dlopen_self=no
12223 rm -fr conftest*
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12228 $as_echo "$lt_cv_dlopen_self" >&6; }
12230 if test "x$lt_cv_dlopen_self" = xyes; then
12231 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12233 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12234 if ${lt_cv_dlopen_self_static+:} false; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test "$cross_compiling" = yes; then :
12238 lt_cv_dlopen_self_static=cross
12239 else
12240 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12241 lt_status=$lt_dlunknown
12242 cat > conftest.$ac_ext <<_LT_EOF
12243 #line 12243 "configure"
12244 #include "confdefs.h"
12246 #if HAVE_DLFCN_H
12247 #include <dlfcn.h>
12248 #endif
12250 #include <stdio.h>
12252 #ifdef RTLD_GLOBAL
12253 # define LT_DLGLOBAL RTLD_GLOBAL
12254 #else
12255 # ifdef DL_GLOBAL
12256 # define LT_DLGLOBAL DL_GLOBAL
12257 # else
12258 # define LT_DLGLOBAL 0
12259 # endif
12260 #endif
12262 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12263 find out it does not work in some platform. */
12264 #ifndef LT_DLLAZY_OR_NOW
12265 # ifdef RTLD_LAZY
12266 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12267 # else
12268 # ifdef DL_LAZY
12269 # define LT_DLLAZY_OR_NOW DL_LAZY
12270 # else
12271 # ifdef RTLD_NOW
12272 # define LT_DLLAZY_OR_NOW RTLD_NOW
12273 # else
12274 # ifdef DL_NOW
12275 # define LT_DLLAZY_OR_NOW DL_NOW
12276 # else
12277 # define LT_DLLAZY_OR_NOW 0
12278 # endif
12279 # endif
12280 # endif
12281 # endif
12282 #endif
12284 /* When -fvisbility=hidden is used, assume the code has been annotated
12285 correspondingly for the symbols needed. */
12286 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12287 void fnord () __attribute__((visibility("default")));
12288 #endif
12290 void fnord () { int i=42; }
12291 int main ()
12293 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12294 int status = $lt_dlunknown;
12296 if (self)
12298 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12299 else
12301 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12302 else puts (dlerror ());
12304 /* dlclose (self); */
12306 else
12307 puts (dlerror ());
12309 return status;
12311 _LT_EOF
12312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12313 (eval $ac_link) 2>&5
12314 ac_status=$?
12315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12316 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12317 (./conftest; exit; ) >&5 2>/dev/null
12318 lt_status=$?
12319 case x$lt_status in
12320 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12321 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12322 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12323 esac
12324 else :
12325 # compilation failed
12326 lt_cv_dlopen_self_static=no
12329 rm -fr conftest*
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12334 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12337 CPPFLAGS="$save_CPPFLAGS"
12338 LDFLAGS="$save_LDFLAGS"
12339 LIBS="$save_LIBS"
12341 esac
12343 case $lt_cv_dlopen_self in
12344 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12345 *) enable_dlopen_self=unknown ;;
12346 esac
12348 case $lt_cv_dlopen_self_static in
12349 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12350 *) enable_dlopen_self_static=unknown ;;
12351 esac
12370 striplib=
12371 old_striplib=
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12373 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12374 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12375 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12376 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12378 $as_echo "yes" >&6; }
12379 else
12380 # FIXME - insert some real tests, host_os isn't really good enough
12381 case $host_os in
12382 darwin*)
12383 if test -n "$STRIP" ; then
12384 striplib="$STRIP -x"
12385 old_striplib="$STRIP -S"
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12387 $as_echo "yes" >&6; }
12388 else
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390 $as_echo "no" >&6; }
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12395 $as_echo "no" >&6; }
12397 esac
12411 # Report which library types will actually be built
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12413 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12415 $as_echo "$can_build_shared" >&6; }
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12418 $as_echo_n "checking whether to build shared libraries... " >&6; }
12419 test "$can_build_shared" = "no" && enable_shared=no
12421 # On AIX, shared libraries and static libraries use the same namespace, and
12422 # are all built from PIC.
12423 case $host_os in
12424 aix3*)
12425 test "$enable_shared" = yes && enable_static=no
12426 if test -n "$RANLIB"; then
12427 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12428 postinstall_cmds='$RANLIB $lib'
12432 aix[4-9]*)
12433 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12434 test "$enable_shared" = yes && enable_static=no
12437 esac
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12439 $as_echo "$enable_shared" >&6; }
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12442 $as_echo_n "checking whether to build static libraries... " >&6; }
12443 # Make sure either enable_shared or enable_static is yes.
12444 test "$enable_shared" = yes || enable_static=yes
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12446 $as_echo "$enable_static" >&6; }
12452 ac_ext=c
12453 ac_cpp='$CPP $CPPFLAGS'
12454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12458 CC="$lt_save_CC"
12460 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12461 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12462 (test "X$CXX" != "Xg++"))) ; then
12463 ac_ext=cpp
12464 ac_cpp='$CXXCPP $CPPFLAGS'
12465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12469 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12470 if test -z "$CXXCPP"; then
12471 if ${ac_cv_prog_CXXCPP+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 # Double quotes because CXXCPP needs to be expanded
12475 for CXXCPP in "$CXX -E" "/lib/cpp"
12477 ac_preproc_ok=false
12478 for ac_cxx_preproc_warn_flag in '' yes
12480 # Use a header file that comes with gcc, so configuring glibc
12481 # with a fresh cross-compiler works.
12482 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12483 # <limits.h> exists even on freestanding compilers.
12484 # On the NeXT, cc -E runs the code through the compiler's parser,
12485 # not just through cpp. "Syntax error" is here to catch this case.
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488 #ifdef __STDC__
12489 # include <limits.h>
12490 #else
12491 # include <assert.h>
12492 #endif
12493 Syntax error
12494 _ACEOF
12495 if ac_fn_cxx_try_cpp "$LINENO"; then :
12497 else
12498 # Broken: fails on valid input.
12499 continue
12501 rm -f conftest.err conftest.i conftest.$ac_ext
12503 # OK, works on sane cases. Now check whether nonexistent headers
12504 # can be detected and how.
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 #include <ac_nonexistent.h>
12508 _ACEOF
12509 if ac_fn_cxx_try_cpp "$LINENO"; then :
12510 # Broken: success on invalid input.
12511 continue
12512 else
12513 # Passes both tests.
12514 ac_preproc_ok=:
12515 break
12517 rm -f conftest.err conftest.i conftest.$ac_ext
12519 done
12520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12521 rm -f conftest.i conftest.err conftest.$ac_ext
12522 if $ac_preproc_ok; then :
12523 break
12526 done
12527 ac_cv_prog_CXXCPP=$CXXCPP
12530 CXXCPP=$ac_cv_prog_CXXCPP
12531 else
12532 ac_cv_prog_CXXCPP=$CXXCPP
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12535 $as_echo "$CXXCPP" >&6; }
12536 ac_preproc_ok=false
12537 for ac_cxx_preproc_warn_flag in '' yes
12539 # Use a header file that comes with gcc, so configuring glibc
12540 # with a fresh cross-compiler works.
12541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12542 # <limits.h> exists even on freestanding compilers.
12543 # On the NeXT, cc -E runs the code through the compiler's parser,
12544 # not just through cpp. "Syntax error" is here to catch this case.
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12547 #ifdef __STDC__
12548 # include <limits.h>
12549 #else
12550 # include <assert.h>
12551 #endif
12552 Syntax error
12553 _ACEOF
12554 if ac_fn_cxx_try_cpp "$LINENO"; then :
12556 else
12557 # Broken: fails on valid input.
12558 continue
12560 rm -f conftest.err conftest.i conftest.$ac_ext
12562 # OK, works on sane cases. Now check whether nonexistent headers
12563 # can be detected and how.
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12566 #include <ac_nonexistent.h>
12567 _ACEOF
12568 if ac_fn_cxx_try_cpp "$LINENO"; then :
12569 # Broken: success on invalid input.
12570 continue
12571 else
12572 # Passes both tests.
12573 ac_preproc_ok=:
12574 break
12576 rm -f conftest.err conftest.i conftest.$ac_ext
12578 done
12579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12580 rm -f conftest.i conftest.err conftest.$ac_ext
12581 if $ac_preproc_ok; then :
12583 else
12584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12586 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12587 See \`config.log' for more details" "$LINENO" 5; }
12590 ac_ext=c
12591 ac_cpp='$CPP $CPPFLAGS'
12592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12596 else
12597 _lt_caught_CXX_error=yes
12600 ac_ext=cpp
12601 ac_cpp='$CXXCPP $CPPFLAGS'
12602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12606 archive_cmds_need_lc_CXX=no
12607 allow_undefined_flag_CXX=
12608 always_export_symbols_CXX=no
12609 archive_expsym_cmds_CXX=
12610 compiler_needs_object_CXX=no
12611 export_dynamic_flag_spec_CXX=
12612 hardcode_direct_CXX=no
12613 hardcode_direct_absolute_CXX=no
12614 hardcode_libdir_flag_spec_CXX=
12615 hardcode_libdir_flag_spec_ld_CXX=
12616 hardcode_libdir_separator_CXX=
12617 hardcode_minus_L_CXX=no
12618 hardcode_shlibpath_var_CXX=unsupported
12619 hardcode_automatic_CXX=no
12620 inherit_rpath_CXX=no
12621 module_cmds_CXX=
12622 module_expsym_cmds_CXX=
12623 link_all_deplibs_CXX=unknown
12624 old_archive_cmds_CXX=$old_archive_cmds
12625 reload_flag_CXX=$reload_flag
12626 reload_cmds_CXX=$reload_cmds
12627 no_undefined_flag_CXX=
12628 whole_archive_flag_spec_CXX=
12629 enable_shared_with_static_runtimes_CXX=no
12631 # Source file extension for C++ test sources.
12632 ac_ext=cpp
12634 # Object file extension for compiled C++ test sources.
12635 objext=o
12636 objext_CXX=$objext
12638 # No sense in running all these tests if we already determined that
12639 # the CXX compiler isn't working. Some variables (like enable_shared)
12640 # are currently assumed to apply to all compilers on this platform,
12641 # and will be corrupted by setting them based on a non-working compiler.
12642 if test "$_lt_caught_CXX_error" != yes; then
12643 # Code to be used in simple compile tests
12644 lt_simple_compile_test_code="int some_variable = 0;"
12646 # Code to be used in simple link tests
12647 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12649 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12656 # If no C compiler was specified, use CC.
12657 LTCC=${LTCC-"$CC"}
12659 # If no C compiler flags were specified, use CFLAGS.
12660 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12662 # Allow CC to be a program name with arguments.
12663 compiler=$CC
12666 # save warnings/boilerplate of simple test code
12667 ac_outfile=conftest.$ac_objext
12668 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12669 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12670 _lt_compiler_boilerplate=`cat conftest.err`
12671 $RM conftest*
12673 ac_outfile=conftest.$ac_objext
12674 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12675 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12676 _lt_linker_boilerplate=`cat conftest.err`
12677 $RM -r conftest*
12680 # Allow CC to be a program name with arguments.
12681 lt_save_CC=$CC
12682 lt_save_LD=$LD
12683 lt_save_GCC=$GCC
12684 GCC=$GXX
12685 lt_save_with_gnu_ld=$with_gnu_ld
12686 lt_save_path_LD=$lt_cv_path_LD
12687 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12688 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12689 else
12690 $as_unset lt_cv_prog_gnu_ld
12692 if test -n "${lt_cv_path_LDCXX+set}"; then
12693 lt_cv_path_LD=$lt_cv_path_LDCXX
12694 else
12695 $as_unset lt_cv_path_LD
12697 test -z "${LDCXX+set}" || LD=$LDCXX
12698 CC=${CXX-"c++"}
12699 compiler=$CC
12700 compiler_CXX=$CC
12701 for cc_temp in $compiler""; do
12702 case $cc_temp in
12703 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12704 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12705 \-*) ;;
12706 *) break;;
12707 esac
12708 done
12709 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12712 if test -n "$compiler"; then
12713 # We don't want -fno-exception when compiling C++ code, so set the
12714 # no_builtin_flag separately
12715 if test "$GXX" = yes; then
12716 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12717 else
12718 lt_prog_compiler_no_builtin_flag_CXX=
12721 if test "$GXX" = yes; then
12722 # Set up default GNU C++ configuration
12726 # Check whether --with-gnu-ld was given.
12727 if test "${with_gnu_ld+set}" = set; then :
12728 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12729 else
12730 with_gnu_ld=no
12733 ac_prog=ld
12734 if test "$GCC" = yes; then
12735 # Check if gcc -print-prog-name=ld gives a path.
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12737 $as_echo_n "checking for ld used by $CC... " >&6; }
12738 case $host in
12739 *-*-mingw*)
12740 # gcc leaves a trailing carriage return which upsets mingw
12741 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12743 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12744 esac
12745 case $ac_prog in
12746 # Accept absolute paths.
12747 [\\/]* | ?:[\\/]*)
12748 re_direlt='/[^/][^/]*/\.\./'
12749 # Canonicalize the pathname of ld
12750 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12751 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12752 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12753 done
12754 test -z "$LD" && LD="$ac_prog"
12757 # If it fails, then pretend we aren't using GCC.
12758 ac_prog=ld
12761 # If it is relative, then search for the first ld in PATH.
12762 with_gnu_ld=unknown
12764 esac
12765 elif test "$with_gnu_ld" = yes; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12767 $as_echo_n "checking for GNU ld... " >&6; }
12768 else
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12770 $as_echo_n "checking for non-GNU ld... " >&6; }
12772 if ${lt_cv_path_LD+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 if test -z "$LD"; then
12776 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12777 for ac_dir in $PATH; do
12778 IFS="$lt_save_ifs"
12779 test -z "$ac_dir" && ac_dir=.
12780 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12781 lt_cv_path_LD="$ac_dir/$ac_prog"
12782 # Check to see if the program is GNU ld. I'd rather use --version,
12783 # but apparently some variants of GNU ld only accept -v.
12784 # Break only if it was the GNU/non-GNU ld that we prefer.
12785 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12786 *GNU* | *'with BFD'*)
12787 test "$with_gnu_ld" != no && break
12790 test "$with_gnu_ld" != yes && break
12792 esac
12794 done
12795 IFS="$lt_save_ifs"
12796 else
12797 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12801 LD="$lt_cv_path_LD"
12802 if test -n "$LD"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12804 $as_echo "$LD" >&6; }
12805 else
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12809 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12811 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12812 if ${lt_cv_prog_gnu_ld+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12816 case `$LD -v 2>&1 </dev/null` in
12817 *GNU* | *'with BFD'*)
12818 lt_cv_prog_gnu_ld=yes
12821 lt_cv_prog_gnu_ld=no
12823 esac
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12826 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12827 with_gnu_ld=$lt_cv_prog_gnu_ld
12835 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12836 # archiving commands below assume that GNU ld is being used.
12837 if test "$with_gnu_ld" = yes; then
12838 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 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'
12841 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12842 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12844 # If archive_cmds runs LD, not CC, wlarc should be empty
12845 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12846 # investigate it a little bit more. (MM)
12847 wlarc='${wl}'
12849 # ancient GNU ld didn't support --whole-archive et. al.
12850 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12851 $GREP 'no-whole-archive' > /dev/null; then
12852 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12853 else
12854 whole_archive_flag_spec_CXX=
12856 else
12857 with_gnu_ld=no
12858 wlarc=
12860 # A generic and very simple default shared library creation
12861 # command for GNU C++ for the case where it uses the native
12862 # linker, instead of GNU ld. If possible, this setting should
12863 # overridden to take advantage of the native linker features on
12864 # the platform it is being used on.
12865 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12868 # Commands to make compiler produce verbose output that lists
12869 # what "hidden" libraries, object files and flags are used when
12870 # linking a shared library.
12871 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12873 else
12874 GXX=no
12875 with_gnu_ld=no
12876 wlarc=
12879 # PORTME: fill in a description of your system's C++ link characteristics
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12881 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12882 ld_shlibs_CXX=yes
12883 case $host_os in
12884 aix3*)
12885 # FIXME: insert proper C++ library support
12886 ld_shlibs_CXX=no
12888 aix[4-9]*)
12889 if test "$host_cpu" = ia64; then
12890 # On IA64, the linker does run time linking by default, so we don't
12891 # have to do anything special.
12892 aix_use_runtimelinking=no
12893 exp_sym_flag='-Bexport'
12894 no_entry_flag=""
12895 else
12896 aix_use_runtimelinking=no
12898 # Test if we are trying to use run time linking or normal
12899 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12900 # need to do runtime linking.
12901 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12902 for ld_flag in $LDFLAGS; do
12903 case $ld_flag in
12904 *-brtl*)
12905 aix_use_runtimelinking=yes
12906 break
12908 esac
12909 done
12911 esac
12913 exp_sym_flag='-bexport'
12914 no_entry_flag='-bnoentry'
12917 # When large executables or shared objects are built, AIX ld can
12918 # have problems creating the table of contents. If linking a library
12919 # or program results in "error TOC overflow" add -mminimal-toc to
12920 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12921 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12923 archive_cmds_CXX=''
12924 hardcode_direct_CXX=yes
12925 hardcode_direct_absolute_CXX=yes
12926 hardcode_libdir_separator_CXX=':'
12927 link_all_deplibs_CXX=yes
12928 file_list_spec_CXX='${wl}-f,'
12930 if test "$GXX" = yes; then
12931 case $host_os in aix4.[012]|aix4.[012].*)
12932 # We only want to do this on AIX 4.2 and lower, the check
12933 # below for broken collect2 doesn't work under 4.3+
12934 collect2name=`${CC} -print-prog-name=collect2`
12935 if test -f "$collect2name" &&
12936 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12937 then
12938 # We have reworked collect2
12940 else
12941 # We have old collect2
12942 hardcode_direct_CXX=unsupported
12943 # It fails to find uninstalled libraries when the uninstalled
12944 # path is not listed in the libpath. Setting hardcode_minus_L
12945 # to unsupported forces relinking
12946 hardcode_minus_L_CXX=yes
12947 hardcode_libdir_flag_spec_CXX='-L$libdir'
12948 hardcode_libdir_separator_CXX=
12950 esac
12951 shared_flag='-shared'
12952 if test "$aix_use_runtimelinking" = yes; then
12953 shared_flag="$shared_flag "'${wl}-G'
12955 else
12956 # not using gcc
12957 if test "$host_cpu" = ia64; then
12958 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12959 # chokes on -Wl,-G. The following line is correct:
12960 shared_flag='-G'
12961 else
12962 if test "$aix_use_runtimelinking" = yes; then
12963 shared_flag='${wl}-G'
12964 else
12965 shared_flag='${wl}-bM:SRE'
12970 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12971 # It seems that -bexpall does not export symbols beginning with
12972 # underscore (_), so it is better to generate a list of symbols to
12973 # export.
12974 always_export_symbols_CXX=yes
12975 if test "$aix_use_runtimelinking" = yes; then
12976 # Warning - without using the other runtime loading flags (-brtl),
12977 # -berok will link without error, but may produce a broken library.
12978 allow_undefined_flag_CXX='-berok'
12979 # Determine the default libpath from the value encoded in an empty
12980 # executable.
12981 if test x$gcc_no_link = xyes; then
12982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12988 main ()
12992 return 0;
12994 _ACEOF
12995 if ac_fn_cxx_try_link "$LINENO"; then :
12997 lt_aix_libpath_sed='
12998 /Import File Strings/,/^$/ {
12999 /^0/ {
13000 s/^0 *\(.*\)$/\1/
13004 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13005 # Check for a 64-bit object if we didn't find anything.
13006 if test -z "$aix_libpath"; then
13007 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13010 rm -f core conftest.err conftest.$ac_objext \
13011 conftest$ac_exeext conftest.$ac_ext
13012 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13014 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13016 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"
13017 else
13018 if test "$host_cpu" = ia64; then
13019 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13020 allow_undefined_flag_CXX="-z nodefs"
13021 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"
13022 else
13023 # Determine the default libpath from the value encoded in an
13024 # empty executable.
13025 if test x$gcc_no_link = xyes; then
13026 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13032 main ()
13036 return 0;
13038 _ACEOF
13039 if ac_fn_cxx_try_link "$LINENO"; then :
13041 lt_aix_libpath_sed='
13042 /Import File Strings/,/^$/ {
13043 /^0/ {
13044 s/^0 *\(.*\)$/\1/
13048 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13049 # Check for a 64-bit object if we didn't find anything.
13050 if test -z "$aix_libpath"; then
13051 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13054 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13058 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13059 # Warning - without using the other run time loading flags,
13060 # -berok will link without error, but may produce a broken library.
13061 no_undefined_flag_CXX=' ${wl}-bernotok'
13062 allow_undefined_flag_CXX=' ${wl}-berok'
13063 if test "$with_gnu_ld" = yes; then
13064 # We only use this code for GNU lds that support --whole-archive.
13065 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13066 else
13067 # Exported symbols can be pulled into shared objects from archives
13068 whole_archive_flag_spec_CXX='$convenience'
13070 archive_cmds_need_lc_CXX=yes
13071 # This is similar to how AIX traditionally builds its shared
13072 # libraries.
13073 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'
13078 beos*)
13079 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13080 allow_undefined_flag_CXX=unsupported
13081 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13082 # support --undefined. This deserves some investigation. FIXME
13083 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13084 else
13085 ld_shlibs_CXX=no
13089 chorus*)
13090 case $cc_basename in
13092 # FIXME: insert proper C++ library support
13093 ld_shlibs_CXX=no
13095 esac
13098 cygwin* | mingw* | pw32* | cegcc*)
13099 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13100 # as there is no search path for DLLs.
13101 hardcode_libdir_flag_spec_CXX='-L$libdir'
13102 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13103 allow_undefined_flag_CXX=unsupported
13104 always_export_symbols_CXX=no
13105 enable_shared_with_static_runtimes_CXX=yes
13107 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13108 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'
13109 # If the export-symbols file already is a .def file (1st line
13110 # is EXPORTS), use it as is; otherwise, prepend...
13111 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13112 cp $export_symbols $output_objdir/$soname.def;
13113 else
13114 echo EXPORTS > $output_objdir/$soname.def;
13115 cat $export_symbols >> $output_objdir/$soname.def;
13117 $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'
13118 else
13119 ld_shlibs_CXX=no
13122 darwin* | rhapsody*)
13125 archive_cmds_need_lc_CXX=no
13126 hardcode_direct_CXX=no
13127 hardcode_automatic_CXX=yes
13128 hardcode_shlibpath_var_CXX=unsupported
13129 if test "$lt_cv_ld_force_load" = "yes"; then
13130 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\"`'
13131 else
13132 whole_archive_flag_spec_CXX=''
13134 link_all_deplibs_CXX=yes
13135 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13136 case $cc_basename in
13137 ifort*) _lt_dar_can_shared=yes ;;
13138 *) _lt_dar_can_shared=$GCC ;;
13139 esac
13140 if test "$_lt_dar_can_shared" = "yes"; then
13141 output_verbose_link_cmd=func_echo_all
13142 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}"
13143 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13144 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}"
13145 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}"
13146 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13147 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}"
13148 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}"
13151 else
13152 ld_shlibs_CXX=no
13157 dgux*)
13158 case $cc_basename in
13159 ec++*)
13160 # FIXME: insert proper C++ library support
13161 ld_shlibs_CXX=no
13163 ghcx*)
13164 # Green Hills C++ Compiler
13165 # FIXME: insert proper C++ library support
13166 ld_shlibs_CXX=no
13169 # FIXME: insert proper C++ library support
13170 ld_shlibs_CXX=no
13172 esac
13175 freebsd2.*)
13176 # C++ shared libraries reported to be fairly broken before
13177 # switch to ELF
13178 ld_shlibs_CXX=no
13181 freebsd-elf*)
13182 archive_cmds_need_lc_CXX=no
13185 freebsd* | dragonfly*)
13186 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13187 # conventions
13188 ld_shlibs_CXX=yes
13191 gnu*)
13194 haiku*)
13195 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13196 link_all_deplibs_CXX=yes
13199 hpux9*)
13200 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13201 hardcode_libdir_separator_CXX=:
13202 export_dynamic_flag_spec_CXX='${wl}-E'
13203 hardcode_direct_CXX=yes
13204 hardcode_minus_L_CXX=yes # Not in the search PATH,
13205 # but as the default
13206 # location of the library.
13208 case $cc_basename in
13209 CC*)
13210 # FIXME: insert proper C++ library support
13211 ld_shlibs_CXX=no
13213 aCC*)
13214 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'
13215 # Commands to make compiler produce verbose output that lists
13216 # what "hidden" libraries, object files and flags are used when
13217 # linking a shared library.
13219 # There doesn't appear to be a way to prevent this compiler from
13220 # explicitly linking system object files so we need to strip them
13221 # from the output so that they don't get included in the library
13222 # dependencies.
13223 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"'
13226 if test "$GXX" = yes; then
13227 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'
13228 else
13229 # FIXME: insert proper C++ library support
13230 ld_shlibs_CXX=no
13233 esac
13236 hpux10*|hpux11*)
13237 if test $with_gnu_ld = no; then
13238 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13239 hardcode_libdir_separator_CXX=:
13241 case $host_cpu in
13242 hppa*64*|ia64*)
13245 export_dynamic_flag_spec_CXX='${wl}-E'
13247 esac
13249 case $host_cpu in
13250 hppa*64*|ia64*)
13251 hardcode_direct_CXX=no
13252 hardcode_shlibpath_var_CXX=no
13255 hardcode_direct_CXX=yes
13256 hardcode_direct_absolute_CXX=yes
13257 hardcode_minus_L_CXX=yes # Not in the search PATH,
13258 # but as the default
13259 # location of the library.
13261 esac
13263 case $cc_basename in
13264 CC*)
13265 # FIXME: insert proper C++ library support
13266 ld_shlibs_CXX=no
13268 aCC*)
13269 case $host_cpu in
13270 hppa*64*)
13271 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13273 ia64*)
13274 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13277 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13279 esac
13280 # Commands to make compiler produce verbose output that lists
13281 # what "hidden" libraries, object files and flags are used when
13282 # linking a shared library.
13284 # There doesn't appear to be a way to prevent this compiler from
13285 # explicitly linking system object files so we need to strip them
13286 # from the output so that they don't get included in the library
13287 # dependencies.
13288 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"'
13291 if test "$GXX" = yes; then
13292 if test $with_gnu_ld = no; then
13293 case $host_cpu in
13294 hppa*64*)
13295 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13297 ia64*)
13298 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13301 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'
13303 esac
13305 else
13306 # FIXME: insert proper C++ library support
13307 ld_shlibs_CXX=no
13310 esac
13313 interix[3-9]*)
13314 hardcode_direct_CXX=no
13315 hardcode_shlibpath_var_CXX=no
13316 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13317 export_dynamic_flag_spec_CXX='${wl}-E'
13318 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13319 # Instead, shared libraries are loaded at an image base (0x10000000 by
13320 # default) and relocated if they conflict, which is a slow very memory
13321 # consuming and fragmenting process. To avoid this, we pick a random,
13322 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13323 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13324 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'
13325 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'
13327 irix5* | irix6*)
13328 case $cc_basename in
13329 CC*)
13330 # SGI C++
13331 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'
13333 # Archives containing C++ object files must be created using
13334 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13335 # necessary to make sure instantiated templates are included
13336 # in the archive.
13337 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13340 if test "$GXX" = yes; then
13341 if test "$with_gnu_ld" = no; then
13342 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'
13343 else
13344 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'
13347 link_all_deplibs_CXX=yes
13349 esac
13350 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13351 hardcode_libdir_separator_CXX=:
13352 inherit_rpath_CXX=yes
13355 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13356 case $cc_basename in
13357 KCC*)
13358 # Kuck and Associates, Inc. (KAI) C++ Compiler
13360 # KCC will only create a shared library if the output file
13361 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13362 # to its proper name (with version) after linking.
13363 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'
13364 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'
13365 # Commands to make compiler produce verbose output that lists
13366 # what "hidden" libraries, object files and flags are used when
13367 # linking a shared library.
13369 # There doesn't appear to be a way to prevent this compiler from
13370 # explicitly linking system object files so we need to strip them
13371 # from the output so that they don't get included in the library
13372 # dependencies.
13373 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"'
13375 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13376 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13378 # Archives containing C++ object files must be created using
13379 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13380 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13382 icpc* | ecpc* )
13383 # Intel C++
13384 with_gnu_ld=yes
13385 # version 8.0 and above of icpc choke on multiply defined symbols
13386 # if we add $predep_objects and $postdep_objects, however 7.1 and
13387 # earlier do not add the objects themselves.
13388 case `$CC -V 2>&1` in
13389 *"Version 7."*)
13390 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13391 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'
13393 *) # Version 8.0 or newer
13394 tmp_idyn=
13395 case $host_cpu in
13396 ia64*) tmp_idyn=' -i_dynamic';;
13397 esac
13398 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13399 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'
13401 esac
13402 archive_cmds_need_lc_CXX=no
13403 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13404 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13405 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13407 pgCC* | pgcpp*)
13408 # Portland Group C++ compiler
13409 case `$CC -V` in
13410 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13411 prelink_cmds_CXX='tpldir=Template.dir~
13412 rm -rf $tpldir~
13413 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13414 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13415 old_archive_cmds_CXX='tpldir=Template.dir~
13416 rm -rf $tpldir~
13417 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13418 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13419 $RANLIB $oldlib'
13420 archive_cmds_CXX='tpldir=Template.dir~
13421 rm -rf $tpldir~
13422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13423 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13424 archive_expsym_cmds_CXX='tpldir=Template.dir~
13425 rm -rf $tpldir~
13426 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13427 $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'
13429 *) # Version 6 and above use weak symbols
13430 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13431 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'
13433 esac
13435 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13436 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13437 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'
13439 cxx*)
13440 # Compaq C++
13441 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13442 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'
13444 runpath_var=LD_RUN_PATH
13445 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13446 hardcode_libdir_separator_CXX=:
13448 # Commands to make compiler produce verbose output that lists
13449 # what "hidden" libraries, object files and flags are used when
13450 # linking a shared library.
13452 # There doesn't appear to be a way to prevent this compiler from
13453 # explicitly linking system object files so we need to strip them
13454 # from the output so that they don't get included in the library
13455 # dependencies.
13456 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'
13458 xl* | mpixl* | bgxl*)
13459 # IBM XL 8.0 on PPC, with GNU ld
13460 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13461 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13462 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13463 if test "x$supports_anon_versioning" = xyes; then
13464 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13465 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13466 echo "local: *; };" >> $output_objdir/$libname.ver~
13467 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13471 case `$CC -V 2>&1 | sed 5q` in
13472 *Sun\ C*)
13473 # Sun C++ 5.9
13474 no_undefined_flag_CXX=' -zdefs'
13475 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13476 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'
13477 hardcode_libdir_flag_spec_CXX='-R$libdir'
13478 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'
13479 compiler_needs_object_CXX=yes
13481 # Not sure whether something based on
13482 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13483 # would be better.
13484 output_verbose_link_cmd='func_echo_all'
13486 # Archives containing C++ object files must be created using
13487 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13488 # necessary to make sure instantiated templates are included
13489 # in the archive.
13490 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13492 esac
13494 esac
13497 lynxos*)
13498 # FIXME: insert proper C++ library support
13499 ld_shlibs_CXX=no
13502 m88k*)
13503 # FIXME: insert proper C++ library support
13504 ld_shlibs_CXX=no
13507 mvs*)
13508 case $cc_basename in
13509 cxx*)
13510 # FIXME: insert proper C++ library support
13511 ld_shlibs_CXX=no
13514 # FIXME: insert proper C++ library support
13515 ld_shlibs_CXX=no
13517 esac
13520 netbsd*)
13521 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13522 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13523 wlarc=
13524 hardcode_libdir_flag_spec_CXX='-R$libdir'
13525 hardcode_direct_CXX=yes
13526 hardcode_shlibpath_var_CXX=no
13528 # Workaround some broken pre-1.5 toolchains
13529 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13532 *nto* | *qnx*)
13533 ld_shlibs_CXX=yes
13536 openbsd2*)
13537 # C++ shared libraries are fairly broken
13538 ld_shlibs_CXX=no
13541 openbsd*)
13542 if test -f /usr/libexec/ld.so; then
13543 hardcode_direct_CXX=yes
13544 hardcode_shlibpath_var_CXX=no
13545 hardcode_direct_absolute_CXX=yes
13546 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13547 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13548 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13549 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13550 export_dynamic_flag_spec_CXX='${wl}-E'
13551 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13553 output_verbose_link_cmd=func_echo_all
13554 else
13555 ld_shlibs_CXX=no
13559 osf3* | osf4* | osf5*)
13560 case $cc_basename in
13561 KCC*)
13562 # Kuck and Associates, Inc. (KAI) C++ Compiler
13564 # KCC will only create a shared library if the output file
13565 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13566 # to its proper name (with version) after linking.
13567 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'
13569 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13570 hardcode_libdir_separator_CXX=:
13572 # Archives containing C++ object files must be created using
13573 # the KAI C++ compiler.
13574 case $host in
13575 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13576 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13577 esac
13579 RCC*)
13580 # Rational C++ 2.4.1
13581 # FIXME: insert proper C++ library support
13582 ld_shlibs_CXX=no
13584 cxx*)
13585 case $host in
13586 osf3*)
13587 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13588 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'
13589 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13592 allow_undefined_flag_CXX=' -expect_unresolved \*'
13593 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'
13594 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13595 echo "-hidden">> $lib.exp~
13596 $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~
13597 $RM $lib.exp'
13598 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13600 esac
13602 hardcode_libdir_separator_CXX=:
13604 # Commands to make compiler produce verbose output that lists
13605 # what "hidden" libraries, object files and flags are used when
13606 # linking a shared library.
13608 # There doesn't appear to be a way to prevent this compiler from
13609 # explicitly linking system object files so we need to strip them
13610 # from the output so that they don't get included in the library
13611 # dependencies.
13612 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"'
13615 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13616 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13617 case $host in
13618 osf3*)
13619 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'
13622 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'
13624 esac
13626 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13627 hardcode_libdir_separator_CXX=:
13629 # Commands to make compiler produce verbose output that lists
13630 # what "hidden" libraries, object files and flags are used when
13631 # linking a shared library.
13632 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13634 else
13635 # FIXME: insert proper C++ library support
13636 ld_shlibs_CXX=no
13639 esac
13642 psos*)
13643 # FIXME: insert proper C++ library support
13644 ld_shlibs_CXX=no
13647 sunos4*)
13648 case $cc_basename in
13649 CC*)
13650 # Sun C++ 4.x
13651 # FIXME: insert proper C++ library support
13652 ld_shlibs_CXX=no
13654 lcc*)
13655 # Lucid
13656 # FIXME: insert proper C++ library support
13657 ld_shlibs_CXX=no
13660 # FIXME: insert proper C++ library support
13661 ld_shlibs_CXX=no
13663 esac
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 archive_cmds_need_lc_CXX=yes
13671 no_undefined_flag_CXX=' -zdefs'
13672 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13673 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13674 $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'
13676 hardcode_libdir_flag_spec_CXX='-R$libdir'
13677 hardcode_shlibpath_var_CXX=no
13678 case $host_os in
13679 solaris2.[0-5] | solaris2.[0-5].*) ;;
13681 # The compiler driver will combine and reorder linker options,
13682 # but understands `-z linker_flag'.
13683 # Supported since Solaris 2.6 (maybe 2.5.1?)
13684 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13686 esac
13687 link_all_deplibs_CXX=yes
13689 output_verbose_link_cmd='func_echo_all'
13691 # Archives containing C++ object files must be created using
13692 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13693 # necessary to make sure instantiated templates are included
13694 # in the archive.
13695 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13697 gcx*)
13698 # Green Hills C++ Compiler
13699 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13701 # The C++ compiler must be used to create the archive.
13702 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13705 # GNU C++ compiler with Solaris linker
13706 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13707 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13708 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13709 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13710 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13711 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13713 # Commands to make compiler produce verbose output that lists
13714 # what "hidden" libraries, object files and flags are used when
13715 # linking a shared library.
13716 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13717 else
13718 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13719 # platform.
13720 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13721 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13722 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13724 # Commands to make compiler produce verbose output that lists
13725 # what "hidden" libraries, object files and flags are used when
13726 # linking a shared library.
13727 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13730 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13731 case $host_os in
13732 solaris2.[0-5] | solaris2.[0-5].*) ;;
13734 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13736 esac
13739 esac
13742 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13743 no_undefined_flag_CXX='${wl}-z,text'
13744 archive_cmds_need_lc_CXX=no
13745 hardcode_shlibpath_var_CXX=no
13746 runpath_var='LD_RUN_PATH'
13748 case $cc_basename in
13749 CC*)
13750 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13751 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13754 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13755 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13757 esac
13760 sysv5* | sco3.2v5* | sco5v6*)
13761 # Note: We can NOT use -z defs as we might desire, because we do not
13762 # link with -lc, and that would cause any symbols used from libc to
13763 # always be unresolved, which means just about no library would
13764 # ever link correctly. If we're not using GNU ld we use -z text
13765 # though, which does catch some bad symbols but isn't as heavy-handed
13766 # as -z defs.
13767 no_undefined_flag_CXX='${wl}-z,text'
13768 allow_undefined_flag_CXX='${wl}-z,nodefs'
13769 archive_cmds_need_lc_CXX=no
13770 hardcode_shlibpath_var_CXX=no
13771 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13772 hardcode_libdir_separator_CXX=':'
13773 link_all_deplibs_CXX=yes
13774 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13775 runpath_var='LD_RUN_PATH'
13777 case $cc_basename in
13778 CC*)
13779 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13780 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13781 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13782 '"$old_archive_cmds_CXX"
13783 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13784 '"$reload_cmds_CXX"
13787 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13788 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13790 esac
13793 tandem*)
13794 case $cc_basename in
13795 NCC*)
13796 # NonStop-UX NCC 3.20
13797 # FIXME: insert proper C++ library support
13798 ld_shlibs_CXX=no
13801 # FIXME: insert proper C++ library support
13802 ld_shlibs_CXX=no
13804 esac
13807 vxworks*)
13808 # FIXME: insert proper C++ library support
13809 ld_shlibs_CXX=no
13813 # FIXME: insert proper C++ library support
13814 ld_shlibs_CXX=no
13816 esac
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13819 $as_echo "$ld_shlibs_CXX" >&6; }
13820 test "$ld_shlibs_CXX" = no && can_build_shared=no
13822 GCC_CXX="$GXX"
13823 LD_CXX="$LD"
13825 ## CAVEAT EMPTOR:
13826 ## There is no encapsulation within the following macros, do not change
13827 ## the running order or otherwise move them around unless you know exactly
13828 ## what you are doing...
13829 # Dependencies to place before and after the object being linked:
13830 predep_objects_CXX=
13831 postdep_objects_CXX=
13832 predeps_CXX=
13833 postdeps_CXX=
13834 compiler_lib_search_path_CXX=
13836 cat > conftest.$ac_ext <<_LT_EOF
13837 class Foo
13839 public:
13840 Foo (void) { a = 0; }
13841 private:
13842 int a;
13844 _LT_EOF
13846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13847 (eval $ac_compile) 2>&5
13848 ac_status=$?
13849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13850 test $ac_status = 0; }; then
13851 # Parse the compiler output and extract the necessary
13852 # objects, libraries and library flags.
13854 # Sentinel used to keep track of whether or not we are before
13855 # the conftest object file.
13856 pre_test_object_deps_done=no
13858 for p in `eval "$output_verbose_link_cmd"`; do
13859 case $p in
13861 -L* | -R* | -l*)
13862 # Some compilers place space between "-{L,R}" and the path.
13863 # Remove the space.
13864 if test $p = "-L" ||
13865 test $p = "-R"; then
13866 prev=$p
13867 continue
13868 else
13869 prev=
13872 if test "$pre_test_object_deps_done" = no; then
13873 case $p in
13874 -L* | -R*)
13875 # Internal compiler library paths should come after those
13876 # provided the user. The postdeps already come after the
13877 # user supplied libs so there is no need to process them.
13878 if test -z "$compiler_lib_search_path_CXX"; then
13879 compiler_lib_search_path_CXX="${prev}${p}"
13880 else
13881 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13884 # The "-l" case would never come before the object being
13885 # linked, so don't bother handling this case.
13886 esac
13887 else
13888 if test -z "$postdeps_CXX"; then
13889 postdeps_CXX="${prev}${p}"
13890 else
13891 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13896 *.$objext)
13897 # This assumes that the test object file only shows up
13898 # once in the compiler output.
13899 if test "$p" = "conftest.$objext"; then
13900 pre_test_object_deps_done=yes
13901 continue
13904 if test "$pre_test_object_deps_done" = no; then
13905 if test -z "$predep_objects_CXX"; then
13906 predep_objects_CXX="$p"
13907 else
13908 predep_objects_CXX="$predep_objects_CXX $p"
13910 else
13911 if test -z "$postdep_objects_CXX"; then
13912 postdep_objects_CXX="$p"
13913 else
13914 postdep_objects_CXX="$postdep_objects_CXX $p"
13919 *) ;; # Ignore the rest.
13921 esac
13922 done
13924 # Clean up.
13925 rm -f a.out a.exe
13926 else
13927 echo "libtool.m4: error: problem compiling CXX test program"
13930 $RM -f confest.$objext
13932 # PORTME: override above test on systems where it is broken
13933 case $host_os in
13934 interix[3-9]*)
13935 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13936 # hack all around it, let's just trust "g++" to DTRT.
13937 predep_objects_CXX=
13938 postdep_objects_CXX=
13939 postdeps_CXX=
13942 linux*)
13943 case `$CC -V 2>&1 | sed 5q` in
13944 *Sun\ C*)
13945 # Sun C++ 5.9
13947 # The more standards-conforming stlport4 library is
13948 # incompatible with the Cstd library. Avoid specifying
13949 # it if it's in CXXFLAGS. Ignore libCrun as
13950 # -library=stlport4 depends on it.
13951 case " $CXX $CXXFLAGS " in
13952 *" -library=stlport4 "*)
13953 solaris_use_stlport4=yes
13955 esac
13957 if test "$solaris_use_stlport4" != yes; then
13958 postdeps_CXX='-library=Cstd -library=Crun'
13961 esac
13964 solaris*)
13965 case $cc_basename in
13966 CC*)
13967 # The more standards-conforming stlport4 library is
13968 # incompatible with the Cstd library. Avoid specifying
13969 # it if it's in CXXFLAGS. Ignore libCrun as
13970 # -library=stlport4 depends on it.
13971 case " $CXX $CXXFLAGS " in
13972 *" -library=stlport4 "*)
13973 solaris_use_stlport4=yes
13975 esac
13977 # Adding this requires a known-good setup of shared libraries for
13978 # Sun compiler versions before 5.6, else PIC objects from an old
13979 # archive will be linked into the output, leading to subtle bugs.
13980 if test "$solaris_use_stlport4" != yes; then
13981 postdeps_CXX='-library=Cstd -library=Crun'
13984 esac
13986 esac
13989 case " $postdeps_CXX " in
13990 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13991 esac
13992 compiler_lib_search_dirs_CXX=
13993 if test -n "${compiler_lib_search_path_CXX}"; then
13994 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14027 lt_prog_compiler_wl_CXX=
14028 lt_prog_compiler_pic_CXX=
14029 lt_prog_compiler_static_CXX=
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14032 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14034 # C++ specific cases for pic, static, wl, etc.
14035 if test "$GXX" = yes; then
14036 lt_prog_compiler_wl_CXX='-Wl,'
14037 lt_prog_compiler_static_CXX='-static'
14039 case $host_os in
14040 aix*)
14041 # All AIX code is PIC.
14042 if test "$host_cpu" = ia64; then
14043 # AIX 5 now supports IA64 processor
14044 lt_prog_compiler_static_CXX='-Bstatic'
14046 lt_prog_compiler_pic_CXX='-fPIC'
14049 amigaos*)
14050 case $host_cpu in
14051 powerpc)
14052 # see comment about AmigaOS4 .so support
14053 lt_prog_compiler_pic_CXX='-fPIC'
14055 m68k)
14056 # FIXME: we need at least 68020 code to build shared libraries, but
14057 # adding the `-m68020' flag to GCC prevents building anything better,
14058 # like `-m68040'.
14059 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14061 esac
14064 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14065 # PIC is the default for these OSes.
14067 mingw* | cygwin* | os2* | pw32* | cegcc*)
14068 # This hack is so that the source file can tell whether it is being
14069 # built for inclusion in a dll (and should export symbols for example).
14070 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14071 # (--disable-auto-import) libraries
14072 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14074 darwin* | rhapsody*)
14075 # PIC is the default on this platform
14076 # Common symbols not allowed in MH_DYLIB files
14077 lt_prog_compiler_pic_CXX='-fno-common'
14079 *djgpp*)
14080 # DJGPP does not support shared libraries at all
14081 lt_prog_compiler_pic_CXX=
14083 haiku*)
14084 # PIC is the default for Haiku.
14085 # The "-static" flag exists, but is broken.
14086 lt_prog_compiler_static_CXX=
14088 interix[3-9]*)
14089 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14090 # Instead, we relocate shared libraries at runtime.
14092 sysv4*MP*)
14093 if test -d /usr/nec; then
14094 lt_prog_compiler_pic_CXX=-Kconform_pic
14097 hpux*)
14098 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14099 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14100 # sets the default TLS model and affects inlining.
14101 case $host_cpu in
14102 hppa*64*)
14105 lt_prog_compiler_pic_CXX='-fPIC'
14107 esac
14109 *qnx* | *nto*)
14110 # QNX uses GNU C++, but need to define -shared option too, otherwise
14111 # it will coredump.
14112 lt_prog_compiler_pic_CXX='-fPIC -shared'
14115 lt_prog_compiler_pic_CXX='-fPIC'
14117 esac
14118 else
14119 case $host_os in
14120 aix[4-9]*)
14121 # All AIX code is PIC.
14122 if test "$host_cpu" = ia64; then
14123 # AIX 5 now supports IA64 processor
14124 lt_prog_compiler_static_CXX='-Bstatic'
14125 else
14126 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14129 chorus*)
14130 case $cc_basename in
14131 cxch68*)
14132 # Green Hills C++ Compiler
14133 # _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"
14135 esac
14137 dgux*)
14138 case $cc_basename in
14139 ec++*)
14140 lt_prog_compiler_pic_CXX='-KPIC'
14142 ghcx*)
14143 # Green Hills C++ Compiler
14144 lt_prog_compiler_pic_CXX='-pic'
14148 esac
14150 freebsd* | dragonfly*)
14151 # FreeBSD uses GNU C++
14153 hpux9* | hpux10* | hpux11*)
14154 case $cc_basename in
14155 CC*)
14156 lt_prog_compiler_wl_CXX='-Wl,'
14157 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14158 if test "$host_cpu" != ia64; then
14159 lt_prog_compiler_pic_CXX='+Z'
14162 aCC*)
14163 lt_prog_compiler_wl_CXX='-Wl,'
14164 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14165 case $host_cpu in
14166 hppa*64*|ia64*)
14167 # +Z the default
14170 lt_prog_compiler_pic_CXX='+Z'
14172 esac
14176 esac
14178 interix*)
14179 # This is c89, which is MS Visual C++ (no shared libs)
14180 # Anyone wants to do a port?
14182 irix5* | irix6* | nonstopux*)
14183 case $cc_basename in
14184 CC*)
14185 lt_prog_compiler_wl_CXX='-Wl,'
14186 lt_prog_compiler_static_CXX='-non_shared'
14187 # CC pic flag -KPIC is the default.
14191 esac
14193 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14194 case $cc_basename in
14195 KCC*)
14196 # KAI C++ Compiler
14197 lt_prog_compiler_wl_CXX='--backend -Wl,'
14198 lt_prog_compiler_pic_CXX='-fPIC'
14200 ecpc* )
14201 # old Intel C++ for x86_64 which still supported -KPIC.
14202 lt_prog_compiler_wl_CXX='-Wl,'
14203 lt_prog_compiler_pic_CXX='-KPIC'
14204 lt_prog_compiler_static_CXX='-static'
14206 icpc* )
14207 # Intel C++, used to be incompatible with GCC.
14208 # ICC 10 doesn't accept -KPIC any more.
14209 lt_prog_compiler_wl_CXX='-Wl,'
14210 lt_prog_compiler_pic_CXX='-fPIC'
14211 lt_prog_compiler_static_CXX='-static'
14213 pgCC* | pgcpp*)
14214 # Portland Group C++ compiler
14215 lt_prog_compiler_wl_CXX='-Wl,'
14216 lt_prog_compiler_pic_CXX='-fpic'
14217 lt_prog_compiler_static_CXX='-Bstatic'
14219 cxx*)
14220 # Compaq C++
14221 # Make sure the PIC flag is empty. It appears that all Alpha
14222 # Linux and Compaq Tru64 Unix objects are PIC.
14223 lt_prog_compiler_pic_CXX=
14224 lt_prog_compiler_static_CXX='-non_shared'
14226 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14227 # IBM XL 8.0, 9.0 on PPC and BlueGene
14228 lt_prog_compiler_wl_CXX='-Wl,'
14229 lt_prog_compiler_pic_CXX='-qpic'
14230 lt_prog_compiler_static_CXX='-qstaticlink'
14233 case `$CC -V 2>&1 | sed 5q` in
14234 *Sun\ C*)
14235 # Sun C++ 5.9
14236 lt_prog_compiler_pic_CXX='-KPIC'
14237 lt_prog_compiler_static_CXX='-Bstatic'
14238 lt_prog_compiler_wl_CXX='-Qoption ld '
14240 esac
14242 esac
14244 lynxos*)
14246 m88k*)
14248 mvs*)
14249 case $cc_basename in
14250 cxx*)
14251 lt_prog_compiler_pic_CXX='-W c,exportall'
14255 esac
14257 netbsd*)
14259 *qnx* | *nto*)
14260 # QNX uses GNU C++, but need to define -shared option too, otherwise
14261 # it will coredump.
14262 lt_prog_compiler_pic_CXX='-fPIC -shared'
14264 osf3* | osf4* | osf5*)
14265 case $cc_basename in
14266 KCC*)
14267 lt_prog_compiler_wl_CXX='--backend -Wl,'
14269 RCC*)
14270 # Rational C++ 2.4.1
14271 lt_prog_compiler_pic_CXX='-pic'
14273 cxx*)
14274 # Digital/Compaq C++
14275 lt_prog_compiler_wl_CXX='-Wl,'
14276 # Make sure the PIC flag is empty. It appears that all Alpha
14277 # Linux and Compaq Tru64 Unix objects are PIC.
14278 lt_prog_compiler_pic_CXX=
14279 lt_prog_compiler_static_CXX='-non_shared'
14283 esac
14285 psos*)
14287 solaris*)
14288 case $cc_basename in
14289 CC*)
14290 # Sun C++ 4.2, 5.x and Centerline C++
14291 lt_prog_compiler_pic_CXX='-KPIC'
14292 lt_prog_compiler_static_CXX='-Bstatic'
14293 lt_prog_compiler_wl_CXX='-Qoption ld '
14295 gcx*)
14296 # Green Hills C++ Compiler
14297 lt_prog_compiler_pic_CXX='-PIC'
14301 esac
14303 sunos4*)
14304 case $cc_basename in
14305 CC*)
14306 # Sun C++ 4.x
14307 lt_prog_compiler_pic_CXX='-pic'
14308 lt_prog_compiler_static_CXX='-Bstatic'
14310 lcc*)
14311 # Lucid
14312 lt_prog_compiler_pic_CXX='-pic'
14316 esac
14318 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14319 case $cc_basename in
14320 CC*)
14321 lt_prog_compiler_wl_CXX='-Wl,'
14322 lt_prog_compiler_pic_CXX='-KPIC'
14323 lt_prog_compiler_static_CXX='-Bstatic'
14325 esac
14327 tandem*)
14328 case $cc_basename in
14329 NCC*)
14330 # NonStop-UX NCC 3.20
14331 lt_prog_compiler_pic_CXX='-KPIC'
14335 esac
14337 vxworks*)
14340 lt_prog_compiler_can_build_shared_CXX=no
14342 esac
14345 case $host_os in
14346 # For platforms which do not support PIC, -DPIC is meaningless:
14347 *djgpp*)
14348 lt_prog_compiler_pic_CXX=
14351 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14353 esac
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14355 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14360 # Check to make sure the PIC flag actually works.
14362 if test -n "$lt_prog_compiler_pic_CXX"; then
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14364 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14365 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 lt_cv_prog_compiler_pic_works_CXX=no
14369 ac_outfile=conftest.$ac_objext
14370 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14371 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14372 # Insert the option either (1) after the last *FLAGS variable, or
14373 # (2) before a word containing "conftest.", or (3) at the end.
14374 # Note that $ac_compile itself does not contain backslashes and begins
14375 # with a dollar sign (not a hyphen), so the echo should work correctly.
14376 # The option is referenced via a variable to avoid confusing sed.
14377 lt_compile=`echo "$ac_compile" | $SED \
14378 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14379 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14380 -e 's:$: $lt_compiler_flag:'`
14381 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14382 (eval "$lt_compile" 2>conftest.err)
14383 ac_status=$?
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 if (exit $ac_status) && test -s "$ac_outfile"; then
14387 # The compiler can only warn and ignore the option if not recognized
14388 # So say no if there are warnings other than the usual output.
14389 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14390 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14391 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14392 lt_cv_prog_compiler_pic_works_CXX=yes
14395 $RM conftest*
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14399 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14401 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14402 case $lt_prog_compiler_pic_CXX in
14403 "" | " "*) ;;
14404 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14405 esac
14406 else
14407 lt_prog_compiler_pic_CXX=
14408 lt_prog_compiler_can_build_shared_CXX=no
14416 # Check to make sure the static flag actually works.
14418 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14420 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14421 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 lt_cv_prog_compiler_static_works_CXX=no
14425 save_LDFLAGS="$LDFLAGS"
14426 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14427 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14428 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14429 # The linker can only warn and ignore the option if not recognized
14430 # So say no if there are warnings
14431 if test -s conftest.err; then
14432 # Append any errors to the config.log.
14433 cat conftest.err 1>&5
14434 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14436 if diff conftest.exp conftest.er2 >/dev/null; then
14437 lt_cv_prog_compiler_static_works_CXX=yes
14439 else
14440 lt_cv_prog_compiler_static_works_CXX=yes
14443 $RM -r conftest*
14444 LDFLAGS="$save_LDFLAGS"
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14448 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14450 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14452 else
14453 lt_prog_compiler_static_CXX=
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14460 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14461 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 lt_cv_prog_compiler_c_o_CXX=no
14465 $RM -r conftest 2>/dev/null
14466 mkdir conftest
14467 cd conftest
14468 mkdir out
14469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14471 lt_compiler_flag="-o out/conftest2.$ac_objext"
14472 # Insert the option either (1) after the last *FLAGS variable, or
14473 # (2) before a word containing "conftest.", or (3) at the end.
14474 # Note that $ac_compile itself does not contain backslashes and begins
14475 # with a dollar sign (not a hyphen), so the echo should work correctly.
14476 lt_compile=`echo "$ac_compile" | $SED \
14477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14479 -e 's:$: $lt_compiler_flag:'`
14480 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14481 (eval "$lt_compile" 2>out/conftest.err)
14482 ac_status=$?
14483 cat out/conftest.err >&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14486 then
14487 # The compiler can only warn and ignore the option if not recognized
14488 # So say no if there are warnings
14489 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14490 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14491 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14492 lt_cv_prog_compiler_c_o_CXX=yes
14495 chmod u+w . 2>&5
14496 $RM conftest*
14497 # SGI C++ compiler will create directory out/ii_files/ for
14498 # template instantiation
14499 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14500 $RM out/* && rmdir out
14501 cd ..
14502 $RM -r conftest
14503 $RM conftest*
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14507 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14512 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14513 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 lt_cv_prog_compiler_c_o_CXX=no
14517 $RM -r conftest 2>/dev/null
14518 mkdir conftest
14519 cd conftest
14520 mkdir out
14521 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14523 lt_compiler_flag="-o out/conftest2.$ac_objext"
14524 # Insert the option either (1) after the last *FLAGS variable, or
14525 # (2) before a word containing "conftest.", or (3) at the end.
14526 # Note that $ac_compile itself does not contain backslashes and begins
14527 # with a dollar sign (not a hyphen), so the echo should work correctly.
14528 lt_compile=`echo "$ac_compile" | $SED \
14529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14531 -e 's:$: $lt_compiler_flag:'`
14532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14533 (eval "$lt_compile" 2>out/conftest.err)
14534 ac_status=$?
14535 cat out/conftest.err >&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14538 then
14539 # The compiler can only warn and ignore the option if not recognized
14540 # So say no if there are warnings
14541 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14542 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14543 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14544 lt_cv_prog_compiler_c_o_CXX=yes
14547 chmod u+w . 2>&5
14548 $RM conftest*
14549 # SGI C++ compiler will create directory out/ii_files/ for
14550 # template instantiation
14551 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14552 $RM out/* && rmdir out
14553 cd ..
14554 $RM -r conftest
14555 $RM conftest*
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14559 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14564 hard_links="nottested"
14565 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14566 # do not overwrite the value of need_locks provided by the user
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14568 $as_echo_n "checking if we can lock with hard links... " >&6; }
14569 hard_links=yes
14570 $RM conftest*
14571 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14572 touch conftest.a
14573 ln conftest.a conftest.b 2>&5 || hard_links=no
14574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14576 $as_echo "$hard_links" >&6; }
14577 if test "$hard_links" = no; then
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14579 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14580 need_locks=warn
14582 else
14583 need_locks=no
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14589 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14591 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14592 case $host_os in
14593 aix[4-9]*)
14594 # If we're using GNU nm, then we don't want the "-C" option.
14595 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14596 # Also, AIX nm treats weak defined symbols like other global defined
14597 # symbols, whereas GNU nm marks them as "W".
14598 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14599 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'
14600 else
14601 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'
14604 pw32*)
14605 export_symbols_cmds_CXX="$ltdll_cmds"
14607 cygwin* | mingw* | cegcc*)
14608 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'
14611 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14613 esac
14614 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14617 $as_echo "$ld_shlibs_CXX" >&6; }
14618 test "$ld_shlibs_CXX" = no && can_build_shared=no
14620 with_gnu_ld_CXX=$with_gnu_ld
14628 # Do we need to explicitly link libc?
14630 case "x$archive_cmds_need_lc_CXX" in
14631 x|xyes)
14632 # Assume -lc should be added
14633 archive_cmds_need_lc_CXX=yes
14635 if test "$enable_shared" = yes && test "$GCC" = yes; then
14636 case $archive_cmds_CXX in
14637 *'~'*)
14638 # FIXME: we may have to deal with multi-command sequences.
14640 '$CC '*)
14641 # Test whether the compiler implicitly links with -lc since on some
14642 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14643 # to ld, don't add -lc before -lgcc.
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14645 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14646 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 $RM conftest*
14650 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14653 (eval $ac_compile) 2>&5
14654 ac_status=$?
14655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14656 test $ac_status = 0; } 2>conftest.err; then
14657 soname=conftest
14658 lib=conftest
14659 libobjs=conftest.$ac_objext
14660 deplibs=
14661 wl=$lt_prog_compiler_wl_CXX
14662 pic_flag=$lt_prog_compiler_pic_CXX
14663 compiler_flags=-v
14664 linker_flags=-v
14665 verstring=
14666 output_objdir=.
14667 libname=conftest
14668 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14669 allow_undefined_flag_CXX=
14670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14671 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14672 ac_status=$?
14673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14674 test $ac_status = 0; }
14675 then
14676 lt_cv_archive_cmds_need_lc_CXX=no
14677 else
14678 lt_cv_archive_cmds_need_lc_CXX=yes
14680 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14681 else
14682 cat conftest.err 1>&5
14684 $RM conftest*
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14688 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14689 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14691 esac
14694 esac
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14760 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14762 library_names_spec=
14763 libname_spec='lib$name'
14764 soname_spec=
14765 shrext_cmds=".so"
14766 postinstall_cmds=
14767 postuninstall_cmds=
14768 finish_cmds=
14769 finish_eval=
14770 shlibpath_var=
14771 shlibpath_overrides_runpath=unknown
14772 version_type=none
14773 dynamic_linker="$host_os ld.so"
14774 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14775 need_lib_prefix=unknown
14776 hardcode_into_libs=no
14778 # when you set need_version to no, make sure it does not cause -set_version
14779 # flags to be left without arguments
14780 need_version=unknown
14782 case $host_os in
14783 aix3*)
14784 version_type=linux
14785 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14786 shlibpath_var=LIBPATH
14788 # AIX 3 has no versioning support, so we append a major version to the name.
14789 soname_spec='${libname}${release}${shared_ext}$major'
14792 aix[4-9]*)
14793 version_type=linux
14794 need_lib_prefix=no
14795 need_version=no
14796 hardcode_into_libs=yes
14797 if test "$host_cpu" = ia64; then
14798 # AIX 5 supports IA64
14799 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14800 shlibpath_var=LD_LIBRARY_PATH
14801 else
14802 # With GCC up to 2.95.x, collect2 would create an import file
14803 # for dependence libraries. The import file would start with
14804 # the line `#! .'. This would cause the generated library to
14805 # depend on `.', always an invalid library. This was fixed in
14806 # development snapshots of GCC prior to 3.0.
14807 case $host_os in
14808 aix4 | aix4.[01] | aix4.[01].*)
14809 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14810 echo ' yes '
14811 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14813 else
14814 can_build_shared=no
14817 esac
14818 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14819 # soname into executable. Probably we can add versioning support to
14820 # collect2, so additional links can be useful in future.
14821 if test "$aix_use_runtimelinking" = yes; then
14822 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14823 # instead of lib<name>.a to let people know that these are not
14824 # typical AIX shared libraries.
14825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826 else
14827 # We preserve .a as extension for shared libraries through AIX4.2
14828 # and later when we are not doing run time linking.
14829 library_names_spec='${libname}${release}.a $libname.a'
14830 soname_spec='${libname}${release}${shared_ext}$major'
14832 shlibpath_var=LIBPATH
14836 amigaos*)
14837 case $host_cpu in
14838 powerpc)
14839 # Since July 2007 AmigaOS4 officially supports .so libraries.
14840 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14843 m68k)
14844 library_names_spec='$libname.ixlibrary $libname.a'
14845 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14846 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'
14848 esac
14851 beos*)
14852 library_names_spec='${libname}${shared_ext}'
14853 dynamic_linker="$host_os ld.so"
14854 shlibpath_var=LIBRARY_PATH
14857 bsdi[45]*)
14858 version_type=linux
14859 need_version=no
14860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14861 soname_spec='${libname}${release}${shared_ext}$major'
14862 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14863 shlibpath_var=LD_LIBRARY_PATH
14864 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14865 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14866 # the default ld.so.conf also contains /usr/contrib/lib and
14867 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14868 # libtool to hard-code these into programs
14871 cygwin* | mingw* | pw32* | cegcc*)
14872 version_type=windows
14873 shrext_cmds=".dll"
14874 need_version=no
14875 need_lib_prefix=no
14877 case $GCC,$host_os in
14878 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14879 library_names_spec='$libname.dll.a'
14880 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14881 postinstall_cmds='base_file=`basename \${file}`~
14882 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14883 dldir=$destdir/`dirname \$dlpath`~
14884 test -d \$dldir || mkdir -p \$dldir~
14885 $install_prog $dir/$dlname \$dldir/$dlname~
14886 chmod a+x \$dldir/$dlname~
14887 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14888 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14890 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14891 dlpath=$dir/\$dldll~
14892 $RM \$dlpath'
14893 shlibpath_overrides_runpath=yes
14895 case $host_os in
14896 cygwin*)
14897 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14898 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14901 mingw* | cegcc*)
14902 # MinGW DLLs use traditional 'lib' prefix
14903 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14905 pw32*)
14906 # pw32 DLLs use 'pw' prefix rather than 'lib'
14907 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14909 esac
14913 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14915 esac
14916 dynamic_linker='Win32 ld.exe'
14917 # FIXME: first we should search . and the directory the executable is in
14918 shlibpath_var=PATH
14921 darwin* | rhapsody*)
14922 dynamic_linker="$host_os dyld"
14923 version_type=darwin
14924 need_lib_prefix=no
14925 need_version=no
14926 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14927 soname_spec='${libname}${release}${major}$shared_ext'
14928 shlibpath_overrides_runpath=yes
14929 shlibpath_var=DYLD_LIBRARY_PATH
14930 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14932 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14935 dgux*)
14936 version_type=linux
14937 need_lib_prefix=no
14938 need_version=no
14939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14940 soname_spec='${libname}${release}${shared_ext}$major'
14941 shlibpath_var=LD_LIBRARY_PATH
14944 freebsd* | dragonfly*)
14945 # DragonFly does not have aout. When/if they implement a new
14946 # versioning mechanism, adjust this.
14947 if test -x /usr/bin/objformat; then
14948 objformat=`/usr/bin/objformat`
14949 else
14950 case $host_os in
14951 freebsd[23].*) objformat=aout ;;
14952 *) objformat=elf ;;
14953 esac
14955 version_type=freebsd-$objformat
14956 case $version_type in
14957 freebsd-elf*)
14958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14959 need_version=no
14960 need_lib_prefix=no
14962 freebsd-*)
14963 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14964 need_version=yes
14966 esac
14967 shlibpath_var=LD_LIBRARY_PATH
14968 case $host_os in
14969 freebsd2.*)
14970 shlibpath_overrides_runpath=yes
14972 freebsd3.[01]* | freebsdelf3.[01]*)
14973 shlibpath_overrides_runpath=yes
14974 hardcode_into_libs=yes
14976 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14977 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14978 shlibpath_overrides_runpath=no
14979 hardcode_into_libs=yes
14981 *) # from 4.6 on, and DragonFly
14982 shlibpath_overrides_runpath=yes
14983 hardcode_into_libs=yes
14985 esac
14988 gnu*)
14989 version_type=linux
14990 need_lib_prefix=no
14991 need_version=no
14992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14993 soname_spec='${libname}${release}${shared_ext}$major'
14994 shlibpath_var=LD_LIBRARY_PATH
14995 hardcode_into_libs=yes
14998 haiku*)
14999 version_type=linux
15000 need_lib_prefix=no
15001 need_version=no
15002 dynamic_linker="$host_os runtime_loader"
15003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15004 soname_spec='${libname}${release}${shared_ext}$major'
15005 shlibpath_var=LIBRARY_PATH
15006 shlibpath_overrides_runpath=yes
15007 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15008 hardcode_into_libs=yes
15011 hpux9* | hpux10* | hpux11*)
15012 # Give a soname corresponding to the major version so that dld.sl refuses to
15013 # link against other versions.
15014 version_type=sunos
15015 need_lib_prefix=no
15016 need_version=no
15017 case $host_cpu in
15018 ia64*)
15019 shrext_cmds='.so'
15020 hardcode_into_libs=yes
15021 dynamic_linker="$host_os dld.so"
15022 shlibpath_var=LD_LIBRARY_PATH
15023 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15025 soname_spec='${libname}${release}${shared_ext}$major'
15026 if test "X$HPUX_IA64_MODE" = X32; then
15027 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15028 else
15029 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15031 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15033 hppa*64*)
15034 shrext_cmds='.sl'
15035 hardcode_into_libs=yes
15036 dynamic_linker="$host_os dld.sl"
15037 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15038 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15040 soname_spec='${libname}${release}${shared_ext}$major'
15041 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15042 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15045 shrext_cmds='.sl'
15046 dynamic_linker="$host_os dld.sl"
15047 shlibpath_var=SHLIB_PATH
15048 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15050 soname_spec='${libname}${release}${shared_ext}$major'
15052 esac
15053 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15054 postinstall_cmds='chmod 555 $lib'
15055 # or fails outright, so override atomically:
15056 install_override_mode=555
15059 interix[3-9]*)
15060 version_type=linux
15061 need_lib_prefix=no
15062 need_version=no
15063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15064 soname_spec='${libname}${release}${shared_ext}$major'
15065 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15066 shlibpath_var=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath=no
15068 hardcode_into_libs=yes
15071 irix5* | irix6* | nonstopux*)
15072 case $host_os in
15073 nonstopux*) version_type=nonstopux ;;
15075 if test "$lt_cv_prog_gnu_ld" = yes; then
15076 version_type=linux
15077 else
15078 version_type=irix
15079 fi ;;
15080 esac
15081 need_lib_prefix=no
15082 need_version=no
15083 soname_spec='${libname}${release}${shared_ext}$major'
15084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15085 case $host_os in
15086 irix5* | nonstopux*)
15087 libsuff= shlibsuff=
15090 case $LD in # libtool.m4 will add one of these switches to LD
15091 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15092 libsuff= shlibsuff= libmagic=32-bit;;
15093 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15094 libsuff=32 shlibsuff=N32 libmagic=N32;;
15095 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15096 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15097 *) libsuff= shlibsuff= libmagic=never-match;;
15098 esac
15100 esac
15101 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15102 shlibpath_overrides_runpath=no
15103 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15104 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15105 hardcode_into_libs=yes
15108 # No shared lib support for Linux oldld, aout, or coff.
15109 linux*oldld* | linux*aout* | linux*coff*)
15110 dynamic_linker=no
15113 # This must be Linux ELF.
15115 # uclinux* changes (here and below) have been submitted to the libtool
15116 # project, but have not yet been accepted: they are GCC-local changes
15117 # for the time being. (See
15118 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15119 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15120 version_type=linux
15121 need_lib_prefix=no
15122 need_version=no
15123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15124 soname_spec='${libname}${release}${shared_ext}$major'
15125 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15126 shlibpath_var=LD_LIBRARY_PATH
15127 shlibpath_overrides_runpath=no
15129 # Some binutils ld are patched to set DT_RUNPATH
15130 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 lt_cv_shlibpath_overrides_runpath=no
15134 save_LDFLAGS=$LDFLAGS
15135 save_libdir=$libdir
15136 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15137 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15138 if test x$gcc_no_link = xyes; then
15139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15145 main ()
15149 return 0;
15151 _ACEOF
15152 if ac_fn_cxx_try_link "$LINENO"; then :
15153 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15154 lt_cv_shlibpath_overrides_runpath=yes
15157 rm -f core conftest.err conftest.$ac_objext \
15158 conftest$ac_exeext conftest.$ac_ext
15159 LDFLAGS=$save_LDFLAGS
15160 libdir=$save_libdir
15164 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15166 # This implies no fast_install, which is unacceptable.
15167 # Some rework will be needed to allow for fast_install
15168 # before this can be enabled.
15169 hardcode_into_libs=yes
15171 # Append ld.so.conf contents to the search path
15172 if test -f /etc/ld.so.conf; then
15173 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' ' '`
15174 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15177 # We used to test for /lib/ld.so.1 and disable shared libraries on
15178 # powerpc, because MkLinux only supported shared libraries with the
15179 # GNU dynamic linker. Since this was broken with cross compilers,
15180 # most powerpc-linux boxes support dynamic linking these days and
15181 # people can always --disable-shared, the test was removed, and we
15182 # assume the GNU/Linux dynamic linker is in use.
15183 dynamic_linker='GNU/Linux ld.so'
15186 netbsd*)
15187 version_type=sunos
15188 need_lib_prefix=no
15189 need_version=no
15190 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15192 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15193 dynamic_linker='NetBSD (a.out) ld.so'
15194 else
15195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15196 soname_spec='${libname}${release}${shared_ext}$major'
15197 dynamic_linker='NetBSD ld.elf_so'
15199 shlibpath_var=LD_LIBRARY_PATH
15200 shlibpath_overrides_runpath=yes
15201 hardcode_into_libs=yes
15204 newsos6)
15205 version_type=linux
15206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15207 shlibpath_var=LD_LIBRARY_PATH
15208 shlibpath_overrides_runpath=yes
15211 *nto* | *qnx*)
15212 version_type=qnx
15213 need_lib_prefix=no
15214 need_version=no
15215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15216 soname_spec='${libname}${release}${shared_ext}$major'
15217 shlibpath_var=LD_LIBRARY_PATH
15218 shlibpath_overrides_runpath=no
15219 hardcode_into_libs=yes
15220 dynamic_linker='ldqnx.so'
15223 openbsd*)
15224 version_type=sunos
15225 sys_lib_dlsearch_path_spec="/usr/lib"
15226 need_lib_prefix=no
15227 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15228 case $host_os in
15229 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15230 *) need_version=no ;;
15231 esac
15232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15233 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15234 shlibpath_var=LD_LIBRARY_PATH
15235 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15236 case $host_os in
15237 openbsd2.[89] | openbsd2.[89].*)
15238 shlibpath_overrides_runpath=no
15241 shlibpath_overrides_runpath=yes
15243 esac
15244 else
15245 shlibpath_overrides_runpath=yes
15249 os2*)
15250 libname_spec='$name'
15251 shrext_cmds=".dll"
15252 need_lib_prefix=no
15253 library_names_spec='$libname${shared_ext} $libname.a'
15254 dynamic_linker='OS/2 ld.exe'
15255 shlibpath_var=LIBPATH
15258 osf3* | osf4* | osf5*)
15259 version_type=osf
15260 need_lib_prefix=no
15261 need_version=no
15262 soname_spec='${libname}${release}${shared_ext}$major'
15263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15264 shlibpath_var=LD_LIBRARY_PATH
15265 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15266 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15269 rdos*)
15270 dynamic_linker=no
15273 solaris*)
15274 version_type=linux
15275 need_lib_prefix=no
15276 need_version=no
15277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15278 soname_spec='${libname}${release}${shared_ext}$major'
15279 shlibpath_var=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath=yes
15281 hardcode_into_libs=yes
15282 # ldd complains unless libraries are executable
15283 postinstall_cmds='chmod +x $lib'
15286 sunos4*)
15287 version_type=sunos
15288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15289 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15290 shlibpath_var=LD_LIBRARY_PATH
15291 shlibpath_overrides_runpath=yes
15292 if test "$with_gnu_ld" = yes; then
15293 need_lib_prefix=no
15295 need_version=yes
15298 sysv4 | sysv4.3*)
15299 version_type=linux
15300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15301 soname_spec='${libname}${release}${shared_ext}$major'
15302 shlibpath_var=LD_LIBRARY_PATH
15303 case $host_vendor in
15304 sni)
15305 shlibpath_overrides_runpath=no
15306 need_lib_prefix=no
15307 runpath_var=LD_RUN_PATH
15309 siemens)
15310 need_lib_prefix=no
15312 motorola)
15313 need_lib_prefix=no
15314 need_version=no
15315 shlibpath_overrides_runpath=no
15316 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15318 esac
15321 sysv4*MP*)
15322 if test -d /usr/nec ;then
15323 version_type=linux
15324 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15325 soname_spec='$libname${shared_ext}.$major'
15326 shlibpath_var=LD_LIBRARY_PATH
15330 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15331 version_type=freebsd-elf
15332 need_lib_prefix=no
15333 need_version=no
15334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15335 soname_spec='${libname}${release}${shared_ext}$major'
15336 shlibpath_var=LD_LIBRARY_PATH
15337 shlibpath_overrides_runpath=yes
15338 hardcode_into_libs=yes
15339 if test "$with_gnu_ld" = yes; then
15340 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15341 else
15342 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15343 case $host_os in
15344 sco3.2v5*)
15345 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15347 esac
15349 sys_lib_dlsearch_path_spec='/usr/lib'
15352 tpf*)
15353 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15354 version_type=linux
15355 need_lib_prefix=no
15356 need_version=no
15357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15358 shlibpath_var=LD_LIBRARY_PATH
15359 shlibpath_overrides_runpath=no
15360 hardcode_into_libs=yes
15363 uts4*)
15364 version_type=linux
15365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366 soname_spec='${libname}${release}${shared_ext}$major'
15367 shlibpath_var=LD_LIBRARY_PATH
15371 dynamic_linker=no
15373 esac
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15375 $as_echo "$dynamic_linker" >&6; }
15376 test "$dynamic_linker" = no && can_build_shared=no
15378 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15379 if test "$GCC" = yes; then
15380 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15383 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15384 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15386 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15387 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15428 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15429 hardcode_action_CXX=
15430 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15431 test -n "$runpath_var_CXX" ||
15432 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15434 # We can hardcode non-existent directories.
15435 if test "$hardcode_direct_CXX" != no &&
15436 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15437 # have to relink, otherwise we might link with an installed library
15438 # when we should be linking with a yet-to-be-installed one
15439 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15440 test "$hardcode_minus_L_CXX" != no; then
15441 # Linking always hardcodes the temporary library directory.
15442 hardcode_action_CXX=relink
15443 else
15444 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15445 hardcode_action_CXX=immediate
15447 else
15448 # We cannot hardcode anything, or else we can only hardcode existing
15449 # directories.
15450 hardcode_action_CXX=unsupported
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15453 $as_echo "$hardcode_action_CXX" >&6; }
15455 if test "$hardcode_action_CXX" = relink ||
15456 test "$inherit_rpath_CXX" = yes; then
15457 # Fast installation is not supported
15458 enable_fast_install=no
15459 elif test "$shlibpath_overrides_runpath" = yes ||
15460 test "$enable_shared" = no; then
15461 # Fast installation is not necessary
15462 enable_fast_install=needless
15471 fi # test -n "$compiler"
15473 CC=$lt_save_CC
15474 LDCXX=$LD
15475 LD=$lt_save_LD
15476 GCC=$lt_save_GCC
15477 with_gnu_ld=$lt_save_with_gnu_ld
15478 lt_cv_path_LDCXX=$lt_cv_path_LD
15479 lt_cv_path_LD=$lt_save_path_LD
15480 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15481 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15482 fi # test "$_lt_caught_CXX_error" != yes
15484 ac_ext=c
15485 ac_cpp='$CPP $CPPFLAGS'
15486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15502 ac_config_commands="$ac_config_commands libtool"
15507 # Only expand once:
15513 case $host in
15514 *-cygwin* | *-mingw*)
15515 # 'host' will be top-level target in the case of a target lib,
15516 # we must compare to with_cross_host to decide if this is a native
15517 # or cross-compiler and select where to install dlls appropriately.
15518 if test -n "$with_cross_host" &&
15519 test x"$with_cross_host" != x"no"; then
15520 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15521 else
15522 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15526 lt_host_flags=
15528 esac
15535 if test "$enable_vtable_verify" = yes; then
15536 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15537 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15541 # libtool variables for C++ shared and position-independent compiles.
15543 # Use glibcxx_lt_pic_flag to designate the automake variable
15544 # used to encapsulate the default libtool approach to creating objects
15545 # with position-independent code. Default: -prefer-pic.
15547 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15548 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15550 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15551 # creating position-independent objects. This varies with the target
15552 # hardware and operating system, but is often: -DPIC -fPIC.
15553 if test "$enable_shared" = yes; then
15554 glibcxx_lt_pic_flag="-prefer-pic"
15555 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15556 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15558 else
15559 glibcxx_lt_pic_flag=
15560 glibcxx_compiler_pic_flag=
15561 glibcxx_compiler_shared_flag=
15567 # Override the libtool's pic_flag and pic_mode.
15568 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15569 # NB: this impacts --with-pic and --without-pic.
15570 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15571 pic_mode='default'
15573 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15574 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15576 # Possibly disable most of the library.
15577 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15578 ## than just ignoring the results. Faster /and/ more correct, win win.
15580 # Check whether --enable-hosted-libstdcxx was given.
15581 if test "${enable_hosted_libstdcxx+set}" = set; then :
15582 enableval=$enable_hosted_libstdcxx;
15583 else
15584 case "$host" in
15585 arm*-*-symbianelf*)
15586 enable_hosted_libstdcxx=no
15589 enable_hosted_libstdcxx=yes
15591 esac
15594 if test "$enable_hosted_libstdcxx" = no; then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15596 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15597 is_hosted=no
15598 hosted_define=0
15599 enable_abi_check=no
15600 enable_libstdcxx_pch=no
15601 else
15602 is_hosted=yes
15603 hosted_define=1
15607 cat >>confdefs.h <<_ACEOF
15608 #define _GLIBCXX_HOSTED $hosted_define
15609 _ACEOF
15613 # Enable descriptive messages to standard output on termination.
15615 # Check whether --enable-libstdcxx-verbose was given.
15616 if test "${enable_libstdcxx_verbose+set}" = set; then :
15617 enableval=$enable_libstdcxx_verbose;
15618 else
15619 enable_libstdcxx_verbose=yes
15622 if test x"$enable_libstdcxx_verbose" = xyes; then
15623 verbose_define=1
15624 else
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15626 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15627 verbose_define=0
15630 cat >>confdefs.h <<_ACEOF
15631 #define _GLIBCXX_VERBOSE $verbose_define
15632 _ACEOF
15636 # Enable compiler support that doesn't require linking.
15638 # Check whether --enable-libstdcxx-pch was given.
15639 if test "${enable_libstdcxx_pch+set}" = set; then :
15640 enableval=$enable_libstdcxx_pch;
15641 case "$enableval" in
15642 yes|no) ;;
15643 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15644 esac
15646 else
15647 enable_libstdcxx_pch=$is_hosted
15651 if test $enable_libstdcxx_pch = yes; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15653 $as_echo_n "checking for compiler with PCH support... " >&6; }
15654 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15655 $as_echo_n "(cached) " >&6
15656 else
15657 ac_save_CXXFLAGS="$CXXFLAGS"
15658 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15660 ac_ext=cpp
15661 ac_cpp='$CXXCPP $CPPFLAGS'
15662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15666 echo '#include <math.h>' > conftest.h
15667 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15668 -o conftest.h.gch 1>&5 2>&1 &&
15669 echo '#error "pch failed"' > conftest.h &&
15670 echo '#include "conftest.h"' > conftest.cc &&
15671 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15672 then
15673 glibcxx_cv_prog_CXX_pch=yes
15674 else
15675 glibcxx_cv_prog_CXX_pch=no
15677 rm -f conftest*
15678 CXXFLAGS=$ac_save_CXXFLAGS
15679 ac_ext=c
15680 ac_cpp='$CPP $CPPFLAGS'
15681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15688 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15689 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15693 $as_echo_n "checking for enabled PCH... " >&6; }
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15695 $as_echo "$enable_libstdcxx_pch" >&6; }
15698 if test $enable_libstdcxx_pch = yes; then
15699 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15700 else
15701 glibcxx_PCHFLAGS=""
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15707 $as_echo_n "checking for thread model used by GCC... " >&6; }
15708 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15710 $as_echo "$target_thread_file" >&6; }
15712 case $target_thread_file in
15713 aix) thread_header=config/rs6000/gthr-aix.h ;;
15714 dce) thread_header=config/pa/gthr-dce.h ;;
15715 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15716 lynx) thread_header=config/gthr-lynx.h ;;
15717 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15718 posix) thread_header=gthr-posix.h ;;
15719 rtems) thread_header=config/gthr-rtems.h ;;
15720 single) thread_header=gthr-single.h ;;
15721 tpf) thread_header=config/s390/gthr-tpf.h ;;
15722 vxworks) thread_header=config/gthr-vxworks.h ;;
15723 win32) thread_header=config/i386/gthr-win32.h ;;
15724 esac
15730 ac_ext=cpp
15731 ac_cpp='$CXXCPP $CPPFLAGS'
15732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15736 old_CXXFLAGS="$CXXFLAGS"
15738 # Do link tests if possible, instead asm tests, limited to some platforms
15739 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15740 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15741 atomic_builtins_link_tests=no
15742 if test x$gcc_no_link != xyes; then
15743 # Can do link tests. Limit to some tested platforms
15744 case "$host" in
15745 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15746 atomic_builtins_link_tests=yes
15748 esac
15751 if test x$atomic_builtins_link_tests = xyes; then
15753 # Do link tests.
15755 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15758 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15759 if ${glibcxx_cv_atomic_bool+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15763 if test x$gcc_no_link = xyes; then
15764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15770 main ()
15772 typedef bool atomic_type;
15773 atomic_type c1;
15774 atomic_type c2;
15775 atomic_type c3(0);
15776 // N.B. __atomic_fetch_add is not supported for bool.
15777 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15778 __ATOMIC_RELAXED);
15779 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15780 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15783 return 0;
15785 _ACEOF
15786 if ac_fn_cxx_try_link "$LINENO"; then :
15787 glibcxx_cv_atomic_bool=yes
15788 else
15789 glibcxx_cv_atomic_bool=no
15791 rm -f core conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext conftest.$ac_ext
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15797 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15800 $as_echo_n "checking for atomic builtins for short... " >&6; }
15801 if ${glibcxx_cv_atomic_short+:} false; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15805 if test x$gcc_no_link = xyes; then
15806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15812 main ()
15814 typedef short atomic_type;
15815 atomic_type c1;
15816 atomic_type c2;
15817 atomic_type c3(0);
15818 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15819 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15820 __ATOMIC_RELAXED);
15821 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15822 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15825 return 0;
15827 _ACEOF
15828 if ac_fn_cxx_try_link "$LINENO"; then :
15829 glibcxx_cv_atomic_short=yes
15830 else
15831 glibcxx_cv_atomic_short=no
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15839 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15842 $as_echo_n "checking for atomic builtins for int... " >&6; }
15843 if ${glibcxx_cv_atomic_int+:} false; then :
15844 $as_echo_n "(cached) " >&6
15845 else
15847 if test x$gcc_no_link = xyes; then
15848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15854 main ()
15856 typedef int atomic_type;
15857 atomic_type c1;
15858 atomic_type c2;
15859 atomic_type c3(0);
15860 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15861 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15862 __ATOMIC_RELAXED);
15863 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15864 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15867 return 0;
15869 _ACEOF
15870 if ac_fn_cxx_try_link "$LINENO"; then :
15871 glibcxx_cv_atomic_int=yes
15872 else
15873 glibcxx_cv_atomic_int=no
15875 rm -f core conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15881 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15884 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15885 if ${glibcxx_cv_atomic_long_long+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15889 if test x$gcc_no_link = xyes; then
15890 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15896 main ()
15898 typedef long long 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);
15909 return 0;
15911 _ACEOF
15912 if ac_fn_cxx_try_link "$LINENO"; then :
15913 glibcxx_cv_atomic_long_long=yes
15914 else
15915 glibcxx_cv_atomic_long_long=no
15917 rm -f core conftest.err conftest.$ac_objext \
15918 conftest$ac_exeext conftest.$ac_ext
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15923 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15925 else
15927 # Do asm tests.
15929 # Compile unoptimized.
15930 CXXFLAGS='-O0 -S'
15932 # Fake what AC_TRY_COMPILE does.
15934 cat > conftest.$ac_ext << EOF
15935 #line 15935 "configure"
15936 int main()
15938 typedef bool atomic_type;
15939 atomic_type c1;
15940 atomic_type c2;
15941 atomic_type c3(0);
15942 // N.B. __atomic_fetch_add is not supported for bool.
15943 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15944 __ATOMIC_RELAXED);
15945 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15946 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15948 return 0;
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15953 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15955 (eval $ac_compile) 2>&5
15956 ac_status=$?
15957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15958 test $ac_status = 0; }; then
15959 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15960 glibcxx_cv_atomic_bool=no
15961 else
15962 glibcxx_cv_atomic_bool=yes
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15966 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15967 rm -f conftest*
15969 cat > conftest.$ac_ext << EOF
15970 #line 15970 "configure"
15971 int main()
15973 typedef short atomic_type;
15974 atomic_type c1;
15975 atomic_type c2;
15976 atomic_type c3(0);
15977 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15978 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15979 __ATOMIC_RELAXED);
15980 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15981 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15983 return 0;
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15988 $as_echo_n "checking for atomic builtins for short... " >&6; }
15989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15990 (eval $ac_compile) 2>&5
15991 ac_status=$?
15992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15993 test $ac_status = 0; }; then
15994 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15995 glibcxx_cv_atomic_short=no
15996 else
15997 glibcxx_cv_atomic_short=yes
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16001 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16002 rm -f conftest*
16004 cat > conftest.$ac_ext << EOF
16005 #line 16005 "configure"
16006 int main()
16008 // NB: _Atomic_word not necessarily int.
16009 typedef int atomic_type;
16010 atomic_type c1;
16011 atomic_type c2;
16012 atomic_type c3(0);
16013 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16014 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16015 __ATOMIC_RELAXED);
16016 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16017 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16019 return 0;
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16024 $as_echo_n "checking for atomic builtins for int... " >&6; }
16025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16026 (eval $ac_compile) 2>&5
16027 ac_status=$?
16028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16029 test $ac_status = 0; }; then
16030 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16031 glibcxx_cv_atomic_int=no
16032 else
16033 glibcxx_cv_atomic_int=yes
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16037 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16038 rm -f conftest*
16040 cat > conftest.$ac_ext << EOF
16041 #line 16041 "configure"
16042 int main()
16044 typedef long long atomic_type;
16045 atomic_type c1;
16046 atomic_type c2;
16047 atomic_type c3(0);
16048 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16049 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16050 __ATOMIC_RELAXED);
16051 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16052 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16054 return 0;
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16059 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16061 (eval $ac_compile) 2>&5
16062 ac_status=$?
16063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16064 test $ac_status = 0; }; then
16065 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16066 glibcxx_cv_atomic_long_long=no
16067 else
16068 glibcxx_cv_atomic_long_long=yes
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16072 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16073 rm -f conftest*
16077 CXXFLAGS="$old_CXXFLAGS"
16078 ac_ext=c
16079 ac_cpp='$CPP $CPPFLAGS'
16080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16085 # Set atomicity_dir to builtins if all but the long long test above passes,
16086 # or if the builtins were already chosen (e.g. by configure.host).
16087 if { test "$glibcxx_cv_atomic_bool" = yes \
16088 && test "$glibcxx_cv_atomic_short" = yes \
16089 && test "$glibcxx_cv_atomic_int" = yes; } \
16090 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16092 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16094 atomicity_dir=cpu/generic/atomicity_builtins
16097 # If still generic, set to mutex.
16098 if test $atomicity_dir = "cpu/generic" ; then
16099 atomicity_dir=cpu/generic/atomicity_mutex
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16101 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16102 if test "x$target_thread_file" = xsingle; then
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16104 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16106 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16107 else
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16109 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16111 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16119 # Check whether --with-libstdcxx-lock-policy was given.
16120 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16121 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16122 else
16123 libstdcxx_atomic_lock_policy=auto
16127 case "$libstdcxx_atomic_lock_policy" in
16128 atomic|mutex|auto) ;;
16129 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16130 esac
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16132 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16134 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16136 ac_ext=cpp
16137 ac_cpp='$CXXCPP $CPPFLAGS'
16138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16142 ac_save_CXXFLAGS="$CXXFLAGS"
16144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16145 /* end confdefs.h. */
16147 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16148 # error "No 2-byte compare-and-swap"
16149 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16150 # error "No 4-byte compare-and-swap"
16151 #endif
16154 main ()
16158 return 0;
16160 _ACEOF
16161 if ac_fn_cxx_try_compile "$LINENO"; then :
16162 libstdcxx_atomic_lock_policy=atomic
16163 else
16164 libstdcxx_atomic_lock_policy=mutex
16166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16167 ac_ext=c
16168 ac_cpp='$CPP $CPPFLAGS'
16169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16173 CXXFLAGS="$ac_save_CXXFLAGS"
16176 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16178 $as_echo "atomic" >&6; }
16180 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16182 else
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16184 $as_echo "mutex" >&6; }
16190 # Fake what AC_TRY_COMPILE does, without linking as this is
16191 # unnecessary for this test.
16193 cat > conftest.$ac_ext << EOF
16194 #line 16194 "configure"
16195 int main()
16197 _Decimal32 d1;
16198 _Decimal64 d2;
16199 _Decimal128 d3;
16200 return 0;
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16205 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16207 (eval $ac_compile) 2>&5
16208 ac_status=$?
16209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16210 test $ac_status = 0; }; then
16212 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16214 enable_dfp=yes
16215 else
16216 enable_dfp=no
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16219 $as_echo "$enable_dfp" >&6; }
16220 rm -f conftest*
16225 ac_ext=cpp
16226 ac_cpp='$CXXCPP $CPPFLAGS'
16227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16232 # Fake what AC_TRY_COMPILE does, without linking as this is
16233 # unnecessary for this test.
16235 cat > conftest.$ac_ext << EOF
16236 #line 16236 "configure"
16237 template<typename T1, typename T2>
16238 struct same
16239 { typedef T2 type; };
16241 template<typename T>
16242 struct same<T, T>;
16244 int main()
16246 typename same<long, __int128>::type i1;
16247 typename same<long long, __int128>::type i2;
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16252 $as_echo_n "checking for __int128... " >&6; }
16253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16254 (eval $ac_compile) 2>&5
16255 ac_status=$?
16256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16257 test $ac_status = 0; }; then
16259 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16261 enable_int128=yes
16262 else
16263 enable_int128=no
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16266 $as_echo "$enable_int128" >&6; }
16267 rm -f conftest*
16269 cat > conftest.$ac_ext << EOF
16270 #line 16270 "configure"
16271 template<typename T1, typename T2>
16272 struct same
16273 { typedef T2 type; };
16275 template<typename T>
16276 struct same<T, T>;
16278 int main()
16280 typename same<double, __float128>::type f1;
16281 typename same<long double, __float128>::type f2;
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16286 $as_echo_n "checking for __float128... " >&6; }
16287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16288 (eval $ac_compile) 2>&5
16289 ac_status=$?
16290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16291 test $ac_status = 0; }; then
16292 enable_float128=yes
16293 else
16294 enable_float128=no
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16297 $as_echo "$enable_float128" >&6; }
16299 rm -f conftest*
16301 ac_ext=c
16302 ac_cpp='$CPP $CPPFLAGS'
16303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16308 if test "$enable_float128" = yes; then
16309 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16312 # Checks for compiler support that doesn't require linking.
16314 # All these tests are for C++; save the language and the compiler flags.
16315 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16316 # found in GLIBCXX_CONFIGURE.
16318 ac_ext=cpp
16319 ac_cpp='$CXXCPP $CPPFLAGS'
16320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16324 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16325 ac_save_CXXFLAGS="$CXXFLAGS"
16327 # Check for -ffunction-sections -fdata-sections
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16329 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16330 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16333 int foo; void bar() { };
16335 main ()
16339 return 0;
16341 _ACEOF
16342 if ac_fn_cxx_try_compile "$LINENO"; then :
16343 ac_fdsections=yes
16344 else
16345 ac_fdsections=no
16347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16348 if test "$ac_test_CXXFLAGS" = set; then
16349 CXXFLAGS="$ac_save_CXXFLAGS"
16350 else
16351 # this is the suspicious part
16352 CXXFLAGS=''
16354 if test x"$ac_fdsections" = x"yes"; then
16355 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16358 $as_echo "$ac_fdsections" >&6; }
16360 ac_ext=c
16361 ac_cpp='$CPP $CPPFLAGS'
16362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16369 # Enable all the variable C++ runtime options that don't require linking.
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16372 $as_echo_n "checking for underlying I/O to use... " >&6; }
16373 # Check whether --enable-cstdio was given.
16374 if test "${enable_cstdio+set}" = set; then :
16375 enableval=$enable_cstdio;
16376 case "$enableval" in
16377 stdio) ;;
16378 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16379 esac
16381 else
16382 enable_cstdio=stdio
16387 # Now that libio has been removed, you can have any color you want as long
16388 # as it's black. This is one big no-op until other packages are added, but
16389 # showing the framework never hurts.
16390 case ${enable_cstdio} in
16391 stdio)
16392 CSTDIO_H=config/io/c_io_stdio.h
16393 BASIC_FILE_H=config/io/basic_file_stdio.h
16394 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16396 $as_echo "stdio" >&6; }
16398 esac
16405 # Check whether --enable-clocale was given.
16406 if test "${enable_clocale+set}" = set; then :
16407 enableval=$enable_clocale;
16408 case "$enableval" in
16409 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16410 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16411 esac
16413 else
16414 enable_clocale=auto
16419 # Deal with gettext issues. Default to not using it (=no) until we detect
16420 # support for it later. Let the user turn it off via --e/d, but let that
16421 # default to on for easier handling.
16422 USE_NLS=no
16423 # Check whether --enable-nls was given.
16424 if test "${enable_nls+set}" = set; then :
16425 enableval=$enable_nls;
16426 else
16427 enable_nls=yes
16431 # Either a known package, or "auto"
16432 if test $enable_clocale = no || test $enable_clocale = yes; then
16433 enable_clocale=auto
16435 enable_clocale_flag=$enable_clocale
16437 # Probe for locale model to use if none specified.
16438 # Default to "generic".
16439 if test $enable_clocale_flag = auto; then
16440 case ${target_os} in
16441 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16442 enable_clocale_flag=gnu
16444 darwin*)
16445 enable_clocale_flag=darwin
16447 dragonfly* | freebsd*)
16448 enable_clocale_flag=dragonfly
16450 openbsd*)
16451 enable_clocale_flag=newlib
16454 if test x"$with_newlib" = x"yes"; then
16455 enable_clocale_flag=newlib
16456 else
16457 enable_clocale_flag=generic
16460 esac
16463 # Sanity check model, and test for special functionality.
16464 if test $enable_clocale_flag = gnu; then
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16468 #include <features.h>
16469 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16470 _GLIBCXX_ok
16471 #endif
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16476 enable_clocale_flag=gnu
16477 else
16478 enable_clocale_flag=generic
16480 rm -f conftest*
16483 # Set it to scream when it hurts.
16484 ac_save_CFLAGS="$CFLAGS"
16485 CFLAGS="-Wimplicit-function-declaration -Werror"
16487 # Use strxfrm_l if available.
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16490 #define _GNU_SOURCE 1
16491 #include <string.h>
16492 #include <locale.h>
16494 main ()
16496 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16498 return 0;
16500 _ACEOF
16501 if ac_fn_c_try_compile "$LINENO"; then :
16503 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16508 # Use strerror_l if available.
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #define _GNU_SOURCE 1
16512 #include <string.h>
16513 #include <locale.h>
16515 main ()
16517 __locale_t loc; strerror_l(5, loc);
16519 return 0;
16521 _ACEOF
16522 if ac_fn_c_try_compile "$LINENO"; then :
16524 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 CFLAGS="$ac_save_CFLAGS"
16532 # Perhaps use strerror_r if available, and strerror_l isn't.
16533 ac_save_CFLAGS="$CFLAGS"
16534 CFLAGS="-Wimplicit-function-declaration -Werror"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #define _GNU_SOURCE 1
16538 #include <string.h>
16539 #include <locale.h>
16541 main ()
16543 char s[128]; strerror_r(5, s, 128);
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_compile "$LINENO"; then :
16550 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16554 CFLAGS="$ac_save_CFLAGS"
16556 # Set configure bits for specified locale package
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16558 $as_echo_n "checking for C locale to use... " >&6; }
16559 case ${enable_clocale_flag} in
16560 generic)
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16562 $as_echo "generic" >&6; }
16564 CLOCALE_H=config/locale/generic/c_locale.h
16565 CLOCALE_CC=config/locale/generic/c_locale.cc
16566 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16567 CCOLLATE_CC=config/locale/generic/collate_members.cc
16568 CCTYPE_CC=config/locale/generic/ctype_members.cc
16569 CMESSAGES_H=config/locale/generic/messages_members.h
16570 CMESSAGES_CC=config/locale/generic/messages_members.cc
16571 CMONEY_CC=config/locale/generic/monetary_members.cc
16572 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16573 CTIME_H=config/locale/generic/time_members.h
16574 CTIME_CC=config/locale/generic/time_members.cc
16575 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16577 darwin)
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16579 $as_echo "darwin" >&6; }
16581 CLOCALE_H=config/locale/generic/c_locale.h
16582 CLOCALE_CC=config/locale/generic/c_locale.cc
16583 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16584 CCOLLATE_CC=config/locale/generic/collate_members.cc
16585 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16586 CMESSAGES_H=config/locale/generic/messages_members.h
16587 CMESSAGES_CC=config/locale/generic/messages_members.cc
16588 CMONEY_CC=config/locale/generic/monetary_members.cc
16589 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16590 CTIME_H=config/locale/generic/time_members.h
16591 CTIME_CC=config/locale/generic/time_members.cc
16592 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16595 dragonfly)
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16597 $as_echo "dragonfly or freebsd" >&6; }
16599 CLOCALE_H=config/locale/dragonfly/c_locale.h
16600 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16601 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16602 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16603 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16604 CMESSAGES_H=config/locale/generic/messages_members.h
16605 CMESSAGES_CC=config/locale/generic/messages_members.cc
16606 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16607 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16608 CTIME_H=config/locale/dragonfly/time_members.h
16609 CTIME_CC=config/locale/dragonfly/time_members.cc
16610 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16613 gnu)
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16615 $as_echo "gnu" >&6; }
16617 # Declare intention to use gettext, and add support for specific
16618 # languages.
16619 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16620 ALL_LINGUAS="de fr"
16622 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16623 # Extract the first word of "msgfmt", so it can be a program name with args.
16624 set dummy msgfmt; ac_word=$2
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16626 $as_echo_n "checking for $ac_word... " >&6; }
16627 if ${ac_cv_prog_check_msgfmt+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 if test -n "$check_msgfmt"; then
16631 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16632 else
16633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16634 for as_dir in $PATH
16636 IFS=$as_save_IFS
16637 test -z "$as_dir" && as_dir=.
16638 for ac_exec_ext in '' $ac_executable_extensions; do
16639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16640 ac_cv_prog_check_msgfmt="yes"
16641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16642 break 2
16644 done
16645 done
16646 IFS=$as_save_IFS
16648 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16651 check_msgfmt=$ac_cv_prog_check_msgfmt
16652 if test -n "$check_msgfmt"; then
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16654 $as_echo "$check_msgfmt" >&6; }
16655 else
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16657 $as_echo "no" >&6; }
16661 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16662 USE_NLS=yes
16664 # Export the build objects.
16665 for ling in $ALL_LINGUAS; do \
16666 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16667 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16668 done
16672 CLOCALE_H=config/locale/gnu/c_locale.h
16673 CLOCALE_CC=config/locale/gnu/c_locale.cc
16674 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16675 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16676 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16677 CMESSAGES_H=config/locale/gnu/messages_members.h
16678 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16679 CMONEY_CC=config/locale/gnu/monetary_members.cc
16680 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16681 CTIME_H=config/locale/gnu/time_members.h
16682 CTIME_CC=config/locale/gnu/time_members.cc
16683 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16685 ieee_1003.1-2001)
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16687 $as_echo "IEEE 1003.1" >&6; }
16689 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16690 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16691 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16692 CCOLLATE_CC=config/locale/generic/collate_members.cc
16693 CCTYPE_CC=config/locale/generic/ctype_members.cc
16694 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16695 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16696 CMONEY_CC=config/locale/generic/monetary_members.cc
16697 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16698 CTIME_H=config/locale/generic/time_members.h
16699 CTIME_CC=config/locale/generic/time_members.cc
16700 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16702 newlib)
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16704 $as_echo "newlib" >&6; }
16706 CLOCALE_H=config/locale/generic/c_locale.h
16707 CLOCALE_CC=config/locale/generic/c_locale.cc
16708 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16709 CCOLLATE_CC=config/locale/generic/collate_members.cc
16710 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16711 CMESSAGES_H=config/locale/generic/messages_members.h
16712 CMESSAGES_CC=config/locale/generic/messages_members.cc
16713 CMONEY_CC=config/locale/generic/monetary_members.cc
16714 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16715 CTIME_H=config/locale/generic/time_members.h
16716 CTIME_CC=config/locale/generic/time_members.cc
16717 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16719 esac
16721 # This is where the testsuite looks for locale catalogs, using the
16722 # -DLOCALEDIR define during testsuite compilation.
16723 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16726 # A standalone libintl (e.g., GNU libintl) may be in use.
16727 if test $USE_NLS = yes; then
16728 for ac_header in libintl.h
16729 do :
16730 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16731 if test "x$ac_cv_header_libintl_h" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_LIBINTL_H 1
16734 _ACEOF
16736 else
16737 USE_NLS=no
16740 done
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16743 $as_echo_n "checking for library containing gettext... " >&6; }
16744 if ${ac_cv_search_gettext+:} false; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747 ac_func_search_save_LIBS=$LIBS
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16751 /* Override any GCC internal prototype to avoid an error.
16752 Use char because int might match the return type of a GCC
16753 builtin and then its argument prototype would still apply. */
16754 #ifdef __cplusplus
16755 extern "C"
16756 #endif
16757 char gettext ();
16759 main ()
16761 return gettext ();
16763 return 0;
16765 _ACEOF
16766 for ac_lib in '' intl; do
16767 if test -z "$ac_lib"; then
16768 ac_res="none required"
16769 else
16770 ac_res=-l$ac_lib
16771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16773 if test x$gcc_no_link = xyes; then
16774 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16776 if ac_fn_c_try_link "$LINENO"; then :
16777 ac_cv_search_gettext=$ac_res
16779 rm -f core conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext
16781 if ${ac_cv_search_gettext+:} false; then :
16782 break
16784 done
16785 if ${ac_cv_search_gettext+:} false; then :
16787 else
16788 ac_cv_search_gettext=no
16790 rm conftest.$ac_ext
16791 LIBS=$ac_func_search_save_LIBS
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16794 $as_echo "$ac_cv_search_gettext" >&6; }
16795 ac_res=$ac_cv_search_gettext
16796 if test "$ac_res" != no; then :
16797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16799 else
16800 USE_NLS=no
16804 if test $USE_NLS = yes; then
16806 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16826 $as_echo_n "checking for std::allocator base class... " >&6; }
16827 # Check whether --enable-libstdcxx-allocator was given.
16828 if test "${enable_libstdcxx_allocator+set}" = set; then :
16829 enableval=$enable_libstdcxx_allocator;
16830 case "$enableval" in
16831 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16832 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16833 esac
16835 else
16836 enable_libstdcxx_allocator=auto
16841 # If they didn't use this option switch, or if they specified --enable
16842 # with no specific model, we'll have to look for one. If they
16843 # specified --disable (???), do likewise.
16844 if test $enable_libstdcxx_allocator = no ||
16845 test $enable_libstdcxx_allocator = yes;
16846 then
16847 enable_libstdcxx_allocator=auto
16850 # Either a known package, or "auto". Auto implies the default choice
16851 # for a particular platform.
16852 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16854 # Probe for host-specific support if no specific model is specified.
16855 # Default to "new".
16856 if test $enable_libstdcxx_allocator_flag = auto; then
16857 case ${target_os} in
16858 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16859 enable_libstdcxx_allocator_flag=new
16862 enable_libstdcxx_allocator_flag=new
16864 esac
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16867 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16870 # Set configure bits for specified locale package
16871 case ${enable_libstdcxx_allocator_flag} in
16872 bitmap)
16873 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16874 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16876 malloc)
16877 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16878 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16881 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16882 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16884 new)
16885 ALLOCATOR_H=config/allocator/new_allocator_base.h
16886 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16888 pool)
16889 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16890 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16892 esac
16899 # Check whether --enable-cheaders-obsolete was given.
16900 if test "${enable_cheaders_obsolete+set}" = set; then :
16901 enableval=$enable_cheaders_obsolete;
16902 case "$enableval" in
16903 yes|no) ;;
16904 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16905 esac
16907 else
16908 enable_cheaders_obsolete=no
16912 # Check whether --enable-cheaders was given.
16913 if test "${enable_cheaders+set}" = set; then :
16914 enableval=$enable_cheaders;
16915 case "$enableval" in
16916 c|c_global|c_std) ;;
16917 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16918 esac
16920 else
16921 enable_cheaders=$c_model
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16926 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16927 if test $enable_cheaders = c_std ; then
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16929 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
16931 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16932 if test $enable_cheaders_obsolete != yes ; then
16933 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16937 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16939 # Allow overrides to configure.host here.
16940 if test $enable_cheaders = c_global; then
16941 c_compatibility=yes
16950 # Check whether --enable-long-long was given.
16951 if test "${enable_long_long+set}" = set; then :
16952 enableval=$enable_long_long;
16953 case "$enableval" in
16954 yes|no) ;;
16955 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16956 esac
16958 else
16959 enable_long_long=yes
16963 if test $enable_long_long = yes; then
16965 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16969 $as_echo_n "checking for enabled long long specializations... " >&6; }
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16971 $as_echo "$enable_long_long" >&6; }
16974 # Check whether --enable-wchar_t was given.
16975 if test "${enable_wchar_t+set}" = set; then :
16976 enableval=$enable_wchar_t;
16977 case "$enableval" in
16978 yes|no) ;;
16979 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16980 esac
16982 else
16983 enable_wchar_t=yes
16988 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16989 for ac_header in wchar.h
16990 do :
16991 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16992 if test "x$ac_cv_header_wchar_h" = xyes; then :
16993 cat >>confdefs.h <<_ACEOF
16994 #define HAVE_WCHAR_H 1
16995 _ACEOF
16996 ac_has_wchar_h=yes
16997 else
16998 ac_has_wchar_h=no
17001 done
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17004 $as_echo_n "checking for mbstate_t... " >&6; }
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #include <wchar.h>
17009 main ()
17011 mbstate_t teststate;
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_compile "$LINENO"; then :
17017 have_mbstate_t=yes
17018 else
17019 have_mbstate_t=no
17021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17023 $as_echo "$have_mbstate_t" >&6; }
17024 if test x"$have_mbstate_t" = xyes; then
17026 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17030 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17031 # ac_has_wchar_h.
17032 for ac_header in wctype.h
17033 do :
17034 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17035 if test "x$ac_cv_header_wctype_h" = xyes; then :
17036 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_WCTYPE_H 1
17038 _ACEOF
17039 ac_has_wctype_h=yes
17040 else
17041 ac_has_wctype_h=no
17044 done
17047 if test x"$enable_wchar_t" = x"yes"; then
17050 ac_ext=cpp
17051 ac_cpp='$CXXCPP $CPPFLAGS'
17052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17057 if test x"$ac_has_wchar_h" = xyes &&
17058 test x"$ac_has_wctype_h" = xyes; then
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #include <wchar.h>
17062 #include <stddef.h>
17063 wint_t i;
17064 long l = WEOF;
17065 long j = WCHAR_MIN;
17066 long k = WCHAR_MAX;
17067 namespace test
17069 using ::btowc;
17070 using ::fgetwc;
17071 using ::fgetws;
17072 using ::fputwc;
17073 using ::fputws;
17074 using ::fwide;
17075 using ::fwprintf;
17076 using ::fwscanf;
17077 using ::getwc;
17078 using ::getwchar;
17079 using ::mbrlen;
17080 using ::mbrtowc;
17081 using ::mbsinit;
17082 using ::mbsrtowcs;
17083 using ::putwc;
17084 using ::putwchar;
17085 using ::swprintf;
17086 using ::swscanf;
17087 using ::ungetwc;
17088 using ::vfwprintf;
17089 using ::vswprintf;
17090 using ::vwprintf;
17091 using ::wcrtomb;
17092 using ::wcscat;
17093 using ::wcschr;
17094 using ::wcscmp;
17095 using ::wcscoll;
17096 using ::wcscpy;
17097 using ::wcscspn;
17098 using ::wcsftime;
17099 using ::wcslen;
17100 using ::wcsncat;
17101 using ::wcsncmp;
17102 using ::wcsncpy;
17103 using ::wcspbrk;
17104 using ::wcsrchr;
17105 using ::wcsrtombs;
17106 using ::wcsspn;
17107 using ::wcsstr;
17108 using ::wcstod;
17109 using ::wcstok;
17110 using ::wcstol;
17111 using ::wcstoul;
17112 using ::wcsxfrm;
17113 using ::wctob;
17114 using ::wmemchr;
17115 using ::wmemcmp;
17116 using ::wmemcpy;
17117 using ::wmemmove;
17118 using ::wmemset;
17119 using ::wprintf;
17120 using ::wscanf;
17124 main ()
17128 return 0;
17130 _ACEOF
17131 if ac_fn_cxx_try_compile "$LINENO"; then :
17133 else
17134 enable_wchar_t=no
17136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17137 else
17138 enable_wchar_t=no
17141 ac_ext=c
17142 ac_cpp='$CPP $CPPFLAGS'
17143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17149 if test x"$enable_wchar_t" = x"yes"; then
17151 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17156 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17158 $as_echo "$enable_wchar_t" >&6; }
17162 # Check whether --enable-c99 was given.
17163 if test "${enable_c99+set}" = set; then :
17164 enableval=$enable_c99;
17165 case "$enableval" in
17166 yes|no) ;;
17167 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17168 esac
17170 else
17171 enable_c99=yes
17176 if test x"$enable_c99" = x"yes"; then
17178 ac_ext=cpp
17179 ac_cpp='$CXXCPP $CPPFLAGS'
17180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17185 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17186 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17187 # to be spuriously enabled.
17188 ac_save_CXXFLAGS="$CXXFLAGS"
17189 CXXFLAGS="$CXXFLAGS -std=c++98"
17190 ac_save_LIBS="$LIBS"
17191 ac_save_gcc_no_link="$gcc_no_link"
17193 if test x$gcc_no_link != xyes; then
17194 # Use -fno-exceptions to that the C driver can link these tests without
17195 # hitting undefined references to personality routines.
17196 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17198 $as_echo_n "checking for sin in -lm... " >&6; }
17199 if ${ac_cv_lib_m_sin+:} false; then :
17200 $as_echo_n "(cached) " >&6
17201 else
17202 ac_check_lib_save_LIBS=$LIBS
17203 LIBS="-lm $LIBS"
17204 if test x$gcc_no_link = xyes; then
17205 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17213 #ifdef __cplusplus
17214 extern "C"
17215 #endif
17216 char sin ();
17218 main ()
17220 return sin ();
17222 return 0;
17224 _ACEOF
17225 if ac_fn_cxx_try_link "$LINENO"; then :
17226 ac_cv_lib_m_sin=yes
17227 else
17228 ac_cv_lib_m_sin=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 LIBS=$ac_check_lib_save_LIBS
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17235 $as_echo "$ac_cv_lib_m_sin" >&6; }
17236 if test "x$ac_cv_lib_m_sin" = xyes; then :
17237 LIBS="$LIBS -lm"
17238 else
17240 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17241 gcc_no_link=yes
17247 # Check for the existence of <math.h> functions used if C99 is enabled.
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17249 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17250 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17254 if test x$gcc_no_link = xyes; then
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 #include <math.h>
17258 volatile double d1, d2;
17259 volatile int i;
17261 main ()
17263 i = fpclassify(d1);
17264 i = isfinite(d1);
17265 i = isinf(d1);
17266 i = isnan(d1);
17267 i = isnormal(d1);
17268 i = signbit(d1);
17269 i = isgreater(d1, d2);
17270 i = isgreaterequal(d1, d2);
17271 i = isless(d1, d2);
17272 i = islessequal(d1, d2);
17273 i = islessgreater(d1, d2);
17274 i = islessgreater(d1, d2);
17275 i = isunordered(d1, d2);
17278 return 0;
17280 _ACEOF
17281 if ac_fn_cxx_try_compile "$LINENO"; then :
17282 glibcxx_cv_c99_math_cxx98=yes
17283 else
17284 glibcxx_cv_c99_math_cxx98=no
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287 else
17288 if test x$gcc_no_link = xyes; then
17289 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17293 #include <math.h>
17294 volatile double d1, d2;
17295 volatile int i;
17297 main ()
17299 i = fpclassify(d1);
17300 i = isfinite(d1);
17301 i = isinf(d1);
17302 i = isnan(d1);
17303 i = isnormal(d1);
17304 i = signbit(d1);
17305 i = isgreater(d1, d2);
17306 i = isgreaterequal(d1, d2);
17307 i = isless(d1, d2);
17308 i = islessequal(d1, d2);
17309 i = islessgreater(d1, d2);
17310 i = islessgreater(d1, d2);
17311 i = isunordered(d1, d2);
17314 return 0;
17316 _ACEOF
17317 if ac_fn_cxx_try_link "$LINENO"; then :
17318 glibcxx_cv_c99_math_cxx98=yes
17319 else
17320 glibcxx_cv_c99_math_cxx98=no
17322 rm -f core conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17329 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17330 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17332 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17336 # Check for the existence of <complex.h> complex math functions.
17337 # This is necessary even though libstdc++ uses the builtin versions
17338 # of these functions, because if the builtin cannot be used, a reference
17339 # to the library function is emitted.
17340 for ac_header in tgmath.h
17341 do :
17342 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17343 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_TGMATH_H 1
17346 _ACEOF
17347 ac_has_tgmath_h=yes
17348 else
17349 ac_has_tgmath_h=no
17352 done
17354 for ac_header in complex.h
17355 do :
17356 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17357 if test "x$ac_cv_header_complex_h" = xyes; then :
17358 cat >>confdefs.h <<_ACEOF
17359 #define HAVE_COMPLEX_H 1
17360 _ACEOF
17361 ac_has_complex_h=yes
17362 else
17363 ac_has_complex_h=no
17366 done
17368 if test x"$ac_has_complex_h" = x"yes"; then
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17370 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17371 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17375 if test x$gcc_no_link = xyes; then
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #include <complex.h>
17379 typedef __complex__ float float_type;
17380 typedef __complex__ double double_type;
17381 typedef __complex__ long double ld_type;
17382 volatile float_type tmpf;
17383 volatile double_type tmpd;
17384 volatile ld_type tmpld;
17385 volatile float f;
17386 volatile double d;
17387 volatile long double ld;
17389 main ()
17391 f = cabsf(tmpf);
17392 f = cargf(tmpf);
17393 tmpf = ccosf(tmpf);
17394 tmpf = ccoshf(tmpf);
17395 tmpf = cexpf(tmpf);
17396 tmpf = clogf(tmpf);
17397 tmpf = csinf(tmpf);
17398 tmpf = csinhf(tmpf);
17399 tmpf = csqrtf(tmpf);
17400 tmpf = ctanf(tmpf);
17401 tmpf = ctanhf(tmpf);
17402 tmpf = cpowf(tmpf, tmpf);
17403 tmpf = cprojf(tmpf);
17404 d = cabs(tmpd);
17405 d = carg(tmpd);
17406 tmpd = ccos(tmpd);
17407 tmpd = ccosh(tmpd);
17408 tmpd = cexp(tmpd);
17409 tmpd = clog(tmpd);
17410 tmpd = csin(tmpd);
17411 tmpd = csinh(tmpd);
17412 tmpd = csqrt(tmpd);
17413 tmpd = ctan(tmpd);
17414 tmpd = ctanh(tmpd);
17415 tmpd = cpow(tmpd, tmpd);
17416 tmpd = cproj(tmpd);
17417 ld = cabsl(tmpld);
17418 ld = cargl(tmpld);
17419 tmpld = ccosl(tmpld);
17420 tmpld = ccoshl(tmpld);
17421 tmpld = cexpl(tmpld);
17422 tmpld = clogl(tmpld);
17423 tmpld = csinl(tmpld);
17424 tmpld = csinhl(tmpld);
17425 tmpld = csqrtl(tmpld);
17426 tmpld = ctanl(tmpld);
17427 tmpld = ctanhl(tmpld);
17428 tmpld = cpowl(tmpld, tmpld);
17429 tmpld = cprojl(tmpld);
17432 return 0;
17434 _ACEOF
17435 if ac_fn_cxx_try_compile "$LINENO"; then :
17436 glibcxx_cv_c99_complex_cxx98=yes
17437 else
17438 glibcxx_cv_c99_complex_cxx98=no
17440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17441 else
17442 if test x$gcc_no_link = xyes; then
17443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 #include <complex.h>
17448 typedef __complex__ float float_type;
17449 typedef __complex__ double double_type;
17450 typedef __complex__ long double ld_type;
17451 volatile float_type tmpf;
17452 volatile double_type tmpd;
17453 volatile ld_type tmpld;
17454 volatile float f;
17455 volatile double d;
17456 volatile long double ld;
17458 main ()
17460 f = cabsf(tmpf);
17461 f = cargf(tmpf);
17462 tmpf = ccosf(tmpf);
17463 tmpf = ccoshf(tmpf);
17464 tmpf = cexpf(tmpf);
17465 tmpf = clogf(tmpf);
17466 tmpf = csinf(tmpf);
17467 tmpf = csinhf(tmpf);
17468 tmpf = csqrtf(tmpf);
17469 tmpf = ctanf(tmpf);
17470 tmpf = ctanhf(tmpf);
17471 tmpf = cpowf(tmpf, tmpf);
17472 tmpf = cprojf(tmpf);
17473 d = cabs(tmpd);
17474 d = carg(tmpd);
17475 tmpd = ccos(tmpd);
17476 tmpd = ccosh(tmpd);
17477 tmpd = cexp(tmpd);
17478 tmpd = clog(tmpd);
17479 tmpd = csin(tmpd);
17480 tmpd = csinh(tmpd);
17481 tmpd = csqrt(tmpd);
17482 tmpd = ctan(tmpd);
17483 tmpd = ctanh(tmpd);
17484 tmpd = cpow(tmpd, tmpd);
17485 tmpd = cproj(tmpd);
17486 ld = cabsl(tmpld);
17487 ld = cargl(tmpld);
17488 tmpld = ccosl(tmpld);
17489 tmpld = ccoshl(tmpld);
17490 tmpld = cexpl(tmpld);
17491 tmpld = clogl(tmpld);
17492 tmpld = csinl(tmpld);
17493 tmpld = csinhl(tmpld);
17494 tmpld = csqrtl(tmpld);
17495 tmpld = ctanl(tmpld);
17496 tmpld = ctanhl(tmpld);
17497 tmpld = cpowl(tmpld, tmpld);
17498 tmpld = cprojl(tmpld);
17501 return 0;
17503 _ACEOF
17504 if ac_fn_cxx_try_link "$LINENO"; then :
17505 glibcxx_cv_c99_complex_cxx98=yes
17506 else
17507 glibcxx_cv_c99_complex_cxx98=no
17509 rm -f core conftest.err conftest.$ac_objext \
17510 conftest$ac_exeext conftest.$ac_ext
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17517 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17518 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17520 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17524 # Check for the existence in <stdio.h> of vscanf, et. al.
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17526 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17527 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17531 if test x$gcc_no_link = xyes; then
17532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17533 /* end confdefs.h. */
17534 #include <stdio.h>
17535 #include <stdarg.h>
17536 void foo(char* fmt, ...)
17538 va_list args; va_start(args, fmt);
17539 vfscanf(stderr, "%i", args);
17540 vscanf("%i", args);
17541 vsnprintf(fmt, 0, "%i", args);
17542 vsscanf(fmt, "%i", args);
17543 snprintf(fmt, 0, "%i");
17546 main ()
17550 return 0;
17552 _ACEOF
17553 if ac_fn_cxx_try_compile "$LINENO"; then :
17554 glibcxx_cv_c99_stdio_cxx98=yes
17555 else
17556 glibcxx_cv_c99_stdio_cxx98=no
17558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17559 else
17560 if test x$gcc_no_link = xyes; then
17561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565 #include <stdio.h>
17566 #include <stdarg.h>
17567 void foo(char* fmt, ...)
17569 va_list args; va_start(args, fmt);
17570 vfscanf(stderr, "%i", args);
17571 vscanf("%i", args);
17572 vsnprintf(fmt, 0, "%i", args);
17573 vsscanf(fmt, "%i", args);
17574 snprintf(fmt, 0, "%i");
17577 main ()
17581 return 0;
17583 _ACEOF
17584 if ac_fn_cxx_try_link "$LINENO"; then :
17585 glibcxx_cv_c99_stdio_cxx98=yes
17586 else
17587 glibcxx_cv_c99_stdio_cxx98=no
17589 rm -f core conftest.err conftest.$ac_objext \
17590 conftest$ac_exeext conftest.$ac_ext
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17596 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17597 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17599 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17603 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17605 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17606 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17607 $as_echo_n "(cached) " >&6
17608 else
17610 if test x$gcc_no_link = xyes; then
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 #include <stdlib.h>
17614 volatile float f;
17615 volatile long double ld;
17616 volatile unsigned long long ll;
17617 lldiv_t mydivt;
17619 main ()
17621 char* tmp;
17622 f = strtof("gnu", &tmp);
17623 ld = strtold("gnu", &tmp);
17624 ll = strtoll("gnu", &tmp, 10);
17625 ll = strtoull("gnu", &tmp, 10);
17626 ll = llabs(10);
17627 mydivt = lldiv(10,1);
17628 ll = mydivt.quot;
17629 ll = mydivt.rem;
17630 ll = atoll("10");
17631 _Exit(0);
17634 return 0;
17636 _ACEOF
17637 if ac_fn_cxx_try_compile "$LINENO"; then :
17638 glibcxx_cv_c99_stdlib_cxx98=yes
17639 else
17640 glibcxx_cv_c99_stdlib_cxx98=no
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 else
17644 if test x$gcc_no_link = xyes; then
17645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17649 #include <stdlib.h>
17650 volatile float f;
17651 volatile long double ld;
17652 volatile unsigned long long ll;
17653 lldiv_t mydivt;
17655 main ()
17657 char* tmp;
17658 f = strtof("gnu", &tmp);
17659 ld = strtold("gnu", &tmp);
17660 ll = strtoll("gnu", &tmp, 10);
17661 ll = strtoull("gnu", &tmp, 10);
17662 ll = llabs(10);
17663 mydivt = lldiv(10,1);
17664 ll = mydivt.quot;
17665 ll = mydivt.rem;
17666 ll = atoll("10");
17667 _Exit(0);
17670 return 0;
17672 _ACEOF
17673 if ac_fn_cxx_try_link "$LINENO"; then :
17674 glibcxx_cv_c99_stdlib_cxx98=yes
17675 else
17676 glibcxx_cv_c99_stdlib_cxx98=no
17678 rm -f core conftest.err conftest.$ac_objext \
17679 conftest$ac_exeext conftest.$ac_ext
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17685 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17686 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17688 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17692 # Check for the existence in <wchar.h> of wcstold, etc.
17693 if test x"$ac_has_wchar_h" = xyes &&
17694 test x"$ac_has_wctype_h" = xyes; then
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17696 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17697 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <wchar.h>
17704 namespace test
17706 using ::wcstold;
17707 using ::wcstoll;
17708 using ::wcstoull;
17712 main ()
17716 return 0;
17718 _ACEOF
17719 if ac_fn_cxx_try_compile "$LINENO"; then :
17720 glibcxx_cv_c99_wchar_cxx98=yes
17721 else
17722 glibcxx_cv_c99_wchar_cxx98=no
17724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729 # Checks for wide character functions that may not be present.
17730 # Injection of these is wrapped with guard macros.
17731 # NB: only put functions here, instead of immediately above, if
17732 # absolutely necessary.
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 #include <wchar.h>
17736 namespace test { using ::vfwscanf; }
17738 main ()
17742 return 0;
17744 _ACEOF
17745 if ac_fn_cxx_try_compile "$LINENO"; then :
17747 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <wchar.h>
17755 namespace test { using ::vswscanf; }
17757 main ()
17761 return 0;
17763 _ACEOF
17764 if ac_fn_cxx_try_compile "$LINENO"; then :
17766 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <wchar.h>
17774 namespace test { using ::vwscanf; }
17776 main ()
17780 return 0;
17782 _ACEOF
17783 if ac_fn_cxx_try_compile "$LINENO"; then :
17785 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 #include <wchar.h>
17793 namespace test { using ::wcstof; }
17795 main ()
17799 return 0;
17801 _ACEOF
17802 if ac_fn_cxx_try_compile "$LINENO"; then :
17804 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17811 #include <wctype.h>
17813 main ()
17815 wint_t t; int i = iswblank(t);
17817 return 0;
17819 _ACEOF
17820 if ac_fn_cxx_try_compile "$LINENO"; then :
17822 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17828 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17829 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17831 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17836 # Option parsed, now set things appropriately.
17837 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17838 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17839 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17840 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17841 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17842 enable_c99=no;
17843 else
17845 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17849 gcc_no_link="$ac_save_gcc_no_link"
17850 LIBS="$ac_save_LIBS"
17851 CXXFLAGS="$ac_save_CXXFLAGS"
17852 ac_ext=c
17853 ac_cpp='$CPP $CPPFLAGS'
17854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17860 ac_ext=cpp
17861 ac_cpp='$CXXCPP $CPPFLAGS'
17862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17867 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17868 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17869 ac_save_CXXFLAGS="$CXXFLAGS"
17870 CXXFLAGS="$CXXFLAGS -std=c++11"
17871 ac_save_LIBS="$LIBS"
17872 ac_save_gcc_no_link="$gcc_no_link"
17874 if test x$gcc_no_link != xyes; then
17875 # Use -fno-exceptions to that the C driver can link these tests without
17876 # hitting undefined references to personality routines.
17877 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17879 $as_echo_n "checking for sin in -lm... " >&6; }
17880 if ${ac_cv_lib_m_sin+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 ac_check_lib_save_LIBS=$LIBS
17884 LIBS="-lm $LIBS"
17885 if test x$gcc_no_link = xyes; then
17886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17891 /* Override any GCC internal prototype to avoid an error.
17892 Use char because int might match the return type of a GCC
17893 builtin and then its argument prototype would still apply. */
17894 #ifdef __cplusplus
17895 extern "C"
17896 #endif
17897 char sin ();
17899 main ()
17901 return sin ();
17903 return 0;
17905 _ACEOF
17906 if ac_fn_cxx_try_link "$LINENO"; then :
17907 ac_cv_lib_m_sin=yes
17908 else
17909 ac_cv_lib_m_sin=no
17911 rm -f core conftest.err conftest.$ac_objext \
17912 conftest$ac_exeext conftest.$ac_ext
17913 LIBS=$ac_check_lib_save_LIBS
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17916 $as_echo "$ac_cv_lib_m_sin" >&6; }
17917 if test "x$ac_cv_lib_m_sin" = xyes; then :
17918 LIBS="$LIBS -lm"
17919 else
17921 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17922 gcc_no_link=yes
17928 # Check for the existence of <math.h> functions used if C99 is enabled.
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17930 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17931 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17935 if test x$gcc_no_link = xyes; then
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <math.h>
17939 volatile double d1, d2;
17940 volatile int i;
17942 main ()
17944 i = fpclassify(d1);
17945 i = isfinite(d1);
17946 i = isinf(d1);
17947 i = isnan(d1);
17948 i = isnormal(d1);
17949 i = signbit(d1);
17950 i = isgreater(d1, d2);
17951 i = isgreaterequal(d1, d2);
17952 i = isless(d1, d2);
17953 i = islessequal(d1, d2);
17954 i = islessgreater(d1, d2);
17955 i = islessgreater(d1, d2);
17956 i = isunordered(d1, d2);
17959 return 0;
17961 _ACEOF
17962 if ac_fn_cxx_try_compile "$LINENO"; then :
17963 glibcxx_cv_c99_math_cxx11=yes
17964 else
17965 glibcxx_cv_c99_math_cxx11=no
17967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 else
17969 if test x$gcc_no_link = xyes; then
17970 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17974 #include <math.h>
17975 volatile double d1, d2;
17976 volatile int i;
17978 main ()
17980 i = fpclassify(d1);
17981 i = isfinite(d1);
17982 i = isinf(d1);
17983 i = isnan(d1);
17984 i = isnormal(d1);
17985 i = signbit(d1);
17986 i = isgreater(d1, d2);
17987 i = isgreaterequal(d1, d2);
17988 i = isless(d1, d2);
17989 i = islessequal(d1, d2);
17990 i = islessgreater(d1, d2);
17991 i = islessgreater(d1, d2);
17992 i = isunordered(d1, d2);
17995 return 0;
17997 _ACEOF
17998 if ac_fn_cxx_try_link "$LINENO"; then :
17999 glibcxx_cv_c99_math_cxx11=yes
18000 else
18001 glibcxx_cv_c99_math_cxx11=no
18003 rm -f core conftest.err conftest.$ac_objext \
18004 conftest$ac_exeext conftest.$ac_ext
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18010 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18011 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18013 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18017 # Check for the existence of <complex.h> complex math functions.
18018 # This is necessary even though libstdc++ uses the builtin versions
18019 # of these functions, because if the builtin cannot be used, a reference
18020 # to the library function is emitted.
18021 for ac_header in tgmath.h
18022 do :
18023 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18024 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18025 cat >>confdefs.h <<_ACEOF
18026 #define HAVE_TGMATH_H 1
18027 _ACEOF
18028 ac_has_tgmath_h=yes
18029 else
18030 ac_has_tgmath_h=no
18033 done
18035 for ac_header in complex.h
18036 do :
18037 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18038 if test "x$ac_cv_header_complex_h" = xyes; then :
18039 cat >>confdefs.h <<_ACEOF
18040 #define HAVE_COMPLEX_H 1
18041 _ACEOF
18042 ac_has_complex_h=yes
18043 else
18044 ac_has_complex_h=no
18047 done
18049 if test x"$ac_has_complex_h" = x"yes"; then
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18051 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18052 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18056 if test x$gcc_no_link = xyes; then
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18059 #include <complex.h>
18060 typedef __complex__ float float_type;
18061 typedef __complex__ double double_type;
18062 typedef __complex__ long double ld_type;
18063 volatile float_type tmpf;
18064 volatile double_type tmpd;
18065 volatile ld_type tmpld;
18066 volatile float f;
18067 volatile double d;
18068 volatile long double ld;
18070 main ()
18072 f = cabsf(tmpf);
18073 f = cargf(tmpf);
18074 tmpf = ccosf(tmpf);
18075 tmpf = ccoshf(tmpf);
18076 tmpf = cexpf(tmpf);
18077 tmpf = clogf(tmpf);
18078 tmpf = csinf(tmpf);
18079 tmpf = csinhf(tmpf);
18080 tmpf = csqrtf(tmpf);
18081 tmpf = ctanf(tmpf);
18082 tmpf = ctanhf(tmpf);
18083 tmpf = cpowf(tmpf, tmpf);
18084 tmpf = cprojf(tmpf);
18085 d = cabs(tmpd);
18086 d = carg(tmpd);
18087 tmpd = ccos(tmpd);
18088 tmpd = ccosh(tmpd);
18089 tmpd = cexp(tmpd);
18090 tmpd = clog(tmpd);
18091 tmpd = csin(tmpd);
18092 tmpd = csinh(tmpd);
18093 tmpd = csqrt(tmpd);
18094 tmpd = ctan(tmpd);
18095 tmpd = ctanh(tmpd);
18096 tmpd = cpow(tmpd, tmpd);
18097 tmpd = cproj(tmpd);
18098 ld = cabsl(tmpld);
18099 ld = cargl(tmpld);
18100 tmpld = ccosl(tmpld);
18101 tmpld = ccoshl(tmpld);
18102 tmpld = cexpl(tmpld);
18103 tmpld = clogl(tmpld);
18104 tmpld = csinl(tmpld);
18105 tmpld = csinhl(tmpld);
18106 tmpld = csqrtl(tmpld);
18107 tmpld = ctanl(tmpld);
18108 tmpld = ctanhl(tmpld);
18109 tmpld = cpowl(tmpld, tmpld);
18110 tmpld = cprojl(tmpld);
18113 return 0;
18115 _ACEOF
18116 if ac_fn_cxx_try_compile "$LINENO"; then :
18117 glibcxx_cv_c99_complex_cxx11=yes
18118 else
18119 glibcxx_cv_c99_complex_cxx11=no
18121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18122 else
18123 if test x$gcc_no_link = xyes; then
18124 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18127 /* end confdefs.h. */
18128 #include <complex.h>
18129 typedef __complex__ float float_type;
18130 typedef __complex__ double double_type;
18131 typedef __complex__ long double ld_type;
18132 volatile float_type tmpf;
18133 volatile double_type tmpd;
18134 volatile ld_type tmpld;
18135 volatile float f;
18136 volatile double d;
18137 volatile long double ld;
18139 main ()
18141 f = cabsf(tmpf);
18142 f = cargf(tmpf);
18143 tmpf = ccosf(tmpf);
18144 tmpf = ccoshf(tmpf);
18145 tmpf = cexpf(tmpf);
18146 tmpf = clogf(tmpf);
18147 tmpf = csinf(tmpf);
18148 tmpf = csinhf(tmpf);
18149 tmpf = csqrtf(tmpf);
18150 tmpf = ctanf(tmpf);
18151 tmpf = ctanhf(tmpf);
18152 tmpf = cpowf(tmpf, tmpf);
18153 tmpf = cprojf(tmpf);
18154 d = cabs(tmpd);
18155 d = carg(tmpd);
18156 tmpd = ccos(tmpd);
18157 tmpd = ccosh(tmpd);
18158 tmpd = cexp(tmpd);
18159 tmpd = clog(tmpd);
18160 tmpd = csin(tmpd);
18161 tmpd = csinh(tmpd);
18162 tmpd = csqrt(tmpd);
18163 tmpd = ctan(tmpd);
18164 tmpd = ctanh(tmpd);
18165 tmpd = cpow(tmpd, tmpd);
18166 tmpd = cproj(tmpd);
18167 ld = cabsl(tmpld);
18168 ld = cargl(tmpld);
18169 tmpld = ccosl(tmpld);
18170 tmpld = ccoshl(tmpld);
18171 tmpld = cexpl(tmpld);
18172 tmpld = clogl(tmpld);
18173 tmpld = csinl(tmpld);
18174 tmpld = csinhl(tmpld);
18175 tmpld = csqrtl(tmpld);
18176 tmpld = ctanl(tmpld);
18177 tmpld = ctanhl(tmpld);
18178 tmpld = cpowl(tmpld, tmpld);
18179 tmpld = cprojl(tmpld);
18182 return 0;
18184 _ACEOF
18185 if ac_fn_cxx_try_link "$LINENO"; then :
18186 glibcxx_cv_c99_complex_cxx11=yes
18187 else
18188 glibcxx_cv_c99_complex_cxx11=no
18190 rm -f core conftest.err conftest.$ac_objext \
18191 conftest$ac_exeext conftest.$ac_ext
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18198 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18199 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18201 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18205 # Check for the existence in <stdio.h> of vscanf, et. al.
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18207 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18208 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <stdio.h>
18216 #include <stdarg.h>
18217 void foo(char* fmt, ...)
18219 va_list args; va_start(args, fmt);
18220 vfscanf(stderr, "%i", args);
18221 vscanf("%i", args);
18222 vsnprintf(fmt, 0, "%i", args);
18223 vsscanf(fmt, "%i", args);
18224 snprintf(fmt, 0, "%i");
18227 main ()
18231 return 0;
18233 _ACEOF
18234 if ac_fn_cxx_try_compile "$LINENO"; then :
18235 glibcxx_cv_c99_stdio_cxx11=yes
18236 else
18237 glibcxx_cv_c99_stdio_cxx11=no
18239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18240 else
18241 if test x$gcc_no_link = xyes; then
18242 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18246 #include <stdio.h>
18247 #include <stdarg.h>
18248 void foo(char* fmt, ...)
18250 va_list args; va_start(args, fmt);
18251 vfscanf(stderr, "%i", args);
18252 vscanf("%i", args);
18253 vsnprintf(fmt, 0, "%i", args);
18254 vsscanf(fmt, "%i", args);
18255 snprintf(fmt, 0, "%i");
18258 main ()
18262 return 0;
18264 _ACEOF
18265 if ac_fn_cxx_try_link "$LINENO"; then :
18266 glibcxx_cv_c99_stdio_cxx11=yes
18267 else
18268 glibcxx_cv_c99_stdio_cxx11=no
18270 rm -f core conftest.err conftest.$ac_objext \
18271 conftest$ac_exeext conftest.$ac_ext
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18277 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18278 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18280 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18284 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18286 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18287 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18288 $as_echo_n "(cached) " >&6
18289 else
18291 if test x$gcc_no_link = xyes; then
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18294 #include <stdlib.h>
18295 volatile float f;
18296 volatile long double ld;
18297 volatile unsigned long long ll;
18298 lldiv_t mydivt;
18300 main ()
18302 char* tmp;
18303 f = strtof("gnu", &tmp);
18304 ld = strtold("gnu", &tmp);
18305 ll = strtoll("gnu", &tmp, 10);
18306 ll = strtoull("gnu", &tmp, 10);
18307 ll = llabs(10);
18308 mydivt = lldiv(10,1);
18309 ll = mydivt.quot;
18310 ll = mydivt.rem;
18311 ll = atoll("10");
18312 _Exit(0);
18315 return 0;
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_c99_stdlib_cxx11=yes
18320 else
18321 glibcxx_cv_c99_stdlib_cxx11=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330 #include <stdlib.h>
18331 volatile float f;
18332 volatile long double ld;
18333 volatile unsigned long long ll;
18334 lldiv_t mydivt;
18336 main ()
18338 char* tmp;
18339 f = strtof("gnu", &tmp);
18340 ld = strtold("gnu", &tmp);
18341 ll = strtoll("gnu", &tmp, 10);
18342 ll = strtoull("gnu", &tmp, 10);
18343 ll = llabs(10);
18344 mydivt = lldiv(10,1);
18345 ll = mydivt.quot;
18346 ll = mydivt.rem;
18347 ll = atoll("10");
18348 _Exit(0);
18351 return 0;
18353 _ACEOF
18354 if ac_fn_cxx_try_link "$LINENO"; then :
18355 glibcxx_cv_c99_stdlib_cxx11=yes
18356 else
18357 glibcxx_cv_c99_stdlib_cxx11=no
18359 rm -f core conftest.err conftest.$ac_objext \
18360 conftest$ac_exeext conftest.$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18366 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18367 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18369 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18373 # Check for the existence in <wchar.h> of wcstold, etc.
18374 if test x"$ac_has_wchar_h" = xyes &&
18375 test x"$ac_has_wctype_h" = xyes; then
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18377 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18378 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18379 $as_echo_n "(cached) " >&6
18380 else
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18384 #include <wchar.h>
18385 namespace test
18387 using ::wcstold;
18388 using ::wcstoll;
18389 using ::wcstoull;
18393 main ()
18397 return 0;
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401 glibcxx_cv_c99_wchar_cxx11=yes
18402 else
18403 glibcxx_cv_c99_wchar_cxx11=no
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 # Checks for wide character functions that may not be present.
18411 # Injection of these is wrapped with guard macros.
18412 # NB: only put functions here, instead of immediately above, if
18413 # absolutely necessary.
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18416 #include <wchar.h>
18417 namespace test { using ::vfwscanf; }
18419 main ()
18423 return 0;
18425 _ACEOF
18426 if ac_fn_cxx_try_compile "$LINENO"; then :
18428 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #include <wchar.h>
18436 namespace test { using ::vswscanf; }
18438 main ()
18442 return 0;
18444 _ACEOF
18445 if ac_fn_cxx_try_compile "$LINENO"; then :
18447 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453 /* end confdefs.h. */
18454 #include <wchar.h>
18455 namespace test { using ::vwscanf; }
18457 main ()
18461 return 0;
18463 _ACEOF
18464 if ac_fn_cxx_try_compile "$LINENO"; then :
18466 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18473 #include <wchar.h>
18474 namespace test { using ::wcstof; }
18476 main ()
18480 return 0;
18482 _ACEOF
18483 if ac_fn_cxx_try_compile "$LINENO"; then :
18485 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 #include <wctype.h>
18494 main ()
18496 wint_t t; int i = iswblank(t);
18498 return 0;
18500 _ACEOF
18501 if ac_fn_cxx_try_compile "$LINENO"; then :
18503 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18509 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18510 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18512 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18517 gcc_no_link="$ac_save_gcc_no_link"
18518 LIBS="$ac_save_LIBS"
18519 CXXFLAGS="$ac_save_CXXFLAGS"
18520 ac_ext=c
18521 ac_cpp='$CPP $CPPFLAGS'
18522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18529 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18531 $as_echo "$enable_c99" >&6; }
18534 # Check whether --enable-concept-checks was given.
18535 if test "${enable_concept_checks+set}" = set; then :
18536 enableval=$enable_concept_checks;
18537 case "$enableval" in
18538 yes|no) ;;
18539 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18540 esac
18542 else
18543 enable_concept_checks=no
18547 if test $enable_concept_checks = yes; then
18549 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18554 # Check whether --enable-libstdcxx-debug-flags was given.
18555 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18556 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18557 xno | x) enable_libstdcxx_debug_flags= ;;
18558 x-*) ;;
18559 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18560 esac
18561 else
18562 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18567 # Option parsed, now set things appropriately
18568 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18572 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18576 $as_echo_n "checking for additional debug build... " >&6; }
18577 skip_debug_build=
18578 # Check whether --enable-libstdcxx-debug was given.
18579 if test "${enable_libstdcxx_debug+set}" = set; then :
18580 enableval=$enable_libstdcxx_debug;
18581 case "$enableval" in
18582 yes|no) ;;
18583 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18584 esac
18586 else
18587 enable_libstdcxx_debug=no
18591 if test x$enable_libstdcxx_debug = xyes; then
18592 if test -f $toplevel_builddir/../stage_final \
18593 && test -f $toplevel_builddir/../stage_current; then
18594 stage_final=`cat $toplevel_builddir/../stage_final`
18595 stage_current=`cat $toplevel_builddir/../stage_current`
18596 if test x$stage_current != x$stage_final ; then
18597 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18598 enable_libstdcxx_debug=no
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18603 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18608 enable_parallel=no;
18610 # See if configured libgomp/omp.h exists. (libgomp may be in
18611 # noconfigdirs but not explicitly disabled.)
18612 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18613 enable_parallel=yes;
18614 else
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18616 $as_echo "$as_me: target-libgomp not built" >&6;}
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18620 $as_echo_n "checking for parallel mode support... " >&6; }
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18622 $as_echo "$enable_parallel" >&6; }
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18625 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18626 # Check whether --enable-cxx-flags was given.
18627 if test "${enable_cxx_flags+set}" = set; then :
18628 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18629 xno | x) enable_cxx_flags= ;;
18630 x-*) ;;
18631 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18632 esac
18633 else
18634 enable_cxx_flags=
18639 # Run through flags (either default or command-line) and set anything
18640 # extra (e.g., #defines) that must accompany particular g++ options.
18641 if test -n "$enable_cxx_flags"; then
18642 for f in $enable_cxx_flags; do
18643 case "$f" in
18644 -fhonor-std) ;;
18645 -*) ;;
18646 *) # and we're trying to pass /what/ exactly?
18647 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18648 esac
18649 done
18652 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18654 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18658 # Check whether --enable-fully-dynamic-string was given.
18659 if test "${enable_fully_dynamic_string+set}" = set; then :
18660 enableval=$enable_fully_dynamic_string;
18661 case "$enableval" in
18662 yes|no) ;;
18663 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18664 esac
18666 else
18667 enable_fully_dynamic_string=no
18671 if test $enable_fully_dynamic_string = yes; then
18672 enable_fully_dynamic_string_def=1
18673 else
18674 enable_fully_dynamic_string_def=0
18677 cat >>confdefs.h <<_ACEOF
18678 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18679 _ACEOF
18684 # Check whether --enable-extern-template was given.
18685 if test "${enable_extern_template+set}" = set; then :
18686 enableval=$enable_extern_template;
18687 case "$enableval" in
18688 yes|no) ;;
18689 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18690 esac
18692 else
18693 enable_extern_template=yes
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18699 $as_echo_n "checking for extern template support... " >&6; }
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18701 $as_echo "$enable_extern_template" >&6; }
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18708 $as_echo_n "checking for custom python install directory... " >&6; }
18710 # Check whether --with-python-dir was given.
18711 if test "${with_python_dir+set}" = set; then :
18712 withval=$with_python_dir; with_python_dir=$withval
18713 else
18714 with_python_dir="no"
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18718 $as_echo "${with_python_dir}" >&6; }
18720 # Needed for installing Python modules during make install.
18721 python_mod_dir="${with_python_dir}"
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18727 $as_echo_n "checking for -Werror... " >&6; }
18728 # Check whether --enable-werror was given.
18729 if test "${enable_werror+set}" = set; then :
18730 enableval=$enable_werror;
18731 case "$enableval" in
18732 yes|no) ;;
18733 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18734 esac
18736 else
18737 enable_werror=no
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18742 $as_echo "$enable_werror" >&6; }
18747 # Check whether --enable-vtable-verify was given.
18748 if test "${enable_vtable_verify+set}" = set; then :
18749 enableval=$enable_vtable_verify;
18750 case "$enableval" in
18751 yes|no) ;;
18752 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18753 esac
18755 else
18756 enable_vtable_verify=no
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18762 $as_echo_n "checking for vtable verify support... " >&6; }
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18764 $as_echo "$enable_vtable_verify" >&6; }
18766 vtv_cygmin=no
18767 if test $enable_vtable_verify = yes; then
18768 case ${target_os} in
18769 cygwin*|mingw32*)
18770 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18771 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18772 vtv_cygmin=yes
18774 darwin*)
18775 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18776 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18778 solaris2*)
18779 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18780 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18783 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18784 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18786 esac
18787 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18788 else
18789 VTV_CXXFLAGS=
18790 VTV_PCH_CXXFLAGS=
18791 VTV_CXXLINKFLAGS=
18797 if test x$vtv_cygmin = xyes; then
18798 VTV_CYGMIN_TRUE=
18799 VTV_CYGMIN_FALSE='#'
18800 else
18801 VTV_CYGMIN_TRUE='#'
18802 VTV_CYGMIN_FALSE=
18808 # Checks for operating systems support that doesn't require linking.
18812 ac_ext=cpp
18813 ac_cpp='$CXXCPP $CPPFLAGS'
18814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18818 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18819 # and we don't need a declaration for C++14 anyway.
18820 ac_save_CXXFLAGS="$CXXFLAGS"
18821 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18824 $as_echo_n "checking for gets declaration... " >&6; }
18825 if ${glibcxx_cv_gets+:} false; then :
18826 $as_echo_n "(cached) " >&6
18827 else
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 #include <stdio.h>
18832 namespace test
18834 using ::gets;
18837 _ACEOF
18838 if ac_fn_cxx_try_compile "$LINENO"; then :
18839 glibcxx_cv_gets=yes
18840 else
18841 glibcxx_cv_gets=no
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18848 if test $glibcxx_cv_gets = yes; then
18850 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18854 $as_echo "$glibcxx_cv_gets" >&6; }
18856 CXXFLAGS="$ac_save_CXXFLAGS"
18857 ac_ext=c
18858 ac_cpp='$CPP $CPPFLAGS'
18859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18867 ac_ext=cpp
18868 ac_cpp='$CXXCPP $CPPFLAGS'
18869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18873 ac_save_CXXFLAGS="$CXXFLAGS"
18874 CXXFLAGS="$CXXFLAGS -std=c++11"
18876 case "$host" in
18877 *-*-solaris2.*)
18878 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18879 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18881 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18882 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18883 $as_echo_n "(cached) " >&6
18884 else
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 #include <math.h>
18889 #undef isfinite
18890 namespace std {
18891 inline bool isfinite(float __x)
18892 { return __builtin_isfinite(__x); }
18895 _ACEOF
18896 if ac_fn_cxx_try_compile "$LINENO"; then :
18897 glibcxx_cv_math11_fp_overload=no
18898 else
18899 glibcxx_cv_math11_fp_overload=yes
18902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906 # autoheader cannot handle indented templates.
18909 if test $glibcxx_cv_math11_fp_overload = yes; then
18910 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18914 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18916 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18917 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18919 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18920 if ${glibcxx_cv_math11_int_overload+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #include <math.h>
18927 namespace std {
18928 template<typename _Tp>
18929 struct __is_integer;
18930 template<>
18931 struct __is_integer<int>
18933 enum { __value = 1 };
18936 namespace __gnu_cxx {
18937 template<bool, typename>
18938 struct __enable_if;
18939 template<typename _Tp>
18940 struct __enable_if<true, _Tp>
18941 { typedef _Tp __type; };
18943 namespace std {
18944 template<typename _Tp>
18945 constexpr typename __gnu_cxx::__enable_if
18946 <__is_integer<_Tp>::__value, double>::__type
18947 log2(_Tp __x)
18948 { return __builtin_log2(__x); }
18951 main (void)
18953 int i = 1000;
18954 return std::log2(i);
18957 _ACEOF
18958 if ac_fn_cxx_try_compile "$LINENO"; then :
18959 glibcxx_cv_math11_int_overload=no
18960 else
18961 glibcxx_cv_math11_int_overload=yes
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 # autoheader cannot handle indented templates.
18971 if test $glibcxx_cv_math11_int_overload = yes; then
18972 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18976 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18979 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18980 # functions (instead of or as well as the C99 generic macros) then we
18981 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18982 # and must use the ones from <math.h> instead.
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18984 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18985 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18986 $as_echo_n "(cached) " >&6
18987 else
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18991 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18992 #include <math.h>
18993 #undef isinf
18994 namespace std {
18995 using ::isinf;
18996 bool isinf(float);
18997 bool isinf(long double);
18999 using std::isinf;
19000 bool b = isinf(0.0);
19002 _ACEOF
19003 if ac_fn_cxx_try_compile "$LINENO"; then :
19004 glibcxx_cv_obsolete_isinf=yes
19005 else
19006 glibcxx_cv_obsolete_isinf=no
19009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19013 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19014 if test $glibcxx_cv_obsolete_isinf = yes; then
19016 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19021 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19022 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19023 $as_echo_n "(cached) " >&6
19024 else
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19029 #include <math.h>
19030 #undef isnan
19031 namespace std {
19032 using ::isnan;
19033 bool isnan(float);
19034 bool isnan(long double);
19036 using std::isnan;
19037 bool b = isnan(0.0);
19039 _ACEOF
19040 if ac_fn_cxx_try_compile "$LINENO"; then :
19041 glibcxx_cv_obsolete_isnan=yes
19042 else
19043 glibcxx_cv_obsolete_isnan=no
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19050 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19051 if test $glibcxx_cv_obsolete_isnan = yes; then
19053 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19057 esac
19059 CXXFLAGS="$ac_save_CXXFLAGS"
19060 ac_ext=c
19061 ac_cpp='$CPP $CPPFLAGS'
19062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
19070 $as_echo_n "checking for EOWNERDEAD... " >&6; }
19071 if ${glibcxx_cv_system_error1+:} false; then :
19072 $as_echo_n "(cached) " >&6
19073 else
19075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19077 #include <errno.h>
19079 main ()
19081 int i = EOWNERDEAD;
19083 return 0;
19085 _ACEOF
19086 if ac_fn_c_try_compile "$LINENO"; then :
19087 glibcxx_cv_system_error1=yes
19088 else
19089 glibcxx_cv_system_error1=no
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
19096 $as_echo "$glibcxx_cv_system_error1" >&6; }
19097 if test x"$glibcxx_cv_system_error1" = x"yes"; then
19099 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
19103 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
19104 if ${glibcxx_cv_system_error2+:} false; then :
19105 $as_echo_n "(cached) " >&6
19106 else
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 #include <errno.h>
19112 main ()
19114 int i = ENOTRECOVERABLE;
19116 return 0;
19118 _ACEOF
19119 if ac_fn_c_try_compile "$LINENO"; then :
19120 glibcxx_cv_system_error2=yes
19121 else
19122 glibcxx_cv_system_error2=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19129 $as_echo "$glibcxx_cv_system_error2" >&6; }
19130 if test x"$glibcxx_cv_system_error2" = x"yes"; then
19132 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19136 $as_echo_n "checking for ENOLINK... " >&6; }
19137 if ${glibcxx_cv_system_error3+:} false; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19143 #include <errno.h>
19145 main ()
19147 int i = ENOLINK;
19149 return 0;
19151 _ACEOF
19152 if ac_fn_c_try_compile "$LINENO"; then :
19153 glibcxx_cv_system_error3=yes
19154 else
19155 glibcxx_cv_system_error3=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19162 $as_echo "$glibcxx_cv_system_error3" >&6; }
19163 if test x"$glibcxx_cv_system_error3" = x"yes"; then
19165 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19169 $as_echo_n "checking for EPROTO... " >&6; }
19170 if ${glibcxx_cv_system_error4+:} false; then :
19171 $as_echo_n "(cached) " >&6
19172 else
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #include <errno.h>
19178 main ()
19180 int i = EPROTO;
19182 return 0;
19184 _ACEOF
19185 if ac_fn_c_try_compile "$LINENO"; then :
19186 glibcxx_cv_system_error4=yes
19187 else
19188 glibcxx_cv_system_error4=no
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19195 $as_echo "$glibcxx_cv_system_error4" >&6; }
19196 if test x"$glibcxx_cv_system_error4" = x"yes"; then
19198 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19202 $as_echo_n "checking for ENODATA... " >&6; }
19203 if ${glibcxx_cv_system_error5+:} false; then :
19204 $as_echo_n "(cached) " >&6
19205 else
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #include <errno.h>
19211 main ()
19213 int i = ENODATA;
19215 return 0;
19217 _ACEOF
19218 if ac_fn_c_try_compile "$LINENO"; then :
19219 glibcxx_cv_system_error5=yes
19220 else
19221 glibcxx_cv_system_error5=no
19223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19228 $as_echo "$glibcxx_cv_system_error5" >&6; }
19229 if test x"$glibcxx_cv_system_error5" = x"yes"; then
19231 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19235 $as_echo_n "checking for ENOSR... " >&6; }
19236 if ${glibcxx_cv_system_error6+:} false; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242 #include <errno.h>
19244 main ()
19246 int i = ENOSR;
19248 return 0;
19250 _ACEOF
19251 if ac_fn_c_try_compile "$LINENO"; then :
19252 glibcxx_cv_system_error6=yes
19253 else
19254 glibcxx_cv_system_error6=no
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19261 $as_echo "$glibcxx_cv_system_error6" >&6; }
19262 if test x"$glibcxx_cv_system_error6" = x"yes"; then
19264 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19268 $as_echo_n "checking for ENOSTR... " >&6; }
19269 if ${glibcxx_cv_system_error7+:} false; then :
19270 $as_echo_n "(cached) " >&6
19271 else
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 #include <errno.h>
19277 main ()
19279 int i = ENOSTR;
19281 return 0;
19283 _ACEOF
19284 if ac_fn_c_try_compile "$LINENO"; then :
19285 glibcxx_cv_system_error7=yes
19286 else
19287 glibcxx_cv_system_error7=no
19289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19294 $as_echo "$glibcxx_cv_system_error7" >&6; }
19295 if test x"$glibcxx_cv_system_error7" = x"yes"; then
19297 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19301 $as_echo_n "checking for ETIME... " >&6; }
19302 if ${glibcxx_cv_system_error8+:} false; then :
19303 $as_echo_n "(cached) " >&6
19304 else
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <errno.h>
19310 main ()
19312 int i = ETIME;
19314 return 0;
19316 _ACEOF
19317 if ac_fn_c_try_compile "$LINENO"; then :
19318 glibcxx_cv_system_error8=yes
19319 else
19320 glibcxx_cv_system_error8=no
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19327 $as_echo "$glibcxx_cv_system_error8" >&6; }
19328 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19330 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19334 $as_echo_n "checking for EBADMSG... " >&6; }
19335 if ${glibcxx_cv_system_error9+:} false; then :
19336 $as_echo_n "(cached) " >&6
19337 else
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19341 #include <errno.h>
19343 main ()
19345 int i = EBADMSG;
19347 return 0;
19349 _ACEOF
19350 if ac_fn_c_try_compile "$LINENO"; then :
19351 glibcxx_cv_system_error9=yes
19352 else
19353 glibcxx_cv_system_error9=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19360 $as_echo "$glibcxx_cv_system_error9" >&6; }
19361 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19363 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19367 $as_echo_n "checking for ECANCELED... " >&6; }
19368 if ${glibcxx_cv_system_error10+:} false; then :
19369 $as_echo_n "(cached) " >&6
19370 else
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 #include <errno.h>
19376 main ()
19378 int i = ECANCELED;
19380 return 0;
19382 _ACEOF
19383 if ac_fn_c_try_compile "$LINENO"; then :
19384 glibcxx_cv_system_error10=yes
19385 else
19386 glibcxx_cv_system_error10=no
19388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19393 $as_echo "$glibcxx_cv_system_error10" >&6; }
19394 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19396 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19400 $as_echo_n "checking for EOVERFLOW... " >&6; }
19401 if ${glibcxx_cv_system_error11+:} false; then :
19402 $as_echo_n "(cached) " >&6
19403 else
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 #include <errno.h>
19409 main ()
19411 int i = EOVERFLOW;
19413 return 0;
19415 _ACEOF
19416 if ac_fn_c_try_compile "$LINENO"; then :
19417 glibcxx_cv_system_error11=yes
19418 else
19419 glibcxx_cv_system_error11=no
19421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19426 $as_echo "$glibcxx_cv_system_error11" >&6; }
19427 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19429 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19433 $as_echo_n "checking for ENOTSUP... " >&6; }
19434 if ${glibcxx_cv_system_error12+:} false; then :
19435 $as_echo_n "(cached) " >&6
19436 else
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 #include <errno.h>
19442 main ()
19444 int i = ENOTSUP;
19446 return 0;
19448 _ACEOF
19449 if ac_fn_c_try_compile "$LINENO"; then :
19450 glibcxx_cv_system_error12=yes
19451 else
19452 glibcxx_cv_system_error12=no
19454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19459 $as_echo "$glibcxx_cv_system_error12" >&6; }
19460 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19462 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19466 $as_echo_n "checking for EIDRM... " >&6; }
19467 if ${glibcxx_cv_system_error13+:} false; then :
19468 $as_echo_n "(cached) " >&6
19469 else
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 #include <errno.h>
19475 main ()
19477 int i = EIDRM;
19479 return 0;
19481 _ACEOF
19482 if ac_fn_c_try_compile "$LINENO"; then :
19483 glibcxx_cv_system_error13=yes
19484 else
19485 glibcxx_cv_system_error13=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19492 $as_echo "$glibcxx_cv_system_error13" >&6; }
19493 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19495 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19499 $as_echo_n "checking for ETXTBSY... " >&6; }
19500 if ${glibcxx_cv_system_error14+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #include <errno.h>
19508 main ()
19510 int i = ETXTBSY;
19512 return 0;
19514 _ACEOF
19515 if ac_fn_c_try_compile "$LINENO"; then :
19516 glibcxx_cv_system_error14=yes
19517 else
19518 glibcxx_cv_system_error14=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19525 $as_echo "$glibcxx_cv_system_error14" >&6; }
19526 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19528 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19532 $as_echo_n "checking for ECHILD... " >&6; }
19533 if ${glibcxx_cv_system_error15+:} false; then :
19534 $as_echo_n "(cached) " >&6
19535 else
19537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19538 /* end confdefs.h. */
19539 #include <errno.h>
19541 main ()
19543 int i = ECHILD;
19545 return 0;
19547 _ACEOF
19548 if ac_fn_c_try_compile "$LINENO"; then :
19549 glibcxx_cv_system_error15=yes
19550 else
19551 glibcxx_cv_system_error15=no
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19558 $as_echo "$glibcxx_cv_system_error15" >&6; }
19559 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19561 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19565 $as_echo_n "checking for ENOSPC... " >&6; }
19566 if ${glibcxx_cv_system_error16+:} false; then :
19567 $as_echo_n "(cached) " >&6
19568 else
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19572 #include <errno.h>
19574 main ()
19576 int i = ENOSPC;
19578 return 0;
19580 _ACEOF
19581 if ac_fn_c_try_compile "$LINENO"; then :
19582 glibcxx_cv_system_error16=yes
19583 else
19584 glibcxx_cv_system_error16=no
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19591 $as_echo "$glibcxx_cv_system_error16" >&6; }
19592 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19594 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19598 $as_echo_n "checking for EPERM... " >&6; }
19599 if ${glibcxx_cv_system_error17+:} false; then :
19600 $as_echo_n "(cached) " >&6
19601 else
19603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19605 #include <errno.h>
19607 main ()
19609 int i = EPERM;
19611 return 0;
19613 _ACEOF
19614 if ac_fn_c_try_compile "$LINENO"; then :
19615 glibcxx_cv_system_error17=yes
19616 else
19617 glibcxx_cv_system_error17=no
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19624 $as_echo "$glibcxx_cv_system_error17" >&6; }
19625 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19627 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19631 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19632 if ${glibcxx_cv_system_error18+:} false; then :
19633 $as_echo_n "(cached) " >&6
19634 else
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <errno.h>
19640 main ()
19642 int i = ETIMEDOUT;
19644 return 0;
19646 _ACEOF
19647 if ac_fn_c_try_compile "$LINENO"; then :
19648 glibcxx_cv_system_error18=yes
19649 else
19650 glibcxx_cv_system_error18=no
19652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19657 $as_echo "$glibcxx_cv_system_error18" >&6; }
19658 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19660 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19664 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19665 if ${glibcxx_cv_system_error19+:} false; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #include <errno.h>
19673 main ()
19675 int i = EWOULDBLOCK;
19677 return 0;
19679 _ACEOF
19680 if ac_fn_c_try_compile "$LINENO"; then :
19681 glibcxx_cv_system_error19=yes
19682 else
19683 glibcxx_cv_system_error19=no
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19690 $as_echo "$glibcxx_cv_system_error19" >&6; }
19691 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19693 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19700 # Test uchar.h.
19701 for ac_header in uchar.h
19702 do :
19703 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19704 if test "x$ac_cv_header_uchar_h" = xyes; then :
19705 cat >>confdefs.h <<_ACEOF
19706 #define HAVE_UCHAR_H 1
19707 _ACEOF
19708 ac_has_uchar_h=yes
19709 else
19710 ac_has_uchar_h=no
19713 done
19717 ac_ext=cpp
19718 ac_cpp='$CXXCPP $CPPFLAGS'
19719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19723 ac_save_CXXFLAGS="$CXXFLAGS"
19724 CXXFLAGS="$CXXFLAGS -std=c++11"
19726 if test x"$ac_has_uchar_h" = x"yes"; then
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19728 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 #include <uchar.h>
19732 #ifdef __STDC_UTF_16__
19733 long i = __STDC_UTF_16__;
19734 #endif
19735 #ifdef __STDC_UTF_32__
19736 long j = __STDC_UTF_32__;
19737 #endif
19738 namespace test
19740 using ::c16rtomb;
19741 using ::c32rtomb;
19742 using ::mbrtoc16;
19743 using ::mbrtoc32;
19747 main ()
19751 return 0;
19753 _ACEOF
19754 if ac_fn_cxx_try_compile "$LINENO"; then :
19755 ac_c11_uchar_cxx11=yes
19756 else
19757 ac_c11_uchar_cxx11=no
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 else
19761 ac_c11_uchar_cxx11=no
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19764 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19765 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19767 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19771 CXXFLAGS="$ac_save_CXXFLAGS"
19772 ac_ext=c
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19780 # For the streamoff typedef.
19784 ac_ext=cpp
19785 ac_cpp='$CXXCPP $CPPFLAGS'
19786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19792 $as_echo_n "checking for int64_t... " >&6; }
19793 if ${glibcxx_cv_INT64_T+:} false; then :
19794 $as_echo_n "(cached) " >&6
19795 else
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #include <stdint.h>
19801 main ()
19803 int64_t var;
19805 return 0;
19807 _ACEOF
19808 if ac_fn_cxx_try_compile "$LINENO"; then :
19809 glibcxx_cv_INT64_T=yes
19810 else
19811 glibcxx_cv_INT64_T=no
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19818 if test $glibcxx_cv_INT64_T = yes; then
19820 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19823 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19826 $as_echo_n "checking for int64_t as long... " >&6; }
19827 if ${glibcxx_cv_int64_t_long+:} false; then :
19828 $as_echo_n "(cached) " >&6
19829 else
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833 #include <stdint.h>
19834 template<typename, typename> struct same { enum { value = -1 }; };
19835 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19836 int array[same<int64_t, long>::value];
19838 main ()
19842 return 0;
19844 _ACEOF
19845 if ac_fn_cxx_try_compile "$LINENO"; then :
19846 glibcxx_cv_int64_t_long=yes
19847 else
19848 glibcxx_cv_int64_t_long=no
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19855 if test $glibcxx_cv_int64_t_long = yes; then
19857 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19860 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19864 $as_echo_n "checking for int64_t as long long... " >&6; }
19865 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19866 $as_echo_n "(cached) " >&6
19867 else
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19871 #include <stdint.h>
19872 template<typename, typename> struct same { enum { value = -1 }; };
19873 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19874 int array[same<int64_t, long long>::value];
19876 main ()
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_compile "$LINENO"; then :
19884 glibcxx_cv_int64_t_long_long=yes
19885 else
19886 glibcxx_cv_int64_t_long_long=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893 if test $glibcxx_cv_int64_t_long_long = yes; then
19895 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19898 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19902 ac_ext=c
19903 ac_cpp='$CPP $CPPFLAGS'
19904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19910 # For LFS support.
19913 ac_ext=cpp
19914 ac_cpp='$CXXCPP $CPPFLAGS'
19915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19919 ac_save_CXXFLAGS="$CXXFLAGS"
19920 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19922 $as_echo_n "checking for LFS support... " >&6; }
19923 if ${glibcxx_cv_LFS+:} false; then :
19924 $as_echo_n "(cached) " >&6
19925 else
19927 if test x$gcc_no_link = xyes; then
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19930 #include <unistd.h>
19931 #include <stdio.h>
19932 #include <sys/stat.h>
19935 main ()
19937 FILE* fp;
19938 fopen64("t", "w");
19939 fseeko64(fp, 0, SEEK_CUR);
19940 ftello64(fp);
19941 lseek64(1, 0, SEEK_CUR);
19942 struct stat64 buf;
19943 fstat64(1, &buf);
19945 return 0;
19947 _ACEOF
19948 if ac_fn_cxx_try_compile "$LINENO"; then :
19949 glibcxx_cv_LFS=yes
19950 else
19951 glibcxx_cv_LFS=no
19953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19954 else
19955 if test x$gcc_no_link = xyes; then
19956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <unistd.h>
19961 #include <stdio.h>
19962 #include <sys/stat.h>
19965 main ()
19967 FILE* fp;
19968 fopen64("t", "w");
19969 fseeko64(fp, 0, SEEK_CUR);
19970 ftello64(fp);
19971 lseek64(1, 0, SEEK_CUR);
19972 struct stat64 buf;
19973 fstat64(1, &buf);
19975 return 0;
19977 _ACEOF
19978 if ac_fn_cxx_try_link "$LINENO"; then :
19979 glibcxx_cv_LFS=yes
19980 else
19981 glibcxx_cv_LFS=no
19983 rm -f core conftest.err conftest.$ac_objext \
19984 conftest$ac_exeext conftest.$ac_ext
19989 if test $glibcxx_cv_LFS = yes; then
19991 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19995 $as_echo "$glibcxx_cv_LFS" >&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
20005 # For showmanyc_helper().
20006 for ac_header in sys/ioctl.h sys/filio.h
20007 do :
20008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20009 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20011 cat >>confdefs.h <<_ACEOF
20012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20013 _ACEOF
20017 done
20022 ac_ext=cpp
20023 ac_cpp='$CXXCPP $CPPFLAGS'
20024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20028 ac_save_CXXFLAGS="$CXXFLAGS"
20029 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
20032 $as_echo_n "checking for poll... " >&6; }
20033 if ${glibcxx_cv_POLL+:} false; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20037 if test x$gcc_no_link = xyes; then
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20040 #include <poll.h>
20042 main ()
20044 struct pollfd pfd[1];
20045 pfd[0].events = POLLIN;
20046 poll(pfd, 1, 0);
20048 return 0;
20050 _ACEOF
20051 if ac_fn_cxx_try_compile "$LINENO"; then :
20052 glibcxx_cv_POLL=yes
20053 else
20054 glibcxx_cv_POLL=no
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 else
20058 if test x$gcc_no_link = xyes; then
20059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20062 /* end confdefs.h. */
20063 #include <poll.h>
20065 main ()
20067 struct pollfd pfd[1];
20068 pfd[0].events = POLLIN;
20069 poll(pfd, 1, 0);
20071 return 0;
20073 _ACEOF
20074 if ac_fn_cxx_try_link "$LINENO"; then :
20075 glibcxx_cv_POLL=yes
20076 else
20077 glibcxx_cv_POLL=no
20079 rm -f core conftest.err conftest.$ac_objext \
20080 conftest$ac_exeext conftest.$ac_ext
20085 if test $glibcxx_cv_POLL = yes; then
20087 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20091 $as_echo "$glibcxx_cv_POLL" >&6; }
20093 CXXFLAGS="$ac_save_CXXFLAGS"
20094 ac_ext=c
20095 ac_cpp='$CPP $CPPFLAGS'
20096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20104 ac_ext=cpp
20105 ac_cpp='$CXXCPP $CPPFLAGS'
20106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20110 ac_save_CXXFLAGS="$CXXFLAGS"
20111 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20114 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20115 if ${glibcxx_cv_S_ISREG+:} false; then :
20116 $as_echo_n "(cached) " >&6
20117 else
20119 if test x$gcc_no_link = xyes; then
20120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20121 /* end confdefs.h. */
20122 #include <sys/stat.h>
20124 main ()
20126 struct stat buffer;
20127 fstat(0, &buffer);
20128 S_ISREG(buffer.st_mode);
20130 return 0;
20132 _ACEOF
20133 if ac_fn_cxx_try_compile "$LINENO"; then :
20134 glibcxx_cv_S_ISREG=yes
20135 else
20136 glibcxx_cv_S_ISREG=no
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 else
20140 if test x$gcc_no_link = xyes; then
20141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20145 #include <sys/stat.h>
20147 main ()
20149 struct stat buffer;
20150 fstat(0, &buffer);
20151 S_ISREG(buffer.st_mode);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_cxx_try_link "$LINENO"; then :
20157 glibcxx_cv_S_ISREG=yes
20158 else
20159 glibcxx_cv_S_ISREG=no
20161 rm -f core conftest.err conftest.$ac_objext \
20162 conftest$ac_exeext conftest.$ac_ext
20167 if ${glibcxx_cv_S_IFREG+:} false; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20171 if test x$gcc_no_link = xyes; then
20172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20173 /* end confdefs.h. */
20174 #include <sys/stat.h>
20176 main ()
20178 struct stat buffer;
20179 fstat(0, &buffer);
20180 S_IFREG & buffer.st_mode;
20182 return 0;
20184 _ACEOF
20185 if ac_fn_cxx_try_compile "$LINENO"; then :
20186 glibcxx_cv_S_IFREG=yes
20187 else
20188 glibcxx_cv_S_IFREG=no
20190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20191 else
20192 if test x$gcc_no_link = xyes; then
20193 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20197 #include <sys/stat.h>
20199 main ()
20201 struct stat buffer;
20202 fstat(0, &buffer);
20203 S_IFREG & buffer.st_mode;
20205 return 0;
20207 _ACEOF
20208 if ac_fn_cxx_try_link "$LINENO"; then :
20209 glibcxx_cv_S_IFREG=yes
20210 else
20211 glibcxx_cv_S_IFREG=no
20213 rm -f core conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20219 res=no
20220 if test $glibcxx_cv_S_ISREG = yes; then
20222 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20224 res=S_ISREG
20225 elif test $glibcxx_cv_S_IFREG = yes; then
20227 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20229 res=S_IFREG
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20232 $as_echo "$res" >&6; }
20234 CXXFLAGS="$ac_save_CXXFLAGS"
20235 ac_ext=c
20236 ac_cpp='$CPP $CPPFLAGS'
20237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20243 # For xsputn_2().
20244 for ac_header in sys/uio.h
20245 do :
20246 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20247 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20248 cat >>confdefs.h <<_ACEOF
20249 #define HAVE_SYS_UIO_H 1
20250 _ACEOF
20254 done
20259 ac_ext=cpp
20260 ac_cpp='$CXXCPP $CPPFLAGS'
20261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20265 ac_save_CXXFLAGS="$CXXFLAGS"
20266 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20269 $as_echo_n "checking for writev... " >&6; }
20270 if ${glibcxx_cv_WRITEV+:} false; then :
20271 $as_echo_n "(cached) " >&6
20272 else
20274 if test x$gcc_no_link = xyes; then
20275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20277 #include <sys/uio.h>
20279 main ()
20281 struct iovec iov[2];
20282 writev(0, iov, 0);
20284 return 0;
20286 _ACEOF
20287 if ac_fn_cxx_try_compile "$LINENO"; then :
20288 glibcxx_cv_WRITEV=yes
20289 else
20290 glibcxx_cv_WRITEV=no
20292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293 else
20294 if test x$gcc_no_link = xyes; then
20295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20298 /* end confdefs.h. */
20299 #include <sys/uio.h>
20301 main ()
20303 struct iovec iov[2];
20304 writev(0, iov, 0);
20306 return 0;
20308 _ACEOF
20309 if ac_fn_cxx_try_link "$LINENO"; then :
20310 glibcxx_cv_WRITEV=yes
20311 else
20312 glibcxx_cv_WRITEV=no
20314 rm -f core conftest.err conftest.$ac_objext \
20315 conftest$ac_exeext conftest.$ac_ext
20320 if test $glibcxx_cv_WRITEV = yes; then
20322 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20326 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20328 CXXFLAGS="$ac_save_CXXFLAGS"
20329 ac_ext=c
20330 ac_cpp='$CPP $CPPFLAGS'
20331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20337 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20338 # so that the check is done with the C compiler (not C++).
20339 # Checking with C++ can break a canadian cross build if either
20340 # file does not exist in C but does in C++.
20341 for ac_header in fenv.h complex.h
20342 do :
20343 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20344 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20346 cat >>confdefs.h <<_ACEOF
20347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20348 _ACEOF
20352 done
20355 # For C99 support to TR1.
20359 ac_ext=cpp
20360 ac_cpp='$CXXCPP $CPPFLAGS'
20361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20366 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20367 # undefined and fake C99 facilities may be spuriously enabled.
20368 ac_save_CXXFLAGS="$CXXFLAGS"
20369 CXXFLAGS="$CXXFLAGS -std=c++98"
20371 # Check for the existence of <complex.h> complex math functions used
20372 # by tr1/complex.
20373 for ac_header in complex.h
20374 do :
20375 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20376 if test "x$ac_cv_header_complex_h" = xyes; then :
20377 cat >>confdefs.h <<_ACEOF
20378 #define HAVE_COMPLEX_H 1
20379 _ACEOF
20380 ac_has_complex_h=yes
20381 else
20382 ac_has_complex_h=no
20385 done
20387 ac_c99_complex_tr1=no;
20388 if test x"$ac_has_complex_h" = x"yes"; then
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20390 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20392 /* end confdefs.h. */
20393 #include <complex.h>
20395 main ()
20397 typedef __complex__ float float_type; float_type tmpf;
20398 cacosf(tmpf);
20399 casinf(tmpf);
20400 catanf(tmpf);
20401 cacoshf(tmpf);
20402 casinhf(tmpf);
20403 catanhf(tmpf);
20404 typedef __complex__ double double_type; double_type tmpd;
20405 cacos(tmpd);
20406 casin(tmpd);
20407 catan(tmpd);
20408 cacosh(tmpd);
20409 casinh(tmpd);
20410 catanh(tmpd);
20411 typedef __complex__ long double ld_type; ld_type tmpld;
20412 cacosl(tmpld);
20413 casinl(tmpld);
20414 catanl(tmpld);
20415 cacoshl(tmpld);
20416 casinhl(tmpld);
20417 catanhl(tmpld);
20420 return 0;
20422 _ACEOF
20423 if ac_fn_cxx_try_compile "$LINENO"; then :
20424 ac_c99_complex_tr1=yes
20425 else
20426 ac_c99_complex_tr1=no
20428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20431 $as_echo "$ac_c99_complex_tr1" >&6; }
20432 if test x"$ac_c99_complex_tr1" = x"yes"; then
20434 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20438 # Check for the existence of <ctype.h> functions.
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20440 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20441 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20442 $as_echo_n "(cached) " >&6
20443 else
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20447 #include <ctype.h>
20449 main ()
20451 int ch;
20452 int ret;
20453 ret = isblank(ch);
20456 return 0;
20458 _ACEOF
20459 if ac_fn_cxx_try_compile "$LINENO"; then :
20460 glibcxx_cv_c99_ctype_tr1=yes
20461 else
20462 glibcxx_cv_c99_ctype_tr1=no
20464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20469 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20470 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20472 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20476 # Check for the existence of <fenv.h> functions.
20477 for ac_header in fenv.h
20478 do :
20479 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20480 if test "x$ac_cv_header_fenv_h" = xyes; then :
20481 cat >>confdefs.h <<_ACEOF
20482 #define HAVE_FENV_H 1
20483 _ACEOF
20484 ac_has_fenv_h=yes
20485 else
20486 ac_has_fenv_h=no
20489 done
20491 ac_c99_fenv_tr1=no;
20492 if test x"$ac_has_fenv_h" = x"yes"; then
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20494 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20496 /* end confdefs.h. */
20497 #include <fenv.h>
20499 main ()
20501 int except, mode;
20502 fexcept_t* pflag;
20503 fenv_t* penv;
20504 int ret;
20505 ret = feclearexcept(except);
20506 ret = fegetexceptflag(pflag, except);
20507 ret = feraiseexcept(except);
20508 ret = fesetexceptflag(pflag, except);
20509 ret = fetestexcept(except);
20510 ret = fegetround();
20511 ret = fesetround(mode);
20512 ret = fegetenv(penv);
20513 ret = feholdexcept(penv);
20514 ret = fesetenv(penv);
20515 ret = feupdateenv(penv);
20518 return 0;
20520 _ACEOF
20521 if ac_fn_cxx_try_compile "$LINENO"; then :
20522 ac_c99_fenv_tr1=yes
20523 else
20524 ac_c99_fenv_tr1=no
20526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20529 $as_echo "$ac_c99_fenv_tr1" >&6; }
20530 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20532 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20536 # Check for the existence of <stdint.h> types.
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20538 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20539 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20540 $as_echo_n "(cached) " >&6
20541 else
20543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20544 /* end confdefs.h. */
20545 #define __STDC_LIMIT_MACROS
20546 #define __STDC_CONSTANT_MACROS
20547 #include <stdint.h>
20549 main ()
20551 typedef int8_t my_int8_t;
20552 my_int8_t i8 = INT8_MIN;
20553 i8 = INT8_MAX;
20554 typedef int16_t my_int16_t;
20555 my_int16_t i16 = INT16_MIN;
20556 i16 = INT16_MAX;
20557 typedef int32_t my_int32_t;
20558 my_int32_t i32 = INT32_MIN;
20559 i32 = INT32_MAX;
20560 typedef int64_t my_int64_t;
20561 my_int64_t i64 = INT64_MIN;
20562 i64 = INT64_MAX;
20563 typedef int_fast8_t my_int_fast8_t;
20564 my_int_fast8_t if8 = INT_FAST8_MIN;
20565 if8 = INT_FAST8_MAX;
20566 typedef int_fast16_t my_int_fast16_t;
20567 my_int_fast16_t if16 = INT_FAST16_MIN;
20568 if16 = INT_FAST16_MAX;
20569 typedef int_fast32_t my_int_fast32_t;
20570 my_int_fast32_t if32 = INT_FAST32_MIN;
20571 if32 = INT_FAST32_MAX;
20572 typedef int_fast64_t my_int_fast64_t;
20573 my_int_fast64_t if64 = INT_FAST64_MIN;
20574 if64 = INT_FAST64_MAX;
20575 typedef int_least8_t my_int_least8_t;
20576 my_int_least8_t il8 = INT_LEAST8_MIN;
20577 il8 = INT_LEAST8_MAX;
20578 typedef int_least16_t my_int_least16_t;
20579 my_int_least16_t il16 = INT_LEAST16_MIN;
20580 il16 = INT_LEAST16_MAX;
20581 typedef int_least32_t my_int_least32_t;
20582 my_int_least32_t il32 = INT_LEAST32_MIN;
20583 il32 = INT_LEAST32_MAX;
20584 typedef int_least64_t my_int_least64_t;
20585 my_int_least64_t il64 = INT_LEAST64_MIN;
20586 il64 = INT_LEAST64_MAX;
20587 typedef intmax_t my_intmax_t;
20588 my_intmax_t im = INTMAX_MAX;
20589 im = INTMAX_MIN;
20590 typedef intptr_t my_intptr_t;
20591 my_intptr_t ip = INTPTR_MAX;
20592 ip = INTPTR_MIN;
20593 typedef uint8_t my_uint8_t;
20594 my_uint8_t ui8 = UINT8_MAX;
20595 ui8 = UINT8_MAX;
20596 typedef uint16_t my_uint16_t;
20597 my_uint16_t ui16 = UINT16_MAX;
20598 ui16 = UINT16_MAX;
20599 typedef uint32_t my_uint32_t;
20600 my_uint32_t ui32 = UINT32_MAX;
20601 ui32 = UINT32_MAX;
20602 typedef uint64_t my_uint64_t;
20603 my_uint64_t ui64 = UINT64_MAX;
20604 ui64 = UINT64_MAX;
20605 typedef uint_fast8_t my_uint_fast8_t;
20606 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20607 uif8 = UINT_FAST8_MAX;
20608 typedef uint_fast16_t my_uint_fast16_t;
20609 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20610 uif16 = UINT_FAST16_MAX;
20611 typedef uint_fast32_t my_uint_fast32_t;
20612 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20613 uif32 = UINT_FAST32_MAX;
20614 typedef uint_fast64_t my_uint_fast64_t;
20615 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20616 uif64 = UINT_FAST64_MAX;
20617 typedef uint_least8_t my_uint_least8_t;
20618 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20619 uil8 = UINT_LEAST8_MAX;
20620 typedef uint_least16_t my_uint_least16_t;
20621 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20622 uil16 = UINT_LEAST16_MAX;
20623 typedef uint_least32_t my_uint_least32_t;
20624 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20625 uil32 = UINT_LEAST32_MAX;
20626 typedef uint_least64_t my_uint_least64_t;
20627 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20628 uil64 = UINT_LEAST64_MAX;
20629 typedef uintmax_t my_uintmax_t;
20630 my_uintmax_t uim = UINTMAX_MAX;
20631 uim = UINTMAX_MAX;
20632 typedef uintptr_t my_uintptr_t;
20633 my_uintptr_t uip = UINTPTR_MAX;
20634 uip = UINTPTR_MAX;
20637 return 0;
20639 _ACEOF
20640 if ac_fn_cxx_try_compile "$LINENO"; then :
20641 glibcxx_cv_c99_stdint_tr1=yes
20642 else
20643 glibcxx_cv_c99_stdint_tr1=no
20645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20650 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20651 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20653 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20657 # Check for the existence of <math.h> functions.
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20659 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20660 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20661 $as_echo_n "(cached) " >&6
20662 else
20664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20665 /* end confdefs.h. */
20666 #include <math.h>
20668 main ()
20670 typedef double_t my_double_t;
20671 typedef float_t my_float_t;
20672 acosh(0.0);
20673 acoshf(0.0f);
20674 acoshl(0.0l);
20675 asinh(0.0);
20676 asinhf(0.0f);
20677 asinhl(0.0l);
20678 atanh(0.0);
20679 atanhf(0.0f);
20680 atanhl(0.0l);
20681 cbrt(0.0);
20682 cbrtf(0.0f);
20683 cbrtl(0.0l);
20684 copysign(0.0, 0.0);
20685 copysignf(0.0f, 0.0f);
20686 copysignl(0.0l, 0.0l);
20687 erf(0.0);
20688 erff(0.0f);
20689 erfl(0.0l);
20690 erfc(0.0);
20691 erfcf(0.0f);
20692 erfcl(0.0l);
20693 exp2(0.0);
20694 exp2f(0.0f);
20695 exp2l(0.0l);
20696 expm1(0.0);
20697 expm1f(0.0f);
20698 expm1l(0.0l);
20699 fdim(0.0, 0.0);
20700 fdimf(0.0f, 0.0f);
20701 fdiml(0.0l, 0.0l);
20702 fma(0.0, 0.0, 0.0);
20703 fmaf(0.0f, 0.0f, 0.0f);
20704 fmal(0.0l, 0.0l, 0.0l);
20705 fmax(0.0, 0.0);
20706 fmaxf(0.0f, 0.0f);
20707 fmaxl(0.0l, 0.0l);
20708 fmin(0.0, 0.0);
20709 fminf(0.0f, 0.0f);
20710 fminl(0.0l, 0.0l);
20711 hypot(0.0, 0.0);
20712 hypotf(0.0f, 0.0f);
20713 hypotl(0.0l, 0.0l);
20714 ilogb(0.0);
20715 ilogbf(0.0f);
20716 ilogbl(0.0l);
20717 lgamma(0.0);
20718 lgammaf(0.0f);
20719 lgammal(0.0l);
20720 #ifndef __APPLE__ /* see below */
20721 llrint(0.0);
20722 llrintf(0.0f);
20723 llrintl(0.0l);
20724 llround(0.0);
20725 llroundf(0.0f);
20726 llroundl(0.0l);
20727 #endif
20728 log1p(0.0);
20729 log1pf(0.0f);
20730 log1pl(0.0l);
20731 log2(0.0);
20732 log2f(0.0f);
20733 log2l(0.0l);
20734 logb(0.0);
20735 logbf(0.0f);
20736 logbl(0.0l);
20737 lrint(0.0);
20738 lrintf(0.0f);
20739 lrintl(0.0l);
20740 lround(0.0);
20741 lroundf(0.0f);
20742 lroundl(0.0l);
20743 nan(0);
20744 nanf(0);
20745 nanl(0);
20746 nearbyint(0.0);
20747 nearbyintf(0.0f);
20748 nearbyintl(0.0l);
20749 nextafter(0.0, 0.0);
20750 nextafterf(0.0f, 0.0f);
20751 nextafterl(0.0l, 0.0l);
20752 nexttoward(0.0, 0.0);
20753 nexttowardf(0.0f, 0.0f);
20754 nexttowardl(0.0l, 0.0l);
20755 remainder(0.0, 0.0);
20756 remainderf(0.0f, 0.0f);
20757 remainderl(0.0l, 0.0l);
20758 remquo(0.0, 0.0, 0);
20759 remquof(0.0f, 0.0f, 0);
20760 remquol(0.0l, 0.0l, 0);
20761 rint(0.0);
20762 rintf(0.0f);
20763 rintl(0.0l);
20764 round(0.0);
20765 roundf(0.0f);
20766 roundl(0.0l);
20767 scalbln(0.0, 0l);
20768 scalblnf(0.0f, 0l);
20769 scalblnl(0.0l, 0l);
20770 scalbn(0.0, 0);
20771 scalbnf(0.0f, 0);
20772 scalbnl(0.0l, 0);
20773 tgamma(0.0);
20774 tgammaf(0.0f);
20775 tgammal(0.0l);
20776 trunc(0.0);
20777 truncf(0.0f);
20778 truncl(0.0l);
20781 return 0;
20783 _ACEOF
20784 if ac_fn_cxx_try_compile "$LINENO"; then :
20785 glibcxx_cv_c99_math_tr1=yes
20786 else
20787 glibcxx_cv_c99_math_tr1=no
20789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20794 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20795 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20797 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20800 case "${target_os}" in
20801 darwin*)
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20803 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20804 if ${glibcxx_cv_c99_math_llround+:} false; then :
20805 $as_echo_n "(cached) " >&6
20806 else
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20810 #include <math.h>
20812 main ()
20814 llrint(0.0);
20815 llrintf(0.0f);
20816 llrintl(0.0l);
20817 llround(0.0);
20818 llroundf(0.0f);
20819 llroundl(0.0l);
20822 return 0;
20824 _ACEOF
20825 if ac_fn_cxx_try_compile "$LINENO"; then :
20826 glibcxx_cv_c99_math_llround=yes
20827 else
20828 glibcxx_cv_c99_math_llround=no
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20835 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20837 esac
20838 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20840 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20845 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20846 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20847 ac_c99_inttypes_tr1=no;
20848 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20850 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #include <inttypes.h>
20855 main ()
20857 intmax_t i, numer, denom, base;
20858 const char* s;
20859 char** endptr;
20860 intmax_t ret = imaxabs(i);
20861 imaxdiv_t dret = imaxdiv(numer, denom);
20862 ret = strtoimax(s, endptr, base);
20863 uintmax_t uret = strtoumax(s, endptr, base);
20866 return 0;
20868 _ACEOF
20869 if ac_fn_cxx_try_compile "$LINENO"; then :
20870 ac_c99_inttypes_tr1=yes
20871 else
20872 ac_c99_inttypes_tr1=no
20874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20877 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20878 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20880 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20884 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20885 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20886 ac_c99_inttypes_wchar_t_tr1=no;
20887 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20889 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891 /* end confdefs.h. */
20892 #include <inttypes.h>
20894 main ()
20896 intmax_t base;
20897 const wchar_t* s;
20898 wchar_t** endptr;
20899 intmax_t ret = wcstoimax(s, endptr, base);
20900 uintmax_t uret = wcstoumax(s, endptr, base);
20903 return 0;
20905 _ACEOF
20906 if ac_fn_cxx_try_compile "$LINENO"; then :
20907 ac_c99_inttypes_wchar_t_tr1=yes
20908 else
20909 ac_c99_inttypes_wchar_t_tr1=no
20911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20914 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20915 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20917 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20921 # Check for the existence of the <stdbool.h> header.
20922 for ac_header in stdbool.h
20923 do :
20924 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20925 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20926 cat >>confdefs.h <<_ACEOF
20927 #define HAVE_STDBOOL_H 1
20928 _ACEOF
20932 done
20935 # Check for the existence of the <stdalign.h> header.
20936 for ac_header in stdalign.h
20937 do :
20938 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20939 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20940 cat >>confdefs.h <<_ACEOF
20941 #define HAVE_STDALIGN_H 1
20942 _ACEOF
20946 done
20949 CXXFLAGS="$ac_save_CXXFLAGS"
20950 ac_ext=c
20951 ac_cpp='$CPP $CPPFLAGS'
20952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20958 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20962 $as_echo_n "checking for the value of EOF... " >&6; }
20963 if ${glibcxx_cv_stdio_eof+:} false; then :
20964 $as_echo_n "(cached) " >&6
20965 else
20967 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20969 else
20970 as_fn_error $? "computing EOF failed" "$LINENO" 5
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20976 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20978 cat >>confdefs.h <<_ACEOF
20979 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20980 _ACEOF
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20984 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20985 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20986 $as_echo_n "(cached) " >&6
20987 else
20989 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20991 else
20992 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20998 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
21000 cat >>confdefs.h <<_ACEOF
21001 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
21002 _ACEOF
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
21006 $as_echo_n "checking for the value of SEEK_END... " >&6; }
21007 if ${glibcxx_cv_stdio_seek_end+:} false; then :
21008 $as_echo_n "(cached) " >&6
21009 else
21011 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
21013 else
21014 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
21020 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
21022 cat >>confdefs.h <<_ACEOF
21023 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
21024 _ACEOF
21028 # For gettimeofday support.
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21032 $as_echo_n "checking for gettimeofday... " >&6; }
21035 ac_ext=cpp
21036 ac_cpp='$CXXCPP $CPPFLAGS'
21037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21041 ac_save_CXXFLAGS="$CXXFLAGS"
21042 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21044 ac_has_gettimeofday=no;
21045 for ac_header in sys/time.h
21046 do :
21047 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21048 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21049 cat >>confdefs.h <<_ACEOF
21050 #define HAVE_SYS_TIME_H 1
21051 _ACEOF
21052 ac_has_sys_time_h=yes
21053 else
21054 ac_has_sys_time_h=no
21057 done
21059 if test x"$ac_has_sys_time_h" = x"yes"; then
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21061 $as_echo_n "checking for gettimeofday... " >&6; }
21062 if test x$gcc_no_link = xyes; then
21063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21065 #include <sys/time.h>
21067 main ()
21069 timeval tv; gettimeofday(&tv, 0);
21071 return 0;
21073 _ACEOF
21074 if ac_fn_cxx_try_compile "$LINENO"; then :
21075 ac_has_gettimeofday=yes
21076 else
21077 ac_has_gettimeofday=no
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 else
21081 if test x$gcc_no_link = xyes; then
21082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21086 #include <sys/time.h>
21088 main ()
21090 timeval tv; gettimeofday(&tv, 0);
21092 return 0;
21094 _ACEOF
21095 if ac_fn_cxx_try_link "$LINENO"; then :
21096 ac_has_gettimeofday=yes
21097 else
21098 ac_has_gettimeofday=no
21100 rm -f core conftest.err conftest.$ac_objext \
21101 conftest$ac_exeext conftest.$ac_ext
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21105 $as_echo "$ac_has_gettimeofday" >&6; }
21108 if test x"$ac_has_gettimeofday" = x"yes"; then
21110 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21114 CXXFLAGS="$ac_save_CXXFLAGS"
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123 # For clock_gettime, nanosleep and sched_yield support.
21126 # Check whether --enable-libstdcxx-time was given.
21127 if test "${enable_libstdcxx_time+set}" = set; then :
21128 enableval=$enable_libstdcxx_time;
21129 case "$enableval" in
21130 yes|no|rt) ;;
21131 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21132 esac
21134 else
21135 enable_libstdcxx_time=auto
21141 ac_ext=cpp
21142 ac_cpp='$CXXCPP $CPPFLAGS'
21143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21147 ac_save_CXXFLAGS="$CXXFLAGS"
21148 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21149 ac_save_LIBS="$LIBS"
21151 ac_has_clock_monotonic=no
21152 ac_has_clock_realtime=no
21153 ac_has_nanosleep=no
21154 ac_has_sched_yield=no
21156 if test x"$enable_libstdcxx_time" = x"auto"; then
21158 case "${target_os}" in
21159 cygwin*)
21160 ac_has_nanosleep=yes
21162 darwin*)
21163 ac_has_nanosleep=yes
21164 ac_has_sched_yield=yes
21166 # VxWorks has nanosleep as soon as the kernel is configured with
21167 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21168 vxworks*)
21169 ac_has_nanosleep=yes
21171 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21172 # Don't use link test for freestanding library, in case gcc_no_link=yes
21173 if test x"$is_hosted" = xyes; then
21174 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21176 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21177 if ${ac_cv_search_clock_gettime+:} false; then :
21178 $as_echo_n "(cached) " >&6
21179 else
21180 ac_func_search_save_LIBS=$LIBS
21181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182 /* end confdefs.h. */
21184 /* Override any GCC internal prototype to avoid an error.
21185 Use char because int might match the return type of a GCC
21186 builtin and then its argument prototype would still apply. */
21187 #ifdef __cplusplus
21188 extern "C"
21189 #endif
21190 char clock_gettime ();
21192 main ()
21194 return clock_gettime ();
21196 return 0;
21198 _ACEOF
21199 for ac_lib in '' rt; do
21200 if test -z "$ac_lib"; then
21201 ac_res="none required"
21202 else
21203 ac_res=-l$ac_lib
21204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21206 if test x$gcc_no_link = xyes; then
21207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21209 if ac_fn_cxx_try_link "$LINENO"; then :
21210 ac_cv_search_clock_gettime=$ac_res
21212 rm -f core conftest.err conftest.$ac_objext \
21213 conftest$ac_exeext
21214 if ${ac_cv_search_clock_gettime+:} false; then :
21215 break
21217 done
21218 if ${ac_cv_search_clock_gettime+:} false; then :
21220 else
21221 ac_cv_search_clock_gettime=no
21223 rm conftest.$ac_ext
21224 LIBS=$ac_func_search_save_LIBS
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21227 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21228 ac_res=$ac_cv_search_clock_gettime
21229 if test "$ac_res" != no; then :
21230 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21234 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21235 ac_has_clock_monotonic=yes
21236 ac_has_clock_realtime=yes
21239 ac_has_nanosleep=yes
21240 ac_has_sched_yield=yes
21242 freebsd*|netbsd*|dragonfly*|rtems*)
21243 ac_has_clock_monotonic=yes
21244 ac_has_clock_realtime=yes
21245 ac_has_nanosleep=yes
21246 ac_has_sched_yield=yes
21248 openbsd*)
21249 ac_has_clock_monotonic=yes
21250 ac_has_clock_realtime=yes
21251 ac_has_nanosleep=yes
21253 solaris*)
21254 ac_has_clock_monotonic=yes
21255 ac_has_clock_realtime=yes
21256 ac_has_nanosleep=yes
21257 ac_has_sched_yield=yes
21259 uclinux*)
21260 ac_has_nanosleep=yes
21261 ac_has_sched_yield=yes
21262 esac
21264 elif test x"$enable_libstdcxx_time" != x"no"; then
21266 if test x"$enable_libstdcxx_time" = x"rt"; then
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21268 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21269 if ${ac_cv_search_clock_gettime+:} false; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21272 ac_func_search_save_LIBS=$LIBS
21273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21274 /* end confdefs.h. */
21276 /* Override any GCC internal prototype to avoid an error.
21277 Use char because int might match the return type of a GCC
21278 builtin and then its argument prototype would still apply. */
21279 #ifdef __cplusplus
21280 extern "C"
21281 #endif
21282 char clock_gettime ();
21284 main ()
21286 return clock_gettime ();
21288 return 0;
21290 _ACEOF
21291 for ac_lib in '' rt; do
21292 if test -z "$ac_lib"; then
21293 ac_res="none required"
21294 else
21295 ac_res=-l$ac_lib
21296 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21298 if test x$gcc_no_link = xyes; then
21299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21301 if ac_fn_cxx_try_link "$LINENO"; then :
21302 ac_cv_search_clock_gettime=$ac_res
21304 rm -f core conftest.err conftest.$ac_objext \
21305 conftest$ac_exeext
21306 if ${ac_cv_search_clock_gettime+:} false; then :
21307 break
21309 done
21310 if ${ac_cv_search_clock_gettime+:} false; then :
21312 else
21313 ac_cv_search_clock_gettime=no
21315 rm conftest.$ac_ext
21316 LIBS=$ac_func_search_save_LIBS
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21319 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21320 ac_res=$ac_cv_search_clock_gettime
21321 if test "$ac_res" != no; then :
21322 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21327 $as_echo_n "checking for library containing nanosleep... " >&6; }
21328 if ${ac_cv_search_nanosleep+:} false; then :
21329 $as_echo_n "(cached) " >&6
21330 else
21331 ac_func_search_save_LIBS=$LIBS
21332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21333 /* end confdefs.h. */
21335 /* Override any GCC internal prototype to avoid an error.
21336 Use char because int might match the return type of a GCC
21337 builtin and then its argument prototype would still apply. */
21338 #ifdef __cplusplus
21339 extern "C"
21340 #endif
21341 char nanosleep ();
21343 main ()
21345 return nanosleep ();
21347 return 0;
21349 _ACEOF
21350 for ac_lib in '' rt; do
21351 if test -z "$ac_lib"; then
21352 ac_res="none required"
21353 else
21354 ac_res=-l$ac_lib
21355 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21357 if test x$gcc_no_link = xyes; then
21358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21360 if ac_fn_cxx_try_link "$LINENO"; then :
21361 ac_cv_search_nanosleep=$ac_res
21363 rm -f core conftest.err conftest.$ac_objext \
21364 conftest$ac_exeext
21365 if ${ac_cv_search_nanosleep+:} false; then :
21366 break
21368 done
21369 if ${ac_cv_search_nanosleep+:} false; then :
21371 else
21372 ac_cv_search_nanosleep=no
21374 rm conftest.$ac_ext
21375 LIBS=$ac_func_search_save_LIBS
21377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21378 $as_echo "$ac_cv_search_nanosleep" >&6; }
21379 ac_res=$ac_cv_search_nanosleep
21380 if test "$ac_res" != no; then :
21381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21385 else
21386 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21387 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21391 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21392 if test "x$ac_cv_func_nanosleep" = xyes; then :
21398 case "$ac_cv_search_clock_gettime" in
21399 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21401 esac
21402 case "$ac_cv_search_nanosleep" in
21403 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21405 esac
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21408 $as_echo_n "checking for library containing sched_yield... " >&6; }
21409 if ${ac_cv_search_sched_yield+:} false; then :
21410 $as_echo_n "(cached) " >&6
21411 else
21412 ac_func_search_save_LIBS=$LIBS
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21416 /* Override any GCC internal prototype to avoid an error.
21417 Use char because int might match the return type of a GCC
21418 builtin and then its argument prototype would still apply. */
21419 #ifdef __cplusplus
21420 extern "C"
21421 #endif
21422 char sched_yield ();
21424 main ()
21426 return sched_yield ();
21428 return 0;
21430 _ACEOF
21431 for ac_lib in '' rt; do
21432 if test -z "$ac_lib"; then
21433 ac_res="none required"
21434 else
21435 ac_res=-l$ac_lib
21436 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21438 if test x$gcc_no_link = xyes; then
21439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21441 if ac_fn_cxx_try_link "$LINENO"; then :
21442 ac_cv_search_sched_yield=$ac_res
21444 rm -f core conftest.err conftest.$ac_objext \
21445 conftest$ac_exeext
21446 if ${ac_cv_search_sched_yield+:} false; then :
21447 break
21449 done
21450 if ${ac_cv_search_sched_yield+:} false; then :
21452 else
21453 ac_cv_search_sched_yield=no
21455 rm conftest.$ac_ext
21456 LIBS=$ac_func_search_save_LIBS
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21459 $as_echo "$ac_cv_search_sched_yield" >&6; }
21460 ac_res=$ac_cv_search_sched_yield
21461 if test "$ac_res" != no; then :
21462 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21467 case "$ac_cv_search_sched_yield" in
21468 -lrt*)
21469 if test x"$enable_libstdcxx_time" = x"rt"; then
21470 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21471 ac_has_sched_yield=yes
21475 ac_has_sched_yield=yes
21477 esac
21479 for ac_header in unistd.h
21480 do :
21481 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21482 if test "x$ac_cv_header_unistd_h" = xyes; then :
21483 cat >>confdefs.h <<_ACEOF
21484 #define HAVE_UNISTD_H 1
21485 _ACEOF
21486 ac_has_unistd_h=yes
21487 else
21488 ac_has_unistd_h=no
21491 done
21494 if test x"$ac_has_unistd_h" = x"yes"; then
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21496 $as_echo_n "checking for monotonic clock... " >&6; }
21497 if test x$gcc_no_link = xyes; then
21498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21501 /* end confdefs.h. */
21502 #include <unistd.h>
21503 #include <time.h>
21506 main ()
21508 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21509 timespec tp;
21510 #endif
21511 clock_gettime(CLOCK_MONOTONIC, &tp);
21514 return 0;
21516 _ACEOF
21517 if ac_fn_cxx_try_link "$LINENO"; then :
21518 ac_has_clock_monotonic=yes
21519 else
21520 ac_has_clock_monotonic=no
21522 rm -f core conftest.err conftest.$ac_objext \
21523 conftest$ac_exeext conftest.$ac_ext
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21526 $as_echo "$ac_has_clock_monotonic" >&6; }
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21529 $as_echo_n "checking for realtime clock... " >&6; }
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #include <unistd.h>
21536 #include <time.h>
21539 main ()
21541 #if _POSIX_TIMERS > 0
21542 timespec tp;
21543 #endif
21544 clock_gettime(CLOCK_REALTIME, &tp);
21547 return 0;
21549 _ACEOF
21550 if ac_fn_cxx_try_link "$LINENO"; then :
21551 ac_has_clock_realtime=yes
21552 else
21553 ac_has_clock_realtime=no
21555 rm -f core conftest.err conftest.$ac_objext \
21556 conftest$ac_exeext conftest.$ac_ext
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21559 $as_echo "$ac_has_clock_realtime" >&6; }
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21562 $as_echo_n "checking for nanosleep... " >&6; }
21563 if test x$gcc_no_link = xyes; then
21564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21567 /* end confdefs.h. */
21568 #include <unistd.h>
21569 #include <time.h>
21572 main ()
21574 #if _POSIX_TIMERS > 0
21575 timespec tp;
21576 #endif
21577 nanosleep(&tp, 0);
21580 return 0;
21582 _ACEOF
21583 if ac_fn_cxx_try_link "$LINENO"; then :
21584 ac_has_nanosleep=yes
21585 else
21586 ac_has_nanosleep=no
21588 rm -f core conftest.err conftest.$ac_objext \
21589 conftest$ac_exeext conftest.$ac_ext
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21592 $as_echo "$ac_has_nanosleep" >&6; }
21596 if test x"$ac_has_clock_monotonic" != x"yes"; then
21597 case ${target_os} in
21598 linux* | uclinux*)
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21600 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21603 #include <unistd.h>
21604 #include <time.h>
21605 #include <sys/syscall.h>
21608 main ()
21610 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21611 timespec tp;
21612 #endif
21613 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21614 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21617 return 0;
21619 _ACEOF
21620 if ac_fn_cxx_try_compile "$LINENO"; then :
21621 ac_has_clock_gettime_syscall=yes
21622 else
21623 ac_has_clock_gettime_syscall=no
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21627 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21628 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21630 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21632 ac_has_clock_monotonic=yes
21633 ac_has_clock_realtime=yes
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21635 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <time.h>
21639 #include <sys/syscall.h>
21642 main ()
21644 #ifdef SYS_clock_gettime64
21645 #if SYS_clock_gettime64 != SYS_clock_gettime
21646 // We need to use SYS_clock_gettime and libc appears to
21647 // also know about the SYS_clock_gettime64 syscall.
21648 // Check that userspace doesn't use time64 version of timespec.
21649 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21650 "struct timespec must be compatible with SYS_clock_gettime");
21651 #endif
21652 #endif
21655 return 0;
21657 _ACEOF
21658 if ac_fn_cxx_try_compile "$LINENO"; then :
21659 ac_timespec_matches_syscall=yes
21660 else
21661 ac_timespec_matches_syscall=no
21663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21665 $as_echo "$ac_timespec_matches_syscall" >&6; }
21666 if test x"$ac_timespec_matches_syscall" = no; then
21667 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21669 fi;;
21670 esac
21673 if test x"$ac_has_clock_monotonic" = x"yes"; then
21675 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21679 if test x"$ac_has_clock_realtime" = x"yes"; then
21681 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21685 if test x"$ac_has_sched_yield" = x"yes"; then
21687 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21691 if test x"$ac_has_nanosleep" = x"yes"; then
21693 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21695 else
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21697 $as_echo_n "checking for sleep... " >&6; }
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21700 #include <unistd.h>
21702 main ()
21704 sleep(1)
21706 return 0;
21708 _ACEOF
21709 if ac_fn_cxx_try_compile "$LINENO"; then :
21710 ac_has_sleep=yes
21711 else
21712 ac_has_sleep=no
21714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21715 if test x"$ac_has_sleep" = x"yes"; then
21717 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21721 $as_echo "$ac_has_sleep" >&6; }
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21723 $as_echo_n "checking for usleep... " >&6; }
21724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21726 #include <unistd.h>
21728 main ()
21730 sleep(1);
21731 usleep(100);
21733 return 0;
21735 _ACEOF
21736 if ac_fn_cxx_try_compile "$LINENO"; then :
21737 ac_has_usleep=yes
21738 else
21739 ac_has_usleep=no
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21742 if test x"$ac_has_usleep" = x"yes"; then
21744 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21748 $as_echo "$ac_has_usleep" >&6; }
21751 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21753 $as_echo_n "checking for Sleep... " >&6; }
21754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755 /* end confdefs.h. */
21756 #include <windows.h>
21758 main ()
21760 Sleep(1)
21762 return 0;
21764 _ACEOF
21765 if ac_fn_cxx_try_compile "$LINENO"; then :
21766 ac_has_win32_sleep=yes
21767 else
21768 ac_has_win32_sleep=no
21770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 if test x"$ac_has_win32_sleep" = x"yes"; then
21773 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21777 $as_echo "$ac_has_win32_sleep" >&6; }
21782 CXXFLAGS="$ac_save_CXXFLAGS"
21783 LIBS="$ac_save_LIBS"
21784 ac_ext=c
21785 ac_cpp='$CPP $CPPFLAGS'
21786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21792 # Check for tmpnam which is obsolescent in POSIX.1-2008
21794 ac_ext=cpp
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800 ac_save_CXXFLAGS="$CXXFLAGS"
21801 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21803 $as_echo_n "checking for tmpnam... " >&6; }
21804 if ${glibcxx_cv_TMPNAM+:} false; then :
21805 $as_echo_n "(cached) " >&6
21806 else
21807 if test x$gcc_no_link = xyes; then
21808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21809 /* end confdefs.h. */
21810 #include <stdio.h>
21812 main ()
21814 char *tmp = tmpnam(NULL);
21816 return 0;
21818 _ACEOF
21819 if ac_fn_cxx_try_compile "$LINENO"; then :
21820 glibcxx_cv_TMPNAM=yes
21821 else
21822 glibcxx_cv_TMPNAM=no
21824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21825 else
21826 if test x$gcc_no_link = xyes; then
21827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21831 #include <stdio.h>
21833 main ()
21835 char *tmp = tmpnam(NULL);
21837 return 0;
21839 _ACEOF
21840 if ac_fn_cxx_try_link "$LINENO"; then :
21841 glibcxx_cv_TMPNAM=yes
21842 else
21843 glibcxx_cv_TMPNAM=no
21845 rm -f core conftest.err conftest.$ac_objext \
21846 conftest$ac_exeext conftest.$ac_ext
21851 if test $glibcxx_cv_TMPNAM = yes; then
21853 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21857 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21858 CXXFLAGS="$ac_save_CXXFLAGS"
21859 ac_ext=c
21860 ac_cpp='$CPP $CPPFLAGS'
21861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21867 # For pthread_cond_clockwait
21871 ac_ext=cpp
21872 ac_cpp='$CXXCPP $CPPFLAGS'
21873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21877 ac_save_CXXFLAGS="$CXXFLAGS"
21878 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21879 ac_save_LIBS="$LIBS"
21880 LIBS="$LIBS -lpthread"
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21883 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21884 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21885 $as_echo_n "(cached) " >&6
21886 else
21888 if test x$gcc_no_link = xyes; then
21889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21890 /* end confdefs.h. */
21891 #include <pthread.h>
21893 main ()
21895 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21897 return 0;
21899 _ACEOF
21900 if ac_fn_cxx_try_compile "$LINENO"; then :
21901 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21902 else
21903 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 else
21907 if test x$gcc_no_link = xyes; then
21908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21911 /* end confdefs.h. */
21912 #include <pthread.h>
21914 main ()
21916 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21918 return 0;
21920 _ACEOF
21921 if ac_fn_cxx_try_link "$LINENO"; then :
21922 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21923 else
21924 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21926 rm -f core conftest.err conftest.$ac_objext \
21927 conftest$ac_exeext conftest.$ac_ext
21932 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21934 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21938 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21940 CXXFLAGS="$ac_save_CXXFLAGS"
21941 LIBS="$ac_save_LIBS"
21942 ac_ext=c
21943 ac_cpp='$CPP $CPPFLAGS'
21944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950 # For pthread_mutex_clocklock
21954 ac_ext=cpp
21955 ac_cpp='$CXXCPP $CPPFLAGS'
21956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21960 ac_save_CXXFLAGS="$CXXFLAGS"
21961 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21962 ac_save_LIBS="$LIBS"
21963 LIBS="$LIBS -lpthread"
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21966 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21967 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21968 $as_echo_n "(cached) " >&6
21969 else
21971 if test x$gcc_no_link = xyes; then
21972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21973 /* end confdefs.h. */
21974 #include <pthread.h>
21976 main ()
21978 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21980 return 0;
21982 _ACEOF
21983 if ac_fn_cxx_try_compile "$LINENO"; then :
21984 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21985 else
21986 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 else
21990 if test x$gcc_no_link = xyes; then
21991 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21995 #include <pthread.h>
21997 main ()
21999 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
22001 return 0;
22003 _ACEOF
22004 if ac_fn_cxx_try_link "$LINENO"; then :
22005 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
22006 else
22007 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
22009 rm -f core conftest.err conftest.$ac_objext \
22010 conftest$ac_exeext conftest.$ac_ext
22015 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
22017 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
22020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22021 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22023 CXXFLAGS="$ac_save_CXXFLAGS"
22024 LIBS="$ac_save_LIBS"
22025 ac_ext=c
22026 ac_cpp='$CPP $CPPFLAGS'
22027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22033 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22037 ac_ext=cpp
22038 ac_cpp='$CXXCPP $CPPFLAGS'
22039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22043 ac_save_CXXFLAGS="$CXXFLAGS"
22044 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22045 ac_save_LIBS="$LIBS"
22046 LIBS="$LIBS -lpthread"
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22049 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22050 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22051 $as_echo_n "(cached) " >&6
22052 else
22054 if test x$gcc_no_link = xyes; then
22055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h. */
22057 #include <pthread.h>
22059 main ()
22061 pthread_rwlock_t rwl; struct timespec ts;
22062 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22063 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22065 return 0;
22067 _ACEOF
22068 if ac_fn_cxx_try_compile "$LINENO"; then :
22069 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22070 else
22071 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 else
22075 if test x$gcc_no_link = xyes; then
22076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22079 /* end confdefs.h. */
22080 #include <pthread.h>
22082 main ()
22084 pthread_rwlock_t rwl; struct timespec ts;
22085 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22086 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22088 return 0;
22090 _ACEOF
22091 if ac_fn_cxx_try_link "$LINENO"; then :
22092 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22093 else
22094 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22096 rm -f core conftest.err conftest.$ac_objext \
22097 conftest$ac_exeext conftest.$ac_ext
22102 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22104 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22108 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22110 CXXFLAGS="$ac_save_CXXFLAGS"
22111 LIBS="$ac_save_LIBS"
22112 ac_ext=c
22113 ac_cpp='$CPP $CPPFLAGS'
22114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22121 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22122 if test "x$ac_cv_header_locale_h" = xyes; then :
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22125 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22126 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22127 $as_echo_n "(cached) " >&6
22128 else
22129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22130 /* end confdefs.h. */
22131 #include <locale.h>
22133 main ()
22135 return LC_MESSAGES
22137 return 0;
22139 _ACEOF
22140 if ac_fn_c_try_compile "$LINENO"; then :
22141 ac_cv_val_LC_MESSAGES=yes
22142 else
22143 ac_cv_val_LC_MESSAGES=no
22145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22148 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22149 if test $ac_cv_val_LC_MESSAGES = yes; then
22151 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22160 # For hardware_concurrency
22161 for ac_header in sys/sysinfo.h
22162 do :
22163 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22164 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22165 cat >>confdefs.h <<_ACEOF
22166 #define HAVE_SYS_SYSINFO_H 1
22167 _ACEOF
22171 done
22176 ac_ext=cpp
22177 ac_cpp='$CXXCPP $CPPFLAGS'
22178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22182 ac_save_CXXFLAGS="$CXXFLAGS"
22183 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22186 $as_echo_n "checking for get_nprocs... " >&6; }
22187 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22188 $as_echo_n "(cached) " >&6
22189 else
22191 if test x$gcc_no_link = xyes; then
22192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22193 /* end confdefs.h. */
22194 #include <sys/sysinfo.h>
22196 main ()
22198 int n = get_nprocs();
22200 return 0;
22202 _ACEOF
22203 if ac_fn_cxx_try_compile "$LINENO"; then :
22204 glibcxx_cv_GET_NPROCS=yes
22205 else
22206 glibcxx_cv_GET_NPROCS=no
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22209 else
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 #include <sys/sysinfo.h>
22217 main ()
22219 int n = get_nprocs();
22221 return 0;
22223 _ACEOF
22224 if ac_fn_cxx_try_link "$LINENO"; then :
22225 glibcxx_cv_GET_NPROCS=yes
22226 else
22227 glibcxx_cv_GET_NPROCS=no
22229 rm -f core conftest.err conftest.$ac_objext \
22230 conftest$ac_exeext conftest.$ac_ext
22235 if test $glibcxx_cv_GET_NPROCS = yes; then
22237 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22241 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22243 CXXFLAGS="$ac_save_CXXFLAGS"
22244 ac_ext=c
22245 ac_cpp='$CPP $CPPFLAGS'
22246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22251 for ac_header in unistd.h
22252 do :
22253 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22254 if test "x$ac_cv_header_unistd_h" = xyes; then :
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_UNISTD_H 1
22257 _ACEOF
22261 done
22266 ac_ext=cpp
22267 ac_cpp='$CXXCPP $CPPFLAGS'
22268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272 ac_save_CXXFLAGS="$CXXFLAGS"
22273 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22276 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22277 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22278 $as_echo_n "(cached) " >&6
22279 else
22281 if test x$gcc_no_link = xyes; then
22282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22283 /* end confdefs.h. */
22284 #include <unistd.h>
22286 main ()
22288 int n = sysconf(_SC_NPROCESSORS_ONLN);
22290 return 0;
22292 _ACEOF
22293 if ac_fn_cxx_try_compile "$LINENO"; then :
22294 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22295 else
22296 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 else
22300 if test x$gcc_no_link = xyes; then
22301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22305 #include <unistd.h>
22307 main ()
22309 int n = sysconf(_SC_NPROCESSORS_ONLN);
22311 return 0;
22313 _ACEOF
22314 if ac_fn_cxx_try_link "$LINENO"; then :
22315 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22316 else
22317 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22319 rm -f core conftest.err conftest.$ac_objext \
22320 conftest$ac_exeext conftest.$ac_ext
22325 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22327 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22331 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22333 CXXFLAGS="$ac_save_CXXFLAGS"
22334 ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22350 ac_save_CXXFLAGS="$CXXFLAGS"
22351 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22354 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22355 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22356 $as_echo_n "(cached) " >&6
22357 else
22359 if test x$gcc_no_link = xyes; then
22360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22362 #include <unistd.h>
22364 main ()
22366 int n = sysconf(_SC_NPROC_ONLN);
22368 return 0;
22370 _ACEOF
22371 if ac_fn_cxx_try_compile "$LINENO"; then :
22372 glibcxx_cv_SC_NPROC_ONLN=yes
22373 else
22374 glibcxx_cv_SC_NPROC_ONLN=no
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377 else
22378 if test x$gcc_no_link = xyes; then
22379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22382 /* end confdefs.h. */
22383 #include <unistd.h>
22385 main ()
22387 int n = sysconf(_SC_NPROC_ONLN);
22389 return 0;
22391 _ACEOF
22392 if ac_fn_cxx_try_link "$LINENO"; then :
22393 glibcxx_cv_SC_NPROC_ONLN=yes
22394 else
22395 glibcxx_cv_SC_NPROC_ONLN=no
22397 rm -f core conftest.err conftest.$ac_objext \
22398 conftest$ac_exeext conftest.$ac_ext
22403 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22405 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22409 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22411 CXXFLAGS="$ac_save_CXXFLAGS"
22412 ac_ext=c
22413 ac_cpp='$CPP $CPPFLAGS'
22414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22422 ac_ext=cpp
22423 ac_cpp='$CXXCPP $CPPFLAGS'
22424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22428 ac_save_CXXFLAGS="$CXXFLAGS"
22429 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22432 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22433 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22434 $as_echo_n "(cached) " >&6
22435 else
22437 if test x$gcc_no_link = xyes; then
22438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22439 /* end confdefs.h. */
22440 #include <pthread.h>
22442 main ()
22444 int n = pthread_num_processors_np();
22446 return 0;
22448 _ACEOF
22449 if ac_fn_cxx_try_compile "$LINENO"; then :
22450 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22451 else
22452 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455 else
22456 if test x$gcc_no_link = xyes; then
22457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22460 /* end confdefs.h. */
22461 #include <pthread.h>
22463 main ()
22465 int n = pthread_num_processors_np();
22467 return 0;
22469 _ACEOF
22470 if ac_fn_cxx_try_link "$LINENO"; then :
22471 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22472 else
22473 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22475 rm -f core conftest.err conftest.$ac_objext \
22476 conftest$ac_exeext conftest.$ac_ext
22481 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22483 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22487 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22489 CXXFLAGS="$ac_save_CXXFLAGS"
22490 ac_ext=c
22491 ac_cpp='$CPP $CPPFLAGS'
22492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22500 ac_ext=cpp
22501 ac_cpp='$CXXCPP $CPPFLAGS'
22502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22506 ac_save_CXXFLAGS="$CXXFLAGS"
22507 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22510 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22511 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22515 if test x$gcc_no_link = xyes; then
22516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22517 /* end confdefs.h. */
22519 #include <stddef.h>
22520 #include <sys/sysctl.h>
22523 main ()
22526 int count;
22527 size_t size = sizeof(count);
22528 int mib[] = { CTL_HW, HW_NCPU };
22529 sysctl(mib, 2, &count, &size, NULL, 0);
22532 return 0;
22534 _ACEOF
22535 if ac_fn_cxx_try_compile "$LINENO"; then :
22536 glibcxx_cv_SYSCTL_HW_NCPU=yes
22537 else
22538 glibcxx_cv_SYSCTL_HW_NCPU=no
22540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22541 else
22542 if test x$gcc_no_link = xyes; then
22543 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22548 #include <stddef.h>
22549 #include <sys/sysctl.h>
22552 main ()
22555 int count;
22556 size_t size = sizeof(count);
22557 int mib[] = { CTL_HW, HW_NCPU };
22558 sysctl(mib, 2, &count, &size, NULL, 0);
22561 return 0;
22563 _ACEOF
22564 if ac_fn_cxx_try_link "$LINENO"; then :
22565 glibcxx_cv_SYSCTL_HW_NCPU=yes
22566 else
22567 glibcxx_cv_SYSCTL_HW_NCPU=no
22569 rm -f core conftest.err conftest.$ac_objext \
22570 conftest$ac_exeext conftest.$ac_ext
22575 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22577 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22581 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22583 CXXFLAGS="$ac_save_CXXFLAGS"
22584 ac_ext=c
22585 ac_cpp='$CPP $CPPFLAGS'
22586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22593 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22594 # Note that this test has to be run with the C language.
22595 # Otherwise, sdt.h will try to include some headers from
22596 # libstdc++ itself.
22598 ac_ext=c
22599 ac_cpp='$CPP $CPPFLAGS'
22600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22604 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22605 $as_echo_n "(cached) " >&6
22606 else
22608 # Because we have to run the test in C, we use grep rather
22609 # than the compiler to check for the bug. The bug is that
22610 # were strings without trailing whitespace, causing g++
22611 # to look for operator"". The pattern searches for the fixed
22612 # output.
22613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22614 /* end confdefs.h. */
22616 #include <sys/sdt.h>
22617 int f() { STAP_PROBE(hi, bob); }
22619 _ACEOF
22620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22621 $EGREP " \",\" " >/dev/null 2>&1; then :
22622 glibcxx_cv_sys_sdt_h=yes
22623 else
22624 glibcxx_cv_sys_sdt_h=no
22626 rm -f conftest*
22631 ac_ext=c
22632 ac_cpp='$CPP $CPPFLAGS'
22633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22637 if test $glibcxx_cv_sys_sdt_h = yes; then
22639 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22643 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22646 # Check for available headers.
22647 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22648 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22649 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22650 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22651 wchar.h wctype.h linux/types.h
22652 do :
22653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22654 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22656 cat >>confdefs.h <<_ACEOF
22657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22658 _ACEOF
22662 done
22665 for ac_header in linux/random.h
22666 do :
22667 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22668 # include <linux/types.h>
22669 #endif
22672 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22673 cat >>confdefs.h <<_ACEOF
22674 #define HAVE_LINUX_RANDOM_H 1
22675 _ACEOF
22679 done
22682 for ac_header in xlocale.h
22683 do :
22684 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22685 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22686 cat >>confdefs.h <<_ACEOF
22687 #define HAVE_XLOCALE_H 1
22688 _ACEOF
22692 done
22695 # Only do link tests if native. Else, hardcode.
22696 if $GLIBCXX_IS_NATIVE; then
22698 # We can do more elaborate tests that assume a working linker.
22699 CANADIAN=no
22703 # Check whether --with-gnu-ld was given.
22704 if test "${with_gnu_ld+set}" = set; then :
22705 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22706 else
22707 with_gnu_ld=no
22710 ac_prog=ld
22711 if test "$GCC" = yes; then
22712 # Check if gcc -print-prog-name=ld gives a path.
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22714 $as_echo_n "checking for ld used by $CC... " >&6; }
22715 case $host in
22716 *-*-mingw*)
22717 # gcc leaves a trailing carriage return which upsets mingw
22718 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22720 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22721 esac
22722 case $ac_prog in
22723 # Accept absolute paths.
22724 [\\/]* | ?:[\\/]*)
22725 re_direlt='/[^/][^/]*/\.\./'
22726 # Canonicalize the pathname of ld
22727 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22728 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22729 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22730 done
22731 test -z "$LD" && LD="$ac_prog"
22734 # If it fails, then pretend we aren't using GCC.
22735 ac_prog=ld
22738 # If it is relative, then search for the first ld in PATH.
22739 with_gnu_ld=unknown
22741 esac
22742 elif test "$with_gnu_ld" = yes; then
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22744 $as_echo_n "checking for GNU ld... " >&6; }
22745 else
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22747 $as_echo_n "checking for non-GNU ld... " >&6; }
22749 if ${lt_cv_path_LD+:} false; then :
22750 $as_echo_n "(cached) " >&6
22751 else
22752 if test -z "$LD"; then
22753 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22754 for ac_dir in $PATH; do
22755 IFS="$lt_save_ifs"
22756 test -z "$ac_dir" && ac_dir=.
22757 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22758 lt_cv_path_LD="$ac_dir/$ac_prog"
22759 # Check to see if the program is GNU ld. I'd rather use --version,
22760 # but apparently some variants of GNU ld only accept -v.
22761 # Break only if it was the GNU/non-GNU ld that we prefer.
22762 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22763 *GNU* | *'with BFD'*)
22764 test "$with_gnu_ld" != no && break
22767 test "$with_gnu_ld" != yes && break
22769 esac
22771 done
22772 IFS="$lt_save_ifs"
22773 else
22774 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22778 LD="$lt_cv_path_LD"
22779 if test -n "$LD"; then
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22781 $as_echo "$LD" >&6; }
22782 else
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22784 $as_echo "no" >&6; }
22786 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22788 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22789 if ${lt_cv_prog_gnu_ld+:} false; then :
22790 $as_echo_n "(cached) " >&6
22791 else
22792 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22793 case `$LD -v 2>&1 </dev/null` in
22794 *GNU* | *'with BFD'*)
22795 lt_cv_prog_gnu_ld=yes
22798 lt_cv_prog_gnu_ld=no
22800 esac
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22803 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22804 with_gnu_ld=$lt_cv_prog_gnu_ld
22812 # If we're not using GNU ld, then there's no point in even trying these
22813 # tests. Check for that first. We should have already tested for gld
22814 # by now (in libtool), but require it now just to be safe...
22815 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22816 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22820 # The name set by libtool depends on the version of libtool. Shame on us
22821 # for depending on an impl detail, but c'est la vie. Older versions used
22822 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22823 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22824 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22825 # set (hence we're using an older libtool), then set it.
22826 if test x${with_gnu_ld+set} != xset; then
22827 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22828 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22829 with_gnu_ld=no
22830 else
22831 with_gnu_ld=$ac_cv_prog_gnu_ld
22835 # Start by getting the version number. I think the libtool test already
22836 # does some of this, but throws away the result.
22837 glibcxx_ld_is_gold=no
22838 if test x"$with_gnu_ld" = x"yes"; then
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22840 $as_echo_n "checking for ld version... " >&6; }
22842 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22843 glibcxx_ld_is_gold=yes
22845 ldver=`$LD --version 2>/dev/null |
22846 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22848 glibcxx_gnu_ld_version=`echo $ldver | \
22849 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22851 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22854 # Set --gc-sections.
22855 glibcxx_have_gc_sections=no
22856 if test "$glibcxx_ld_is_gold" = "yes"; then
22857 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22858 glibcxx_have_gc_sections=yes
22860 else
22861 glibcxx_gcsections_min_ld=21602
22862 if test x"$with_gnu_ld" = x"yes" &&
22863 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22864 glibcxx_have_gc_sections=yes
22867 if test "$glibcxx_have_gc_sections" = "yes"; then
22868 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22869 # NB: This flag only works reliably after 2.16.1. Configure tests
22870 # for this are difficult, so hard wire a value that should work.
22872 ac_test_CFLAGS="${CFLAGS+set}"
22873 ac_save_CFLAGS="$CFLAGS"
22874 CFLAGS='-Wl,--gc-sections'
22876 # Check for -Wl,--gc-sections
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22878 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22879 if test x$gcc_no_link = xyes; then
22880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22883 /* end confdefs.h. */
22884 int one(void) { return 1; }
22885 int two(void) { return 2; }
22888 main ()
22890 two();
22892 return 0;
22894 _ACEOF
22895 if ac_fn_c_try_link "$LINENO"; then :
22896 ac_gcsections=yes
22897 else
22898 ac_gcsections=no
22900 rm -f core conftest.err conftest.$ac_objext \
22901 conftest$ac_exeext conftest.$ac_ext
22902 if test "$ac_gcsections" = "yes"; then
22903 rm -f conftest.c
22904 touch conftest.c
22905 if $CC -c conftest.c; then
22906 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22907 grep "Warning: gc-sections option ignored" > /dev/null; then
22908 ac_gcsections=no
22911 rm -f conftest.c conftest.o conftest
22913 if test "$ac_gcsections" = "yes"; then
22914 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22917 $as_echo "$ac_gcsections" >&6; }
22919 if test "$ac_test_CFLAGS" = set; then
22920 CFLAGS="$ac_save_CFLAGS"
22921 else
22922 # this is the suspicious part
22923 CFLAGS=''
22927 # Set -z,relro.
22928 # Note this is only for shared objects.
22929 ac_ld_relro=no
22930 if test x"$with_gnu_ld" = x"yes"; then
22931 # cygwin and mingw uses PE, which has no ELF relro support,
22932 # multi target ld may confuse configure machinery
22933 case "$host" in
22934 *-*-cygwin*)
22936 *-*-mingw*)
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22940 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22941 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22942 if test -n "$cxx_z_relo"; then
22943 OPT_LDFLAGS="-Wl,-z,relro"
22944 ac_ld_relro=yes
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22947 $as_echo "$ac_ld_relro" >&6; }
22948 esac
22951 # Set linker optimization flags.
22952 if test x"$with_gnu_ld" = x"yes"; then
22953 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22960 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22961 ac_save_CXXFLAGS="$CXXFLAGS"
22962 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22965 $as_echo_n "checking for sin in -lm... " >&6; }
22966 if ${ac_cv_lib_m_sin+:} false; then :
22967 $as_echo_n "(cached) " >&6
22968 else
22969 ac_check_lib_save_LIBS=$LIBS
22970 LIBS="-lm $LIBS"
22971 if test x$gcc_no_link = xyes; then
22972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22975 /* end confdefs.h. */
22977 /* Override any GCC internal prototype to avoid an error.
22978 Use char because int might match the return type of a GCC
22979 builtin and then its argument prototype would still apply. */
22980 #ifdef __cplusplus
22981 extern "C"
22982 #endif
22983 char sin ();
22985 main ()
22987 return sin ();
22989 return 0;
22991 _ACEOF
22992 if ac_fn_c_try_link "$LINENO"; then :
22993 ac_cv_lib_m_sin=yes
22994 else
22995 ac_cv_lib_m_sin=no
22997 rm -f core conftest.err conftest.$ac_objext \
22998 conftest$ac_exeext conftest.$ac_ext
22999 LIBS=$ac_check_lib_save_LIBS
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
23002 $as_echo "$ac_cv_lib_m_sin" >&6; }
23003 if test "x$ac_cv_lib_m_sin" = xyes; then :
23004 libm="-lm"
23007 ac_save_LIBS="$LIBS"
23008 LIBS="$LIBS $libm"
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
23013 $as_echo_n "checking for isinf declaration... " >&6; }
23014 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23015 if ${glibcxx_cv_func_isinf_use+:} false; then :
23016 $as_echo_n "(cached) " >&6
23017 else
23020 ac_ext=cpp
23021 ac_cpp='$CXXCPP $CPPFLAGS'
23022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23028 #include <math.h>
23029 #ifdef HAVE_IEEEFP_H
23030 #include <ieeefp.h>
23031 #endif
23034 main ()
23036 isinf(0);
23038 return 0;
23040 _ACEOF
23041 if ac_fn_cxx_try_compile "$LINENO"; then :
23042 glibcxx_cv_func_isinf_use=yes
23043 else
23044 glibcxx_cv_func_isinf_use=no
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_ext=c
23048 ac_cpp='$CPP $CPPFLAGS'
23049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23058 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23060 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23061 for ac_func in isinf
23062 do :
23063 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23064 if test "x$ac_cv_func_isinf" = xyes; then :
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE_ISINF 1
23067 _ACEOF
23070 done
23072 else
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23075 $as_echo_n "checking for _isinf declaration... " >&6; }
23076 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23077 if ${glibcxx_cv_func__isinf_use+:} false; then :
23078 $as_echo_n "(cached) " >&6
23079 else
23082 ac_ext=cpp
23083 ac_cpp='$CXXCPP $CPPFLAGS'
23084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23090 #include <math.h>
23091 #ifdef HAVE_IEEEFP_H
23092 #include <ieeefp.h>
23093 #endif
23096 main ()
23098 _isinf(0);
23100 return 0;
23102 _ACEOF
23103 if ac_fn_cxx_try_compile "$LINENO"; then :
23104 glibcxx_cv_func__isinf_use=yes
23105 else
23106 glibcxx_cv_func__isinf_use=no
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23120 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23122 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23123 for ac_func in _isinf
23124 do :
23125 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23126 if test "x$ac_cv_func__isinf" = xyes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define HAVE__ISINF 1
23129 _ACEOF
23132 done
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23142 $as_echo_n "checking for isnan declaration... " >&6; }
23143 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23144 if ${glibcxx_cv_func_isnan_use+:} false; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23158 #ifdef HAVE_IEEEFP_H
23159 #include <ieeefp.h>
23160 #endif
23163 main ()
23165 isnan(0);
23167 return 0;
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171 glibcxx_cv_func_isnan_use=yes
23172 else
23173 glibcxx_cv_func_isnan_use=no
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176 ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23187 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23189 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23190 for ac_func in isnan
23191 do :
23192 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23193 if test "x$ac_cv_func_isnan" = xyes; then :
23194 cat >>confdefs.h <<_ACEOF
23195 #define HAVE_ISNAN 1
23196 _ACEOF
23199 done
23201 else
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23204 $as_echo_n "checking for _isnan declaration... " >&6; }
23205 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23206 if ${glibcxx_cv_func__isnan_use+:} false; then :
23207 $as_echo_n "(cached) " >&6
23208 else
23211 ac_ext=cpp
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23219 #include <math.h>
23220 #ifdef HAVE_IEEEFP_H
23221 #include <ieeefp.h>
23222 #endif
23225 main ()
23227 _isnan(0);
23229 return 0;
23231 _ACEOF
23232 if ac_fn_cxx_try_compile "$LINENO"; then :
23233 glibcxx_cv_func__isnan_use=yes
23234 else
23235 glibcxx_cv_func__isnan_use=no
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238 ac_ext=c
23239 ac_cpp='$CPP $CPPFLAGS'
23240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23249 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23251 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23252 for ac_func in _isnan
23253 do :
23254 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23255 if test "x$ac_cv_func__isnan" = xyes; then :
23256 cat >>confdefs.h <<_ACEOF
23257 #define HAVE__ISNAN 1
23258 _ACEOF
23261 done
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23271 $as_echo_n "checking for finite declaration... " >&6; }
23272 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23273 if ${glibcxx_cv_func_finite_use+:} false; then :
23274 $as_echo_n "(cached) " >&6
23275 else
23278 ac_ext=cpp
23279 ac_cpp='$CXXCPP $CPPFLAGS'
23280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h. */
23286 #include <math.h>
23287 #ifdef HAVE_IEEEFP_H
23288 #include <ieeefp.h>
23289 #endif
23292 main ()
23294 finite(0);
23296 return 0;
23298 _ACEOF
23299 if ac_fn_cxx_try_compile "$LINENO"; then :
23300 glibcxx_cv_func_finite_use=yes
23301 else
23302 glibcxx_cv_func_finite_use=no
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 ac_ext=c
23306 ac_cpp='$CPP $CPPFLAGS'
23307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23316 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23318 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23319 for ac_func in finite
23320 do :
23321 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23322 if test "x$ac_cv_func_finite" = xyes; then :
23323 cat >>confdefs.h <<_ACEOF
23324 #define HAVE_FINITE 1
23325 _ACEOF
23328 done
23330 else
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23333 $as_echo_n "checking for _finite declaration... " >&6; }
23334 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23335 if ${glibcxx_cv_func__finite_use+:} false; then :
23336 $as_echo_n "(cached) " >&6
23337 else
23340 ac_ext=cpp
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h. */
23348 #include <math.h>
23349 #ifdef HAVE_IEEEFP_H
23350 #include <ieeefp.h>
23351 #endif
23354 main ()
23356 _finite(0);
23358 return 0;
23360 _ACEOF
23361 if ac_fn_cxx_try_compile "$LINENO"; then :
23362 glibcxx_cv_func__finite_use=yes
23363 else
23364 glibcxx_cv_func__finite_use=no
23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23367 ac_ext=c
23368 ac_cpp='$CPP $CPPFLAGS'
23369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23378 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23380 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23381 for ac_func in _finite
23382 do :
23383 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23384 if test "x$ac_cv_func__finite" = xyes; then :
23385 cat >>confdefs.h <<_ACEOF
23386 #define HAVE__FINITE 1
23387 _ACEOF
23390 done
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23400 $as_echo_n "checking for sincos declaration... " >&6; }
23401 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23402 if ${glibcxx_cv_func_sincos_use+:} false; then :
23403 $as_echo_n "(cached) " >&6
23404 else
23407 ac_ext=cpp
23408 ac_cpp='$CXXCPP $CPPFLAGS'
23409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23415 #include <math.h>
23417 main ()
23419 sincos(0, 0, 0);
23421 return 0;
23423 _ACEOF
23424 if ac_fn_cxx_try_compile "$LINENO"; then :
23425 glibcxx_cv_func_sincos_use=yes
23426 else
23427 glibcxx_cv_func_sincos_use=no
23429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23430 ac_ext=c
23431 ac_cpp='$CPP $CPPFLAGS'
23432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23441 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23443 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23444 for ac_func in sincos
23445 do :
23446 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23447 if test "x$ac_cv_func_sincos" = xyes; then :
23448 cat >>confdefs.h <<_ACEOF
23449 #define HAVE_SINCOS 1
23450 _ACEOF
23453 done
23455 else
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23458 $as_echo_n "checking for _sincos declaration... " >&6; }
23459 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23460 if ${glibcxx_cv_func__sincos_use+:} false; then :
23461 $as_echo_n "(cached) " >&6
23462 else
23465 ac_ext=cpp
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23472 /* end confdefs.h. */
23473 #include <math.h>
23475 main ()
23477 _sincos(0, 0, 0);
23479 return 0;
23481 _ACEOF
23482 if ac_fn_cxx_try_compile "$LINENO"; then :
23483 glibcxx_cv_func__sincos_use=yes
23484 else
23485 glibcxx_cv_func__sincos_use=no
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 ac_ext=c
23489 ac_cpp='$CPP $CPPFLAGS'
23490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23499 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23501 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23502 for ac_func in _sincos
23503 do :
23504 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23505 if test "x$ac_cv_func__sincos" = xyes; then :
23506 cat >>confdefs.h <<_ACEOF
23507 #define HAVE__SINCOS 1
23508 _ACEOF
23511 done
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23521 $as_echo_n "checking for fpclass declaration... " >&6; }
23522 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23523 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23524 $as_echo_n "(cached) " >&6
23525 else
23528 ac_ext=cpp
23529 ac_cpp='$CXXCPP $CPPFLAGS'
23530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23535 /* end confdefs.h. */
23536 #include <math.h>
23537 #ifdef HAVE_IEEEFP_H
23538 #include <ieeefp.h>
23539 #endif
23542 main ()
23544 fpclass(0);
23546 return 0;
23548 _ACEOF
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550 glibcxx_cv_func_fpclass_use=yes
23551 else
23552 glibcxx_cv_func_fpclass_use=no
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 ac_ext=c
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23566 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23568 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23569 for ac_func in fpclass
23570 do :
23571 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23572 if test "x$ac_cv_func_fpclass" = xyes; then :
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE_FPCLASS 1
23575 _ACEOF
23578 done
23580 else
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23583 $as_echo_n "checking for _fpclass declaration... " >&6; }
23584 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23585 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23590 ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23598 #include <math.h>
23599 #ifdef HAVE_IEEEFP_H
23600 #include <ieeefp.h>
23601 #endif
23604 main ()
23606 _fpclass(0);
23608 return 0;
23610 _ACEOF
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612 glibcxx_cv_func__fpclass_use=yes
23613 else
23614 glibcxx_cv_func__fpclass_use=no
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23628 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23630 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23631 for ac_func in _fpclass
23632 do :
23633 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23634 if test "x$ac_cv_func__fpclass" = xyes; then :
23635 cat >>confdefs.h <<_ACEOF
23636 #define HAVE__FPCLASS 1
23637 _ACEOF
23640 done
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23650 $as_echo_n "checking for qfpclass declaration... " >&6; }
23651 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23652 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23653 $as_echo_n "(cached) " >&6
23654 else
23657 ac_ext=cpp
23658 ac_cpp='$CXXCPP $CPPFLAGS'
23659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23664 /* end confdefs.h. */
23665 #include <math.h>
23666 #ifdef HAVE_IEEEFP_H
23667 #include <ieeefp.h>
23668 #endif
23671 main ()
23673 qfpclass(0);
23675 return 0;
23677 _ACEOF
23678 if ac_fn_cxx_try_compile "$LINENO"; then :
23679 glibcxx_cv_func_qfpclass_use=yes
23680 else
23681 glibcxx_cv_func_qfpclass_use=no
23683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23684 ac_ext=c
23685 ac_cpp='$CPP $CPPFLAGS'
23686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23695 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23697 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23698 for ac_func in qfpclass
23699 do :
23700 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23701 if test "x$ac_cv_func_qfpclass" = xyes; then :
23702 cat >>confdefs.h <<_ACEOF
23703 #define HAVE_QFPCLASS 1
23704 _ACEOF
23707 done
23709 else
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23712 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23713 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23714 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23715 $as_echo_n "(cached) " >&6
23716 else
23719 ac_ext=cpp
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h. */
23727 #include <math.h>
23728 #ifdef HAVE_IEEEFP_H
23729 #include <ieeefp.h>
23730 #endif
23733 main ()
23735 _qfpclass(0);
23737 return 0;
23739 _ACEOF
23740 if ac_fn_cxx_try_compile "$LINENO"; then :
23741 glibcxx_cv_func__qfpclass_use=yes
23742 else
23743 glibcxx_cv_func__qfpclass_use=no
23745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23746 ac_ext=c
23747 ac_cpp='$CPP $CPPFLAGS'
23748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23757 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23759 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23760 for ac_func in _qfpclass
23761 do :
23762 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23763 if test "x$ac_cv_func__qfpclass" = xyes; then :
23764 cat >>confdefs.h <<_ACEOF
23765 #define HAVE__QFPCLASS 1
23766 _ACEOF
23769 done
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23779 $as_echo_n "checking for hypot declaration... " >&6; }
23780 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23781 if ${glibcxx_cv_func_hypot_use+:} false; then :
23782 $as_echo_n "(cached) " >&6
23783 else
23786 ac_ext=cpp
23787 ac_cpp='$CXXCPP $CPPFLAGS'
23788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23793 /* end confdefs.h. */
23794 #include <math.h>
23796 main ()
23798 hypot(0, 0);
23800 return 0;
23802 _ACEOF
23803 if ac_fn_cxx_try_compile "$LINENO"; then :
23804 glibcxx_cv_func_hypot_use=yes
23805 else
23806 glibcxx_cv_func_hypot_use=no
23808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23809 ac_ext=c
23810 ac_cpp='$CPP $CPPFLAGS'
23811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23820 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23822 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23823 for ac_func in hypot
23824 do :
23825 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23826 if test "x$ac_cv_func_hypot" = xyes; then :
23827 cat >>confdefs.h <<_ACEOF
23828 #define HAVE_HYPOT 1
23829 _ACEOF
23832 done
23834 else
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23837 $as_echo_n "checking for _hypot declaration... " >&6; }
23838 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23839 if ${glibcxx_cv_func__hypot_use+:} false; then :
23840 $as_echo_n "(cached) " >&6
23841 else
23844 ac_ext=cpp
23845 ac_cpp='$CXXCPP $CPPFLAGS'
23846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23852 #include <math.h>
23854 main ()
23856 _hypot(0, 0);
23858 return 0;
23860 _ACEOF
23861 if ac_fn_cxx_try_compile "$LINENO"; then :
23862 glibcxx_cv_func__hypot_use=yes
23863 else
23864 glibcxx_cv_func__hypot_use=no
23866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23867 ac_ext=c
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23878 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23880 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23881 for ac_func in _hypot
23882 do :
23883 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23884 if test "x$ac_cv_func__hypot" = xyes; then :
23885 cat >>confdefs.h <<_ACEOF
23886 #define HAVE__HYPOT 1
23887 _ACEOF
23890 done
23899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23900 $as_echo_n "checking for float trig functions... " >&6; }
23901 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23902 $as_echo_n "(cached) " >&6
23903 else
23906 ac_ext=cpp
23907 ac_cpp='$CXXCPP $CPPFLAGS'
23908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23913 /* end confdefs.h. */
23914 #include <math.h>
23916 main ()
23918 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23920 return 0;
23922 _ACEOF
23923 if ac_fn_cxx_try_compile "$LINENO"; then :
23924 glibcxx_cv_func_float_trig_use=yes
23925 else
23926 glibcxx_cv_func_float_trig_use=no
23928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23929 ac_ext=c
23930 ac_cpp='$CPP $CPPFLAGS'
23931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23938 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23939 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23940 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23941 do :
23942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23945 cat >>confdefs.h <<_ACEOF
23946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23947 _ACEOF
23950 done
23952 else
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23954 $as_echo_n "checking for _float trig functions... " >&6; }
23955 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23956 $as_echo_n "(cached) " >&6
23957 else
23960 ac_ext=cpp
23961 ac_cpp='$CXXCPP $CPPFLAGS'
23962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23967 /* end confdefs.h. */
23968 #include <math.h>
23970 main ()
23972 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23974 return 0;
23976 _ACEOF
23977 if ac_fn_cxx_try_compile "$LINENO"; then :
23978 glibcxx_cv_func__float_trig_use=yes
23979 else
23980 glibcxx_cv_func__float_trig_use=no
23982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23983 ac_ext=c
23984 ac_cpp='$CPP $CPPFLAGS'
23985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23992 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23993 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23994 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23995 do :
23996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23998 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23999 cat >>confdefs.h <<_ACEOF
24000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24001 _ACEOF
24004 done
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
24014 $as_echo_n "checking for float round functions... " >&6; }
24015 if ${glibcxx_cv_func_float_round_use+:} false; then :
24016 $as_echo_n "(cached) " >&6
24017 else
24020 ac_ext=cpp
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24028 #include <math.h>
24030 main ()
24032 ceilf (0); floorf (0);
24034 return 0;
24036 _ACEOF
24037 if ac_fn_cxx_try_compile "$LINENO"; then :
24038 glibcxx_cv_func_float_round_use=yes
24039 else
24040 glibcxx_cv_func_float_round_use=no
24042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 ac_ext=c
24044 ac_cpp='$CPP $CPPFLAGS'
24045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24052 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24053 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24054 for ac_func in ceilf floorf
24055 do :
24056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24059 cat >>confdefs.h <<_ACEOF
24060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24061 _ACEOF
24064 done
24066 else
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24068 $as_echo_n "checking for _float round functions... " >&6; }
24069 if ${glibcxx_cv_func__float_round_use+:} false; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24074 ac_ext=cpp
24075 ac_cpp='$CXXCPP $CPPFLAGS'
24076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24082 #include <math.h>
24084 main ()
24086 _ceilf (0); _floorf (0);
24088 return 0;
24090 _ACEOF
24091 if ac_fn_cxx_try_compile "$LINENO"; then :
24092 glibcxx_cv_func__float_round_use=yes
24093 else
24094 glibcxx_cv_func__float_round_use=no
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24106 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24107 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24108 for ac_func in _ceilf _floorf
24109 do :
24110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24113 cat >>confdefs.h <<_ACEOF
24114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24115 _ACEOF
24118 done
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24129 $as_echo_n "checking for expf declaration... " >&6; }
24130 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24131 if ${glibcxx_cv_func_expf_use+:} false; then :
24132 $as_echo_n "(cached) " >&6
24133 else
24136 ac_ext=cpp
24137 ac_cpp='$CXXCPP $CPPFLAGS'
24138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24143 /* end confdefs.h. */
24144 #include <math.h>
24145 #ifdef HAVE_IEEEFP_H
24146 #include <ieeefp.h>
24147 #endif
24150 main ()
24152 expf(0);
24154 return 0;
24156 _ACEOF
24157 if ac_fn_cxx_try_compile "$LINENO"; then :
24158 glibcxx_cv_func_expf_use=yes
24159 else
24160 glibcxx_cv_func_expf_use=no
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24174 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24176 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24177 for ac_func in expf
24178 do :
24179 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24180 if test "x$ac_cv_func_expf" = xyes; then :
24181 cat >>confdefs.h <<_ACEOF
24182 #define HAVE_EXPF 1
24183 _ACEOF
24186 done
24188 else
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24191 $as_echo_n "checking for _expf declaration... " >&6; }
24192 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24193 if ${glibcxx_cv_func__expf_use+:} false; then :
24194 $as_echo_n "(cached) " >&6
24195 else
24198 ac_ext=cpp
24199 ac_cpp='$CXXCPP $CPPFLAGS'
24200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24205 /* end confdefs.h. */
24206 #include <math.h>
24207 #ifdef HAVE_IEEEFP_H
24208 #include <ieeefp.h>
24209 #endif
24212 main ()
24214 _expf(0);
24216 return 0;
24218 _ACEOF
24219 if ac_fn_cxx_try_compile "$LINENO"; then :
24220 glibcxx_cv_func__expf_use=yes
24221 else
24222 glibcxx_cv_func__expf_use=no
24224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24225 ac_ext=c
24226 ac_cpp='$CPP $CPPFLAGS'
24227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24236 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24238 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24239 for ac_func in _expf
24240 do :
24241 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24242 if test "x$ac_cv_func__expf" = xyes; then :
24243 cat >>confdefs.h <<_ACEOF
24244 #define HAVE__EXPF 1
24245 _ACEOF
24248 done
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24258 $as_echo_n "checking for isnanf declaration... " >&6; }
24259 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24260 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24265 ac_ext=cpp
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24273 #include <math.h>
24274 #ifdef HAVE_IEEEFP_H
24275 #include <ieeefp.h>
24276 #endif
24279 main ()
24281 isnanf(0);
24283 return 0;
24285 _ACEOF
24286 if ac_fn_cxx_try_compile "$LINENO"; then :
24287 glibcxx_cv_func_isnanf_use=yes
24288 else
24289 glibcxx_cv_func_isnanf_use=no
24291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 ac_ext=c
24293 ac_cpp='$CPP $CPPFLAGS'
24294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24303 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24305 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24306 for ac_func in isnanf
24307 do :
24308 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24309 if test "x$ac_cv_func_isnanf" = xyes; then :
24310 cat >>confdefs.h <<_ACEOF
24311 #define HAVE_ISNANF 1
24312 _ACEOF
24315 done
24317 else
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24320 $as_echo_n "checking for _isnanf declaration... " >&6; }
24321 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24322 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24323 $as_echo_n "(cached) " >&6
24324 else
24327 ac_ext=cpp
24328 ac_cpp='$CXXCPP $CPPFLAGS'
24329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24334 /* end confdefs.h. */
24335 #include <math.h>
24336 #ifdef HAVE_IEEEFP_H
24337 #include <ieeefp.h>
24338 #endif
24341 main ()
24343 _isnanf(0);
24345 return 0;
24347 _ACEOF
24348 if ac_fn_cxx_try_compile "$LINENO"; then :
24349 glibcxx_cv_func__isnanf_use=yes
24350 else
24351 glibcxx_cv_func__isnanf_use=no
24353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24354 ac_ext=c
24355 ac_cpp='$CPP $CPPFLAGS'
24356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24365 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24367 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24368 for ac_func in _isnanf
24369 do :
24370 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24371 if test "x$ac_cv_func__isnanf" = xyes; then :
24372 cat >>confdefs.h <<_ACEOF
24373 #define HAVE__ISNANF 1
24374 _ACEOF
24377 done
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24387 $as_echo_n "checking for isinff declaration... " >&6; }
24388 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24389 if ${glibcxx_cv_func_isinff_use+:} false; then :
24390 $as_echo_n "(cached) " >&6
24391 else
24394 ac_ext=cpp
24395 ac_cpp='$CXXCPP $CPPFLAGS'
24396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24401 /* end confdefs.h. */
24402 #include <math.h>
24403 #ifdef HAVE_IEEEFP_H
24404 #include <ieeefp.h>
24405 #endif
24408 main ()
24410 isinff(0);
24412 return 0;
24414 _ACEOF
24415 if ac_fn_cxx_try_compile "$LINENO"; then :
24416 glibcxx_cv_func_isinff_use=yes
24417 else
24418 glibcxx_cv_func_isinff_use=no
24420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24421 ac_ext=c
24422 ac_cpp='$CPP $CPPFLAGS'
24423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24432 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24434 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24435 for ac_func in isinff
24436 do :
24437 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24438 if test "x$ac_cv_func_isinff" = xyes; then :
24439 cat >>confdefs.h <<_ACEOF
24440 #define HAVE_ISINFF 1
24441 _ACEOF
24444 done
24446 else
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24449 $as_echo_n "checking for _isinff declaration... " >&6; }
24450 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24451 if ${glibcxx_cv_func__isinff_use+:} false; then :
24452 $as_echo_n "(cached) " >&6
24453 else
24456 ac_ext=cpp
24457 ac_cpp='$CXXCPP $CPPFLAGS'
24458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24463 /* end confdefs.h. */
24464 #include <math.h>
24465 #ifdef HAVE_IEEEFP_H
24466 #include <ieeefp.h>
24467 #endif
24470 main ()
24472 _isinff(0);
24474 return 0;
24476 _ACEOF
24477 if ac_fn_cxx_try_compile "$LINENO"; then :
24478 glibcxx_cv_func__isinff_use=yes
24479 else
24480 glibcxx_cv_func__isinff_use=no
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 ac_ext=c
24484 ac_cpp='$CPP $CPPFLAGS'
24485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24494 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24496 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24497 for ac_func in _isinff
24498 do :
24499 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24500 if test "x$ac_cv_func__isinff" = xyes; then :
24501 cat >>confdefs.h <<_ACEOF
24502 #define HAVE__ISINFF 1
24503 _ACEOF
24506 done
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24516 $as_echo_n "checking for atan2f declaration... " >&6; }
24517 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24518 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24519 $as_echo_n "(cached) " >&6
24520 else
24523 ac_ext=cpp
24524 ac_cpp='$CXXCPP $CPPFLAGS'
24525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24530 /* end confdefs.h. */
24531 #include <math.h>
24533 main ()
24535 atan2f(0, 0);
24537 return 0;
24539 _ACEOF
24540 if ac_fn_cxx_try_compile "$LINENO"; then :
24541 glibcxx_cv_func_atan2f_use=yes
24542 else
24543 glibcxx_cv_func_atan2f_use=no
24545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24546 ac_ext=c
24547 ac_cpp='$CPP $CPPFLAGS'
24548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24557 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24559 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24560 for ac_func in atan2f
24561 do :
24562 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24563 if test "x$ac_cv_func_atan2f" = xyes; then :
24564 cat >>confdefs.h <<_ACEOF
24565 #define HAVE_ATAN2F 1
24566 _ACEOF
24569 done
24571 else
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24574 $as_echo_n "checking for _atan2f declaration... " >&6; }
24575 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24576 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24577 $as_echo_n "(cached) " >&6
24578 else
24581 ac_ext=cpp
24582 ac_cpp='$CXXCPP $CPPFLAGS'
24583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h. */
24589 #include <math.h>
24591 main ()
24593 _atan2f(0, 0);
24595 return 0;
24597 _ACEOF
24598 if ac_fn_cxx_try_compile "$LINENO"; then :
24599 glibcxx_cv_func__atan2f_use=yes
24600 else
24601 glibcxx_cv_func__atan2f_use=no
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 ac_ext=c
24605 ac_cpp='$CPP $CPPFLAGS'
24606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24615 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24617 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24618 for ac_func in _atan2f
24619 do :
24620 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24621 if test "x$ac_cv_func__atan2f" = xyes; then :
24622 cat >>confdefs.h <<_ACEOF
24623 #define HAVE__ATAN2F 1
24624 _ACEOF
24627 done
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24637 $as_echo_n "checking for fabsf declaration... " >&6; }
24638 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24639 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24640 $as_echo_n "(cached) " >&6
24641 else
24644 ac_ext=cpp
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24652 #include <math.h>
24653 #ifdef HAVE_IEEEFP_H
24654 #include <ieeefp.h>
24655 #endif
24658 main ()
24660 fabsf(0);
24662 return 0;
24664 _ACEOF
24665 if ac_fn_cxx_try_compile "$LINENO"; then :
24666 glibcxx_cv_func_fabsf_use=yes
24667 else
24668 glibcxx_cv_func_fabsf_use=no
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671 ac_ext=c
24672 ac_cpp='$CPP $CPPFLAGS'
24673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24682 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24684 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24685 for ac_func in fabsf
24686 do :
24687 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24688 if test "x$ac_cv_func_fabsf" = xyes; then :
24689 cat >>confdefs.h <<_ACEOF
24690 #define HAVE_FABSF 1
24691 _ACEOF
24694 done
24696 else
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24699 $as_echo_n "checking for _fabsf declaration... " >&6; }
24700 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24701 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24702 $as_echo_n "(cached) " >&6
24703 else
24706 ac_ext=cpp
24707 ac_cpp='$CXXCPP $CPPFLAGS'
24708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24714 #include <math.h>
24715 #ifdef HAVE_IEEEFP_H
24716 #include <ieeefp.h>
24717 #endif
24720 main ()
24722 _fabsf(0);
24724 return 0;
24726 _ACEOF
24727 if ac_fn_cxx_try_compile "$LINENO"; then :
24728 glibcxx_cv_func__fabsf_use=yes
24729 else
24730 glibcxx_cv_func__fabsf_use=no
24732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24733 ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24744 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24746 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24747 for ac_func in _fabsf
24748 do :
24749 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24750 if test "x$ac_cv_func__fabsf" = xyes; then :
24751 cat >>confdefs.h <<_ACEOF
24752 #define HAVE__FABSF 1
24753 _ACEOF
24756 done
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24766 $as_echo_n "checking for fmodf declaration... " >&6; }
24767 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24768 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24769 $as_echo_n "(cached) " >&6
24770 else
24773 ac_ext=cpp
24774 ac_cpp='$CXXCPP $CPPFLAGS'
24775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24780 /* end confdefs.h. */
24781 #include <math.h>
24783 main ()
24785 fmodf(0, 0);
24787 return 0;
24789 _ACEOF
24790 if ac_fn_cxx_try_compile "$LINENO"; then :
24791 glibcxx_cv_func_fmodf_use=yes
24792 else
24793 glibcxx_cv_func_fmodf_use=no
24795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24796 ac_ext=c
24797 ac_cpp='$CPP $CPPFLAGS'
24798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24807 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24809 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24810 for ac_func in fmodf
24811 do :
24812 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24813 if test "x$ac_cv_func_fmodf" = xyes; then :
24814 cat >>confdefs.h <<_ACEOF
24815 #define HAVE_FMODF 1
24816 _ACEOF
24819 done
24821 else
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24824 $as_echo_n "checking for _fmodf declaration... " >&6; }
24825 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24826 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24827 $as_echo_n "(cached) " >&6
24828 else
24831 ac_ext=cpp
24832 ac_cpp='$CXXCPP $CPPFLAGS'
24833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24838 /* end confdefs.h. */
24839 #include <math.h>
24841 main ()
24843 _fmodf(0, 0);
24845 return 0;
24847 _ACEOF
24848 if ac_fn_cxx_try_compile "$LINENO"; then :
24849 glibcxx_cv_func__fmodf_use=yes
24850 else
24851 glibcxx_cv_func__fmodf_use=no
24853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854 ac_ext=c
24855 ac_cpp='$CPP $CPPFLAGS'
24856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24865 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24867 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24868 for ac_func in _fmodf
24869 do :
24870 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24871 if test "x$ac_cv_func__fmodf" = xyes; then :
24872 cat >>confdefs.h <<_ACEOF
24873 #define HAVE__FMODF 1
24874 _ACEOF
24877 done
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24887 $as_echo_n "checking for frexpf declaration... " >&6; }
24888 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24889 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24890 $as_echo_n "(cached) " >&6
24891 else
24894 ac_ext=cpp
24895 ac_cpp='$CXXCPP $CPPFLAGS'
24896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24901 /* end confdefs.h. */
24902 #include <math.h>
24904 main ()
24906 frexpf(0, 0);
24908 return 0;
24910 _ACEOF
24911 if ac_fn_cxx_try_compile "$LINENO"; then :
24912 glibcxx_cv_func_frexpf_use=yes
24913 else
24914 glibcxx_cv_func_frexpf_use=no
24916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24917 ac_ext=c
24918 ac_cpp='$CPP $CPPFLAGS'
24919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24928 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24930 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24931 for ac_func in frexpf
24932 do :
24933 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24934 if test "x$ac_cv_func_frexpf" = xyes; then :
24935 cat >>confdefs.h <<_ACEOF
24936 #define HAVE_FREXPF 1
24937 _ACEOF
24940 done
24942 else
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24945 $as_echo_n "checking for _frexpf declaration... " >&6; }
24946 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24947 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24948 $as_echo_n "(cached) " >&6
24949 else
24952 ac_ext=cpp
24953 ac_cpp='$CXXCPP $CPPFLAGS'
24954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24959 /* end confdefs.h. */
24960 #include <math.h>
24962 main ()
24964 _frexpf(0, 0);
24966 return 0;
24968 _ACEOF
24969 if ac_fn_cxx_try_compile "$LINENO"; then :
24970 glibcxx_cv_func__frexpf_use=yes
24971 else
24972 glibcxx_cv_func__frexpf_use=no
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975 ac_ext=c
24976 ac_cpp='$CPP $CPPFLAGS'
24977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24986 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24988 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24989 for ac_func in _frexpf
24990 do :
24991 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24992 if test "x$ac_cv_func__frexpf" = xyes; then :
24993 cat >>confdefs.h <<_ACEOF
24994 #define HAVE__FREXPF 1
24995 _ACEOF
24998 done
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
25008 $as_echo_n "checking for hypotf declaration... " >&6; }
25009 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25010 if ${glibcxx_cv_func_hypotf_use+:} false; then :
25011 $as_echo_n "(cached) " >&6
25012 else
25015 ac_ext=cpp
25016 ac_cpp='$CXXCPP $CPPFLAGS'
25017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25022 /* end confdefs.h. */
25023 #include <math.h>
25025 main ()
25027 hypotf(0, 0);
25029 return 0;
25031 _ACEOF
25032 if ac_fn_cxx_try_compile "$LINENO"; then :
25033 glibcxx_cv_func_hypotf_use=yes
25034 else
25035 glibcxx_cv_func_hypotf_use=no
25037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25038 ac_ext=c
25039 ac_cpp='$CPP $CPPFLAGS'
25040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25049 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25051 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25052 for ac_func in hypotf
25053 do :
25054 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25055 if test "x$ac_cv_func_hypotf" = xyes; then :
25056 cat >>confdefs.h <<_ACEOF
25057 #define HAVE_HYPOTF 1
25058 _ACEOF
25061 done
25063 else
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25066 $as_echo_n "checking for _hypotf declaration... " >&6; }
25067 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25068 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25069 $as_echo_n "(cached) " >&6
25070 else
25073 ac_ext=cpp
25074 ac_cpp='$CXXCPP $CPPFLAGS'
25075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25081 #include <math.h>
25083 main ()
25085 _hypotf(0, 0);
25087 return 0;
25089 _ACEOF
25090 if ac_fn_cxx_try_compile "$LINENO"; then :
25091 glibcxx_cv_func__hypotf_use=yes
25092 else
25093 glibcxx_cv_func__hypotf_use=no
25095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25096 ac_ext=c
25097 ac_cpp='$CPP $CPPFLAGS'
25098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25107 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25109 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25110 for ac_func in _hypotf
25111 do :
25112 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25113 if test "x$ac_cv_func__hypotf" = xyes; then :
25114 cat >>confdefs.h <<_ACEOF
25115 #define HAVE__HYPOTF 1
25116 _ACEOF
25119 done
25128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25129 $as_echo_n "checking for ldexpf declaration... " >&6; }
25130 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25131 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25132 $as_echo_n "(cached) " >&6
25133 else
25136 ac_ext=cpp
25137 ac_cpp='$CXXCPP $CPPFLAGS'
25138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25143 /* end confdefs.h. */
25144 #include <math.h>
25146 main ()
25148 ldexpf(0, 0);
25150 return 0;
25152 _ACEOF
25153 if ac_fn_cxx_try_compile "$LINENO"; then :
25154 glibcxx_cv_func_ldexpf_use=yes
25155 else
25156 glibcxx_cv_func_ldexpf_use=no
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159 ac_ext=c
25160 ac_cpp='$CPP $CPPFLAGS'
25161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25170 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25172 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25173 for ac_func in ldexpf
25174 do :
25175 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25176 if test "x$ac_cv_func_ldexpf" = xyes; then :
25177 cat >>confdefs.h <<_ACEOF
25178 #define HAVE_LDEXPF 1
25179 _ACEOF
25182 done
25184 else
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25187 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25188 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25189 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25190 $as_echo_n "(cached) " >&6
25191 else
25194 ac_ext=cpp
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25201 /* end confdefs.h. */
25202 #include <math.h>
25204 main ()
25206 _ldexpf(0, 0);
25208 return 0;
25210 _ACEOF
25211 if ac_fn_cxx_try_compile "$LINENO"; then :
25212 glibcxx_cv_func__ldexpf_use=yes
25213 else
25214 glibcxx_cv_func__ldexpf_use=no
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 ac_ext=c
25218 ac_cpp='$CPP $CPPFLAGS'
25219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25228 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25230 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25231 for ac_func in _ldexpf
25232 do :
25233 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25234 if test "x$ac_cv_func__ldexpf" = xyes; then :
25235 cat >>confdefs.h <<_ACEOF
25236 #define HAVE__LDEXPF 1
25237 _ACEOF
25240 done
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25250 $as_echo_n "checking for logf declaration... " >&6; }
25251 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25252 if ${glibcxx_cv_func_logf_use+:} false; then :
25253 $as_echo_n "(cached) " >&6
25254 else
25257 ac_ext=cpp
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25265 #include <math.h>
25266 #ifdef HAVE_IEEEFP_H
25267 #include <ieeefp.h>
25268 #endif
25271 main ()
25273 logf(0);
25275 return 0;
25277 _ACEOF
25278 if ac_fn_cxx_try_compile "$LINENO"; then :
25279 glibcxx_cv_func_logf_use=yes
25280 else
25281 glibcxx_cv_func_logf_use=no
25283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25284 ac_ext=c
25285 ac_cpp='$CPP $CPPFLAGS'
25286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25295 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25297 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25298 for ac_func in logf
25299 do :
25300 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25301 if test "x$ac_cv_func_logf" = xyes; then :
25302 cat >>confdefs.h <<_ACEOF
25303 #define HAVE_LOGF 1
25304 _ACEOF
25307 done
25309 else
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25312 $as_echo_n "checking for _logf declaration... " >&6; }
25313 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25314 if ${glibcxx_cv_func__logf_use+:} false; then :
25315 $as_echo_n "(cached) " >&6
25316 else
25319 ac_ext=cpp
25320 ac_cpp='$CXXCPP $CPPFLAGS'
25321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25326 /* end confdefs.h. */
25327 #include <math.h>
25328 #ifdef HAVE_IEEEFP_H
25329 #include <ieeefp.h>
25330 #endif
25333 main ()
25335 _logf(0);
25337 return 0;
25339 _ACEOF
25340 if ac_fn_cxx_try_compile "$LINENO"; then :
25341 glibcxx_cv_func__logf_use=yes
25342 else
25343 glibcxx_cv_func__logf_use=no
25345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346 ac_ext=c
25347 ac_cpp='$CPP $CPPFLAGS'
25348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25357 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25359 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25360 for ac_func in _logf
25361 do :
25362 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25363 if test "x$ac_cv_func__logf" = xyes; then :
25364 cat >>confdefs.h <<_ACEOF
25365 #define HAVE__LOGF 1
25366 _ACEOF
25369 done
25378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25379 $as_echo_n "checking for log10f declaration... " >&6; }
25380 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25381 if ${glibcxx_cv_func_log10f_use+:} false; then :
25382 $as_echo_n "(cached) " >&6
25383 else
25386 ac_ext=cpp
25387 ac_cpp='$CXXCPP $CPPFLAGS'
25388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25393 /* end confdefs.h. */
25394 #include <math.h>
25395 #ifdef HAVE_IEEEFP_H
25396 #include <ieeefp.h>
25397 #endif
25400 main ()
25402 log10f(0);
25404 return 0;
25406 _ACEOF
25407 if ac_fn_cxx_try_compile "$LINENO"; then :
25408 glibcxx_cv_func_log10f_use=yes
25409 else
25410 glibcxx_cv_func_log10f_use=no
25412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25413 ac_ext=c
25414 ac_cpp='$CPP $CPPFLAGS'
25415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25424 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25426 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25427 for ac_func in log10f
25428 do :
25429 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25430 if test "x$ac_cv_func_log10f" = xyes; then :
25431 cat >>confdefs.h <<_ACEOF
25432 #define HAVE_LOG10F 1
25433 _ACEOF
25436 done
25438 else
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25441 $as_echo_n "checking for _log10f declaration... " >&6; }
25442 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25443 if ${glibcxx_cv_func__log10f_use+:} false; then :
25444 $as_echo_n "(cached) " >&6
25445 else
25448 ac_ext=cpp
25449 ac_cpp='$CXXCPP $CPPFLAGS'
25450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h. */
25456 #include <math.h>
25457 #ifdef HAVE_IEEEFP_H
25458 #include <ieeefp.h>
25459 #endif
25462 main ()
25464 _log10f(0);
25466 return 0;
25468 _ACEOF
25469 if ac_fn_cxx_try_compile "$LINENO"; then :
25470 glibcxx_cv_func__log10f_use=yes
25471 else
25472 glibcxx_cv_func__log10f_use=no
25474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475 ac_ext=c
25476 ac_cpp='$CPP $CPPFLAGS'
25477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25486 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25488 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25489 for ac_func in _log10f
25490 do :
25491 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25492 if test "x$ac_cv_func__log10f" = xyes; then :
25493 cat >>confdefs.h <<_ACEOF
25494 #define HAVE__LOG10F 1
25495 _ACEOF
25498 done
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25508 $as_echo_n "checking for modff declaration... " >&6; }
25509 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25510 if ${glibcxx_cv_func_modff_use+:} false; then :
25511 $as_echo_n "(cached) " >&6
25512 else
25515 ac_ext=cpp
25516 ac_cpp='$CXXCPP $CPPFLAGS'
25517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25522 /* end confdefs.h. */
25523 #include <math.h>
25525 main ()
25527 modff(0, 0);
25529 return 0;
25531 _ACEOF
25532 if ac_fn_cxx_try_compile "$LINENO"; then :
25533 glibcxx_cv_func_modff_use=yes
25534 else
25535 glibcxx_cv_func_modff_use=no
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538 ac_ext=c
25539 ac_cpp='$CPP $CPPFLAGS'
25540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25549 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25551 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25552 for ac_func in modff
25553 do :
25554 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25555 if test "x$ac_cv_func_modff" = xyes; then :
25556 cat >>confdefs.h <<_ACEOF
25557 #define HAVE_MODFF 1
25558 _ACEOF
25561 done
25563 else
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25566 $as_echo_n "checking for _modff declaration... " >&6; }
25567 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25568 if ${glibcxx_cv_func__modff_use+:} false; then :
25569 $as_echo_n "(cached) " >&6
25570 else
25573 ac_ext=cpp
25574 ac_cpp='$CXXCPP $CPPFLAGS'
25575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h. */
25581 #include <math.h>
25583 main ()
25585 _modff(0, 0);
25587 return 0;
25589 _ACEOF
25590 if ac_fn_cxx_try_compile "$LINENO"; then :
25591 glibcxx_cv_func__modff_use=yes
25592 else
25593 glibcxx_cv_func__modff_use=no
25595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25596 ac_ext=c
25597 ac_cpp='$CPP $CPPFLAGS'
25598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25607 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25609 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25610 for ac_func in _modff
25611 do :
25612 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25613 if test "x$ac_cv_func__modff" = xyes; then :
25614 cat >>confdefs.h <<_ACEOF
25615 #define HAVE__MODFF 1
25616 _ACEOF
25619 done
25628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25629 $as_echo_n "checking for modf declaration... " >&6; }
25630 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25631 if ${glibcxx_cv_func_modf_use+:} false; then :
25632 $as_echo_n "(cached) " >&6
25633 else
25636 ac_ext=cpp
25637 ac_cpp='$CXXCPP $CPPFLAGS'
25638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25643 /* end confdefs.h. */
25644 #include <math.h>
25646 main ()
25648 modf(0, 0);
25650 return 0;
25652 _ACEOF
25653 if ac_fn_cxx_try_compile "$LINENO"; then :
25654 glibcxx_cv_func_modf_use=yes
25655 else
25656 glibcxx_cv_func_modf_use=no
25658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25659 ac_ext=c
25660 ac_cpp='$CPP $CPPFLAGS'
25661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25670 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25672 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25673 for ac_func in modf
25674 do :
25675 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25676 if test "x$ac_cv_func_modf" = xyes; then :
25677 cat >>confdefs.h <<_ACEOF
25678 #define HAVE_MODF 1
25679 _ACEOF
25682 done
25684 else
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25687 $as_echo_n "checking for _modf declaration... " >&6; }
25688 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25689 if ${glibcxx_cv_func__modf_use+:} false; then :
25690 $as_echo_n "(cached) " >&6
25691 else
25694 ac_ext=cpp
25695 ac_cpp='$CXXCPP $CPPFLAGS'
25696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25701 /* end confdefs.h. */
25702 #include <math.h>
25704 main ()
25706 _modf(0, 0);
25708 return 0;
25710 _ACEOF
25711 if ac_fn_cxx_try_compile "$LINENO"; then :
25712 glibcxx_cv_func__modf_use=yes
25713 else
25714 glibcxx_cv_func__modf_use=no
25716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25717 ac_ext=c
25718 ac_cpp='$CPP $CPPFLAGS'
25719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25728 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25730 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25731 for ac_func in _modf
25732 do :
25733 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25734 if test "x$ac_cv_func__modf" = xyes; then :
25735 cat >>confdefs.h <<_ACEOF
25736 #define HAVE__MODF 1
25737 _ACEOF
25740 done
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25750 $as_echo_n "checking for powf declaration... " >&6; }
25751 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25752 if ${glibcxx_cv_func_powf_use+:} false; then :
25753 $as_echo_n "(cached) " >&6
25754 else
25757 ac_ext=cpp
25758 ac_cpp='$CXXCPP $CPPFLAGS'
25759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25764 /* end confdefs.h. */
25765 #include <math.h>
25767 main ()
25769 powf(0, 0);
25771 return 0;
25773 _ACEOF
25774 if ac_fn_cxx_try_compile "$LINENO"; then :
25775 glibcxx_cv_func_powf_use=yes
25776 else
25777 glibcxx_cv_func_powf_use=no
25779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25780 ac_ext=c
25781 ac_cpp='$CPP $CPPFLAGS'
25782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25791 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25793 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25794 for ac_func in powf
25795 do :
25796 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25797 if test "x$ac_cv_func_powf" = xyes; then :
25798 cat >>confdefs.h <<_ACEOF
25799 #define HAVE_POWF 1
25800 _ACEOF
25803 done
25805 else
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25808 $as_echo_n "checking for _powf declaration... " >&6; }
25809 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25810 if ${glibcxx_cv_func__powf_use+:} false; then :
25811 $as_echo_n "(cached) " >&6
25812 else
25815 ac_ext=cpp
25816 ac_cpp='$CXXCPP $CPPFLAGS'
25817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25822 /* end confdefs.h. */
25823 #include <math.h>
25825 main ()
25827 _powf(0, 0);
25829 return 0;
25831 _ACEOF
25832 if ac_fn_cxx_try_compile "$LINENO"; then :
25833 glibcxx_cv_func__powf_use=yes
25834 else
25835 glibcxx_cv_func__powf_use=no
25837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25838 ac_ext=c
25839 ac_cpp='$CPP $CPPFLAGS'
25840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25849 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25851 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25852 for ac_func in _powf
25853 do :
25854 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25855 if test "x$ac_cv_func__powf" = xyes; then :
25856 cat >>confdefs.h <<_ACEOF
25857 #define HAVE__POWF 1
25858 _ACEOF
25861 done
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25871 $as_echo_n "checking for sqrtf declaration... " >&6; }
25872 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25873 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25874 $as_echo_n "(cached) " >&6
25875 else
25878 ac_ext=cpp
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25885 /* end confdefs.h. */
25886 #include <math.h>
25887 #ifdef HAVE_IEEEFP_H
25888 #include <ieeefp.h>
25889 #endif
25892 main ()
25894 sqrtf(0);
25896 return 0;
25898 _ACEOF
25899 if ac_fn_cxx_try_compile "$LINENO"; then :
25900 glibcxx_cv_func_sqrtf_use=yes
25901 else
25902 glibcxx_cv_func_sqrtf_use=no
25904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25905 ac_ext=c
25906 ac_cpp='$CPP $CPPFLAGS'
25907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25916 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25918 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25919 for ac_func in sqrtf
25920 do :
25921 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25922 if test "x$ac_cv_func_sqrtf" = xyes; then :
25923 cat >>confdefs.h <<_ACEOF
25924 #define HAVE_SQRTF 1
25925 _ACEOF
25928 done
25930 else
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25933 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25934 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25935 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25936 $as_echo_n "(cached) " >&6
25937 else
25940 ac_ext=cpp
25941 ac_cpp='$CXXCPP $CPPFLAGS'
25942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25948 #include <math.h>
25949 #ifdef HAVE_IEEEFP_H
25950 #include <ieeefp.h>
25951 #endif
25954 main ()
25956 _sqrtf(0);
25958 return 0;
25960 _ACEOF
25961 if ac_fn_cxx_try_compile "$LINENO"; then :
25962 glibcxx_cv_func__sqrtf_use=yes
25963 else
25964 glibcxx_cv_func__sqrtf_use=no
25966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25967 ac_ext=c
25968 ac_cpp='$CPP $CPPFLAGS'
25969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25978 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25980 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25981 for ac_func in _sqrtf
25982 do :
25983 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25984 if test "x$ac_cv_func__sqrtf" = xyes; then :
25985 cat >>confdefs.h <<_ACEOF
25986 #define HAVE__SQRTF 1
25987 _ACEOF
25990 done
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
26000 $as_echo_n "checking for sincosf declaration... " >&6; }
26001 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26002 if ${glibcxx_cv_func_sincosf_use+:} false; then :
26003 $as_echo_n "(cached) " >&6
26004 else
26007 ac_ext=cpp
26008 ac_cpp='$CXXCPP $CPPFLAGS'
26009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26014 /* end confdefs.h. */
26015 #include <math.h>
26017 main ()
26019 sincosf(0, 0, 0);
26021 return 0;
26023 _ACEOF
26024 if ac_fn_cxx_try_compile "$LINENO"; then :
26025 glibcxx_cv_func_sincosf_use=yes
26026 else
26027 glibcxx_cv_func_sincosf_use=no
26029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26030 ac_ext=c
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26041 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26043 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26044 for ac_func in sincosf
26045 do :
26046 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26047 if test "x$ac_cv_func_sincosf" = xyes; then :
26048 cat >>confdefs.h <<_ACEOF
26049 #define HAVE_SINCOSF 1
26050 _ACEOF
26053 done
26055 else
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26058 $as_echo_n "checking for _sincosf declaration... " >&6; }
26059 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26060 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26061 $as_echo_n "(cached) " >&6
26062 else
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26072 /* end confdefs.h. */
26073 #include <math.h>
26075 main ()
26077 _sincosf(0, 0, 0);
26079 return 0;
26081 _ACEOF
26082 if ac_fn_cxx_try_compile "$LINENO"; then :
26083 glibcxx_cv_func__sincosf_use=yes
26084 else
26085 glibcxx_cv_func__sincosf_use=no
26087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088 ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26099 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26101 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26102 for ac_func in _sincosf
26103 do :
26104 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26105 if test "x$ac_cv_func__sincosf" = xyes; then :
26106 cat >>confdefs.h <<_ACEOF
26107 #define HAVE__SINCOSF 1
26108 _ACEOF
26111 done
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26121 $as_echo_n "checking for finitef declaration... " >&6; }
26122 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26123 if ${glibcxx_cv_func_finitef_use+:} false; then :
26124 $as_echo_n "(cached) " >&6
26125 else
26128 ac_ext=cpp
26129 ac_cpp='$CXXCPP $CPPFLAGS'
26130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26135 /* end confdefs.h. */
26136 #include <math.h>
26137 #ifdef HAVE_IEEEFP_H
26138 #include <ieeefp.h>
26139 #endif
26142 main ()
26144 finitef(0);
26146 return 0;
26148 _ACEOF
26149 if ac_fn_cxx_try_compile "$LINENO"; then :
26150 glibcxx_cv_func_finitef_use=yes
26151 else
26152 glibcxx_cv_func_finitef_use=no
26154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26155 ac_ext=c
26156 ac_cpp='$CPP $CPPFLAGS'
26157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26166 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26168 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26169 for ac_func in finitef
26170 do :
26171 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26172 if test "x$ac_cv_func_finitef" = xyes; then :
26173 cat >>confdefs.h <<_ACEOF
26174 #define HAVE_FINITEF 1
26175 _ACEOF
26178 done
26180 else
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26183 $as_echo_n "checking for _finitef declaration... " >&6; }
26184 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26185 if ${glibcxx_cv_func__finitef_use+:} false; then :
26186 $as_echo_n "(cached) " >&6
26187 else
26190 ac_ext=cpp
26191 ac_cpp='$CXXCPP $CPPFLAGS'
26192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26198 #include <math.h>
26199 #ifdef HAVE_IEEEFP_H
26200 #include <ieeefp.h>
26201 #endif
26204 main ()
26206 _finitef(0);
26208 return 0;
26210 _ACEOF
26211 if ac_fn_cxx_try_compile "$LINENO"; then :
26212 glibcxx_cv_func__finitef_use=yes
26213 else
26214 glibcxx_cv_func__finitef_use=no
26216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26217 ac_ext=c
26218 ac_cpp='$CPP $CPPFLAGS'
26219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26228 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26230 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26231 for ac_func in _finitef
26232 do :
26233 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26234 if test "x$ac_cv_func__finitef" = xyes; then :
26235 cat >>confdefs.h <<_ACEOF
26236 #define HAVE__FINITEF 1
26237 _ACEOF
26240 done
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26250 $as_echo_n "checking for long double trig functions... " >&6; }
26251 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26252 $as_echo_n "(cached) " >&6
26253 else
26256 ac_ext=cpp
26257 ac_cpp='$CXXCPP $CPPFLAGS'
26258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26264 #include <math.h>
26266 main ()
26268 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26270 return 0;
26272 _ACEOF
26273 if ac_fn_cxx_try_compile "$LINENO"; then :
26274 glibcxx_cv_func_long_double_trig_use=yes
26275 else
26276 glibcxx_cv_func_long_double_trig_use=no
26278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26279 ac_ext=c
26280 ac_cpp='$CPP $CPPFLAGS'
26281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26288 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26289 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26290 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26291 do :
26292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26295 cat >>confdefs.h <<_ACEOF
26296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26297 _ACEOF
26300 done
26302 else
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26304 $as_echo_n "checking for _long double trig functions... " >&6; }
26305 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26306 $as_echo_n "(cached) " >&6
26307 else
26310 ac_ext=cpp
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26317 /* end confdefs.h. */
26318 #include <math.h>
26320 main ()
26322 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26324 return 0;
26326 _ACEOF
26327 if ac_fn_cxx_try_compile "$LINENO"; then :
26328 glibcxx_cv_func__long_double_trig_use=yes
26329 else
26330 glibcxx_cv_func__long_double_trig_use=no
26332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26333 ac_ext=c
26334 ac_cpp='$CPP $CPPFLAGS'
26335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26342 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26343 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26344 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26345 do :
26346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26349 cat >>confdefs.h <<_ACEOF
26350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26351 _ACEOF
26354 done
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26364 $as_echo_n "checking for long double round functions... " >&6; }
26365 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26366 $as_echo_n "(cached) " >&6
26367 else
26370 ac_ext=cpp
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26378 #include <math.h>
26380 main ()
26382 ceill (0); floorl (0);
26384 return 0;
26386 _ACEOF
26387 if ac_fn_cxx_try_compile "$LINENO"; then :
26388 glibcxx_cv_func_long_double_round_use=yes
26389 else
26390 glibcxx_cv_func_long_double_round_use=no
26392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26393 ac_ext=c
26394 ac_cpp='$CPP $CPPFLAGS'
26395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26402 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26403 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26404 for ac_func in ceill floorl
26405 do :
26406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26409 cat >>confdefs.h <<_ACEOF
26410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26411 _ACEOF
26414 done
26416 else
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26418 $as_echo_n "checking for _long double round functions... " >&6; }
26419 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26420 $as_echo_n "(cached) " >&6
26421 else
26424 ac_ext=cpp
26425 ac_cpp='$CXXCPP $CPPFLAGS'
26426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26431 /* end confdefs.h. */
26432 #include <math.h>
26434 main ()
26436 _ceill (0); _floorl (0);
26438 return 0;
26440 _ACEOF
26441 if ac_fn_cxx_try_compile "$LINENO"; then :
26442 glibcxx_cv_func__long_double_round_use=yes
26443 else
26444 glibcxx_cv_func__long_double_round_use=no
26446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26447 ac_ext=c
26448 ac_cpp='$CPP $CPPFLAGS'
26449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26456 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26457 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26458 for ac_func in _ceill _floorl
26459 do :
26460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26463 cat >>confdefs.h <<_ACEOF
26464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26465 _ACEOF
26468 done
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26479 $as_echo_n "checking for isnanl declaration... " >&6; }
26480 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26481 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26482 $as_echo_n "(cached) " >&6
26483 else
26486 ac_ext=cpp
26487 ac_cpp='$CXXCPP $CPPFLAGS'
26488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h. */
26494 #include <math.h>
26495 #ifdef HAVE_IEEEFP_H
26496 #include <ieeefp.h>
26497 #endif
26500 main ()
26502 isnanl(0);
26504 return 0;
26506 _ACEOF
26507 if ac_fn_cxx_try_compile "$LINENO"; then :
26508 glibcxx_cv_func_isnanl_use=yes
26509 else
26510 glibcxx_cv_func_isnanl_use=no
26512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26513 ac_ext=c
26514 ac_cpp='$CPP $CPPFLAGS'
26515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26524 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26526 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26527 for ac_func in isnanl
26528 do :
26529 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26530 if test "x$ac_cv_func_isnanl" = xyes; then :
26531 cat >>confdefs.h <<_ACEOF
26532 #define HAVE_ISNANL 1
26533 _ACEOF
26536 done
26538 else
26540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26541 $as_echo_n "checking for _isnanl declaration... " >&6; }
26542 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26543 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26544 $as_echo_n "(cached) " >&6
26545 else
26548 ac_ext=cpp
26549 ac_cpp='$CXXCPP $CPPFLAGS'
26550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26555 /* end confdefs.h. */
26556 #include <math.h>
26557 #ifdef HAVE_IEEEFP_H
26558 #include <ieeefp.h>
26559 #endif
26562 main ()
26564 _isnanl(0);
26566 return 0;
26568 _ACEOF
26569 if ac_fn_cxx_try_compile "$LINENO"; then :
26570 glibcxx_cv_func__isnanl_use=yes
26571 else
26572 glibcxx_cv_func__isnanl_use=no
26574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 ac_ext=c
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26586 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26588 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26589 for ac_func in _isnanl
26590 do :
26591 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26592 if test "x$ac_cv_func__isnanl" = xyes; then :
26593 cat >>confdefs.h <<_ACEOF
26594 #define HAVE__ISNANL 1
26595 _ACEOF
26598 done
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26608 $as_echo_n "checking for isinfl declaration... " >&6; }
26609 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26610 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26611 $as_echo_n "(cached) " >&6
26612 else
26615 ac_ext=cpp
26616 ac_cpp='$CXXCPP $CPPFLAGS'
26617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26622 /* end confdefs.h. */
26623 #include <math.h>
26624 #ifdef HAVE_IEEEFP_H
26625 #include <ieeefp.h>
26626 #endif
26629 main ()
26631 isinfl(0);
26633 return 0;
26635 _ACEOF
26636 if ac_fn_cxx_try_compile "$LINENO"; then :
26637 glibcxx_cv_func_isinfl_use=yes
26638 else
26639 glibcxx_cv_func_isinfl_use=no
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642 ac_ext=c
26643 ac_cpp='$CPP $CPPFLAGS'
26644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26653 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26655 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26656 for ac_func in isinfl
26657 do :
26658 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26659 if test "x$ac_cv_func_isinfl" = xyes; then :
26660 cat >>confdefs.h <<_ACEOF
26661 #define HAVE_ISINFL 1
26662 _ACEOF
26665 done
26667 else
26669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26670 $as_echo_n "checking for _isinfl declaration... " >&6; }
26671 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26672 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26673 $as_echo_n "(cached) " >&6
26674 else
26677 ac_ext=cpp
26678 ac_cpp='$CXXCPP $CPPFLAGS'
26679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26684 /* end confdefs.h. */
26685 #include <math.h>
26686 #ifdef HAVE_IEEEFP_H
26687 #include <ieeefp.h>
26688 #endif
26691 main ()
26693 _isinfl(0);
26695 return 0;
26697 _ACEOF
26698 if ac_fn_cxx_try_compile "$LINENO"; then :
26699 glibcxx_cv_func__isinfl_use=yes
26700 else
26701 glibcxx_cv_func__isinfl_use=no
26703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26704 ac_ext=c
26705 ac_cpp='$CPP $CPPFLAGS'
26706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26715 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26717 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26718 for ac_func in _isinfl
26719 do :
26720 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26721 if test "x$ac_cv_func__isinfl" = xyes; then :
26722 cat >>confdefs.h <<_ACEOF
26723 #define HAVE__ISINFL 1
26724 _ACEOF
26727 done
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26737 $as_echo_n "checking for atan2l declaration... " >&6; }
26738 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26739 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26740 $as_echo_n "(cached) " >&6
26741 else
26744 ac_ext=cpp
26745 ac_cpp='$CXXCPP $CPPFLAGS'
26746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26751 /* end confdefs.h. */
26752 #include <math.h>
26754 main ()
26756 atan2l(0, 0);
26758 return 0;
26760 _ACEOF
26761 if ac_fn_cxx_try_compile "$LINENO"; then :
26762 glibcxx_cv_func_atan2l_use=yes
26763 else
26764 glibcxx_cv_func_atan2l_use=no
26766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26767 ac_ext=c
26768 ac_cpp='$CPP $CPPFLAGS'
26769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26778 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26780 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26781 for ac_func in atan2l
26782 do :
26783 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26784 if test "x$ac_cv_func_atan2l" = xyes; then :
26785 cat >>confdefs.h <<_ACEOF
26786 #define HAVE_ATAN2L 1
26787 _ACEOF
26790 done
26792 else
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26795 $as_echo_n "checking for _atan2l declaration... " >&6; }
26796 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26797 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26798 $as_echo_n "(cached) " >&6
26799 else
26802 ac_ext=cpp
26803 ac_cpp='$CXXCPP $CPPFLAGS'
26804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26809 /* end confdefs.h. */
26810 #include <math.h>
26812 main ()
26814 _atan2l(0, 0);
26816 return 0;
26818 _ACEOF
26819 if ac_fn_cxx_try_compile "$LINENO"; then :
26820 glibcxx_cv_func__atan2l_use=yes
26821 else
26822 glibcxx_cv_func__atan2l_use=no
26824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26825 ac_ext=c
26826 ac_cpp='$CPP $CPPFLAGS'
26827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26836 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26838 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26839 for ac_func in _atan2l
26840 do :
26841 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26842 if test "x$ac_cv_func__atan2l" = xyes; then :
26843 cat >>confdefs.h <<_ACEOF
26844 #define HAVE__ATAN2L 1
26845 _ACEOF
26848 done
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26858 $as_echo_n "checking for expl declaration... " >&6; }
26859 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26860 if ${glibcxx_cv_func_expl_use+:} false; then :
26861 $as_echo_n "(cached) " >&6
26862 else
26865 ac_ext=cpp
26866 ac_cpp='$CXXCPP $CPPFLAGS'
26867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26872 /* end confdefs.h. */
26873 #include <math.h>
26874 #ifdef HAVE_IEEEFP_H
26875 #include <ieeefp.h>
26876 #endif
26879 main ()
26881 expl(0);
26883 return 0;
26885 _ACEOF
26886 if ac_fn_cxx_try_compile "$LINENO"; then :
26887 glibcxx_cv_func_expl_use=yes
26888 else
26889 glibcxx_cv_func_expl_use=no
26891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26892 ac_ext=c
26893 ac_cpp='$CPP $CPPFLAGS'
26894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26903 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26905 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26906 for ac_func in expl
26907 do :
26908 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26909 if test "x$ac_cv_func_expl" = xyes; then :
26910 cat >>confdefs.h <<_ACEOF
26911 #define HAVE_EXPL 1
26912 _ACEOF
26915 done
26917 else
26919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26920 $as_echo_n "checking for _expl declaration... " >&6; }
26921 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26922 if ${glibcxx_cv_func__expl_use+:} false; then :
26923 $as_echo_n "(cached) " >&6
26924 else
26927 ac_ext=cpp
26928 ac_cpp='$CXXCPP $CPPFLAGS'
26929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26934 /* end confdefs.h. */
26935 #include <math.h>
26936 #ifdef HAVE_IEEEFP_H
26937 #include <ieeefp.h>
26938 #endif
26941 main ()
26943 _expl(0);
26945 return 0;
26947 _ACEOF
26948 if ac_fn_cxx_try_compile "$LINENO"; then :
26949 glibcxx_cv_func__expl_use=yes
26950 else
26951 glibcxx_cv_func__expl_use=no
26953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26954 ac_ext=c
26955 ac_cpp='$CPP $CPPFLAGS'
26956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26965 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26967 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26968 for ac_func in _expl
26969 do :
26970 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26971 if test "x$ac_cv_func__expl" = xyes; then :
26972 cat >>confdefs.h <<_ACEOF
26973 #define HAVE__EXPL 1
26974 _ACEOF
26977 done
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26987 $as_echo_n "checking for fabsl declaration... " >&6; }
26988 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26989 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26990 $as_echo_n "(cached) " >&6
26991 else
26994 ac_ext=cpp
26995 ac_cpp='$CXXCPP $CPPFLAGS'
26996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27001 /* end confdefs.h. */
27002 #include <math.h>
27003 #ifdef HAVE_IEEEFP_H
27004 #include <ieeefp.h>
27005 #endif
27008 main ()
27010 fabsl(0);
27012 return 0;
27014 _ACEOF
27015 if ac_fn_cxx_try_compile "$LINENO"; then :
27016 glibcxx_cv_func_fabsl_use=yes
27017 else
27018 glibcxx_cv_func_fabsl_use=no
27020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27021 ac_ext=c
27022 ac_cpp='$CPP $CPPFLAGS'
27023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
27032 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
27034 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
27035 for ac_func in fabsl
27036 do :
27037 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
27038 if test "x$ac_cv_func_fabsl" = xyes; then :
27039 cat >>confdefs.h <<_ACEOF
27040 #define HAVE_FABSL 1
27041 _ACEOF
27044 done
27046 else
27048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27049 $as_echo_n "checking for _fabsl declaration... " >&6; }
27050 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27051 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27052 $as_echo_n "(cached) " >&6
27053 else
27056 ac_ext=cpp
27057 ac_cpp='$CXXCPP $CPPFLAGS'
27058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27063 /* end confdefs.h. */
27064 #include <math.h>
27065 #ifdef HAVE_IEEEFP_H
27066 #include <ieeefp.h>
27067 #endif
27070 main ()
27072 _fabsl(0);
27074 return 0;
27076 _ACEOF
27077 if ac_fn_cxx_try_compile "$LINENO"; then :
27078 glibcxx_cv_func__fabsl_use=yes
27079 else
27080 glibcxx_cv_func__fabsl_use=no
27082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27083 ac_ext=c
27084 ac_cpp='$CPP $CPPFLAGS'
27085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27094 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27096 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27097 for ac_func in _fabsl
27098 do :
27099 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27100 if test "x$ac_cv_func__fabsl" = xyes; then :
27101 cat >>confdefs.h <<_ACEOF
27102 #define HAVE__FABSL 1
27103 _ACEOF
27106 done
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27116 $as_echo_n "checking for fmodl declaration... " >&6; }
27117 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27118 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27119 $as_echo_n "(cached) " >&6
27120 else
27123 ac_ext=cpp
27124 ac_cpp='$CXXCPP $CPPFLAGS'
27125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27130 /* end confdefs.h. */
27131 #include <math.h>
27133 main ()
27135 fmodl(0, 0);
27137 return 0;
27139 _ACEOF
27140 if ac_fn_cxx_try_compile "$LINENO"; then :
27141 glibcxx_cv_func_fmodl_use=yes
27142 else
27143 glibcxx_cv_func_fmodl_use=no
27145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27146 ac_ext=c
27147 ac_cpp='$CPP $CPPFLAGS'
27148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27157 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27159 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27160 for ac_func in fmodl
27161 do :
27162 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27163 if test "x$ac_cv_func_fmodl" = xyes; then :
27164 cat >>confdefs.h <<_ACEOF
27165 #define HAVE_FMODL 1
27166 _ACEOF
27169 done
27171 else
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27174 $as_echo_n "checking for _fmodl declaration... " >&6; }
27175 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27176 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27177 $as_echo_n "(cached) " >&6
27178 else
27181 ac_ext=cpp
27182 ac_cpp='$CXXCPP $CPPFLAGS'
27183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27188 /* end confdefs.h. */
27189 #include <math.h>
27191 main ()
27193 _fmodl(0, 0);
27195 return 0;
27197 _ACEOF
27198 if ac_fn_cxx_try_compile "$LINENO"; then :
27199 glibcxx_cv_func__fmodl_use=yes
27200 else
27201 glibcxx_cv_func__fmodl_use=no
27203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27204 ac_ext=c
27205 ac_cpp='$CPP $CPPFLAGS'
27206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27215 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27217 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27218 for ac_func in _fmodl
27219 do :
27220 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27221 if test "x$ac_cv_func__fmodl" = xyes; then :
27222 cat >>confdefs.h <<_ACEOF
27223 #define HAVE__FMODL 1
27224 _ACEOF
27227 done
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27237 $as_echo_n "checking for frexpl declaration... " >&6; }
27238 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27239 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27240 $as_echo_n "(cached) " >&6
27241 else
27244 ac_ext=cpp
27245 ac_cpp='$CXXCPP $CPPFLAGS'
27246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27251 /* end confdefs.h. */
27252 #include <math.h>
27254 main ()
27256 frexpl(0, 0);
27258 return 0;
27260 _ACEOF
27261 if ac_fn_cxx_try_compile "$LINENO"; then :
27262 glibcxx_cv_func_frexpl_use=yes
27263 else
27264 glibcxx_cv_func_frexpl_use=no
27266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27267 ac_ext=c
27268 ac_cpp='$CPP $CPPFLAGS'
27269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27278 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27280 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27281 for ac_func in frexpl
27282 do :
27283 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27284 if test "x$ac_cv_func_frexpl" = xyes; then :
27285 cat >>confdefs.h <<_ACEOF
27286 #define HAVE_FREXPL 1
27287 _ACEOF
27290 done
27292 else
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27295 $as_echo_n "checking for _frexpl declaration... " >&6; }
27296 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27297 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27298 $as_echo_n "(cached) " >&6
27299 else
27302 ac_ext=cpp
27303 ac_cpp='$CXXCPP $CPPFLAGS'
27304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27309 /* end confdefs.h. */
27310 #include <math.h>
27312 main ()
27314 _frexpl(0, 0);
27316 return 0;
27318 _ACEOF
27319 if ac_fn_cxx_try_compile "$LINENO"; then :
27320 glibcxx_cv_func__frexpl_use=yes
27321 else
27322 glibcxx_cv_func__frexpl_use=no
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27325 ac_ext=c
27326 ac_cpp='$CPP $CPPFLAGS'
27327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27336 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27338 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27339 for ac_func in _frexpl
27340 do :
27341 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27342 if test "x$ac_cv_func__frexpl" = xyes; then :
27343 cat >>confdefs.h <<_ACEOF
27344 #define HAVE__FREXPL 1
27345 _ACEOF
27348 done
27357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27358 $as_echo_n "checking for hypotl declaration... " >&6; }
27359 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27360 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27361 $as_echo_n "(cached) " >&6
27362 else
27365 ac_ext=cpp
27366 ac_cpp='$CXXCPP $CPPFLAGS'
27367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27372 /* end confdefs.h. */
27373 #include <math.h>
27375 main ()
27377 hypotl(0, 0);
27379 return 0;
27381 _ACEOF
27382 if ac_fn_cxx_try_compile "$LINENO"; then :
27383 glibcxx_cv_func_hypotl_use=yes
27384 else
27385 glibcxx_cv_func_hypotl_use=no
27387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 ac_ext=c
27389 ac_cpp='$CPP $CPPFLAGS'
27390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27399 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27401 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27402 for ac_func in hypotl
27403 do :
27404 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27405 if test "x$ac_cv_func_hypotl" = xyes; then :
27406 cat >>confdefs.h <<_ACEOF
27407 #define HAVE_HYPOTL 1
27408 _ACEOF
27411 done
27413 else
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27416 $as_echo_n "checking for _hypotl declaration... " >&6; }
27417 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27418 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27419 $as_echo_n "(cached) " >&6
27420 else
27423 ac_ext=cpp
27424 ac_cpp='$CXXCPP $CPPFLAGS'
27425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27430 /* end confdefs.h. */
27431 #include <math.h>
27433 main ()
27435 _hypotl(0, 0);
27437 return 0;
27439 _ACEOF
27440 if ac_fn_cxx_try_compile "$LINENO"; then :
27441 glibcxx_cv_func__hypotl_use=yes
27442 else
27443 glibcxx_cv_func__hypotl_use=no
27445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27446 ac_ext=c
27447 ac_cpp='$CPP $CPPFLAGS'
27448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27457 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27459 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27460 for ac_func in _hypotl
27461 do :
27462 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27463 if test "x$ac_cv_func__hypotl" = xyes; then :
27464 cat >>confdefs.h <<_ACEOF
27465 #define HAVE__HYPOTL 1
27466 _ACEOF
27469 done
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27479 $as_echo_n "checking for ldexpl declaration... " >&6; }
27480 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27481 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27482 $as_echo_n "(cached) " >&6
27483 else
27486 ac_ext=cpp
27487 ac_cpp='$CXXCPP $CPPFLAGS'
27488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27493 /* end confdefs.h. */
27494 #include <math.h>
27496 main ()
27498 ldexpl(0, 0);
27500 return 0;
27502 _ACEOF
27503 if ac_fn_cxx_try_compile "$LINENO"; then :
27504 glibcxx_cv_func_ldexpl_use=yes
27505 else
27506 glibcxx_cv_func_ldexpl_use=no
27508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27509 ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27520 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27522 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27523 for ac_func in ldexpl
27524 do :
27525 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27526 if test "x$ac_cv_func_ldexpl" = xyes; then :
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_LDEXPL 1
27529 _ACEOF
27532 done
27534 else
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27537 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27538 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27539 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27540 $as_echo_n "(cached) " >&6
27541 else
27544 ac_ext=cpp
27545 ac_cpp='$CXXCPP $CPPFLAGS'
27546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27551 /* end confdefs.h. */
27552 #include <math.h>
27554 main ()
27556 _ldexpl(0, 0);
27558 return 0;
27560 _ACEOF
27561 if ac_fn_cxx_try_compile "$LINENO"; then :
27562 glibcxx_cv_func__ldexpl_use=yes
27563 else
27564 glibcxx_cv_func__ldexpl_use=no
27566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27567 ac_ext=c
27568 ac_cpp='$CPP $CPPFLAGS'
27569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27578 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27580 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27581 for ac_func in _ldexpl
27582 do :
27583 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27584 if test "x$ac_cv_func__ldexpl" = xyes; then :
27585 cat >>confdefs.h <<_ACEOF
27586 #define HAVE__LDEXPL 1
27587 _ACEOF
27590 done
27599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27600 $as_echo_n "checking for logl declaration... " >&6; }
27601 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27602 if ${glibcxx_cv_func_logl_use+:} false; then :
27603 $as_echo_n "(cached) " >&6
27604 else
27607 ac_ext=cpp
27608 ac_cpp='$CXXCPP $CPPFLAGS'
27609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27614 /* end confdefs.h. */
27615 #include <math.h>
27616 #ifdef HAVE_IEEEFP_H
27617 #include <ieeefp.h>
27618 #endif
27621 main ()
27623 logl(0);
27625 return 0;
27627 _ACEOF
27628 if ac_fn_cxx_try_compile "$LINENO"; then :
27629 glibcxx_cv_func_logl_use=yes
27630 else
27631 glibcxx_cv_func_logl_use=no
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634 ac_ext=c
27635 ac_cpp='$CPP $CPPFLAGS'
27636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27645 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27647 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27648 for ac_func in logl
27649 do :
27650 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27651 if test "x$ac_cv_func_logl" = xyes; then :
27652 cat >>confdefs.h <<_ACEOF
27653 #define HAVE_LOGL 1
27654 _ACEOF
27657 done
27659 else
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27662 $as_echo_n "checking for _logl declaration... " >&6; }
27663 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27664 if ${glibcxx_cv_func__logl_use+:} false; then :
27665 $as_echo_n "(cached) " >&6
27666 else
27669 ac_ext=cpp
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27676 /* end confdefs.h. */
27677 #include <math.h>
27678 #ifdef HAVE_IEEEFP_H
27679 #include <ieeefp.h>
27680 #endif
27683 main ()
27685 _logl(0);
27687 return 0;
27689 _ACEOF
27690 if ac_fn_cxx_try_compile "$LINENO"; then :
27691 glibcxx_cv_func__logl_use=yes
27692 else
27693 glibcxx_cv_func__logl_use=no
27695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27696 ac_ext=c
27697 ac_cpp='$CPP $CPPFLAGS'
27698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27707 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27709 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27710 for ac_func in _logl
27711 do :
27712 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27713 if test "x$ac_cv_func__logl" = xyes; then :
27714 cat >>confdefs.h <<_ACEOF
27715 #define HAVE__LOGL 1
27716 _ACEOF
27719 done
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27729 $as_echo_n "checking for log10l declaration... " >&6; }
27730 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27731 if ${glibcxx_cv_func_log10l_use+:} false; then :
27732 $as_echo_n "(cached) " >&6
27733 else
27736 ac_ext=cpp
27737 ac_cpp='$CXXCPP $CPPFLAGS'
27738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27743 /* end confdefs.h. */
27744 #include <math.h>
27745 #ifdef HAVE_IEEEFP_H
27746 #include <ieeefp.h>
27747 #endif
27750 main ()
27752 log10l(0);
27754 return 0;
27756 _ACEOF
27757 if ac_fn_cxx_try_compile "$LINENO"; then :
27758 glibcxx_cv_func_log10l_use=yes
27759 else
27760 glibcxx_cv_func_log10l_use=no
27762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27774 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27776 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27777 for ac_func in log10l
27778 do :
27779 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27780 if test "x$ac_cv_func_log10l" = xyes; then :
27781 cat >>confdefs.h <<_ACEOF
27782 #define HAVE_LOG10L 1
27783 _ACEOF
27786 done
27788 else
27790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27791 $as_echo_n "checking for _log10l declaration... " >&6; }
27792 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27793 if ${glibcxx_cv_func__log10l_use+:} false; then :
27794 $as_echo_n "(cached) " >&6
27795 else
27798 ac_ext=cpp
27799 ac_cpp='$CXXCPP $CPPFLAGS'
27800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27805 /* end confdefs.h. */
27806 #include <math.h>
27807 #ifdef HAVE_IEEEFP_H
27808 #include <ieeefp.h>
27809 #endif
27812 main ()
27814 _log10l(0);
27816 return 0;
27818 _ACEOF
27819 if ac_fn_cxx_try_compile "$LINENO"; then :
27820 glibcxx_cv_func__log10l_use=yes
27821 else
27822 glibcxx_cv_func__log10l_use=no
27824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27825 ac_ext=c
27826 ac_cpp='$CPP $CPPFLAGS'
27827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27836 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27838 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27839 for ac_func in _log10l
27840 do :
27841 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27842 if test "x$ac_cv_func__log10l" = xyes; then :
27843 cat >>confdefs.h <<_ACEOF
27844 #define HAVE__LOG10L 1
27845 _ACEOF
27848 done
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27858 $as_echo_n "checking for modfl declaration... " >&6; }
27859 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27860 if ${glibcxx_cv_func_modfl_use+:} false; then :
27861 $as_echo_n "(cached) " >&6
27862 else
27865 ac_ext=cpp
27866 ac_cpp='$CXXCPP $CPPFLAGS'
27867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27872 /* end confdefs.h. */
27873 #include <math.h>
27875 main ()
27877 modfl(0, 0);
27879 return 0;
27881 _ACEOF
27882 if ac_fn_cxx_try_compile "$LINENO"; then :
27883 glibcxx_cv_func_modfl_use=yes
27884 else
27885 glibcxx_cv_func_modfl_use=no
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888 ac_ext=c
27889 ac_cpp='$CPP $CPPFLAGS'
27890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27899 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27901 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27902 for ac_func in modfl
27903 do :
27904 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27905 if test "x$ac_cv_func_modfl" = xyes; then :
27906 cat >>confdefs.h <<_ACEOF
27907 #define HAVE_MODFL 1
27908 _ACEOF
27911 done
27913 else
27915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27916 $as_echo_n "checking for _modfl declaration... " >&6; }
27917 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27918 if ${glibcxx_cv_func__modfl_use+:} false; then :
27919 $as_echo_n "(cached) " >&6
27920 else
27923 ac_ext=cpp
27924 ac_cpp='$CXXCPP $CPPFLAGS'
27925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27931 #include <math.h>
27933 main ()
27935 _modfl(0, 0);
27937 return 0;
27939 _ACEOF
27940 if ac_fn_cxx_try_compile "$LINENO"; then :
27941 glibcxx_cv_func__modfl_use=yes
27942 else
27943 glibcxx_cv_func__modfl_use=no
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27946 ac_ext=c
27947 ac_cpp='$CPP $CPPFLAGS'
27948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27957 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27959 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27960 for ac_func in _modfl
27961 do :
27962 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27963 if test "x$ac_cv_func__modfl" = xyes; then :
27964 cat >>confdefs.h <<_ACEOF
27965 #define HAVE__MODFL 1
27966 _ACEOF
27969 done
27978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27979 $as_echo_n "checking for powl declaration... " >&6; }
27980 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27981 if ${glibcxx_cv_func_powl_use+:} false; then :
27982 $as_echo_n "(cached) " >&6
27983 else
27986 ac_ext=cpp
27987 ac_cpp='$CXXCPP $CPPFLAGS'
27988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27993 /* end confdefs.h. */
27994 #include <math.h>
27996 main ()
27998 powl(0, 0);
28000 return 0;
28002 _ACEOF
28003 if ac_fn_cxx_try_compile "$LINENO"; then :
28004 glibcxx_cv_func_powl_use=yes
28005 else
28006 glibcxx_cv_func_powl_use=no
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 ac_ext=c
28010 ac_cpp='$CPP $CPPFLAGS'
28011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
28020 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
28022 if test x$glibcxx_cv_func_powl_use = x"yes"; then
28023 for ac_func in powl
28024 do :
28025 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
28026 if test "x$ac_cv_func_powl" = xyes; then :
28027 cat >>confdefs.h <<_ACEOF
28028 #define HAVE_POWL 1
28029 _ACEOF
28032 done
28034 else
28036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
28037 $as_echo_n "checking for _powl declaration... " >&6; }
28038 if test x${glibcxx_cv_func__powl_use+set} != xset; then
28039 if ${glibcxx_cv_func__powl_use+:} false; then :
28040 $as_echo_n "(cached) " >&6
28041 else
28044 ac_ext=cpp
28045 ac_cpp='$CXXCPP $CPPFLAGS'
28046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28051 /* end confdefs.h. */
28052 #include <math.h>
28054 main ()
28056 _powl(0, 0);
28058 return 0;
28060 _ACEOF
28061 if ac_fn_cxx_try_compile "$LINENO"; then :
28062 glibcxx_cv_func__powl_use=yes
28063 else
28064 glibcxx_cv_func__powl_use=no
28066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28067 ac_ext=c
28068 ac_cpp='$CPP $CPPFLAGS'
28069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28078 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28080 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28081 for ac_func in _powl
28082 do :
28083 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28084 if test "x$ac_cv_func__powl" = xyes; then :
28085 cat >>confdefs.h <<_ACEOF
28086 #define HAVE__POWL 1
28087 _ACEOF
28090 done
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28100 $as_echo_n "checking for sqrtl declaration... " >&6; }
28101 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28102 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28103 $as_echo_n "(cached) " >&6
28104 else
28107 ac_ext=cpp
28108 ac_cpp='$CXXCPP $CPPFLAGS'
28109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28114 /* end confdefs.h. */
28115 #include <math.h>
28116 #ifdef HAVE_IEEEFP_H
28117 #include <ieeefp.h>
28118 #endif
28121 main ()
28123 sqrtl(0);
28125 return 0;
28127 _ACEOF
28128 if ac_fn_cxx_try_compile "$LINENO"; then :
28129 glibcxx_cv_func_sqrtl_use=yes
28130 else
28131 glibcxx_cv_func_sqrtl_use=no
28133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28134 ac_ext=c
28135 ac_cpp='$CPP $CPPFLAGS'
28136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28145 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28147 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28148 for ac_func in sqrtl
28149 do :
28150 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28151 if test "x$ac_cv_func_sqrtl" = xyes; then :
28152 cat >>confdefs.h <<_ACEOF
28153 #define HAVE_SQRTL 1
28154 _ACEOF
28157 done
28159 else
28161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28162 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28163 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28164 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28165 $as_echo_n "(cached) " >&6
28166 else
28169 ac_ext=cpp
28170 ac_cpp='$CXXCPP $CPPFLAGS'
28171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28176 /* end confdefs.h. */
28177 #include <math.h>
28178 #ifdef HAVE_IEEEFP_H
28179 #include <ieeefp.h>
28180 #endif
28183 main ()
28185 _sqrtl(0);
28187 return 0;
28189 _ACEOF
28190 if ac_fn_cxx_try_compile "$LINENO"; then :
28191 glibcxx_cv_func__sqrtl_use=yes
28192 else
28193 glibcxx_cv_func__sqrtl_use=no
28195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28196 ac_ext=c
28197 ac_cpp='$CPP $CPPFLAGS'
28198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28207 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28209 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28210 for ac_func in _sqrtl
28211 do :
28212 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28213 if test "x$ac_cv_func__sqrtl" = xyes; then :
28214 cat >>confdefs.h <<_ACEOF
28215 #define HAVE__SQRTL 1
28216 _ACEOF
28219 done
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28229 $as_echo_n "checking for sincosl declaration... " >&6; }
28230 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28231 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28232 $as_echo_n "(cached) " >&6
28233 else
28236 ac_ext=cpp
28237 ac_cpp='$CXXCPP $CPPFLAGS'
28238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28243 /* end confdefs.h. */
28244 #include <math.h>
28246 main ()
28248 sincosl(0, 0, 0);
28250 return 0;
28252 _ACEOF
28253 if ac_fn_cxx_try_compile "$LINENO"; then :
28254 glibcxx_cv_func_sincosl_use=yes
28255 else
28256 glibcxx_cv_func_sincosl_use=no
28258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28259 ac_ext=c
28260 ac_cpp='$CPP $CPPFLAGS'
28261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28270 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28272 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28273 for ac_func in sincosl
28274 do :
28275 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28276 if test "x$ac_cv_func_sincosl" = xyes; then :
28277 cat >>confdefs.h <<_ACEOF
28278 #define HAVE_SINCOSL 1
28279 _ACEOF
28282 done
28284 else
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28287 $as_echo_n "checking for _sincosl declaration... " >&6; }
28288 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28289 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28290 $as_echo_n "(cached) " >&6
28291 else
28294 ac_ext=cpp
28295 ac_cpp='$CXXCPP $CPPFLAGS'
28296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28301 /* end confdefs.h. */
28302 #include <math.h>
28304 main ()
28306 _sincosl(0, 0, 0);
28308 return 0;
28310 _ACEOF
28311 if ac_fn_cxx_try_compile "$LINENO"; then :
28312 glibcxx_cv_func__sincosl_use=yes
28313 else
28314 glibcxx_cv_func__sincosl_use=no
28316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28317 ac_ext=c
28318 ac_cpp='$CPP $CPPFLAGS'
28319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28328 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28330 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28331 for ac_func in _sincosl
28332 do :
28333 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28334 if test "x$ac_cv_func__sincosl" = xyes; then :
28335 cat >>confdefs.h <<_ACEOF
28336 #define HAVE__SINCOSL 1
28337 _ACEOF
28340 done
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28350 $as_echo_n "checking for finitel declaration... " >&6; }
28351 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28352 if ${glibcxx_cv_func_finitel_use+:} false; then :
28353 $as_echo_n "(cached) " >&6
28354 else
28357 ac_ext=cpp
28358 ac_cpp='$CXXCPP $CPPFLAGS'
28359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28364 /* end confdefs.h. */
28365 #include <math.h>
28366 #ifdef HAVE_IEEEFP_H
28367 #include <ieeefp.h>
28368 #endif
28371 main ()
28373 finitel(0);
28375 return 0;
28377 _ACEOF
28378 if ac_fn_cxx_try_compile "$LINENO"; then :
28379 glibcxx_cv_func_finitel_use=yes
28380 else
28381 glibcxx_cv_func_finitel_use=no
28383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28384 ac_ext=c
28385 ac_cpp='$CPP $CPPFLAGS'
28386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28395 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28397 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28398 for ac_func in finitel
28399 do :
28400 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28401 if test "x$ac_cv_func_finitel" = xyes; then :
28402 cat >>confdefs.h <<_ACEOF
28403 #define HAVE_FINITEL 1
28404 _ACEOF
28407 done
28409 else
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28412 $as_echo_n "checking for _finitel declaration... " >&6; }
28413 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28414 if ${glibcxx_cv_func__finitel_use+:} false; then :
28415 $as_echo_n "(cached) " >&6
28416 else
28419 ac_ext=cpp
28420 ac_cpp='$CXXCPP $CPPFLAGS'
28421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28426 /* end confdefs.h. */
28427 #include <math.h>
28428 #ifdef HAVE_IEEEFP_H
28429 #include <ieeefp.h>
28430 #endif
28433 main ()
28435 _finitel(0);
28437 return 0;
28439 _ACEOF
28440 if ac_fn_cxx_try_compile "$LINENO"; then :
28441 glibcxx_cv_func__finitel_use=yes
28442 else
28443 glibcxx_cv_func__finitel_use=no
28445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28446 ac_ext=c
28447 ac_cpp='$CPP $CPPFLAGS'
28448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28457 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28459 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28460 for ac_func in _finitel
28461 do :
28462 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28463 if test "x$ac_cv_func__finitel" = xyes; then :
28464 cat >>confdefs.h <<_ACEOF
28465 #define HAVE__FINITEL 1
28466 _ACEOF
28469 done
28477 LIBS="$ac_save_LIBS"
28478 CXXFLAGS="$ac_save_CXXFLAGS"
28481 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28482 ac_save_CXXFLAGS="$CXXFLAGS"
28483 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28487 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28488 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28489 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28490 $as_echo_n "(cached) " >&6
28491 else
28494 ac_ext=cpp
28495 ac_cpp='$CXXCPP $CPPFLAGS'
28496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28501 /* end confdefs.h. */
28502 #include <stdlib.h>
28504 main ()
28506 at_quick_exit(0);
28508 return 0;
28510 _ACEOF
28511 if ac_fn_cxx_try_compile "$LINENO"; then :
28512 glibcxx_cv_func_at_quick_exit_use=yes
28513 else
28514 glibcxx_cv_func_at_quick_exit_use=no
28516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28517 ac_ext=c
28518 ac_cpp='$CPP $CPPFLAGS'
28519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28528 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28529 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28530 for ac_func in at_quick_exit
28531 do :
28532 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28533 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28534 cat >>confdefs.h <<_ACEOF
28535 #define HAVE_AT_QUICK_EXIT 1
28536 _ACEOF
28539 done
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28545 $as_echo_n "checking for quick_exit declaration... " >&6; }
28546 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28547 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28548 $as_echo_n "(cached) " >&6
28549 else
28552 ac_ext=cpp
28553 ac_cpp='$CXXCPP $CPPFLAGS'
28554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28559 /* end confdefs.h. */
28560 #include <stdlib.h>
28562 main ()
28564 quick_exit(0);
28566 return 0;
28568 _ACEOF
28569 if ac_fn_cxx_try_compile "$LINENO"; then :
28570 glibcxx_cv_func_quick_exit_use=yes
28571 else
28572 glibcxx_cv_func_quick_exit_use=no
28574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28575 ac_ext=c
28576 ac_cpp='$CPP $CPPFLAGS'
28577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28586 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28587 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28588 for ac_func in quick_exit
28589 do :
28590 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28591 if test "x$ac_cv_func_quick_exit" = xyes; then :
28592 cat >>confdefs.h <<_ACEOF
28593 #define HAVE_QUICK_EXIT 1
28594 _ACEOF
28597 done
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28603 $as_echo_n "checking for strtold declaration... " >&6; }
28604 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28605 if ${glibcxx_cv_func_strtold_use+:} false; then :
28606 $as_echo_n "(cached) " >&6
28607 else
28610 ac_ext=cpp
28611 ac_cpp='$CXXCPP $CPPFLAGS'
28612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28617 /* end confdefs.h. */
28618 #include <stdlib.h>
28620 main ()
28622 strtold(0, 0);
28624 return 0;
28626 _ACEOF
28627 if ac_fn_cxx_try_compile "$LINENO"; then :
28628 glibcxx_cv_func_strtold_use=yes
28629 else
28630 glibcxx_cv_func_strtold_use=no
28632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28633 ac_ext=c
28634 ac_cpp='$CPP $CPPFLAGS'
28635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28644 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28645 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28646 for ac_func in strtold
28647 do :
28648 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28649 if test "x$ac_cv_func_strtold" = xyes; then :
28650 cat >>confdefs.h <<_ACEOF
28651 #define HAVE_STRTOLD 1
28652 _ACEOF
28655 done
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28663 $as_echo_n "checking for strtof declaration... " >&6; }
28664 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28665 if ${glibcxx_cv_func_strtof_use+:} false; then :
28666 $as_echo_n "(cached) " >&6
28667 else
28670 ac_ext=cpp
28671 ac_cpp='$CXXCPP $CPPFLAGS'
28672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28677 /* end confdefs.h. */
28678 #include <stdlib.h>
28680 main ()
28682 strtof(0, 0);
28684 return 0;
28686 _ACEOF
28687 if ac_fn_cxx_try_compile "$LINENO"; then :
28688 glibcxx_cv_func_strtof_use=yes
28689 else
28690 glibcxx_cv_func_strtof_use=no
28692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28693 ac_ext=c
28694 ac_cpp='$CPP $CPPFLAGS'
28695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28704 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28705 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28706 for ac_func in strtof
28707 do :
28708 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28709 if test "x$ac_cv_func_strtof" = xyes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE_STRTOF 1
28712 _ACEOF
28715 done
28722 CXXFLAGS="$ac_save_CXXFLAGS"
28725 # For /dev/random and /dev/urandom for std::random_device.
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28729 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28730 if ${glibcxx_cv_dev_random+:} false; then :
28731 $as_echo_n "(cached) " >&6
28732 else
28734 if test -r /dev/random && test -r /dev/urandom; then
28735 ## For MSys environment the test above is detected as false-positive
28736 ## on mingw-targets. So disable it explicitly for them.
28737 case ${target_os} in
28738 *mingw*) glibcxx_cv_dev_random=no ;;
28739 *) glibcxx_cv_dev_random=yes ;;
28740 esac
28741 else
28742 glibcxx_cv_dev_random=no;
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28748 $as_echo "$glibcxx_cv_dev_random" >&6; }
28750 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28752 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28755 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28761 # For TLS support.
28764 # Check whether --enable-tls was given.
28765 if test "${enable_tls+set}" = set; then :
28766 enableval=$enable_tls;
28767 case "$enableval" in
28768 yes|no) ;;
28769 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28770 esac
28772 else
28773 enable_tls=yes
28777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28778 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28779 if ${gcc_cv_have_tls+:} false; then :
28780 $as_echo_n "(cached) " >&6
28781 else
28783 if test "$cross_compiling" = yes; then :
28784 if test x$gcc_no_link = xyes; then
28785 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28788 /* end confdefs.h. */
28789 __thread int a; int b; int main() { return a = b; }
28790 _ACEOF
28791 if ac_fn_c_try_link "$LINENO"; then :
28792 chktls_save_LDFLAGS="$LDFLAGS"
28793 case $host in
28794 *-*-linux* | -*-uclinuxfdpic*)
28795 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28797 esac
28798 chktls_save_CFLAGS="$CFLAGS"
28799 CFLAGS="-fPIC $CFLAGS"
28800 if test x$gcc_no_link = xyes; then
28801 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28804 /* end confdefs.h. */
28805 int f() { return 0; }
28806 _ACEOF
28807 if ac_fn_c_try_link "$LINENO"; then :
28808 if test x$gcc_no_link = xyes; then
28809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28812 /* end confdefs.h. */
28813 __thread int a; int b; int f() { return a = b; }
28814 _ACEOF
28815 if ac_fn_c_try_link "$LINENO"; then :
28816 gcc_cv_have_tls=yes
28817 else
28818 gcc_cv_have_tls=no
28820 rm -f core conftest.err conftest.$ac_objext \
28821 conftest$ac_exeext conftest.$ac_ext
28822 else
28823 gcc_cv_have_tls=yes
28825 rm -f core conftest.err conftest.$ac_objext \
28826 conftest$ac_exeext conftest.$ac_ext
28827 CFLAGS="$chktls_save_CFLAGS"
28828 LDFLAGS="$chktls_save_LDFLAGS"
28829 else
28830 gcc_cv_have_tls=no
28832 rm -f core conftest.err conftest.$ac_objext \
28833 conftest$ac_exeext conftest.$ac_ext
28836 else
28837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28838 /* end confdefs.h. */
28839 __thread int a; int b; int main() { return a = b; }
28840 _ACEOF
28841 if ac_fn_c_try_run "$LINENO"; then :
28842 chktls_save_LDFLAGS="$LDFLAGS"
28843 LDFLAGS="-static $LDFLAGS"
28844 if test x$gcc_no_link = xyes; then
28845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28848 /* end confdefs.h. */
28849 int main() { return 0; }
28850 _ACEOF
28851 if ac_fn_c_try_link "$LINENO"; then :
28852 if test "$cross_compiling" = yes; then :
28853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28855 as_fn_error $? "cannot run test program while cross compiling
28856 See \`config.log' for more details" "$LINENO" 5; }
28857 else
28858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28859 /* end confdefs.h. */
28860 __thread int a; int b; int main() { return a = b; }
28861 _ACEOF
28862 if ac_fn_c_try_run "$LINENO"; then :
28863 gcc_cv_have_tls=yes
28864 else
28865 gcc_cv_have_tls=no
28867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28868 conftest.$ac_objext conftest.beam conftest.$ac_ext
28871 else
28872 gcc_cv_have_tls=yes
28874 rm -f core conftest.err conftest.$ac_objext \
28875 conftest$ac_exeext conftest.$ac_ext
28876 LDFLAGS="$chktls_save_LDFLAGS"
28877 if test $gcc_cv_have_tls = yes; then
28878 chktls_save_CFLAGS="$CFLAGS"
28879 thread_CFLAGS=failed
28880 for flag in '' '-pthread' '-lpthread'; do
28881 CFLAGS="$flag $chktls_save_CFLAGS"
28882 if test x$gcc_no_link = xyes; then
28883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28886 /* end confdefs.h. */
28887 #include <pthread.h>
28888 void *g(void *d) { return NULL; }
28890 main ()
28892 pthread_t t; pthread_create(&t,NULL,g,NULL);
28894 return 0;
28896 _ACEOF
28897 if ac_fn_c_try_link "$LINENO"; then :
28898 thread_CFLAGS="$flag"
28900 rm -f core conftest.err conftest.$ac_objext \
28901 conftest$ac_exeext conftest.$ac_ext
28902 if test "X$thread_CFLAGS" != Xfailed; then
28903 break
28905 done
28906 CFLAGS="$chktls_save_CFLAGS"
28907 if test "X$thread_CFLAGS" != Xfailed; then
28908 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28909 if test "$cross_compiling" = yes; then :
28910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28912 as_fn_error $? "cannot run test program while cross compiling
28913 See \`config.log' for more details" "$LINENO" 5; }
28914 else
28915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28916 /* end confdefs.h. */
28917 #include <pthread.h>
28918 __thread int a;
28919 static int *volatile a_in_other_thread;
28920 static void *
28921 thread_func (void *arg)
28923 a_in_other_thread = &a;
28924 return (void *)0;
28927 main ()
28929 pthread_t thread;
28930 void *thread_retval;
28931 int *volatile a_in_main_thread;
28932 a_in_main_thread = &a;
28933 if (pthread_create (&thread, (pthread_attr_t *)0,
28934 thread_func, (void *)0))
28935 return 0;
28936 if (pthread_join (thread, &thread_retval))
28937 return 0;
28938 return (a_in_other_thread == a_in_main_thread);
28940 return 0;
28942 _ACEOF
28943 if ac_fn_c_try_run "$LINENO"; then :
28944 gcc_cv_have_tls=yes
28945 else
28946 gcc_cv_have_tls=no
28948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28949 conftest.$ac_objext conftest.beam conftest.$ac_ext
28952 CFLAGS="$chktls_save_CFLAGS"
28955 else
28956 gcc_cv_have_tls=no
28958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28959 conftest.$ac_objext conftest.beam conftest.$ac_ext
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28964 $as_echo "$gcc_cv_have_tls" >&6; }
28965 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28967 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28971 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28972 do :
28973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28976 cat >>confdefs.h <<_ACEOF
28977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28978 _ACEOF
28981 done
28983 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28984 do :
28985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28987 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28988 cat >>confdefs.h <<_ACEOF
28989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28990 _ACEOF
28993 done
28995 for ac_func in _wfopen
28996 do :
28997 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28998 if test "x$ac_cv_func__wfopen" = xyes; then :
28999 cat >>confdefs.h <<_ACEOF
29000 #define HAVE__WFOPEN 1
29001 _ACEOF
29004 done
29007 # C11 functions for C++17 library
29008 for ac_func in timespec_get
29009 do :
29010 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
29011 if test "x$ac_cv_func_timespec_get" = xyes; then :
29012 cat >>confdefs.h <<_ACEOF
29013 #define HAVE_TIMESPEC_GET 1
29014 _ACEOF
29017 done
29020 # For Networking TS.
29021 for ac_func in sockatmark
29022 do :
29023 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
29024 if test "x$ac_cv_func_sockatmark" = xyes; then :
29025 cat >>confdefs.h <<_ACEOF
29026 #define HAVE_SOCKATMARK 1
29027 _ACEOF
29030 done
29033 # Non-standard functions used by C++17 std::from_chars
29034 for ac_func in uselocale
29035 do :
29036 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
29037 if test "x$ac_cv_func_uselocale" = xyes; then :
29038 cat >>confdefs.h <<_ACEOF
29039 #define HAVE_USELOCALE 1
29040 _ACEOF
29043 done
29046 # For iconv support.
29048 if test "X$prefix" = "XNONE"; then
29049 acl_final_prefix="$ac_default_prefix"
29050 else
29051 acl_final_prefix="$prefix"
29053 if test "X$exec_prefix" = "XNONE"; then
29054 acl_final_exec_prefix='${prefix}'
29055 else
29056 acl_final_exec_prefix="$exec_prefix"
29058 acl_save_prefix="$prefix"
29059 prefix="$acl_final_prefix"
29060 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29061 prefix="$acl_save_prefix"
29064 # Check whether --with-gnu-ld was given.
29065 if test "${with_gnu_ld+set}" = set; then :
29066 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29067 else
29068 with_gnu_ld=no
29071 # Prepare PATH_SEPARATOR.
29072 # The user is always right.
29073 if test "${PATH_SEPARATOR+set}" != set; then
29074 echo "#! /bin/sh" >conf$$.sh
29075 echo "exit 0" >>conf$$.sh
29076 chmod +x conf$$.sh
29077 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29078 PATH_SEPARATOR=';'
29079 else
29080 PATH_SEPARATOR=:
29082 rm -f conf$$.sh
29084 ac_prog=ld
29085 if test "$GCC" = yes; then
29086 # Check if gcc -print-prog-name=ld gives a path.
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29088 $as_echo_n "checking for ld used by GCC... " >&6; }
29089 case $host in
29090 *-*-mingw*)
29091 # gcc leaves a trailing carriage return which upsets mingw
29092 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29094 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29095 esac
29096 case $ac_prog in
29097 # Accept absolute paths.
29098 [\\/]* | [A-Za-z]:[\\/]*)
29099 re_direlt='/[^/][^/]*/\.\./'
29100 # Canonicalize the path of ld
29101 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29102 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29103 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29104 done
29105 test -z "$LD" && LD="$ac_prog"
29108 # If it fails, then pretend we aren't using GCC.
29109 ac_prog=ld
29112 # If it is relative, then search for the first ld in PATH.
29113 with_gnu_ld=unknown
29115 esac
29116 elif test "$with_gnu_ld" = yes; then
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29118 $as_echo_n "checking for GNU ld... " >&6; }
29119 else
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29121 $as_echo_n "checking for non-GNU ld... " >&6; }
29123 if ${acl_cv_path_LD+:} false; then :
29124 $as_echo_n "(cached) " >&6
29125 else
29126 if test -z "$LD"; then
29127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29128 for ac_dir in $PATH; do
29129 test -z "$ac_dir" && ac_dir=.
29130 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29131 acl_cv_path_LD="$ac_dir/$ac_prog"
29132 # Check to see if the program is GNU ld. I'd rather use --version,
29133 # but apparently some GNU ld's only accept -v.
29134 # Break only if it was the GNU/non-GNU ld that we prefer.
29135 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29136 test "$with_gnu_ld" != no && break
29137 else
29138 test "$with_gnu_ld" != yes && break
29141 done
29142 IFS="$ac_save_ifs"
29143 else
29144 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29148 LD="$acl_cv_path_LD"
29149 if test -n "$LD"; then
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29151 $as_echo "$LD" >&6; }
29152 else
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29154 $as_echo "no" >&6; }
29156 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29158 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29159 if ${acl_cv_prog_gnu_ld+:} false; then :
29160 $as_echo_n "(cached) " >&6
29161 else
29162 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29163 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29164 acl_cv_prog_gnu_ld=yes
29165 else
29166 acl_cv_prog_gnu_ld=no
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29170 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29171 with_gnu_ld=$acl_cv_prog_gnu_ld
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29176 $as_echo_n "checking for shared library run path origin... " >&6; }
29177 if ${acl_cv_rpath+:} false; then :
29178 $as_echo_n "(cached) " >&6
29179 else
29181 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29182 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29183 . ./conftest.sh
29184 rm -f ./conftest.sh
29185 acl_cv_rpath=done
29188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29189 $as_echo "$acl_cv_rpath" >&6; }
29190 wl="$acl_cv_wl"
29191 libext="$acl_cv_libext"
29192 shlibext="$acl_cv_shlibext"
29193 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29194 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29195 hardcode_direct="$acl_cv_hardcode_direct"
29196 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29197 # Check whether --enable-rpath was given.
29198 if test "${enable_rpath+set}" = set; then :
29199 enableval=$enable_rpath; :
29200 else
29201 enable_rpath=yes
29211 use_additional=yes
29213 acl_save_prefix="$prefix"
29214 prefix="$acl_final_prefix"
29215 acl_save_exec_prefix="$exec_prefix"
29216 exec_prefix="$acl_final_exec_prefix"
29218 eval additional_includedir=\"$includedir\"
29219 eval additional_libdir=\"$libdir\"
29221 exec_prefix="$acl_save_exec_prefix"
29222 prefix="$acl_save_prefix"
29225 # Check whether --with-libiconv-prefix was given.
29226 if test "${with_libiconv_prefix+set}" = set; then :
29227 withval=$with_libiconv_prefix;
29228 if test "X$withval" = "Xno"; then
29229 use_additional=no
29230 else
29231 if test "X$withval" = "X"; then
29233 acl_save_prefix="$prefix"
29234 prefix="$acl_final_prefix"
29235 acl_save_exec_prefix="$exec_prefix"
29236 exec_prefix="$acl_final_exec_prefix"
29238 eval additional_includedir=\"$includedir\"
29239 eval additional_libdir=\"$libdir\"
29241 exec_prefix="$acl_save_exec_prefix"
29242 prefix="$acl_save_prefix"
29244 else
29245 additional_includedir="$withval/include"
29246 additional_libdir="$withval/lib"
29253 # Check whether --with-libiconv-type was given.
29254 if test "${with_libiconv_type+set}" = set; then :
29255 withval=$with_libiconv_type; with_libiconv_type=$withval
29256 else
29257 with_libiconv_type=auto
29260 lib_type=`eval echo \$with_libiconv_type`
29262 LIBICONV=
29263 LTLIBICONV=
29264 INCICONV=
29265 rpathdirs=
29266 ltrpathdirs=
29267 names_already_handled=
29268 names_next_round='iconv '
29269 while test -n "$names_next_round"; do
29270 names_this_round="$names_next_round"
29271 names_next_round=
29272 for name in $names_this_round; do
29273 already_handled=
29274 for n in $names_already_handled; do
29275 if test "$n" = "$name"; then
29276 already_handled=yes
29277 break
29279 done
29280 if test -z "$already_handled"; then
29281 names_already_handled="$names_already_handled $name"
29282 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29283 eval value=\"\$HAVE_LIB$uppername\"
29284 if test -n "$value"; then
29285 if test "$value" = yes; then
29286 eval value=\"\$LIB$uppername\"
29287 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29288 eval value=\"\$LTLIB$uppername\"
29289 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29290 else
29293 else
29294 found_dir=
29295 found_la=
29296 found_so=
29297 found_a=
29298 if test $use_additional = yes; then
29299 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29300 found_dir="$additional_libdir"
29301 found_so="$additional_libdir/lib$name.$shlibext"
29302 if test -f "$additional_libdir/lib$name.la"; then
29303 found_la="$additional_libdir/lib$name.la"
29305 elif test x$lib_type != xshared; then
29306 if test -f "$additional_libdir/lib$name.$libext"; then
29307 found_dir="$additional_libdir"
29308 found_a="$additional_libdir/lib$name.$libext"
29309 if test -f "$additional_libdir/lib$name.la"; then
29310 found_la="$additional_libdir/lib$name.la"
29315 if test "X$found_dir" = "X"; then
29316 for x in $LDFLAGS $LTLIBICONV; do
29318 acl_save_prefix="$prefix"
29319 prefix="$acl_final_prefix"
29320 acl_save_exec_prefix="$exec_prefix"
29321 exec_prefix="$acl_final_exec_prefix"
29322 eval x=\"$x\"
29323 exec_prefix="$acl_save_exec_prefix"
29324 prefix="$acl_save_prefix"
29326 case "$x" in
29327 -L*)
29328 dir=`echo "X$x" | sed -e 's/^X-L//'`
29329 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29330 found_dir="$dir"
29331 found_so="$dir/lib$name.$shlibext"
29332 if test -f "$dir/lib$name.la"; then
29333 found_la="$dir/lib$name.la"
29335 elif test x$lib_type != xshared; then
29336 if test -f "$dir/lib$name.$libext"; then
29337 found_dir="$dir"
29338 found_a="$dir/lib$name.$libext"
29339 if test -f "$dir/lib$name.la"; then
29340 found_la="$dir/lib$name.la"
29345 esac
29346 if test "X$found_dir" != "X"; then
29347 break
29349 done
29351 if test "X$found_dir" != "X"; then
29352 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29353 if test "X$found_so" != "X"; then
29354 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29355 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29356 else
29357 haveit=
29358 for x in $ltrpathdirs; do
29359 if test "X$x" = "X$found_dir"; then
29360 haveit=yes
29361 break
29363 done
29364 if test -z "$haveit"; then
29365 ltrpathdirs="$ltrpathdirs $found_dir"
29367 if test "$hardcode_direct" = yes; then
29368 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29369 else
29370 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29372 haveit=
29373 for x in $rpathdirs; do
29374 if test "X$x" = "X$found_dir"; then
29375 haveit=yes
29376 break
29378 done
29379 if test -z "$haveit"; then
29380 rpathdirs="$rpathdirs $found_dir"
29382 else
29383 haveit=
29384 for x in $LDFLAGS $LIBICONV; do
29386 acl_save_prefix="$prefix"
29387 prefix="$acl_final_prefix"
29388 acl_save_exec_prefix="$exec_prefix"
29389 exec_prefix="$acl_final_exec_prefix"
29390 eval x=\"$x\"
29391 exec_prefix="$acl_save_exec_prefix"
29392 prefix="$acl_save_prefix"
29394 if test "X$x" = "X-L$found_dir"; then
29395 haveit=yes
29396 break
29398 done
29399 if test -z "$haveit"; then
29400 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29402 if test "$hardcode_minus_L" != no; then
29403 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29404 else
29405 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29410 else
29411 if test "X$found_a" != "X"; then
29412 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29413 else
29414 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29417 additional_includedir=
29418 case "$found_dir" in
29419 */lib | */lib/)
29420 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29421 additional_includedir="$basedir/include"
29423 esac
29424 if test "X$additional_includedir" != "X"; then
29425 if test "X$additional_includedir" != "X/usr/include"; then
29426 haveit=
29427 if test "X$additional_includedir" = "X/usr/local/include"; then
29428 if test -n "$GCC"; then
29429 case $host_os in
29430 linux*) haveit=yes;;
29431 esac
29434 if test -z "$haveit"; then
29435 for x in $CPPFLAGS $INCICONV; do
29437 acl_save_prefix="$prefix"
29438 prefix="$acl_final_prefix"
29439 acl_save_exec_prefix="$exec_prefix"
29440 exec_prefix="$acl_final_exec_prefix"
29441 eval x=\"$x\"
29442 exec_prefix="$acl_save_exec_prefix"
29443 prefix="$acl_save_prefix"
29445 if test "X$x" = "X-I$additional_includedir"; then
29446 haveit=yes
29447 break
29449 done
29450 if test -z "$haveit"; then
29451 if test -d "$additional_includedir"; then
29452 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29458 if test -n "$found_la"; then
29459 save_libdir="$libdir"
29460 case "$found_la" in
29461 */* | *\\*) . "$found_la" ;;
29462 *) . "./$found_la" ;;
29463 esac
29464 libdir="$save_libdir"
29465 for dep in $dependency_libs; do
29466 case "$dep" in
29467 -L*)
29468 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29469 if test "X$additional_libdir" != "X/usr/lib"; then
29470 haveit=
29471 if test "X$additional_libdir" = "X/usr/local/lib"; then
29472 if test -n "$GCC"; then
29473 case $host_os in
29474 linux*) haveit=yes;;
29475 esac
29478 if test -z "$haveit"; then
29479 haveit=
29480 for x in $LDFLAGS $LIBICONV; do
29482 acl_save_prefix="$prefix"
29483 prefix="$acl_final_prefix"
29484 acl_save_exec_prefix="$exec_prefix"
29485 exec_prefix="$acl_final_exec_prefix"
29486 eval x=\"$x\"
29487 exec_prefix="$acl_save_exec_prefix"
29488 prefix="$acl_save_prefix"
29490 if test "X$x" = "X-L$additional_libdir"; then
29491 haveit=yes
29492 break
29494 done
29495 if test -z "$haveit"; then
29496 if test -d "$additional_libdir"; then
29497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29500 haveit=
29501 for x in $LDFLAGS $LTLIBICONV; do
29503 acl_save_prefix="$prefix"
29504 prefix="$acl_final_prefix"
29505 acl_save_exec_prefix="$exec_prefix"
29506 exec_prefix="$acl_final_exec_prefix"
29507 eval x=\"$x\"
29508 exec_prefix="$acl_save_exec_prefix"
29509 prefix="$acl_save_prefix"
29511 if test "X$x" = "X-L$additional_libdir"; then
29512 haveit=yes
29513 break
29515 done
29516 if test -z "$haveit"; then
29517 if test -d "$additional_libdir"; then
29518 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29524 -R*)
29525 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29526 if test "$enable_rpath" != no; then
29527 haveit=
29528 for x in $rpathdirs; do
29529 if test "X$x" = "X$dir"; then
29530 haveit=yes
29531 break
29533 done
29534 if test -z "$haveit"; then
29535 rpathdirs="$rpathdirs $dir"
29537 haveit=
29538 for x in $ltrpathdirs; do
29539 if test "X$x" = "X$dir"; then
29540 haveit=yes
29541 break
29543 done
29544 if test -z "$haveit"; then
29545 ltrpathdirs="$ltrpathdirs $dir"
29549 -l*)
29550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29552 *.la)
29553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29556 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29559 esac
29560 done
29562 else
29563 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29564 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29565 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29566 else
29567 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29568 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29573 done
29574 done
29575 if test "X$rpathdirs" != "X"; then
29576 if test -n "$hardcode_libdir_separator"; then
29577 alldirs=
29578 for found_dir in $rpathdirs; do
29579 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29580 done
29581 acl_save_libdir="$libdir"
29582 libdir="$alldirs"
29583 eval flag=\"$hardcode_libdir_flag_spec\"
29584 libdir="$acl_save_libdir"
29585 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29586 else
29587 for found_dir in $rpathdirs; do
29588 acl_save_libdir="$libdir"
29589 libdir="$found_dir"
29590 eval flag=\"$hardcode_libdir_flag_spec\"
29591 libdir="$acl_save_libdir"
29592 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29593 done
29596 if test "X$ltrpathdirs" != "X"; then
29597 for found_dir in $ltrpathdirs; do
29598 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29599 done
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29609 $as_echo_n "checking for iconv... " >&6; }
29610 if ${am_cv_func_iconv+:} false; then :
29611 $as_echo_n "(cached) " >&6
29612 else
29614 am_cv_func_iconv="no, consider installing GNU libiconv"
29615 am_cv_lib_iconv=no
29616 am_save_CPPFLAGS="$CPPFLAGS"
29617 CPPFLAGS="$CPPFLAGS $INCICONV"
29618 if test x$gcc_no_link = xyes; then
29619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29622 /* end confdefs.h. */
29623 #include <stdlib.h>
29624 #include <iconv.h>
29626 main ()
29628 iconv_t cd = iconv_open("","");
29629 iconv(cd,NULL,NULL,NULL,NULL);
29630 iconv_close(cd);
29632 return 0;
29634 _ACEOF
29635 if ac_fn_c_try_link "$LINENO"; then :
29636 am_cv_func_iconv=yes
29638 rm -f core conftest.err conftest.$ac_objext \
29639 conftest$ac_exeext conftest.$ac_ext
29640 CPPFLAGS="$am_save_CPPFLAGS"
29642 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29643 for _libs in .libs _libs; do
29644 am_save_CPPFLAGS="$CPPFLAGS"
29645 am_save_LIBS="$LIBS"
29646 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29647 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29648 if test x$gcc_no_link = xyes; then
29649 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29652 /* end confdefs.h. */
29653 #include <stdlib.h>
29654 #include <iconv.h>
29656 main ()
29658 iconv_t cd = iconv_open("","");
29659 iconv(cd,NULL,NULL,NULL,NULL);
29660 iconv_close(cd);
29662 return 0;
29664 _ACEOF
29665 if ac_fn_c_try_link "$LINENO"; then :
29666 INCICONV="-I../libiconv/include"
29667 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29668 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29669 am_cv_lib_iconv=yes
29670 am_cv_func_iconv=yes
29672 rm -f core conftest.err conftest.$ac_objext \
29673 conftest$ac_exeext conftest.$ac_ext
29674 CPPFLAGS="$am_save_CPPFLAGS"
29675 LIBS="$am_save_LIBS"
29676 if test "$am_cv_func_iconv" = "yes"; then
29677 break
29679 done
29682 if test "$am_cv_func_iconv" != yes; then
29683 am_save_CPPFLAGS="$CPPFLAGS"
29684 am_save_LIBS="$LIBS"
29685 CPPFLAGS="$CPPFLAGS $INCICONV"
29686 LIBS="$LIBS $LIBICONV"
29687 if test x$gcc_no_link = xyes; then
29688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29692 #include <stdlib.h>
29693 #include <iconv.h>
29695 main ()
29697 iconv_t cd = iconv_open("","");
29698 iconv(cd,NULL,NULL,NULL,NULL);
29699 iconv_close(cd);
29701 return 0;
29703 _ACEOF
29704 if ac_fn_c_try_link "$LINENO"; then :
29705 am_cv_lib_iconv=yes
29706 am_cv_func_iconv=yes
29708 rm -f core conftest.err conftest.$ac_objext \
29709 conftest$ac_exeext conftest.$ac_ext
29710 CPPFLAGS="$am_save_CPPFLAGS"
29711 LIBS="$am_save_LIBS"
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29716 $as_echo "$am_cv_func_iconv" >&6; }
29717 if test "$am_cv_func_iconv" = yes; then
29719 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29722 if test "$am_cv_lib_iconv" = yes; then
29724 for element in $INCICONV; do
29725 haveit=
29726 for x in $CPPFLAGS; do
29728 acl_save_prefix="$prefix"
29729 prefix="$acl_final_prefix"
29730 acl_save_exec_prefix="$exec_prefix"
29731 exec_prefix="$acl_final_exec_prefix"
29732 eval x=\"$x\"
29733 exec_prefix="$acl_save_exec_prefix"
29734 prefix="$acl_save_prefix"
29736 if test "X$x" = "X$element"; then
29737 haveit=yes
29738 break
29740 done
29741 if test -z "$haveit"; then
29742 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29744 done
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29747 $as_echo_n "checking how to link with libiconv... " >&6; }
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29749 $as_echo "$LIBICONV" >&6; }
29750 else
29751 LIBICONV=
29752 LTLIBICONV=
29757 if test "$am_cv_func_iconv" = yes; then
29758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29759 $as_echo_n "checking for iconv declaration... " >&6; }
29760 if ${am_cv_proto_iconv+:} false; then :
29761 $as_echo_n "(cached) " >&6
29762 else
29764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29765 /* end confdefs.h. */
29767 #include <stdlib.h>
29768 #include <iconv.h>
29769 extern
29770 #ifdef __cplusplus
29772 #endif
29773 #if defined(__STDC__) || defined(__cplusplus)
29774 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29775 #else
29776 size_t iconv();
29777 #endif
29780 main ()
29784 return 0;
29786 _ACEOF
29787 if ac_fn_c_try_compile "$LINENO"; then :
29788 am_cv_proto_iconv_arg1=""
29789 else
29790 am_cv_proto_iconv_arg1="const"
29792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29793 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);"
29796 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29798 }$am_cv_proto_iconv" >&5
29799 $as_echo "${ac_t:-
29800 }$am_cv_proto_iconv" >&6; }
29802 cat >>confdefs.h <<_ACEOF
29803 #define ICONV_CONST $am_cv_proto_iconv_arg1
29804 _ACEOF
29809 else
29811 # This lets us hard-code the functionality we know we'll have in the cross
29812 # target environment. "Let" is a sugar-coated word placed on an especially
29813 # dull and tedious hack, actually.
29815 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29816 # that involve linking, can't be used:
29817 # "cannot open sim-crt0.o"
29818 # "cannot open crt0.o"
29819 # etc. All this is because there currently exists no unified, consistent
29820 # way for top level CC information to be passed down to target directories:
29821 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29822 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29823 # crosses can be removed.
29825 # If Canadian cross, then don't pick up tools from the build directory.
29826 # Used only in GLIBCXX_EXPORT_INCLUDES.
29827 if test -n "$with_cross_host" &&
29828 test x"$build_alias" != x"$with_cross_host" &&
29829 test x"$build" != x"$target";
29830 then
29831 CANADIAN=yes
29832 else
29833 CANADIAN=no
29836 # Construct crosses by hand, eliminating bits that need ld...
29837 # GLIBCXX_CHECK_MATH_SUPPORT
29839 # First, test for "known" system libraries. We may be using newlib even
29840 # on a hosted environment.
29841 if test "x${with_newlib}" = "xyes"; then
29842 os_include_dir="os/newlib"
29843 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29846 # GLIBCXX_CHECK_STDLIB_SUPPORT
29847 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29850 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29852 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29854 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29856 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29858 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29860 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29862 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29864 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29866 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29868 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29870 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29872 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29874 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29876 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29878 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29880 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29882 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29884 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29886 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29888 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29890 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29892 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29895 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29897 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29899 else
29901 # Base decisions on target environment.
29902 case "${host}" in
29903 arm*-*-symbianelf*)
29904 # This is a freestanding configuration; there is nothing to do here.
29907 avr*-*-*)
29908 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29910 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29912 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29914 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29916 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29918 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29920 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29922 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29924 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29926 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29928 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29930 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29932 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29934 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29936 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29938 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29940 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29942 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29944 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29946 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29948 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29950 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29952 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29956 mips*-sde-elf*)
29957 # These definitions are for the SDE C library rather than newlib.
29958 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29961 # All these tests are for C++; save the language and the compiler flags.
29962 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29963 # found in GLIBCXX_CONFIGURE.
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29971 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29972 ac_save_CXXFLAGS="$CXXFLAGS"
29974 # Check for -ffunction-sections -fdata-sections
29975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29976 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29977 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29980 int foo; void bar() { };
29982 main ()
29986 return 0;
29988 _ACEOF
29989 if ac_fn_cxx_try_compile "$LINENO"; then :
29990 ac_fdsections=yes
29991 else
29992 ac_fdsections=no
29994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29995 if test "$ac_test_CXXFLAGS" = set; then
29996 CXXFLAGS="$ac_save_CXXFLAGS"
29997 else
29998 # this is the suspicious part
29999 CXXFLAGS=''
30001 if test x"$ac_fdsections" = x"yes"; then
30002 SECTION_FLAGS='-ffunction-sections -fdata-sections'
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
30005 $as_echo "$ac_fdsections" >&6; }
30007 ac_ext=c
30008 ac_cpp='$CPP $CPPFLAGS'
30009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30016 # If we're not using GNU ld, then there's no point in even trying these
30017 # tests. Check for that first. We should have already tested for gld
30018 # by now (in libtool), but require it now just to be safe...
30019 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
30020 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
30024 # The name set by libtool depends on the version of libtool. Shame on us
30025 # for depending on an impl detail, but c'est la vie. Older versions used
30026 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
30027 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
30028 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
30029 # set (hence we're using an older libtool), then set it.
30030 if test x${with_gnu_ld+set} != xset; then
30031 if test x${ac_cv_prog_gnu_ld+set} != xset; then
30032 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
30033 with_gnu_ld=no
30034 else
30035 with_gnu_ld=$ac_cv_prog_gnu_ld
30039 # Start by getting the version number. I think the libtool test already
30040 # does some of this, but throws away the result.
30041 glibcxx_ld_is_gold=no
30042 if test x"$with_gnu_ld" = x"yes"; then
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
30044 $as_echo_n "checking for ld version... " >&6; }
30046 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
30047 glibcxx_ld_is_gold=yes
30049 ldver=`$LD --version 2>/dev/null |
30050 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
30052 glibcxx_gnu_ld_version=`echo $ldver | \
30053 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
30055 $as_echo "$glibcxx_gnu_ld_version" >&6; }
30058 # Set --gc-sections.
30059 glibcxx_have_gc_sections=no
30060 if test "$glibcxx_ld_is_gold" = "yes"; then
30061 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
30062 glibcxx_have_gc_sections=yes
30064 else
30065 glibcxx_gcsections_min_ld=21602
30066 if test x"$with_gnu_ld" = x"yes" &&
30067 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
30068 glibcxx_have_gc_sections=yes
30071 if test "$glibcxx_have_gc_sections" = "yes"; then
30072 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
30073 # NB: This flag only works reliably after 2.16.1. Configure tests
30074 # for this are difficult, so hard wire a value that should work.
30076 ac_test_CFLAGS="${CFLAGS+set}"
30077 ac_save_CFLAGS="$CFLAGS"
30078 CFLAGS='-Wl,--gc-sections'
30080 # Check for -Wl,--gc-sections
30081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
30082 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
30083 if test x$gcc_no_link = xyes; then
30084 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30087 /* end confdefs.h. */
30088 int one(void) { return 1; }
30089 int two(void) { return 2; }
30092 main ()
30094 two();
30096 return 0;
30098 _ACEOF
30099 if ac_fn_c_try_link "$LINENO"; then :
30100 ac_gcsections=yes
30101 else
30102 ac_gcsections=no
30104 rm -f core conftest.err conftest.$ac_objext \
30105 conftest$ac_exeext conftest.$ac_ext
30106 if test "$ac_gcsections" = "yes"; then
30107 rm -f conftest.c
30108 touch conftest.c
30109 if $CC -c conftest.c; then
30110 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
30111 grep "Warning: gc-sections option ignored" > /dev/null; then
30112 ac_gcsections=no
30115 rm -f conftest.c conftest.o conftest
30117 if test "$ac_gcsections" = "yes"; then
30118 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30121 $as_echo "$ac_gcsections" >&6; }
30123 if test "$ac_test_CFLAGS" = set; then
30124 CFLAGS="$ac_save_CFLAGS"
30125 else
30126 # this is the suspicious part
30127 CFLAGS=''
30131 # Set -z,relro.
30132 # Note this is only for shared objects.
30133 ac_ld_relro=no
30134 if test x"$with_gnu_ld" = x"yes"; then
30135 # cygwin and mingw uses PE, which has no ELF relro support,
30136 # multi target ld may confuse configure machinery
30137 case "$host" in
30138 *-*-cygwin*)
30140 *-*-mingw*)
30143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30144 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30145 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30146 if test -n "$cxx_z_relo"; then
30147 OPT_LDFLAGS="-Wl,-z,relro"
30148 ac_ld_relro=yes
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30151 $as_echo "$ac_ld_relro" >&6; }
30152 esac
30155 # Set linker optimization flags.
30156 if test x"$with_gnu_ld" = x"yes"; then
30157 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30164 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30165 ac_save_CXXFLAGS="$CXXFLAGS"
30166 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30169 $as_echo_n "checking for sin in -lm... " >&6; }
30170 if ${ac_cv_lib_m_sin+:} false; then :
30171 $as_echo_n "(cached) " >&6
30172 else
30173 ac_check_lib_save_LIBS=$LIBS
30174 LIBS="-lm $LIBS"
30175 if test x$gcc_no_link = xyes; then
30176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h. */
30181 /* Override any GCC internal prototype to avoid an error.
30182 Use char because int might match the return type of a GCC
30183 builtin and then its argument prototype would still apply. */
30184 #ifdef __cplusplus
30185 extern "C"
30186 #endif
30187 char sin ();
30189 main ()
30191 return sin ();
30193 return 0;
30195 _ACEOF
30196 if ac_fn_c_try_link "$LINENO"; then :
30197 ac_cv_lib_m_sin=yes
30198 else
30199 ac_cv_lib_m_sin=no
30201 rm -f core conftest.err conftest.$ac_objext \
30202 conftest$ac_exeext conftest.$ac_ext
30203 LIBS=$ac_check_lib_save_LIBS
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30206 $as_echo "$ac_cv_lib_m_sin" >&6; }
30207 if test "x$ac_cv_lib_m_sin" = xyes; then :
30208 libm="-lm"
30211 ac_save_LIBS="$LIBS"
30212 LIBS="$LIBS $libm"
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30217 $as_echo_n "checking for isinf declaration... " >&6; }
30218 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30219 if ${glibcxx_cv_func_isinf_use+:} false; then :
30220 $as_echo_n "(cached) " >&6
30221 else
30224 ac_ext=cpp
30225 ac_cpp='$CXXCPP $CPPFLAGS'
30226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30231 /* end confdefs.h. */
30232 #include <math.h>
30233 #ifdef HAVE_IEEEFP_H
30234 #include <ieeefp.h>
30235 #endif
30238 main ()
30240 isinf(0);
30242 return 0;
30244 _ACEOF
30245 if ac_fn_cxx_try_compile "$LINENO"; then :
30246 glibcxx_cv_func_isinf_use=yes
30247 else
30248 glibcxx_cv_func_isinf_use=no
30250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30251 ac_ext=c
30252 ac_cpp='$CPP $CPPFLAGS'
30253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30262 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30264 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30265 for ac_func in isinf
30266 do :
30267 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30268 if test "x$ac_cv_func_isinf" = xyes; then :
30269 cat >>confdefs.h <<_ACEOF
30270 #define HAVE_ISINF 1
30271 _ACEOF
30274 done
30276 else
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30279 $as_echo_n "checking for _isinf declaration... " >&6; }
30280 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30281 if ${glibcxx_cv_func__isinf_use+:} false; then :
30282 $as_echo_n "(cached) " >&6
30283 else
30286 ac_ext=cpp
30287 ac_cpp='$CXXCPP $CPPFLAGS'
30288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30293 /* end confdefs.h. */
30294 #include <math.h>
30295 #ifdef HAVE_IEEEFP_H
30296 #include <ieeefp.h>
30297 #endif
30300 main ()
30302 _isinf(0);
30304 return 0;
30306 _ACEOF
30307 if ac_fn_cxx_try_compile "$LINENO"; then :
30308 glibcxx_cv_func__isinf_use=yes
30309 else
30310 glibcxx_cv_func__isinf_use=no
30312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30313 ac_ext=c
30314 ac_cpp='$CPP $CPPFLAGS'
30315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30324 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30326 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30327 for ac_func in _isinf
30328 do :
30329 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30330 if test "x$ac_cv_func__isinf" = xyes; then :
30331 cat >>confdefs.h <<_ACEOF
30332 #define HAVE__ISINF 1
30333 _ACEOF
30336 done
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30346 $as_echo_n "checking for isnan declaration... " >&6; }
30347 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30348 if ${glibcxx_cv_func_isnan_use+:} false; then :
30349 $as_echo_n "(cached) " >&6
30350 else
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <math.h>
30362 #ifdef HAVE_IEEEFP_H
30363 #include <ieeefp.h>
30364 #endif
30367 main ()
30369 isnan(0);
30371 return 0;
30373 _ACEOF
30374 if ac_fn_cxx_try_compile "$LINENO"; then :
30375 glibcxx_cv_func_isnan_use=yes
30376 else
30377 glibcxx_cv_func_isnan_use=no
30379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30380 ac_ext=c
30381 ac_cpp='$CPP $CPPFLAGS'
30382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30391 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30393 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30394 for ac_func in isnan
30395 do :
30396 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30397 if test "x$ac_cv_func_isnan" = xyes; then :
30398 cat >>confdefs.h <<_ACEOF
30399 #define HAVE_ISNAN 1
30400 _ACEOF
30403 done
30405 else
30407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30408 $as_echo_n "checking for _isnan declaration... " >&6; }
30409 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30410 if ${glibcxx_cv_func__isnan_use+:} false; then :
30411 $as_echo_n "(cached) " >&6
30412 else
30415 ac_ext=cpp
30416 ac_cpp='$CXXCPP $CPPFLAGS'
30417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30422 /* end confdefs.h. */
30423 #include <math.h>
30424 #ifdef HAVE_IEEEFP_H
30425 #include <ieeefp.h>
30426 #endif
30429 main ()
30431 _isnan(0);
30433 return 0;
30435 _ACEOF
30436 if ac_fn_cxx_try_compile "$LINENO"; then :
30437 glibcxx_cv_func__isnan_use=yes
30438 else
30439 glibcxx_cv_func__isnan_use=no
30441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30442 ac_ext=c
30443 ac_cpp='$CPP $CPPFLAGS'
30444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30453 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30455 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30456 for ac_func in _isnan
30457 do :
30458 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30459 if test "x$ac_cv_func__isnan" = xyes; then :
30460 cat >>confdefs.h <<_ACEOF
30461 #define HAVE__ISNAN 1
30462 _ACEOF
30465 done
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30475 $as_echo_n "checking for finite declaration... " >&6; }
30476 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30477 if ${glibcxx_cv_func_finite_use+:} false; then :
30478 $as_echo_n "(cached) " >&6
30479 else
30482 ac_ext=cpp
30483 ac_cpp='$CXXCPP $CPPFLAGS'
30484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h. */
30490 #include <math.h>
30491 #ifdef HAVE_IEEEFP_H
30492 #include <ieeefp.h>
30493 #endif
30496 main ()
30498 finite(0);
30500 return 0;
30502 _ACEOF
30503 if ac_fn_cxx_try_compile "$LINENO"; then :
30504 glibcxx_cv_func_finite_use=yes
30505 else
30506 glibcxx_cv_func_finite_use=no
30508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30509 ac_ext=c
30510 ac_cpp='$CPP $CPPFLAGS'
30511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30520 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30522 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30523 for ac_func in finite
30524 do :
30525 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30526 if test "x$ac_cv_func_finite" = xyes; then :
30527 cat >>confdefs.h <<_ACEOF
30528 #define HAVE_FINITE 1
30529 _ACEOF
30532 done
30534 else
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30537 $as_echo_n "checking for _finite declaration... " >&6; }
30538 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30539 if ${glibcxx_cv_func__finite_use+:} false; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30544 ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30552 #include <math.h>
30553 #ifdef HAVE_IEEEFP_H
30554 #include <ieeefp.h>
30555 #endif
30558 main ()
30560 _finite(0);
30562 return 0;
30564 _ACEOF
30565 if ac_fn_cxx_try_compile "$LINENO"; then :
30566 glibcxx_cv_func__finite_use=yes
30567 else
30568 glibcxx_cv_func__finite_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__finite_use" >&5
30582 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30584 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30585 for ac_func in _finite
30586 do :
30587 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30588 if test "x$ac_cv_func__finite" = xyes; then :
30589 cat >>confdefs.h <<_ACEOF
30590 #define HAVE__FINITE 1
30591 _ACEOF
30594 done
30603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30604 $as_echo_n "checking for sincos declaration... " >&6; }
30605 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30606 if ${glibcxx_cv_func_sincos_use+:} false; then :
30607 $as_echo_n "(cached) " >&6
30608 else
30611 ac_ext=cpp
30612 ac_cpp='$CXXCPP $CPPFLAGS'
30613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h. */
30619 #include <math.h>
30621 main ()
30623 sincos(0, 0, 0);
30625 return 0;
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629 glibcxx_cv_func_sincos_use=yes
30630 else
30631 glibcxx_cv_func_sincos_use=no
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30645 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30647 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30648 for ac_func in sincos
30649 do :
30650 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30651 if test "x$ac_cv_func_sincos" = xyes; then :
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE_SINCOS 1
30654 _ACEOF
30657 done
30659 else
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30662 $as_echo_n "checking for _sincos declaration... " >&6; }
30663 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30664 if ${glibcxx_cv_func__sincos_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>
30679 main ()
30681 _sincos(0, 0, 0);
30683 return 0;
30685 _ACEOF
30686 if ac_fn_cxx_try_compile "$LINENO"; then :
30687 glibcxx_cv_func__sincos_use=yes
30688 else
30689 glibcxx_cv_func__sincos_use=no
30691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30692 ac_ext=c
30693 ac_cpp='$CPP $CPPFLAGS'
30694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30703 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30705 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30706 for ac_func in _sincos
30707 do :
30708 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30709 if test "x$ac_cv_func__sincos" = xyes; then :
30710 cat >>confdefs.h <<_ACEOF
30711 #define HAVE__SINCOS 1
30712 _ACEOF
30715 done
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30725 $as_echo_n "checking for fpclass declaration... " >&6; }
30726 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30727 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30728 $as_echo_n "(cached) " >&6
30729 else
30732 ac_ext=cpp
30733 ac_cpp='$CXXCPP $CPPFLAGS'
30734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30739 /* end confdefs.h. */
30740 #include <math.h>
30741 #ifdef HAVE_IEEEFP_H
30742 #include <ieeefp.h>
30743 #endif
30746 main ()
30748 fpclass(0);
30750 return 0;
30752 _ACEOF
30753 if ac_fn_cxx_try_compile "$LINENO"; then :
30754 glibcxx_cv_func_fpclass_use=yes
30755 else
30756 glibcxx_cv_func_fpclass_use=no
30758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30759 ac_ext=c
30760 ac_cpp='$CPP $CPPFLAGS'
30761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30770 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30772 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30773 for ac_func in fpclass
30774 do :
30775 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30776 if test "x$ac_cv_func_fpclass" = xyes; then :
30777 cat >>confdefs.h <<_ACEOF
30778 #define HAVE_FPCLASS 1
30779 _ACEOF
30782 done
30784 else
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30787 $as_echo_n "checking for _fpclass declaration... " >&6; }
30788 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30789 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30790 $as_echo_n "(cached) " >&6
30791 else
30794 ac_ext=cpp
30795 ac_cpp='$CXXCPP $CPPFLAGS'
30796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30801 /* end confdefs.h. */
30802 #include <math.h>
30803 #ifdef HAVE_IEEEFP_H
30804 #include <ieeefp.h>
30805 #endif
30808 main ()
30810 _fpclass(0);
30812 return 0;
30814 _ACEOF
30815 if ac_fn_cxx_try_compile "$LINENO"; then :
30816 glibcxx_cv_func__fpclass_use=yes
30817 else
30818 glibcxx_cv_func__fpclass_use=no
30820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30821 ac_ext=c
30822 ac_cpp='$CPP $CPPFLAGS'
30823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30832 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30834 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30835 for ac_func in _fpclass
30836 do :
30837 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30838 if test "x$ac_cv_func__fpclass" = xyes; then :
30839 cat >>confdefs.h <<_ACEOF
30840 #define HAVE__FPCLASS 1
30841 _ACEOF
30844 done
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30854 $as_echo_n "checking for qfpclass declaration... " >&6; }
30855 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30856 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30870 #ifdef HAVE_IEEEFP_H
30871 #include <ieeefp.h>
30872 #endif
30875 main ()
30877 qfpclass(0);
30879 return 0;
30881 _ACEOF
30882 if ac_fn_cxx_try_compile "$LINENO"; then :
30883 glibcxx_cv_func_qfpclass_use=yes
30884 else
30885 glibcxx_cv_func_qfpclass_use=no
30887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888 ac_ext=c
30889 ac_cpp='$CPP $CPPFLAGS'
30890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30899 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30901 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30902 for ac_func in qfpclass
30903 do :
30904 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30905 if test "x$ac_cv_func_qfpclass" = xyes; then :
30906 cat >>confdefs.h <<_ACEOF
30907 #define HAVE_QFPCLASS 1
30908 _ACEOF
30911 done
30913 else
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30916 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30917 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30918 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30919 $as_echo_n "(cached) " >&6
30920 else
30923 ac_ext=cpp
30924 ac_cpp='$CXXCPP $CPPFLAGS'
30925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30931 #include <math.h>
30932 #ifdef HAVE_IEEEFP_H
30933 #include <ieeefp.h>
30934 #endif
30937 main ()
30939 _qfpclass(0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func__qfpclass_use=yes
30946 else
30947 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
30961 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30963 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30964 for ac_func in _qfpclass
30965 do :
30966 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30967 if test "x$ac_cv_func__qfpclass" = xyes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE__QFPCLASS 1
30970 _ACEOF
30973 done
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30983 $as_echo_n "checking for hypot declaration... " >&6; }
30984 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30985 if ${glibcxx_cv_func_hypot_use+:} false; then :
30986 $as_echo_n "(cached) " >&6
30987 else
30990 ac_ext=cpp
30991 ac_cpp='$CXXCPP $CPPFLAGS'
30992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30997 /* end confdefs.h. */
30998 #include <math.h>
31000 main ()
31002 hypot(0, 0);
31004 return 0;
31006 _ACEOF
31007 if ac_fn_cxx_try_compile "$LINENO"; then :
31008 glibcxx_cv_func_hypot_use=yes
31009 else
31010 glibcxx_cv_func_hypot_use=no
31012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31013 ac_ext=c
31014 ac_cpp='$CPP $CPPFLAGS'
31015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
31024 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
31026 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
31027 for ac_func in hypot
31028 do :
31029 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
31030 if test "x$ac_cv_func_hypot" = xyes; then :
31031 cat >>confdefs.h <<_ACEOF
31032 #define HAVE_HYPOT 1
31033 _ACEOF
31036 done
31038 else
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
31041 $as_echo_n "checking for _hypot declaration... " >&6; }
31042 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
31043 if ${glibcxx_cv_func__hypot_use+:} false; then :
31044 $as_echo_n "(cached) " >&6
31045 else
31048 ac_ext=cpp
31049 ac_cpp='$CXXCPP $CPPFLAGS'
31050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31055 /* end confdefs.h. */
31056 #include <math.h>
31058 main ()
31060 _hypot(0, 0);
31062 return 0;
31064 _ACEOF
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func__hypot_use=yes
31067 else
31068 glibcxx_cv_func__hypot_use=no
31070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31071 ac_ext=c
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
31082 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
31084 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
31085 for ac_func in _hypot
31086 do :
31087 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
31088 if test "x$ac_cv_func__hypot" = xyes; then :
31089 cat >>confdefs.h <<_ACEOF
31090 #define HAVE__HYPOT 1
31091 _ACEOF
31094 done
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
31104 $as_echo_n "checking for float trig functions... " >&6; }
31105 if ${glibcxx_cv_func_float_trig_use+:} false; then :
31106 $as_echo_n "(cached) " >&6
31107 else
31110 ac_ext=cpp
31111 ac_cpp='$CXXCPP $CPPFLAGS'
31112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31118 #include <math.h>
31120 main ()
31122 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31124 return 0;
31126 _ACEOF
31127 if ac_fn_cxx_try_compile "$LINENO"; then :
31128 glibcxx_cv_func_float_trig_use=yes
31129 else
31130 glibcxx_cv_func_float_trig_use=no
31132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31133 ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31142 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31143 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31144 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31145 do :
31146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31149 cat >>confdefs.h <<_ACEOF
31150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31151 _ACEOF
31154 done
31156 else
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31158 $as_echo_n "checking for _float trig functions... " >&6; }
31159 if ${glibcxx_cv_func__float_trig_use+:} false; then :
31160 $as_echo_n "(cached) " >&6
31161 else
31164 ac_ext=cpp
31165 ac_cpp='$CXXCPP $CPPFLAGS'
31166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31171 /* end confdefs.h. */
31172 #include <math.h>
31174 main ()
31176 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31178 return 0;
31180 _ACEOF
31181 if ac_fn_cxx_try_compile "$LINENO"; then :
31182 glibcxx_cv_func__float_trig_use=yes
31183 else
31184 glibcxx_cv_func__float_trig_use=no
31186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31187 ac_ext=c
31188 ac_cpp='$CPP $CPPFLAGS'
31189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31196 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31197 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31198 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31199 do :
31200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31202 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31203 cat >>confdefs.h <<_ACEOF
31204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31205 _ACEOF
31208 done
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31218 $as_echo_n "checking for float round functions... " >&6; }
31219 if ${glibcxx_cv_func_float_round_use+:} false; then :
31220 $as_echo_n "(cached) " >&6
31221 else
31224 ac_ext=cpp
31225 ac_cpp='$CXXCPP $CPPFLAGS'
31226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h. */
31232 #include <math.h>
31234 main ()
31236 ceilf (0); floorf (0);
31238 return 0;
31240 _ACEOF
31241 if ac_fn_cxx_try_compile "$LINENO"; then :
31242 glibcxx_cv_func_float_round_use=yes
31243 else
31244 glibcxx_cv_func_float_round_use=no
31246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31247 ac_ext=c
31248 ac_cpp='$CPP $CPPFLAGS'
31249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31256 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31257 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31258 for ac_func in ceilf floorf
31259 do :
31260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31263 cat >>confdefs.h <<_ACEOF
31264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31265 _ACEOF
31268 done
31270 else
31271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31272 $as_echo_n "checking for _float round functions... " >&6; }
31273 if ${glibcxx_cv_func__float_round_use+:} false; then :
31274 $as_echo_n "(cached) " >&6
31275 else
31278 ac_ext=cpp
31279 ac_cpp='$CXXCPP $CPPFLAGS'
31280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31285 /* end confdefs.h. */
31286 #include <math.h>
31288 main ()
31290 _ceilf (0); _floorf (0);
31292 return 0;
31294 _ACEOF
31295 if ac_fn_cxx_try_compile "$LINENO"; then :
31296 glibcxx_cv_func__float_round_use=yes
31297 else
31298 glibcxx_cv_func__float_round_use=no
31300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31301 ac_ext=c
31302 ac_cpp='$CPP $CPPFLAGS'
31303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31310 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31311 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31312 for ac_func in _ceilf _floorf
31313 do :
31314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31316 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31317 cat >>confdefs.h <<_ACEOF
31318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31319 _ACEOF
31322 done
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31333 $as_echo_n "checking for expf declaration... " >&6; }
31334 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31335 if ${glibcxx_cv_func_expf_use+:} false; then :
31336 $as_echo_n "(cached) " >&6
31337 else
31340 ac_ext=cpp
31341 ac_cpp='$CXXCPP $CPPFLAGS'
31342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31347 /* end confdefs.h. */
31348 #include <math.h>
31349 #ifdef HAVE_IEEEFP_H
31350 #include <ieeefp.h>
31351 #endif
31354 main ()
31356 expf(0);
31358 return 0;
31360 _ACEOF
31361 if ac_fn_cxx_try_compile "$LINENO"; then :
31362 glibcxx_cv_func_expf_use=yes
31363 else
31364 glibcxx_cv_func_expf_use=no
31366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31367 ac_ext=c
31368 ac_cpp='$CPP $CPPFLAGS'
31369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31378 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31380 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31381 for ac_func in expf
31382 do :
31383 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31384 if test "x$ac_cv_func_expf" = xyes; then :
31385 cat >>confdefs.h <<_ACEOF
31386 #define HAVE_EXPF 1
31387 _ACEOF
31390 done
31392 else
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31395 $as_echo_n "checking for _expf declaration... " >&6; }
31396 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31397 if ${glibcxx_cv_func__expf_use+:} false; then :
31398 $as_echo_n "(cached) " >&6
31399 else
31402 ac_ext=cpp
31403 ac_cpp='$CXXCPP $CPPFLAGS'
31404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31409 /* end confdefs.h. */
31410 #include <math.h>
31411 #ifdef HAVE_IEEEFP_H
31412 #include <ieeefp.h>
31413 #endif
31416 main ()
31418 _expf(0);
31420 return 0;
31422 _ACEOF
31423 if ac_fn_cxx_try_compile "$LINENO"; then :
31424 glibcxx_cv_func__expf_use=yes
31425 else
31426 glibcxx_cv_func__expf_use=no
31428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31429 ac_ext=c
31430 ac_cpp='$CPP $CPPFLAGS'
31431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31440 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
31442 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31443 for ac_func in _expf
31444 do :
31445 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31446 if test "x$ac_cv_func__expf" = xyes; then :
31447 cat >>confdefs.h <<_ACEOF
31448 #define HAVE__EXPF 1
31449 _ACEOF
31452 done
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31462 $as_echo_n "checking for isnanf declaration... " >&6; }
31463 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31464 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31465 $as_echo_n "(cached) " >&6
31466 else
31469 ac_ext=cpp
31470 ac_cpp='$CXXCPP $CPPFLAGS'
31471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31476 /* end confdefs.h. */
31477 #include <math.h>
31478 #ifdef HAVE_IEEEFP_H
31479 #include <ieeefp.h>
31480 #endif
31483 main ()
31485 isnanf(0);
31487 return 0;
31489 _ACEOF
31490 if ac_fn_cxx_try_compile "$LINENO"; then :
31491 glibcxx_cv_func_isnanf_use=yes
31492 else
31493 glibcxx_cv_func_isnanf_use=no
31495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31496 ac_ext=c
31497 ac_cpp='$CPP $CPPFLAGS'
31498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31507 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31509 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31510 for ac_func in isnanf
31511 do :
31512 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31513 if test "x$ac_cv_func_isnanf" = xyes; then :
31514 cat >>confdefs.h <<_ACEOF
31515 #define HAVE_ISNANF 1
31516 _ACEOF
31519 done
31521 else
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31524 $as_echo_n "checking for _isnanf declaration... " >&6; }
31525 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31526 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31527 $as_echo_n "(cached) " >&6
31528 else
31531 ac_ext=cpp
31532 ac_cpp='$CXXCPP $CPPFLAGS'
31533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31538 /* end confdefs.h. */
31539 #include <math.h>
31540 #ifdef HAVE_IEEEFP_H
31541 #include <ieeefp.h>
31542 #endif
31545 main ()
31547 _isnanf(0);
31549 return 0;
31551 _ACEOF
31552 if ac_fn_cxx_try_compile "$LINENO"; then :
31553 glibcxx_cv_func__isnanf_use=yes
31554 else
31555 glibcxx_cv_func__isnanf_use=no
31557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31558 ac_ext=c
31559 ac_cpp='$CPP $CPPFLAGS'
31560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31569 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31571 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31572 for ac_func in _isnanf
31573 do :
31574 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31575 if test "x$ac_cv_func__isnanf" = xyes; then :
31576 cat >>confdefs.h <<_ACEOF
31577 #define HAVE__ISNANF 1
31578 _ACEOF
31581 done
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31591 $as_echo_n "checking for isinff declaration... " >&6; }
31592 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31593 if ${glibcxx_cv_func_isinff_use+:} false; then :
31594 $as_echo_n "(cached) " >&6
31595 else
31598 ac_ext=cpp
31599 ac_cpp='$CXXCPP $CPPFLAGS'
31600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31605 /* end confdefs.h. */
31606 #include <math.h>
31607 #ifdef HAVE_IEEEFP_H
31608 #include <ieeefp.h>
31609 #endif
31612 main ()
31614 isinff(0);
31616 return 0;
31618 _ACEOF
31619 if ac_fn_cxx_try_compile "$LINENO"; then :
31620 glibcxx_cv_func_isinff_use=yes
31621 else
31622 glibcxx_cv_func_isinff_use=no
31624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31625 ac_ext=c
31626 ac_cpp='$CPP $CPPFLAGS'
31627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31636 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31638 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31639 for ac_func in isinff
31640 do :
31641 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31642 if test "x$ac_cv_func_isinff" = xyes; then :
31643 cat >>confdefs.h <<_ACEOF
31644 #define HAVE_ISINFF 1
31645 _ACEOF
31648 done
31650 else
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31653 $as_echo_n "checking for _isinff declaration... " >&6; }
31654 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31655 if ${glibcxx_cv_func__isinff_use+:} false; then :
31656 $as_echo_n "(cached) " >&6
31657 else
31660 ac_ext=cpp
31661 ac_cpp='$CXXCPP $CPPFLAGS'
31662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31667 /* end confdefs.h. */
31668 #include <math.h>
31669 #ifdef HAVE_IEEEFP_H
31670 #include <ieeefp.h>
31671 #endif
31674 main ()
31676 _isinff(0);
31678 return 0;
31680 _ACEOF
31681 if ac_fn_cxx_try_compile "$LINENO"; then :
31682 glibcxx_cv_func__isinff_use=yes
31683 else
31684 glibcxx_cv_func__isinff_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__isinff_use" >&5
31698 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31700 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31701 for ac_func in _isinff
31702 do :
31703 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31704 if test "x$ac_cv_func__isinff" = xyes; then :
31705 cat >>confdefs.h <<_ACEOF
31706 #define HAVE__ISINFF 1
31707 _ACEOF
31710 done
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31720 $as_echo_n "checking for atan2f declaration... " >&6; }
31721 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31722 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31723 $as_echo_n "(cached) " >&6
31724 else
31727 ac_ext=cpp
31728 ac_cpp='$CXXCPP $CPPFLAGS'
31729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31734 /* end confdefs.h. */
31735 #include <math.h>
31737 main ()
31739 atan2f(0, 0);
31741 return 0;
31743 _ACEOF
31744 if ac_fn_cxx_try_compile "$LINENO"; then :
31745 glibcxx_cv_func_atan2f_use=yes
31746 else
31747 glibcxx_cv_func_atan2f_use=no
31749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31750 ac_ext=c
31751 ac_cpp='$CPP $CPPFLAGS'
31752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31761 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31763 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31764 for ac_func in atan2f
31765 do :
31766 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31767 if test "x$ac_cv_func_atan2f" = xyes; then :
31768 cat >>confdefs.h <<_ACEOF
31769 #define HAVE_ATAN2F 1
31770 _ACEOF
31773 done
31775 else
31777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31778 $as_echo_n "checking for _atan2f declaration... " >&6; }
31779 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31780 if ${glibcxx_cv_func__atan2f_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>
31795 main ()
31797 _atan2f(0, 0);
31799 return 0;
31801 _ACEOF
31802 if ac_fn_cxx_try_compile "$LINENO"; then :
31803 glibcxx_cv_func__atan2f_use=yes
31804 else
31805 glibcxx_cv_func__atan2f_use=no
31807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31808 ac_ext=c
31809 ac_cpp='$CPP $CPPFLAGS'
31810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31819 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31821 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31822 for ac_func in _atan2f
31823 do :
31824 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31825 if test "x$ac_cv_func__atan2f" = xyes; then :
31826 cat >>confdefs.h <<_ACEOF
31827 #define HAVE__ATAN2F 1
31828 _ACEOF
31831 done
31840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31841 $as_echo_n "checking for fabsf declaration... " >&6; }
31842 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31843 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31844 $as_echo_n "(cached) " >&6
31845 else
31848 ac_ext=cpp
31849 ac_cpp='$CXXCPP $CPPFLAGS'
31850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31855 /* end confdefs.h. */
31856 #include <math.h>
31857 #ifdef HAVE_IEEEFP_H
31858 #include <ieeefp.h>
31859 #endif
31862 main ()
31864 fabsf(0);
31866 return 0;
31868 _ACEOF
31869 if ac_fn_cxx_try_compile "$LINENO"; then :
31870 glibcxx_cv_func_fabsf_use=yes
31871 else
31872 glibcxx_cv_func_fabsf_use=no
31874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31875 ac_ext=c
31876 ac_cpp='$CPP $CPPFLAGS'
31877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31886 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31888 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31889 for ac_func in fabsf
31890 do :
31891 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31892 if test "x$ac_cv_func_fabsf" = xyes; then :
31893 cat >>confdefs.h <<_ACEOF
31894 #define HAVE_FABSF 1
31895 _ACEOF
31898 done
31900 else
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31903 $as_echo_n "checking for _fabsf declaration... " >&6; }
31904 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31905 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31906 $as_echo_n "(cached) " >&6
31907 else
31910 ac_ext=cpp
31911 ac_cpp='$CXXCPP $CPPFLAGS'
31912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31917 /* end confdefs.h. */
31918 #include <math.h>
31919 #ifdef HAVE_IEEEFP_H
31920 #include <ieeefp.h>
31921 #endif
31924 main ()
31926 _fabsf(0);
31928 return 0;
31930 _ACEOF
31931 if ac_fn_cxx_try_compile "$LINENO"; then :
31932 glibcxx_cv_func__fabsf_use=yes
31933 else
31934 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
31948 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31950 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31951 for ac_func in _fabsf
31952 do :
31953 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31954 if test "x$ac_cv_func__fabsf" = xyes; then :
31955 cat >>confdefs.h <<_ACEOF
31956 #define HAVE__FABSF 1
31957 _ACEOF
31960 done
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31970 $as_echo_n "checking for fmodf declaration... " >&6; }
31971 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31972 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31973 $as_echo_n "(cached) " >&6
31974 else
31977 ac_ext=cpp
31978 ac_cpp='$CXXCPP $CPPFLAGS'
31979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31984 /* end confdefs.h. */
31985 #include <math.h>
31987 main ()
31989 fmodf(0, 0);
31991 return 0;
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_fmodf_use=yes
31996 else
31997 glibcxx_cv_func_fmodf_use=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
32011 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
32013 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32014 for ac_func in fmodf
32015 do :
32016 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
32017 if test "x$ac_cv_func_fmodf" = xyes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE_FMODF 1
32020 _ACEOF
32023 done
32025 else
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
32028 $as_echo_n "checking for _fmodf declaration... " >&6; }
32029 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32030 if ${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
32049 return 0;
32051 _ACEOF
32052 if ac_fn_cxx_try_compile "$LINENO"; then :
32053 glibcxx_cv_func__fmodf_use=yes
32054 else
32055 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
32069 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
32071 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32072 for ac_func in _fmodf
32073 do :
32074 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
32075 if test "x$ac_cv_func__fmodf" = xyes; then :
32076 cat >>confdefs.h <<_ACEOF
32077 #define HAVE__FMODF 1
32078 _ACEOF
32081 done
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
32091 $as_echo_n "checking for frexpf declaration... " >&6; }
32092 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32093 if ${glibcxx_cv_func_frexpf_use+:} false; then :
32094 $as_echo_n "(cached) " >&6
32095 else
32098 ac_ext=cpp
32099 ac_cpp='$CXXCPP $CPPFLAGS'
32100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32105 /* end confdefs.h. */
32106 #include <math.h>
32108 main ()
32110 frexpf(0, 0);
32112 return 0;
32114 _ACEOF
32115 if ac_fn_cxx_try_compile "$LINENO"; then :
32116 glibcxx_cv_func_frexpf_use=yes
32117 else
32118 glibcxx_cv_func_frexpf_use=no
32120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32121 ac_ext=c
32122 ac_cpp='$CPP $CPPFLAGS'
32123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32132 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32134 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32135 for ac_func in frexpf
32136 do :
32137 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32138 if test "x$ac_cv_func_frexpf" = xyes; then :
32139 cat >>confdefs.h <<_ACEOF
32140 #define HAVE_FREXPF 1
32141 _ACEOF
32144 done
32146 else
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32149 $as_echo_n "checking for _frexpf declaration... " >&6; }
32150 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32151 if ${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
32170 return 0;
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func__frexpf_use=yes
32175 else
32176 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
32190 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32192 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32193 for ac_func in _frexpf
32194 do :
32195 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32196 if test "x$ac_cv_func__frexpf" = xyes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE__FREXPF 1
32199 _ACEOF
32202 done
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32212 $as_echo_n "checking for hypotf declaration... " >&6; }
32213 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32214 if ${glibcxx_cv_func_hypotf_use+:} false; then :
32215 $as_echo_n "(cached) " >&6
32216 else
32219 ac_ext=cpp
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32226 /* end confdefs.h. */
32227 #include <math.h>
32229 main ()
32231 hypotf(0, 0);
32233 return 0;
32235 _ACEOF
32236 if ac_fn_cxx_try_compile "$LINENO"; then :
32237 glibcxx_cv_func_hypotf_use=yes
32238 else
32239 glibcxx_cv_func_hypotf_use=no
32241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32242 ac_ext=c
32243 ac_cpp='$CPP $CPPFLAGS'
32244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32253 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32255 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32256 for ac_func in hypotf
32257 do :
32258 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32259 if test "x$ac_cv_func_hypotf" = xyes; then :
32260 cat >>confdefs.h <<_ACEOF
32261 #define HAVE_HYPOTF 1
32262 _ACEOF
32265 done
32267 else
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32270 $as_echo_n "checking for _hypotf declaration... " >&6; }
32271 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32272 if ${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
32291 return 0;
32293 _ACEOF
32294 if ac_fn_cxx_try_compile "$LINENO"; then :
32295 glibcxx_cv_func__hypotf_use=yes
32296 else
32297 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
32311 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32313 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32314 for ac_func in _hypotf
32315 do :
32316 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32317 if test "x$ac_cv_func__hypotf" = xyes; then :
32318 cat >>confdefs.h <<_ACEOF
32319 #define HAVE__HYPOTF 1
32320 _ACEOF
32323 done
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32333 $as_echo_n "checking for ldexpf declaration... " >&6; }
32334 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32335 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32336 $as_echo_n "(cached) " >&6
32337 else
32340 ac_ext=cpp
32341 ac_cpp='$CXXCPP $CPPFLAGS'
32342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32347 /* end confdefs.h. */
32348 #include <math.h>
32350 main ()
32352 ldexpf(0, 0);
32354 return 0;
32356 _ACEOF
32357 if ac_fn_cxx_try_compile "$LINENO"; then :
32358 glibcxx_cv_func_ldexpf_use=yes
32359 else
32360 glibcxx_cv_func_ldexpf_use=no
32362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32363 ac_ext=c
32364 ac_cpp='$CPP $CPPFLAGS'
32365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32374 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32376 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32377 for ac_func in ldexpf
32378 do :
32379 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32380 if test "x$ac_cv_func_ldexpf" = xyes; then :
32381 cat >>confdefs.h <<_ACEOF
32382 #define HAVE_LDEXPF 1
32383 _ACEOF
32386 done
32388 else
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32391 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32392 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32393 if ${glibcxx_cv_func__ldexpf_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>
32408 main ()
32410 _ldexpf(0, 0);
32412 return 0;
32414 _ACEOF
32415 if ac_fn_cxx_try_compile "$LINENO"; then :
32416 glibcxx_cv_func__ldexpf_use=yes
32417 else
32418 glibcxx_cv_func__ldexpf_use=no
32420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32421 ac_ext=c
32422 ac_cpp='$CPP $CPPFLAGS'
32423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32432 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32434 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32435 for ac_func in _ldexpf
32436 do :
32437 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32438 if test "x$ac_cv_func__ldexpf" = xyes; then :
32439 cat >>confdefs.h <<_ACEOF
32440 #define HAVE__LDEXPF 1
32441 _ACEOF
32444 done
32453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32454 $as_echo_n "checking for logf declaration... " >&6; }
32455 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32456 if ${glibcxx_cv_func_logf_use+:} false; then :
32457 $as_echo_n "(cached) " >&6
32458 else
32461 ac_ext=cpp
32462 ac_cpp='$CXXCPP $CPPFLAGS'
32463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32468 /* end confdefs.h. */
32469 #include <math.h>
32470 #ifdef HAVE_IEEEFP_H
32471 #include <ieeefp.h>
32472 #endif
32475 main ()
32477 logf(0);
32479 return 0;
32481 _ACEOF
32482 if ac_fn_cxx_try_compile "$LINENO"; then :
32483 glibcxx_cv_func_logf_use=yes
32484 else
32485 glibcxx_cv_func_logf_use=no
32487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32488 ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32499 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32501 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32502 for ac_func in logf
32503 do :
32504 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32505 if test "x$ac_cv_func_logf" = xyes; then :
32506 cat >>confdefs.h <<_ACEOF
32507 #define HAVE_LOGF 1
32508 _ACEOF
32511 done
32513 else
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32516 $as_echo_n "checking for _logf declaration... " >&6; }
32517 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32518 if ${glibcxx_cv_func__logf_use+:} false; then :
32519 $as_echo_n "(cached) " >&6
32520 else
32523 ac_ext=cpp
32524 ac_cpp='$CXXCPP $CPPFLAGS'
32525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32530 /* end confdefs.h. */
32531 #include <math.h>
32532 #ifdef HAVE_IEEEFP_H
32533 #include <ieeefp.h>
32534 #endif
32537 main ()
32539 _logf(0);
32541 return 0;
32543 _ACEOF
32544 if ac_fn_cxx_try_compile "$LINENO"; then :
32545 glibcxx_cv_func__logf_use=yes
32546 else
32547 glibcxx_cv_func__logf_use=no
32549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32550 ac_ext=c
32551 ac_cpp='$CPP $CPPFLAGS'
32552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32561 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32563 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32564 for ac_func in _logf
32565 do :
32566 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32567 if test "x$ac_cv_func__logf" = xyes; then :
32568 cat >>confdefs.h <<_ACEOF
32569 #define HAVE__LOGF 1
32570 _ACEOF
32573 done
32582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32583 $as_echo_n "checking for log10f declaration... " >&6; }
32584 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32585 if ${glibcxx_cv_func_log10f_use+:} false; then :
32586 $as_echo_n "(cached) " >&6
32587 else
32590 ac_ext=cpp
32591 ac_cpp='$CXXCPP $CPPFLAGS'
32592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32597 /* end confdefs.h. */
32598 #include <math.h>
32599 #ifdef HAVE_IEEEFP_H
32600 #include <ieeefp.h>
32601 #endif
32604 main ()
32606 log10f(0);
32608 return 0;
32610 _ACEOF
32611 if ac_fn_cxx_try_compile "$LINENO"; then :
32612 glibcxx_cv_func_log10f_use=yes
32613 else
32614 glibcxx_cv_func_log10f_use=no
32616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32617 ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32628 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32630 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32631 for ac_func in log10f
32632 do :
32633 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32634 if test "x$ac_cv_func_log10f" = xyes; then :
32635 cat >>confdefs.h <<_ACEOF
32636 #define HAVE_LOG10F 1
32637 _ACEOF
32640 done
32642 else
32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32645 $as_echo_n "checking for _log10f declaration... " >&6; }
32646 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32647 if ${glibcxx_cv_func__log10f_use+:} false; then :
32648 $as_echo_n "(cached) " >&6
32649 else
32652 ac_ext=cpp
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32659 /* end confdefs.h. */
32660 #include <math.h>
32661 #ifdef HAVE_IEEEFP_H
32662 #include <ieeefp.h>
32663 #endif
32666 main ()
32668 _log10f(0);
32670 return 0;
32672 _ACEOF
32673 if ac_fn_cxx_try_compile "$LINENO"; then :
32674 glibcxx_cv_func__log10f_use=yes
32675 else
32676 glibcxx_cv_func__log10f_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__log10f_use" >&5
32690 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32692 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32693 for ac_func in _log10f
32694 do :
32695 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32696 if test "x$ac_cv_func__log10f" = xyes; then :
32697 cat >>confdefs.h <<_ACEOF
32698 #define HAVE__LOG10F 1
32699 _ACEOF
32702 done
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32712 $as_echo_n "checking for modff declaration... " >&6; }
32713 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32714 if ${glibcxx_cv_func_modff_use+:} false; then :
32715 $as_echo_n "(cached) " >&6
32716 else
32719 ac_ext=cpp
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32726 /* end confdefs.h. */
32727 #include <math.h>
32729 main ()
32731 modff(0, 0);
32733 return 0;
32735 _ACEOF
32736 if ac_fn_cxx_try_compile "$LINENO"; then :
32737 glibcxx_cv_func_modff_use=yes
32738 else
32739 glibcxx_cv_func_modff_use=no
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32753 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32755 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32756 for ac_func in modff
32757 do :
32758 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32759 if test "x$ac_cv_func_modff" = xyes; then :
32760 cat >>confdefs.h <<_ACEOF
32761 #define HAVE_MODFF 1
32762 _ACEOF
32765 done
32767 else
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32770 $as_echo_n "checking for _modff declaration... " >&6; }
32771 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32772 if ${glibcxx_cv_func__modff_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 _modff(0, 0);
32791 return 0;
32793 _ACEOF
32794 if ac_fn_cxx_try_compile "$LINENO"; then :
32795 glibcxx_cv_func__modff_use=yes
32796 else
32797 glibcxx_cv_func__modff_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__modff_use" >&5
32811 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32813 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32814 for ac_func in _modff
32815 do :
32816 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32817 if test "x$ac_cv_func__modff" = xyes; then :
32818 cat >>confdefs.h <<_ACEOF
32819 #define HAVE__MODFF 1
32820 _ACEOF
32823 done
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32833 $as_echo_n "checking for modf declaration... " >&6; }
32834 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32835 if ${glibcxx_cv_func_modf_use+:} false; then :
32836 $as_echo_n "(cached) " >&6
32837 else
32840 ac_ext=cpp
32841 ac_cpp='$CXXCPP $CPPFLAGS'
32842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32847 /* end confdefs.h. */
32848 #include <math.h>
32850 main ()
32852 modf(0, 0);
32854 return 0;
32856 _ACEOF
32857 if ac_fn_cxx_try_compile "$LINENO"; then :
32858 glibcxx_cv_func_modf_use=yes
32859 else
32860 glibcxx_cv_func_modf_use=no
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863 ac_ext=c
32864 ac_cpp='$CPP $CPPFLAGS'
32865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32874 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32876 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32877 for ac_func in modf
32878 do :
32879 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32880 if test "x$ac_cv_func_modf" = xyes; then :
32881 cat >>confdefs.h <<_ACEOF
32882 #define HAVE_MODF 1
32883 _ACEOF
32886 done
32888 else
32890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32891 $as_echo_n "checking for _modf declaration... " >&6; }
32892 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32893 if ${glibcxx_cv_func__modf_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 _modf(0, 0);
32912 return 0;
32914 _ACEOF
32915 if ac_fn_cxx_try_compile "$LINENO"; then :
32916 glibcxx_cv_func__modf_use=yes
32917 else
32918 glibcxx_cv_func__modf_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__modf_use" >&5
32932 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32934 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32935 for ac_func in _modf
32936 do :
32937 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32938 if test "x$ac_cv_func__modf" = xyes; then :
32939 cat >>confdefs.h <<_ACEOF
32940 #define HAVE__MODF 1
32941 _ACEOF
32944 done
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32954 $as_echo_n "checking for powf declaration... " >&6; }
32955 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32956 if ${glibcxx_cv_func_powf_use+:} false; then :
32957 $as_echo_n "(cached) " >&6
32958 else
32961 ac_ext=cpp
32962 ac_cpp='$CXXCPP $CPPFLAGS'
32963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32968 /* end confdefs.h. */
32969 #include <math.h>
32971 main ()
32973 powf(0, 0);
32975 return 0;
32977 _ACEOF
32978 if ac_fn_cxx_try_compile "$LINENO"; then :
32979 glibcxx_cv_func_powf_use=yes
32980 else
32981 glibcxx_cv_func_powf_use=no
32983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32984 ac_ext=c
32985 ac_cpp='$CPP $CPPFLAGS'
32986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32995 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32997 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32998 for ac_func in powf
32999 do :
33000 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
33001 if test "x$ac_cv_func_powf" = xyes; then :
33002 cat >>confdefs.h <<_ACEOF
33003 #define HAVE_POWF 1
33004 _ACEOF
33007 done
33009 else
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
33012 $as_echo_n "checking for _powf declaration... " >&6; }
33013 if test x${glibcxx_cv_func__powf_use+set} != xset; then
33014 if ${glibcxx_cv_func__powf_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>
33029 main ()
33031 _powf(0, 0);
33033 return 0;
33035 _ACEOF
33036 if ac_fn_cxx_try_compile "$LINENO"; then :
33037 glibcxx_cv_func__powf_use=yes
33038 else
33039 glibcxx_cv_func__powf_use=no
33041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33042 ac_ext=c
33043 ac_cpp='$CPP $CPPFLAGS'
33044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
33053 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
33055 if test x$glibcxx_cv_func__powf_use = x"yes"; then
33056 for ac_func in _powf
33057 do :
33058 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
33059 if test "x$ac_cv_func__powf" = xyes; then :
33060 cat >>confdefs.h <<_ACEOF
33061 #define HAVE__POWF 1
33062 _ACEOF
33065 done
33074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33075 $as_echo_n "checking for sqrtf declaration... " >&6; }
33076 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33077 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
33078 $as_echo_n "(cached) " >&6
33079 else
33082 ac_ext=cpp
33083 ac_cpp='$CXXCPP $CPPFLAGS'
33084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33089 /* end confdefs.h. */
33090 #include <math.h>
33091 #ifdef HAVE_IEEEFP_H
33092 #include <ieeefp.h>
33093 #endif
33096 main ()
33098 sqrtf(0);
33100 return 0;
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104 glibcxx_cv_func_sqrtf_use=yes
33105 else
33106 glibcxx_cv_func_sqrtf_use=no
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109 ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33120 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33122 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33123 for ac_func in sqrtf
33124 do :
33125 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33126 if test "x$ac_cv_func_sqrtf" = xyes; then :
33127 cat >>confdefs.h <<_ACEOF
33128 #define HAVE_SQRTF 1
33129 _ACEOF
33132 done
33134 else
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
33137 $as_echo_n "checking for _sqrtf declaration... " >&6; }
33138 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
33139 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
33140 $as_echo_n "(cached) " >&6
33141 else
33144 ac_ext=cpp
33145 ac_cpp='$CXXCPP $CPPFLAGS'
33146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33151 /* end confdefs.h. */
33152 #include <math.h>
33153 #ifdef HAVE_IEEEFP_H
33154 #include <ieeefp.h>
33155 #endif
33158 main ()
33160 _sqrtf(0);
33162 return 0;
33164 _ACEOF
33165 if ac_fn_cxx_try_compile "$LINENO"; then :
33166 glibcxx_cv_func__sqrtf_use=yes
33167 else
33168 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
33182 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
33184 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
33185 for ac_func in _sqrtf
33186 do :
33187 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
33188 if test "x$ac_cv_func__sqrtf" = xyes; then :
33189 cat >>confdefs.h <<_ACEOF
33190 #define HAVE__SQRTF 1
33191 _ACEOF
33194 done
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33204 $as_echo_n "checking for sincosf declaration... " >&6; }
33205 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33206 if ${glibcxx_cv_func_sincosf_use+:} false; then :
33207 $as_echo_n "(cached) " >&6
33208 else
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33218 /* end confdefs.h. */
33219 #include <math.h>
33221 main ()
33223 sincosf(0, 0, 0);
33225 return 0;
33227 _ACEOF
33228 if ac_fn_cxx_try_compile "$LINENO"; then :
33229 glibcxx_cv_func_sincosf_use=yes
33230 else
33231 glibcxx_cv_func_sincosf_use=no
33233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33234 ac_ext=c
33235 ac_cpp='$CPP $CPPFLAGS'
33236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33245 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33247 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33248 for ac_func in sincosf
33249 do :
33250 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33251 if test "x$ac_cv_func_sincosf" = xyes; then :
33252 cat >>confdefs.h <<_ACEOF
33253 #define HAVE_SINCOSF 1
33254 _ACEOF
33257 done
33259 else
33261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33262 $as_echo_n "checking for _sincosf declaration... " >&6; }
33263 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33264 if ${glibcxx_cv_func__sincosf_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>
33279 main ()
33281 _sincosf(0, 0, 0);
33283 return 0;
33285 _ACEOF
33286 if ac_fn_cxx_try_compile "$LINENO"; then :
33287 glibcxx_cv_func__sincosf_use=yes
33288 else
33289 glibcxx_cv_func__sincosf_use=no
33291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33292 ac_ext=c
33293 ac_cpp='$CPP $CPPFLAGS'
33294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33303 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33305 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33306 for ac_func in _sincosf
33307 do :
33308 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33309 if test "x$ac_cv_func__sincosf" = xyes; then :
33310 cat >>confdefs.h <<_ACEOF
33311 #define HAVE__SINCOSF 1
33312 _ACEOF
33315 done
33324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33325 $as_echo_n "checking for finitef declaration... " >&6; }
33326 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33327 if ${glibcxx_cv_func_finitef_use+:} false; then :
33328 $as_echo_n "(cached) " >&6
33329 else
33332 ac_ext=cpp
33333 ac_cpp='$CXXCPP $CPPFLAGS'
33334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33339 /* end confdefs.h. */
33340 #include <math.h>
33341 #ifdef HAVE_IEEEFP_H
33342 #include <ieeefp.h>
33343 #endif
33346 main ()
33348 finitef(0);
33350 return 0;
33352 _ACEOF
33353 if ac_fn_cxx_try_compile "$LINENO"; then :
33354 glibcxx_cv_func_finitef_use=yes
33355 else
33356 glibcxx_cv_func_finitef_use=no
33358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33359 ac_ext=c
33360 ac_cpp='$CPP $CPPFLAGS'
33361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33370 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33372 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33373 for ac_func in finitef
33374 do :
33375 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33376 if test "x$ac_cv_func_finitef" = xyes; then :
33377 cat >>confdefs.h <<_ACEOF
33378 #define HAVE_FINITEF 1
33379 _ACEOF
33382 done
33384 else
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33387 $as_echo_n "checking for _finitef declaration... " >&6; }
33388 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33389 if ${glibcxx_cv_func__finitef_use+:} false; then :
33390 $as_echo_n "(cached) " >&6
33391 else
33394 ac_ext=cpp
33395 ac_cpp='$CXXCPP $CPPFLAGS'
33396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33401 /* end confdefs.h. */
33402 #include <math.h>
33403 #ifdef HAVE_IEEEFP_H
33404 #include <ieeefp.h>
33405 #endif
33408 main ()
33410 _finitef(0);
33412 return 0;
33414 _ACEOF
33415 if ac_fn_cxx_try_compile "$LINENO"; then :
33416 glibcxx_cv_func__finitef_use=yes
33417 else
33418 glibcxx_cv_func__finitef_use=no
33420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33421 ac_ext=c
33422 ac_cpp='$CPP $CPPFLAGS'
33423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33432 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33434 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33435 for ac_func in _finitef
33436 do :
33437 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33438 if test "x$ac_cv_func__finitef" = xyes; then :
33439 cat >>confdefs.h <<_ACEOF
33440 #define HAVE__FINITEF 1
33441 _ACEOF
33444 done
33453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33454 $as_echo_n "checking for long double trig functions... " >&6; }
33455 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33456 $as_echo_n "(cached) " >&6
33457 else
33460 ac_ext=cpp
33461 ac_cpp='$CXXCPP $CPPFLAGS'
33462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33467 /* end confdefs.h. */
33468 #include <math.h>
33470 main ()
33472 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33474 return 0;
33476 _ACEOF
33477 if ac_fn_cxx_try_compile "$LINENO"; then :
33478 glibcxx_cv_func_long_double_trig_use=yes
33479 else
33480 glibcxx_cv_func_long_double_trig_use=no
33482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33483 ac_ext=c
33484 ac_cpp='$CPP $CPPFLAGS'
33485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33492 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33493 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33494 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33495 do :
33496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33498 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33499 cat >>confdefs.h <<_ACEOF
33500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33501 _ACEOF
33504 done
33506 else
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33508 $as_echo_n "checking for _long double trig functions... " >&6; }
33509 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33510 $as_echo_n "(cached) " >&6
33511 else
33514 ac_ext=cpp
33515 ac_cpp='$CXXCPP $CPPFLAGS'
33516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33521 /* end confdefs.h. */
33522 #include <math.h>
33524 main ()
33526 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33528 return 0;
33530 _ACEOF
33531 if ac_fn_cxx_try_compile "$LINENO"; then :
33532 glibcxx_cv_func__long_double_trig_use=yes
33533 else
33534 glibcxx_cv_func__long_double_trig_use=no
33536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33537 ac_ext=c
33538 ac_cpp='$CPP $CPPFLAGS'
33539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33546 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33547 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33548 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33549 do :
33550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33552 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33553 cat >>confdefs.h <<_ACEOF
33554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33555 _ACEOF
33558 done
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33568 $as_echo_n "checking for long double round functions... " >&6; }
33569 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33570 $as_echo_n "(cached) " >&6
33571 else
33574 ac_ext=cpp
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33581 /* end confdefs.h. */
33582 #include <math.h>
33584 main ()
33586 ceill (0); floorl (0);
33588 return 0;
33590 _ACEOF
33591 if ac_fn_cxx_try_compile "$LINENO"; then :
33592 glibcxx_cv_func_long_double_round_use=yes
33593 else
33594 glibcxx_cv_func_long_double_round_use=no
33596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33597 ac_ext=c
33598 ac_cpp='$CPP $CPPFLAGS'
33599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33606 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33607 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33608 for ac_func in ceill floorl
33609 do :
33610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33613 cat >>confdefs.h <<_ACEOF
33614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33615 _ACEOF
33618 done
33620 else
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33622 $as_echo_n "checking for _long double round functions... " >&6; }
33623 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33624 $as_echo_n "(cached) " >&6
33625 else
33628 ac_ext=cpp
33629 ac_cpp='$CXXCPP $CPPFLAGS'
33630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33635 /* end confdefs.h. */
33636 #include <math.h>
33638 main ()
33640 _ceill (0); _floorl (0);
33642 return 0;
33644 _ACEOF
33645 if ac_fn_cxx_try_compile "$LINENO"; then :
33646 glibcxx_cv_func__long_double_round_use=yes
33647 else
33648 glibcxx_cv_func__long_double_round_use=no
33650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33651 ac_ext=c
33652 ac_cpp='$CPP $CPPFLAGS'
33653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33660 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33661 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33662 for ac_func in _ceill _floorl
33663 do :
33664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33666 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33667 cat >>confdefs.h <<_ACEOF
33668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33669 _ACEOF
33672 done
33682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33683 $as_echo_n "checking for isnanl declaration... " >&6; }
33684 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33685 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33686 $as_echo_n "(cached) " >&6
33687 else
33690 ac_ext=cpp
33691 ac_cpp='$CXXCPP $CPPFLAGS'
33692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33697 /* end confdefs.h. */
33698 #include <math.h>
33699 #ifdef HAVE_IEEEFP_H
33700 #include <ieeefp.h>
33701 #endif
33704 main ()
33706 isnanl(0);
33708 return 0;
33710 _ACEOF
33711 if ac_fn_cxx_try_compile "$LINENO"; then :
33712 glibcxx_cv_func_isnanl_use=yes
33713 else
33714 glibcxx_cv_func_isnanl_use=no
33716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33717 ac_ext=c
33718 ac_cpp='$CPP $CPPFLAGS'
33719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33728 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33730 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33731 for ac_func in isnanl
33732 do :
33733 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33734 if test "x$ac_cv_func_isnanl" = xyes; then :
33735 cat >>confdefs.h <<_ACEOF
33736 #define HAVE_ISNANL 1
33737 _ACEOF
33740 done
33742 else
33744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33745 $as_echo_n "checking for _isnanl declaration... " >&6; }
33746 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33747 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33748 $as_echo_n "(cached) " >&6
33749 else
33752 ac_ext=cpp
33753 ac_cpp='$CXXCPP $CPPFLAGS'
33754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33759 /* end confdefs.h. */
33760 #include <math.h>
33761 #ifdef HAVE_IEEEFP_H
33762 #include <ieeefp.h>
33763 #endif
33766 main ()
33768 _isnanl(0);
33770 return 0;
33772 _ACEOF
33773 if ac_fn_cxx_try_compile "$LINENO"; then :
33774 glibcxx_cv_func__isnanl_use=yes
33775 else
33776 glibcxx_cv_func__isnanl_use=no
33778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33779 ac_ext=c
33780 ac_cpp='$CPP $CPPFLAGS'
33781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33790 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33792 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33793 for ac_func in _isnanl
33794 do :
33795 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33796 if test "x$ac_cv_func__isnanl" = xyes; then :
33797 cat >>confdefs.h <<_ACEOF
33798 #define HAVE__ISNANL 1
33799 _ACEOF
33802 done
33811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33812 $as_echo_n "checking for isinfl declaration... " >&6; }
33813 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33814 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33815 $as_echo_n "(cached) " >&6
33816 else
33819 ac_ext=cpp
33820 ac_cpp='$CXXCPP $CPPFLAGS'
33821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33826 /* end confdefs.h. */
33827 #include <math.h>
33828 #ifdef HAVE_IEEEFP_H
33829 #include <ieeefp.h>
33830 #endif
33833 main ()
33835 isinfl(0);
33837 return 0;
33839 _ACEOF
33840 if ac_fn_cxx_try_compile "$LINENO"; then :
33841 glibcxx_cv_func_isinfl_use=yes
33842 else
33843 glibcxx_cv_func_isinfl_use=no
33845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33846 ac_ext=c
33847 ac_cpp='$CPP $CPPFLAGS'
33848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33857 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33859 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33860 for ac_func in isinfl
33861 do :
33862 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33863 if test "x$ac_cv_func_isinfl" = xyes; then :
33864 cat >>confdefs.h <<_ACEOF
33865 #define HAVE_ISINFL 1
33866 _ACEOF
33869 done
33871 else
33873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33874 $as_echo_n "checking for _isinfl declaration... " >&6; }
33875 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33876 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33877 $as_echo_n "(cached) " >&6
33878 else
33881 ac_ext=cpp
33882 ac_cpp='$CXXCPP $CPPFLAGS'
33883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33888 /* end confdefs.h. */
33889 #include <math.h>
33890 #ifdef HAVE_IEEEFP_H
33891 #include <ieeefp.h>
33892 #endif
33895 main ()
33897 _isinfl(0);
33899 return 0;
33901 _ACEOF
33902 if ac_fn_cxx_try_compile "$LINENO"; then :
33903 glibcxx_cv_func__isinfl_use=yes
33904 else
33905 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
33919 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33921 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33922 for ac_func in _isinfl
33923 do :
33924 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33925 if test "x$ac_cv_func__isinfl" = xyes; then :
33926 cat >>confdefs.h <<_ACEOF
33927 #define HAVE__ISINFL 1
33928 _ACEOF
33931 done
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33941 $as_echo_n "checking for atan2l declaration... " >&6; }
33942 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33943 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33944 $as_echo_n "(cached) " >&6
33945 else
33948 ac_ext=cpp
33949 ac_cpp='$CXXCPP $CPPFLAGS'
33950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33955 /* end confdefs.h. */
33956 #include <math.h>
33958 main ()
33960 atan2l(0, 0);
33962 return 0;
33964 _ACEOF
33965 if ac_fn_cxx_try_compile "$LINENO"; then :
33966 glibcxx_cv_func_atan2l_use=yes
33967 else
33968 glibcxx_cv_func_atan2l_use=no
33970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33971 ac_ext=c
33972 ac_cpp='$CPP $CPPFLAGS'
33973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33982 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33984 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33985 for ac_func in atan2l
33986 do :
33987 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33988 if test "x$ac_cv_func_atan2l" = xyes; then :
33989 cat >>confdefs.h <<_ACEOF
33990 #define HAVE_ATAN2L 1
33991 _ACEOF
33994 done
33996 else
33998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33999 $as_echo_n "checking for _atan2l declaration... " >&6; }
34000 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
34001 if ${glibcxx_cv_func__atan2l_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>
34016 main ()
34018 _atan2l(0, 0);
34020 return 0;
34022 _ACEOF
34023 if ac_fn_cxx_try_compile "$LINENO"; then :
34024 glibcxx_cv_func__atan2l_use=yes
34025 else
34026 glibcxx_cv_func__atan2l_use=no
34028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34029 ac_ext=c
34030 ac_cpp='$CPP $CPPFLAGS'
34031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
34040 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
34042 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
34043 for ac_func in _atan2l
34044 do :
34045 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
34046 if test "x$ac_cv_func__atan2l" = xyes; then :
34047 cat >>confdefs.h <<_ACEOF
34048 #define HAVE__ATAN2L 1
34049 _ACEOF
34052 done
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
34062 $as_echo_n "checking for expl declaration... " >&6; }
34063 if test x${glibcxx_cv_func_expl_use+set} != xset; then
34064 if ${glibcxx_cv_func_expl_use+:} false; then :
34065 $as_echo_n "(cached) " >&6
34066 else
34069 ac_ext=cpp
34070 ac_cpp='$CXXCPP $CPPFLAGS'
34071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34076 /* end confdefs.h. */
34077 #include <math.h>
34078 #ifdef HAVE_IEEEFP_H
34079 #include <ieeefp.h>
34080 #endif
34083 main ()
34085 expl(0);
34087 return 0;
34089 _ACEOF
34090 if ac_fn_cxx_try_compile "$LINENO"; then :
34091 glibcxx_cv_func_expl_use=yes
34092 else
34093 glibcxx_cv_func_expl_use=no
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096 ac_ext=c
34097 ac_cpp='$CPP $CPPFLAGS'
34098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34107 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
34109 if test x$glibcxx_cv_func_expl_use = x"yes"; then
34110 for ac_func in expl
34111 do :
34112 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
34113 if test "x$ac_cv_func_expl" = xyes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define HAVE_EXPL 1
34116 _ACEOF
34119 done
34121 else
34123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
34124 $as_echo_n "checking for _expl declaration... " >&6; }
34125 if test x${glibcxx_cv_func__expl_use+set} != xset; then
34126 if ${glibcxx_cv_func__expl_use+:} false; then :
34127 $as_echo_n "(cached) " >&6
34128 else
34131 ac_ext=cpp
34132 ac_cpp='$CXXCPP $CPPFLAGS'
34133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34138 /* end confdefs.h. */
34139 #include <math.h>
34140 #ifdef HAVE_IEEEFP_H
34141 #include <ieeefp.h>
34142 #endif
34145 main ()
34147 _expl(0);
34149 return 0;
34151 _ACEOF
34152 if ac_fn_cxx_try_compile "$LINENO"; then :
34153 glibcxx_cv_func__expl_use=yes
34154 else
34155 glibcxx_cv_func__expl_use=no
34157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34158 ac_ext=c
34159 ac_cpp='$CPP $CPPFLAGS'
34160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
34169 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
34171 if test x$glibcxx_cv_func__expl_use = x"yes"; then
34172 for ac_func in _expl
34173 do :
34174 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
34175 if test "x$ac_cv_func__expl" = xyes; then :
34176 cat >>confdefs.h <<_ACEOF
34177 #define HAVE__EXPL 1
34178 _ACEOF
34181 done
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34191 $as_echo_n "checking for fabsl declaration... " >&6; }
34192 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34193 if ${glibcxx_cv_func_fabsl_use+:} false; then :
34194 $as_echo_n "(cached) " >&6
34195 else
34198 ac_ext=cpp
34199 ac_cpp='$CXXCPP $CPPFLAGS'
34200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34205 /* end confdefs.h. */
34206 #include <math.h>
34207 #ifdef HAVE_IEEEFP_H
34208 #include <ieeefp.h>
34209 #endif
34212 main ()
34214 fabsl(0);
34216 return 0;
34218 _ACEOF
34219 if ac_fn_cxx_try_compile "$LINENO"; then :
34220 glibcxx_cv_func_fabsl_use=yes
34221 else
34222 glibcxx_cv_func_fabsl_use=no
34224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34225 ac_ext=c
34226 ac_cpp='$CPP $CPPFLAGS'
34227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34236 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34238 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34239 for ac_func in fabsl
34240 do :
34241 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34242 if test "x$ac_cv_func_fabsl" = xyes; then :
34243 cat >>confdefs.h <<_ACEOF
34244 #define HAVE_FABSL 1
34245 _ACEOF
34248 done
34250 else
34252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
34253 $as_echo_n "checking for _fabsl declaration... " >&6; }
34254 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
34255 if ${glibcxx_cv_func__fabsl_use+:} false; then :
34256 $as_echo_n "(cached) " >&6
34257 else
34260 ac_ext=cpp
34261 ac_cpp='$CXXCPP $CPPFLAGS'
34262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34267 /* end confdefs.h. */
34268 #include <math.h>
34269 #ifdef HAVE_IEEEFP_H
34270 #include <ieeefp.h>
34271 #endif
34274 main ()
34276 _fabsl(0);
34278 return 0;
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func__fabsl_use=yes
34283 else
34284 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
34298 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34300 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34301 for ac_func in _fabsl
34302 do :
34303 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34304 if test "x$ac_cv_func__fabsl" = xyes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE__FABSL 1
34307 _ACEOF
34310 done
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34320 $as_echo_n "checking for fmodl declaration... " >&6; }
34321 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34322 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34337 main ()
34339 fmodl(0, 0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func_fmodl_use=yes
34346 else
34347 glibcxx_cv_func_fmodl_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34361 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34363 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34364 for ac_func in fmodl
34365 do :
34366 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34367 if test "x$ac_cv_func_fmodl" = xyes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE_FMODL 1
34370 _ACEOF
34373 done
34375 else
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34378 $as_echo_n "checking for _fmodl declaration... " >&6; }
34379 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34380 if ${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
34399 return 0;
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403 glibcxx_cv_func__fmodl_use=yes
34404 else
34405 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
34419 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34421 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34422 for ac_func in _fmodl
34423 do :
34424 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34425 if test "x$ac_cv_func__fmodl" = xyes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define HAVE__FMODL 1
34428 _ACEOF
34431 done
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34441 $as_echo_n "checking for frexpl declaration... " >&6; }
34442 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34443 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34444 $as_echo_n "(cached) " >&6
34445 else
34448 ac_ext=cpp
34449 ac_cpp='$CXXCPP $CPPFLAGS'
34450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34455 /* end confdefs.h. */
34456 #include <math.h>
34458 main ()
34460 frexpl(0, 0);
34462 return 0;
34464 _ACEOF
34465 if ac_fn_cxx_try_compile "$LINENO"; then :
34466 glibcxx_cv_func_frexpl_use=yes
34467 else
34468 glibcxx_cv_func_frexpl_use=no
34470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34471 ac_ext=c
34472 ac_cpp='$CPP $CPPFLAGS'
34473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34482 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34484 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34485 for ac_func in frexpl
34486 do :
34487 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34488 if test "x$ac_cv_func_frexpl" = xyes; then :
34489 cat >>confdefs.h <<_ACEOF
34490 #define HAVE_FREXPL 1
34491 _ACEOF
34494 done
34496 else
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34499 $as_echo_n "checking for _frexpl declaration... " >&6; }
34500 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34501 if ${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
34520 return 0;
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func__frexpl_use=yes
34525 else
34526 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
34540 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34542 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34543 for ac_func in _frexpl
34544 do :
34545 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34546 if test "x$ac_cv_func__frexpl" = xyes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE__FREXPL 1
34549 _ACEOF
34552 done
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34562 $as_echo_n "checking for hypotl declaration... " >&6; }
34563 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34564 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34565 $as_echo_n "(cached) " >&6
34566 else
34569 ac_ext=cpp
34570 ac_cpp='$CXXCPP $CPPFLAGS'
34571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34576 /* end confdefs.h. */
34577 #include <math.h>
34579 main ()
34581 hypotl(0, 0);
34583 return 0;
34585 _ACEOF
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587 glibcxx_cv_func_hypotl_use=yes
34588 else
34589 glibcxx_cv_func_hypotl_use=no
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592 ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34603 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34605 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34606 for ac_func in hypotl
34607 do :
34608 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34609 if test "x$ac_cv_func_hypotl" = xyes; then :
34610 cat >>confdefs.h <<_ACEOF
34611 #define HAVE_HYPOTL 1
34612 _ACEOF
34615 done
34617 else
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34620 $as_echo_n "checking for _hypotl declaration... " >&6; }
34621 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34622 if ${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
34641 return 0;
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func__hypotl_use=yes
34646 else
34647 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
34661 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34663 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34664 for ac_func in _hypotl
34665 do :
34666 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34667 if test "x$ac_cv_func__hypotl" = xyes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE__HYPOTL 1
34670 _ACEOF
34673 done
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34683 $as_echo_n "checking for ldexpl declaration... " >&6; }
34684 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34685 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34700 main ()
34702 ldexpl(0, 0);
34704 return 0;
34706 _ACEOF
34707 if ac_fn_cxx_try_compile "$LINENO"; then :
34708 glibcxx_cv_func_ldexpl_use=yes
34709 else
34710 glibcxx_cv_func_ldexpl_use=no
34712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34713 ac_ext=c
34714 ac_cpp='$CPP $CPPFLAGS'
34715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34724 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34726 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34727 for ac_func in ldexpl
34728 do :
34729 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34730 if test "x$ac_cv_func_ldexpl" = xyes; then :
34731 cat >>confdefs.h <<_ACEOF
34732 #define HAVE_LDEXPL 1
34733 _ACEOF
34736 done
34738 else
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34741 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34742 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34743 if ${glibcxx_cv_func__ldexpl_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>
34758 main ()
34760 _ldexpl(0, 0);
34762 return 0;
34764 _ACEOF
34765 if ac_fn_cxx_try_compile "$LINENO"; then :
34766 glibcxx_cv_func__ldexpl_use=yes
34767 else
34768 glibcxx_cv_func__ldexpl_use=no
34770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34771 ac_ext=c
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34782 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34784 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34785 for ac_func in _ldexpl
34786 do :
34787 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34788 if test "x$ac_cv_func__ldexpl" = xyes; then :
34789 cat >>confdefs.h <<_ACEOF
34790 #define HAVE__LDEXPL 1
34791 _ACEOF
34794 done
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34804 $as_echo_n "checking for logl declaration... " >&6; }
34805 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34806 if ${glibcxx_cv_func_logl_use+:} false; then :
34807 $as_echo_n "(cached) " >&6
34808 else
34811 ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h. */
34819 #include <math.h>
34820 #ifdef HAVE_IEEEFP_H
34821 #include <ieeefp.h>
34822 #endif
34825 main ()
34827 logl(0);
34829 return 0;
34831 _ACEOF
34832 if ac_fn_cxx_try_compile "$LINENO"; then :
34833 glibcxx_cv_func_logl_use=yes
34834 else
34835 glibcxx_cv_func_logl_use=no
34837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34838 ac_ext=c
34839 ac_cpp='$CPP $CPPFLAGS'
34840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34849 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34851 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34852 for ac_func in logl
34853 do :
34854 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34855 if test "x$ac_cv_func_logl" = xyes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define HAVE_LOGL 1
34858 _ACEOF
34861 done
34863 else
34865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34866 $as_echo_n "checking for _logl declaration... " >&6; }
34867 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34868 if ${glibcxx_cv_func__logl_use+:} false; then :
34869 $as_echo_n "(cached) " >&6
34870 else
34873 ac_ext=cpp
34874 ac_cpp='$CXXCPP $CPPFLAGS'
34875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34880 /* end confdefs.h. */
34881 #include <math.h>
34882 #ifdef HAVE_IEEEFP_H
34883 #include <ieeefp.h>
34884 #endif
34887 main ()
34889 _logl(0);
34891 return 0;
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func__logl_use=yes
34896 else
34897 glibcxx_cv_func__logl_use=no
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34911 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34913 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34914 for ac_func in _logl
34915 do :
34916 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34917 if test "x$ac_cv_func__logl" = xyes; then :
34918 cat >>confdefs.h <<_ACEOF
34919 #define HAVE__LOGL 1
34920 _ACEOF
34923 done
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34933 $as_echo_n "checking for log10l declaration... " >&6; }
34934 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34935 if ${glibcxx_cv_func_log10l_use+:} false; then :
34936 $as_echo_n "(cached) " >&6
34937 else
34940 ac_ext=cpp
34941 ac_cpp='$CXXCPP $CPPFLAGS'
34942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h. */
34948 #include <math.h>
34949 #ifdef HAVE_IEEEFP_H
34950 #include <ieeefp.h>
34951 #endif
34954 main ()
34956 log10l(0);
34958 return 0;
34960 _ACEOF
34961 if ac_fn_cxx_try_compile "$LINENO"; then :
34962 glibcxx_cv_func_log10l_use=yes
34963 else
34964 glibcxx_cv_func_log10l_use=no
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967 ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34978 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34980 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34981 for ac_func in log10l
34982 do :
34983 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34984 if test "x$ac_cv_func_log10l" = xyes; then :
34985 cat >>confdefs.h <<_ACEOF
34986 #define HAVE_LOG10L 1
34987 _ACEOF
34990 done
34992 else
34994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34995 $as_echo_n "checking for _log10l declaration... " >&6; }
34996 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34997 if ${glibcxx_cv_func__log10l_use+:} false; then :
34998 $as_echo_n "(cached) " >&6
34999 else
35002 ac_ext=cpp
35003 ac_cpp='$CXXCPP $CPPFLAGS'
35004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35009 /* end confdefs.h. */
35010 #include <math.h>
35011 #ifdef HAVE_IEEEFP_H
35012 #include <ieeefp.h>
35013 #endif
35016 main ()
35018 _log10l(0);
35020 return 0;
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func__log10l_use=yes
35025 else
35026 glibcxx_cv_func__log10l_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__log10l_use" >&5
35040 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
35042 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
35043 for ac_func in _log10l
35044 do :
35045 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
35046 if test "x$ac_cv_func__log10l" = xyes; then :
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE__LOG10L 1
35049 _ACEOF
35052 done
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
35062 $as_echo_n "checking for modfl declaration... " >&6; }
35063 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
35064 if ${glibcxx_cv_func_modfl_use+:} false; then :
35065 $as_echo_n "(cached) " >&6
35066 else
35069 ac_ext=cpp
35070 ac_cpp='$CXXCPP $CPPFLAGS'
35071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35076 /* end confdefs.h. */
35077 #include <math.h>
35079 main ()
35081 modfl(0, 0);
35083 return 0;
35085 _ACEOF
35086 if ac_fn_cxx_try_compile "$LINENO"; then :
35087 glibcxx_cv_func_modfl_use=yes
35088 else
35089 glibcxx_cv_func_modfl_use=no
35091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35092 ac_ext=c
35093 ac_cpp='$CPP $CPPFLAGS'
35094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
35103 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
35105 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35106 for ac_func in modfl
35107 do :
35108 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
35109 if test "x$ac_cv_func_modfl" = xyes; then :
35110 cat >>confdefs.h <<_ACEOF
35111 #define HAVE_MODFL 1
35112 _ACEOF
35115 done
35117 else
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
35120 $as_echo_n "checking for _modfl declaration... " >&6; }
35121 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35122 if ${glibcxx_cv_func__modfl_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 _modfl(0, 0);
35141 return 0;
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145 glibcxx_cv_func__modfl_use=yes
35146 else
35147 glibcxx_cv_func__modfl_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__modfl_use" >&5
35161 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35163 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35164 for ac_func in _modfl
35165 do :
35166 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35167 if test "x$ac_cv_func__modfl" = xyes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define HAVE__MODFL 1
35170 _ACEOF
35173 done
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35183 $as_echo_n "checking for powl declaration... " >&6; }
35184 if test x${glibcxx_cv_func_powl_use+set} != xset; then
35185 if ${glibcxx_cv_func_powl_use+:} false; then :
35186 $as_echo_n "(cached) " >&6
35187 else
35190 ac_ext=cpp
35191 ac_cpp='$CXXCPP $CPPFLAGS'
35192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35197 /* end confdefs.h. */
35198 #include <math.h>
35200 main ()
35202 powl(0, 0);
35204 return 0;
35206 _ACEOF
35207 if ac_fn_cxx_try_compile "$LINENO"; then :
35208 glibcxx_cv_func_powl_use=yes
35209 else
35210 glibcxx_cv_func_powl_use=no
35212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35213 ac_ext=c
35214 ac_cpp='$CPP $CPPFLAGS'
35215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35224 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
35226 if test x$glibcxx_cv_func_powl_use = x"yes"; then
35227 for ac_func in powl
35228 do :
35229 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35230 if test "x$ac_cv_func_powl" = xyes; then :
35231 cat >>confdefs.h <<_ACEOF
35232 #define HAVE_POWL 1
35233 _ACEOF
35236 done
35238 else
35240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35241 $as_echo_n "checking for _powl declaration... " >&6; }
35242 if test x${glibcxx_cv_func__powl_use+set} != xset; then
35243 if ${glibcxx_cv_func__powl_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>
35258 main ()
35260 _powl(0, 0);
35262 return 0;
35264 _ACEOF
35265 if ac_fn_cxx_try_compile "$LINENO"; then :
35266 glibcxx_cv_func__powl_use=yes
35267 else
35268 glibcxx_cv_func__powl_use=no
35270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35271 ac_ext=c
35272 ac_cpp='$CPP $CPPFLAGS'
35273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35282 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35284 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35285 for ac_func in _powl
35286 do :
35287 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35288 if test "x$ac_cv_func__powl" = xyes; then :
35289 cat >>confdefs.h <<_ACEOF
35290 #define HAVE__POWL 1
35291 _ACEOF
35294 done
35303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35304 $as_echo_n "checking for sqrtl declaration... " >&6; }
35305 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35306 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35307 $as_echo_n "(cached) " >&6
35308 else
35311 ac_ext=cpp
35312 ac_cpp='$CXXCPP $CPPFLAGS'
35313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35318 /* end confdefs.h. */
35319 #include <math.h>
35320 #ifdef HAVE_IEEEFP_H
35321 #include <ieeefp.h>
35322 #endif
35325 main ()
35327 sqrtl(0);
35329 return 0;
35331 _ACEOF
35332 if ac_fn_cxx_try_compile "$LINENO"; then :
35333 glibcxx_cv_func_sqrtl_use=yes
35334 else
35335 glibcxx_cv_func_sqrtl_use=no
35337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35338 ac_ext=c
35339 ac_cpp='$CPP $CPPFLAGS'
35340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35349 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35351 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35352 for ac_func in sqrtl
35353 do :
35354 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35355 if test "x$ac_cv_func_sqrtl" = xyes; then :
35356 cat >>confdefs.h <<_ACEOF
35357 #define HAVE_SQRTL 1
35358 _ACEOF
35361 done
35363 else
35365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35366 $as_echo_n "checking for _sqrtl declaration... " >&6; }
35367 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35368 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
35369 $as_echo_n "(cached) " >&6
35370 else
35373 ac_ext=cpp
35374 ac_cpp='$CXXCPP $CPPFLAGS'
35375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35380 /* end confdefs.h. */
35381 #include <math.h>
35382 #ifdef HAVE_IEEEFP_H
35383 #include <ieeefp.h>
35384 #endif
35387 main ()
35389 _sqrtl(0);
35391 return 0;
35393 _ACEOF
35394 if ac_fn_cxx_try_compile "$LINENO"; then :
35395 glibcxx_cv_func__sqrtl_use=yes
35396 else
35397 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
35411 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35413 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35414 for ac_func in _sqrtl
35415 do :
35416 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35417 if test "x$ac_cv_func__sqrtl" = xyes; then :
35418 cat >>confdefs.h <<_ACEOF
35419 #define HAVE__SQRTL 1
35420 _ACEOF
35423 done
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35433 $as_echo_n "checking for sincosl declaration... " >&6; }
35434 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35435 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35436 $as_echo_n "(cached) " >&6
35437 else
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448 #include <math.h>
35450 main ()
35452 sincosl(0, 0, 0);
35454 return 0;
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 glibcxx_cv_func_sincosl_use=yes
35459 else
35460 glibcxx_cv_func_sincosl_use=no
35462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35463 ac_ext=c
35464 ac_cpp='$CPP $CPPFLAGS'
35465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35474 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35476 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35477 for ac_func in sincosl
35478 do :
35479 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35480 if test "x$ac_cv_func_sincosl" = xyes; then :
35481 cat >>confdefs.h <<_ACEOF
35482 #define HAVE_SINCOSL 1
35483 _ACEOF
35486 done
35488 else
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35491 $as_echo_n "checking for _sincosl declaration... " >&6; }
35492 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35493 if ${glibcxx_cv_func__sincosl_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>
35508 main ()
35510 _sincosl(0, 0, 0);
35512 return 0;
35514 _ACEOF
35515 if ac_fn_cxx_try_compile "$LINENO"; then :
35516 glibcxx_cv_func__sincosl_use=yes
35517 else
35518 glibcxx_cv_func__sincosl_use=no
35520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35521 ac_ext=c
35522 ac_cpp='$CPP $CPPFLAGS'
35523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35532 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35534 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35535 for ac_func in _sincosl
35536 do :
35537 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35538 if test "x$ac_cv_func__sincosl" = xyes; then :
35539 cat >>confdefs.h <<_ACEOF
35540 #define HAVE__SINCOSL 1
35541 _ACEOF
35544 done
35553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35554 $as_echo_n "checking for finitel declaration... " >&6; }
35555 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35556 if ${glibcxx_cv_func_finitel_use+:} false; then :
35557 $as_echo_n "(cached) " >&6
35558 else
35561 ac_ext=cpp
35562 ac_cpp='$CXXCPP $CPPFLAGS'
35563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35568 /* end confdefs.h. */
35569 #include <math.h>
35570 #ifdef HAVE_IEEEFP_H
35571 #include <ieeefp.h>
35572 #endif
35575 main ()
35577 finitel(0);
35579 return 0;
35581 _ACEOF
35582 if ac_fn_cxx_try_compile "$LINENO"; then :
35583 glibcxx_cv_func_finitel_use=yes
35584 else
35585 glibcxx_cv_func_finitel_use=no
35587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35588 ac_ext=c
35589 ac_cpp='$CPP $CPPFLAGS'
35590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35599 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35601 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35602 for ac_func in finitel
35603 do :
35604 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35605 if test "x$ac_cv_func_finitel" = xyes; then :
35606 cat >>confdefs.h <<_ACEOF
35607 #define HAVE_FINITEL 1
35608 _ACEOF
35611 done
35613 else
35615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35616 $as_echo_n "checking for _finitel declaration... " >&6; }
35617 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35618 if ${glibcxx_cv_func__finitel_use+:} false; then :
35619 $as_echo_n "(cached) " >&6
35620 else
35623 ac_ext=cpp
35624 ac_cpp='$CXXCPP $CPPFLAGS'
35625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35630 /* end confdefs.h. */
35631 #include <math.h>
35632 #ifdef HAVE_IEEEFP_H
35633 #include <ieeefp.h>
35634 #endif
35637 main ()
35639 _finitel(0);
35641 return 0;
35643 _ACEOF
35644 if ac_fn_cxx_try_compile "$LINENO"; then :
35645 glibcxx_cv_func__finitel_use=yes
35646 else
35647 glibcxx_cv_func__finitel_use=no
35649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650 ac_ext=c
35651 ac_cpp='$CPP $CPPFLAGS'
35652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35661 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35663 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35664 for ac_func in _finitel
35665 do :
35666 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35667 if test "x$ac_cv_func__finitel" = xyes; then :
35668 cat >>confdefs.h <<_ACEOF
35669 #define HAVE__FINITEL 1
35670 _ACEOF
35673 done
35681 LIBS="$ac_save_LIBS"
35682 CXXFLAGS="$ac_save_CXXFLAGS"
35685 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35686 ac_save_CXXFLAGS="$CXXFLAGS"
35687 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35691 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35692 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35693 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35694 $as_echo_n "(cached) " >&6
35695 else
35698 ac_ext=cpp
35699 ac_cpp='$CXXCPP $CPPFLAGS'
35700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35705 /* end confdefs.h. */
35706 #include <stdlib.h>
35708 main ()
35710 at_quick_exit(0);
35712 return 0;
35714 _ACEOF
35715 if ac_fn_cxx_try_compile "$LINENO"; then :
35716 glibcxx_cv_func_at_quick_exit_use=yes
35717 else
35718 glibcxx_cv_func_at_quick_exit_use=no
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721 ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35732 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35733 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35734 for ac_func in at_quick_exit
35735 do :
35736 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35737 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35738 cat >>confdefs.h <<_ACEOF
35739 #define HAVE_AT_QUICK_EXIT 1
35740 _ACEOF
35743 done
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35749 $as_echo_n "checking for quick_exit declaration... " >&6; }
35750 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35751 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35752 $as_echo_n "(cached) " >&6
35753 else
35756 ac_ext=cpp
35757 ac_cpp='$CXXCPP $CPPFLAGS'
35758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35763 /* end confdefs.h. */
35764 #include <stdlib.h>
35766 main ()
35768 quick_exit(0);
35770 return 0;
35772 _ACEOF
35773 if ac_fn_cxx_try_compile "$LINENO"; then :
35774 glibcxx_cv_func_quick_exit_use=yes
35775 else
35776 glibcxx_cv_func_quick_exit_use=no
35778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35779 ac_ext=c
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35790 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35791 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35792 for ac_func in quick_exit
35793 do :
35794 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35795 if test "x$ac_cv_func_quick_exit" = xyes; then :
35796 cat >>confdefs.h <<_ACEOF
35797 #define HAVE_QUICK_EXIT 1
35798 _ACEOF
35801 done
35806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35807 $as_echo_n "checking for strtold declaration... " >&6; }
35808 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35809 if ${glibcxx_cv_func_strtold_use+:} false; then :
35810 $as_echo_n "(cached) " >&6
35811 else
35814 ac_ext=cpp
35815 ac_cpp='$CXXCPP $CPPFLAGS'
35816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35821 /* end confdefs.h. */
35822 #include <stdlib.h>
35824 main ()
35826 strtold(0, 0);
35828 return 0;
35830 _ACEOF
35831 if ac_fn_cxx_try_compile "$LINENO"; then :
35832 glibcxx_cv_func_strtold_use=yes
35833 else
35834 glibcxx_cv_func_strtold_use=no
35836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35837 ac_ext=c
35838 ac_cpp='$CPP $CPPFLAGS'
35839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35848 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35849 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35850 for ac_func in strtold
35851 do :
35852 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35853 if test "x$ac_cv_func_strtold" = xyes; then :
35854 cat >>confdefs.h <<_ACEOF
35855 #define HAVE_STRTOLD 1
35856 _ACEOF
35859 done
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35867 $as_echo_n "checking for strtof declaration... " >&6; }
35868 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35869 if ${glibcxx_cv_func_strtof_use+:} false; then :
35870 $as_echo_n "(cached) " >&6
35871 else
35874 ac_ext=cpp
35875 ac_cpp='$CXXCPP $CPPFLAGS'
35876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35881 /* end confdefs.h. */
35882 #include <stdlib.h>
35884 main ()
35886 strtof(0, 0);
35888 return 0;
35890 _ACEOF
35891 if ac_fn_cxx_try_compile "$LINENO"; then :
35892 glibcxx_cv_func_strtof_use=yes
35893 else
35894 glibcxx_cv_func_strtof_use=no
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_ext=c
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35908 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35909 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35910 for ac_func in strtof
35911 do :
35912 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35913 if test "x$ac_cv_func_strtof" = xyes; then :
35914 cat >>confdefs.h <<_ACEOF
35915 #define HAVE_STRTOF 1
35916 _ACEOF
35919 done
35926 CXXFLAGS="$ac_save_CXXFLAGS"
35929 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35931 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35933 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35935 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35938 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35940 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35942 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35946 *-aix*)
35948 # If we're not using GNU ld, then there's no point in even trying these
35949 # tests. Check for that first. We should have already tested for gld
35950 # by now (in libtool), but require it now just to be safe...
35951 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35952 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35956 # The name set by libtool depends on the version of libtool. Shame on us
35957 # for depending on an impl detail, but c'est la vie. Older versions used
35958 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35959 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35960 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35961 # set (hence we're using an older libtool), then set it.
35962 if test x${with_gnu_ld+set} != xset; then
35963 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35964 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35965 with_gnu_ld=no
35966 else
35967 with_gnu_ld=$ac_cv_prog_gnu_ld
35971 # Start by getting the version number. I think the libtool test already
35972 # does some of this, but throws away the result.
35973 glibcxx_ld_is_gold=no
35974 if test x"$with_gnu_ld" = x"yes"; then
35975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35976 $as_echo_n "checking for ld version... " >&6; }
35978 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35979 glibcxx_ld_is_gold=yes
35981 ldver=`$LD --version 2>/dev/null |
35982 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35984 glibcxx_gnu_ld_version=`echo $ldver | \
35985 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35987 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35990 # Set --gc-sections.
35991 glibcxx_have_gc_sections=no
35992 if test "$glibcxx_ld_is_gold" = "yes"; then
35993 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35994 glibcxx_have_gc_sections=yes
35996 else
35997 glibcxx_gcsections_min_ld=21602
35998 if test x"$with_gnu_ld" = x"yes" &&
35999 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
36000 glibcxx_have_gc_sections=yes
36003 if test "$glibcxx_have_gc_sections" = "yes"; then
36004 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
36005 # NB: This flag only works reliably after 2.16.1. Configure tests
36006 # for this are difficult, so hard wire a value that should work.
36008 ac_test_CFLAGS="${CFLAGS+set}"
36009 ac_save_CFLAGS="$CFLAGS"
36010 CFLAGS='-Wl,--gc-sections'
36012 # Check for -Wl,--gc-sections
36013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
36014 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
36015 if test x$gcc_no_link = xyes; then
36016 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36019 /* end confdefs.h. */
36020 int one(void) { return 1; }
36021 int two(void) { return 2; }
36024 main ()
36026 two();
36028 return 0;
36030 _ACEOF
36031 if ac_fn_c_try_link "$LINENO"; then :
36032 ac_gcsections=yes
36033 else
36034 ac_gcsections=no
36036 rm -f core conftest.err conftest.$ac_objext \
36037 conftest$ac_exeext conftest.$ac_ext
36038 if test "$ac_gcsections" = "yes"; then
36039 rm -f conftest.c
36040 touch conftest.c
36041 if $CC -c conftest.c; then
36042 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
36043 grep "Warning: gc-sections option ignored" > /dev/null; then
36044 ac_gcsections=no
36047 rm -f conftest.c conftest.o conftest
36049 if test "$ac_gcsections" = "yes"; then
36050 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
36052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
36053 $as_echo "$ac_gcsections" >&6; }
36055 if test "$ac_test_CFLAGS" = set; then
36056 CFLAGS="$ac_save_CFLAGS"
36057 else
36058 # this is the suspicious part
36059 CFLAGS=''
36063 # Set -z,relro.
36064 # Note this is only for shared objects.
36065 ac_ld_relro=no
36066 if test x"$with_gnu_ld" = x"yes"; then
36067 # cygwin and mingw uses PE, which has no ELF relro support,
36068 # multi target ld may confuse configure machinery
36069 case "$host" in
36070 *-*-cygwin*)
36072 *-*-mingw*)
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
36076 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
36077 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
36078 if test -n "$cxx_z_relo"; then
36079 OPT_LDFLAGS="-Wl,-z,relro"
36080 ac_ld_relro=yes
36082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
36083 $as_echo "$ac_ld_relro" >&6; }
36084 esac
36087 # Set linker optimization flags.
36088 if test x"$with_gnu_ld" = x"yes"; then
36089 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
36096 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36097 ac_save_CXXFLAGS="$CXXFLAGS"
36098 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
36101 $as_echo_n "checking for sin in -lm... " >&6; }
36102 if ${ac_cv_lib_m_sin+:} false; then :
36103 $as_echo_n "(cached) " >&6
36104 else
36105 ac_check_lib_save_LIBS=$LIBS
36106 LIBS="-lm $LIBS"
36107 if test x$gcc_no_link = xyes; then
36108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36111 /* end confdefs.h. */
36113 /* Override any GCC internal prototype to avoid an error.
36114 Use char because int might match the return type of a GCC
36115 builtin and then its argument prototype would still apply. */
36116 #ifdef __cplusplus
36117 extern "C"
36118 #endif
36119 char sin ();
36121 main ()
36123 return sin ();
36125 return 0;
36127 _ACEOF
36128 if ac_fn_c_try_link "$LINENO"; then :
36129 ac_cv_lib_m_sin=yes
36130 else
36131 ac_cv_lib_m_sin=no
36133 rm -f core conftest.err conftest.$ac_objext \
36134 conftest$ac_exeext conftest.$ac_ext
36135 LIBS=$ac_check_lib_save_LIBS
36137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36138 $as_echo "$ac_cv_lib_m_sin" >&6; }
36139 if test "x$ac_cv_lib_m_sin" = xyes; then :
36140 libm="-lm"
36143 ac_save_LIBS="$LIBS"
36144 LIBS="$LIBS $libm"
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36149 $as_echo_n "checking for isinf declaration... " >&6; }
36150 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36151 if ${glibcxx_cv_func_isinf_use+:} false; then :
36152 $as_echo_n "(cached) " >&6
36153 else
36156 ac_ext=cpp
36157 ac_cpp='$CXXCPP $CPPFLAGS'
36158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36163 /* end confdefs.h. */
36164 #include <math.h>
36165 #ifdef HAVE_IEEEFP_H
36166 #include <ieeefp.h>
36167 #endif
36170 main ()
36172 isinf(0);
36174 return 0;
36176 _ACEOF
36177 if ac_fn_cxx_try_compile "$LINENO"; then :
36178 glibcxx_cv_func_isinf_use=yes
36179 else
36180 glibcxx_cv_func_isinf_use=no
36182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36183 ac_ext=c
36184 ac_cpp='$CPP $CPPFLAGS'
36185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36194 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36196 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36197 for ac_func in isinf
36198 do :
36199 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36200 if test "x$ac_cv_func_isinf" = xyes; then :
36201 cat >>confdefs.h <<_ACEOF
36202 #define HAVE_ISINF 1
36203 _ACEOF
36206 done
36208 else
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36211 $as_echo_n "checking for _isinf declaration... " >&6; }
36212 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36213 if ${glibcxx_cv_func__isinf_use+:} false; then :
36214 $as_echo_n "(cached) " >&6
36215 else
36218 ac_ext=cpp
36219 ac_cpp='$CXXCPP $CPPFLAGS'
36220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36225 /* end confdefs.h. */
36226 #include <math.h>
36227 #ifdef HAVE_IEEEFP_H
36228 #include <ieeefp.h>
36229 #endif
36232 main ()
36234 _isinf(0);
36236 return 0;
36238 _ACEOF
36239 if ac_fn_cxx_try_compile "$LINENO"; then :
36240 glibcxx_cv_func__isinf_use=yes
36241 else
36242 glibcxx_cv_func__isinf_use=no
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36245 ac_ext=c
36246 ac_cpp='$CPP $CPPFLAGS'
36247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
36256 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36258 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36259 for ac_func in _isinf
36260 do :
36261 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36262 if test "x$ac_cv_func__isinf" = xyes; then :
36263 cat >>confdefs.h <<_ACEOF
36264 #define HAVE__ISINF 1
36265 _ACEOF
36268 done
36277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36278 $as_echo_n "checking for isnan declaration... " >&6; }
36279 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36280 if ${glibcxx_cv_func_isnan_use+:} false; then :
36281 $as_echo_n "(cached) " >&6
36282 else
36285 ac_ext=cpp
36286 ac_cpp='$CXXCPP $CPPFLAGS'
36287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36292 /* end confdefs.h. */
36293 #include <math.h>
36294 #ifdef HAVE_IEEEFP_H
36295 #include <ieeefp.h>
36296 #endif
36299 main ()
36301 isnan(0);
36303 return 0;
36305 _ACEOF
36306 if ac_fn_cxx_try_compile "$LINENO"; then :
36307 glibcxx_cv_func_isnan_use=yes
36308 else
36309 glibcxx_cv_func_isnan_use=no
36311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36312 ac_ext=c
36313 ac_cpp='$CPP $CPPFLAGS'
36314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36323 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36325 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36326 for ac_func in isnan
36327 do :
36328 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36329 if test "x$ac_cv_func_isnan" = xyes; then :
36330 cat >>confdefs.h <<_ACEOF
36331 #define HAVE_ISNAN 1
36332 _ACEOF
36335 done
36337 else
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36340 $as_echo_n "checking for _isnan declaration... " >&6; }
36341 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36342 if ${glibcxx_cv_func__isnan_use+:} false; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36356 #ifdef HAVE_IEEEFP_H
36357 #include <ieeefp.h>
36358 #endif
36361 main ()
36363 _isnan(0);
36365 return 0;
36367 _ACEOF
36368 if ac_fn_cxx_try_compile "$LINENO"; then :
36369 glibcxx_cv_func__isnan_use=yes
36370 else
36371 glibcxx_cv_func__isnan_use=no
36373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36374 ac_ext=c
36375 ac_cpp='$CPP $CPPFLAGS'
36376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36385 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36387 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36388 for ac_func in _isnan
36389 do :
36390 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36391 if test "x$ac_cv_func__isnan" = xyes; then :
36392 cat >>confdefs.h <<_ACEOF
36393 #define HAVE__ISNAN 1
36394 _ACEOF
36397 done
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36407 $as_echo_n "checking for finite declaration... " >&6; }
36408 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36409 if ${glibcxx_cv_func_finite_use+:} false; then :
36410 $as_echo_n "(cached) " >&6
36411 else
36414 ac_ext=cpp
36415 ac_cpp='$CXXCPP $CPPFLAGS'
36416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36421 /* end confdefs.h. */
36422 #include <math.h>
36423 #ifdef HAVE_IEEEFP_H
36424 #include <ieeefp.h>
36425 #endif
36428 main ()
36430 finite(0);
36432 return 0;
36434 _ACEOF
36435 if ac_fn_cxx_try_compile "$LINENO"; then :
36436 glibcxx_cv_func_finite_use=yes
36437 else
36438 glibcxx_cv_func_finite_use=no
36440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36441 ac_ext=c
36442 ac_cpp='$CPP $CPPFLAGS'
36443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36452 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36454 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36455 for ac_func in finite
36456 do :
36457 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36458 if test "x$ac_cv_func_finite" = xyes; then :
36459 cat >>confdefs.h <<_ACEOF
36460 #define HAVE_FINITE 1
36461 _ACEOF
36464 done
36466 else
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36469 $as_echo_n "checking for _finite declaration... " >&6; }
36470 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36471 if ${glibcxx_cv_func__finite_use+:} false; then :
36472 $as_echo_n "(cached) " >&6
36473 else
36476 ac_ext=cpp
36477 ac_cpp='$CXXCPP $CPPFLAGS'
36478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36483 /* end confdefs.h. */
36484 #include <math.h>
36485 #ifdef HAVE_IEEEFP_H
36486 #include <ieeefp.h>
36487 #endif
36490 main ()
36492 _finite(0);
36494 return 0;
36496 _ACEOF
36497 if ac_fn_cxx_try_compile "$LINENO"; then :
36498 glibcxx_cv_func__finite_use=yes
36499 else
36500 glibcxx_cv_func__finite_use=no
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_ext=c
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36514 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36516 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36517 for ac_func in _finite
36518 do :
36519 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36520 if test "x$ac_cv_func__finite" = xyes; then :
36521 cat >>confdefs.h <<_ACEOF
36522 #define HAVE__FINITE 1
36523 _ACEOF
36526 done
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36536 $as_echo_n "checking for sincos declaration... " >&6; }
36537 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36538 if ${glibcxx_cv_func_sincos_use+:} false; then :
36539 $as_echo_n "(cached) " >&6
36540 else
36543 ac_ext=cpp
36544 ac_cpp='$CXXCPP $CPPFLAGS'
36545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36550 /* end confdefs.h. */
36551 #include <math.h>
36553 main ()
36555 sincos(0, 0, 0);
36557 return 0;
36559 _ACEOF
36560 if ac_fn_cxx_try_compile "$LINENO"; then :
36561 glibcxx_cv_func_sincos_use=yes
36562 else
36563 glibcxx_cv_func_sincos_use=no
36565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 ac_ext=c
36567 ac_cpp='$CPP $CPPFLAGS'
36568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36577 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36579 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36580 for ac_func in sincos
36581 do :
36582 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36583 if test "x$ac_cv_func_sincos" = xyes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define HAVE_SINCOS 1
36586 _ACEOF
36589 done
36591 else
36593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36594 $as_echo_n "checking for _sincos declaration... " >&6; }
36595 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36596 if ${glibcxx_cv_func__sincos_use+:} false; then :
36597 $as_echo_n "(cached) " >&6
36598 else
36601 ac_ext=cpp
36602 ac_cpp='$CXXCPP $CPPFLAGS'
36603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36608 /* end confdefs.h. */
36609 #include <math.h>
36611 main ()
36613 _sincos(0, 0, 0);
36615 return 0;
36617 _ACEOF
36618 if ac_fn_cxx_try_compile "$LINENO"; then :
36619 glibcxx_cv_func__sincos_use=yes
36620 else
36621 glibcxx_cv_func__sincos_use=no
36623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36624 ac_ext=c
36625 ac_cpp='$CPP $CPPFLAGS'
36626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36635 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36637 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36638 for ac_func in _sincos
36639 do :
36640 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36641 if test "x$ac_cv_func__sincos" = xyes; then :
36642 cat >>confdefs.h <<_ACEOF
36643 #define HAVE__SINCOS 1
36644 _ACEOF
36647 done
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36657 $as_echo_n "checking for fpclass declaration... " >&6; }
36658 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36659 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36660 $as_echo_n "(cached) " >&6
36661 else
36664 ac_ext=cpp
36665 ac_cpp='$CXXCPP $CPPFLAGS'
36666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36671 /* end confdefs.h. */
36672 #include <math.h>
36673 #ifdef HAVE_IEEEFP_H
36674 #include <ieeefp.h>
36675 #endif
36678 main ()
36680 fpclass(0);
36682 return 0;
36684 _ACEOF
36685 if ac_fn_cxx_try_compile "$LINENO"; then :
36686 glibcxx_cv_func_fpclass_use=yes
36687 else
36688 glibcxx_cv_func_fpclass_use=no
36690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36691 ac_ext=c
36692 ac_cpp='$CPP $CPPFLAGS'
36693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36702 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36704 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36705 for ac_func in fpclass
36706 do :
36707 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36708 if test "x$ac_cv_func_fpclass" = xyes; then :
36709 cat >>confdefs.h <<_ACEOF
36710 #define HAVE_FPCLASS 1
36711 _ACEOF
36714 done
36716 else
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36719 $as_echo_n "checking for _fpclass declaration... " >&6; }
36720 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36721 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36722 $as_echo_n "(cached) " >&6
36723 else
36726 ac_ext=cpp
36727 ac_cpp='$CXXCPP $CPPFLAGS'
36728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36733 /* end confdefs.h. */
36734 #include <math.h>
36735 #ifdef HAVE_IEEEFP_H
36736 #include <ieeefp.h>
36737 #endif
36740 main ()
36742 _fpclass(0);
36744 return 0;
36746 _ACEOF
36747 if ac_fn_cxx_try_compile "$LINENO"; then :
36748 glibcxx_cv_func__fpclass_use=yes
36749 else
36750 glibcxx_cv_func__fpclass_use=no
36752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36753 ac_ext=c
36754 ac_cpp='$CPP $CPPFLAGS'
36755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36764 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36766 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36767 for ac_func in _fpclass
36768 do :
36769 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36770 if test "x$ac_cv_func__fpclass" = xyes; then :
36771 cat >>confdefs.h <<_ACEOF
36772 #define HAVE__FPCLASS 1
36773 _ACEOF
36776 done
36785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36786 $as_echo_n "checking for qfpclass declaration... " >&6; }
36787 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36788 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36789 $as_echo_n "(cached) " >&6
36790 else
36793 ac_ext=cpp
36794 ac_cpp='$CXXCPP $CPPFLAGS'
36795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36800 /* end confdefs.h. */
36801 #include <math.h>
36802 #ifdef HAVE_IEEEFP_H
36803 #include <ieeefp.h>
36804 #endif
36807 main ()
36809 qfpclass(0);
36811 return 0;
36813 _ACEOF
36814 if ac_fn_cxx_try_compile "$LINENO"; then :
36815 glibcxx_cv_func_qfpclass_use=yes
36816 else
36817 glibcxx_cv_func_qfpclass_use=no
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36831 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36833 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36834 for ac_func in qfpclass
36835 do :
36836 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36837 if test "x$ac_cv_func_qfpclass" = xyes; then :
36838 cat >>confdefs.h <<_ACEOF
36839 #define HAVE_QFPCLASS 1
36840 _ACEOF
36843 done
36845 else
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36848 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36849 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36850 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36851 $as_echo_n "(cached) " >&6
36852 else
36855 ac_ext=cpp
36856 ac_cpp='$CXXCPP $CPPFLAGS'
36857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36862 /* end confdefs.h. */
36863 #include <math.h>
36864 #ifdef HAVE_IEEEFP_H
36865 #include <ieeefp.h>
36866 #endif
36869 main ()
36871 _qfpclass(0);
36873 return 0;
36875 _ACEOF
36876 if ac_fn_cxx_try_compile "$LINENO"; then :
36877 glibcxx_cv_func__qfpclass_use=yes
36878 else
36879 glibcxx_cv_func__qfpclass_use=no
36881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36882 ac_ext=c
36883 ac_cpp='$CPP $CPPFLAGS'
36884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36893 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36895 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36896 for ac_func in _qfpclass
36897 do :
36898 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36899 if test "x$ac_cv_func__qfpclass" = xyes; then :
36900 cat >>confdefs.h <<_ACEOF
36901 #define HAVE__QFPCLASS 1
36902 _ACEOF
36905 done
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36915 $as_echo_n "checking for hypot declaration... " >&6; }
36916 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36917 if ${glibcxx_cv_func_hypot_use+:} false; then :
36918 $as_echo_n "(cached) " >&6
36919 else
36922 ac_ext=cpp
36923 ac_cpp='$CXXCPP $CPPFLAGS'
36924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36929 /* end confdefs.h. */
36930 #include <math.h>
36932 main ()
36934 hypot(0, 0);
36936 return 0;
36938 _ACEOF
36939 if ac_fn_cxx_try_compile "$LINENO"; then :
36940 glibcxx_cv_func_hypot_use=yes
36941 else
36942 glibcxx_cv_func_hypot_use=no
36944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945 ac_ext=c
36946 ac_cpp='$CPP $CPPFLAGS'
36947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36956 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36958 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36959 for ac_func in hypot
36960 do :
36961 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36962 if test "x$ac_cv_func_hypot" = xyes; then :
36963 cat >>confdefs.h <<_ACEOF
36964 #define HAVE_HYPOT 1
36965 _ACEOF
36968 done
36970 else
36972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36973 $as_echo_n "checking for _hypot declaration... " >&6; }
36974 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36975 if ${glibcxx_cv_func__hypot_use+:} false; then :
36976 $as_echo_n "(cached) " >&6
36977 else
36980 ac_ext=cpp
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36987 /* end confdefs.h. */
36988 #include <math.h>
36990 main ()
36992 _hypot(0, 0);
36994 return 0;
36996 _ACEOF
36997 if ac_fn_cxx_try_compile "$LINENO"; then :
36998 glibcxx_cv_func__hypot_use=yes
36999 else
37000 glibcxx_cv_func__hypot_use=no
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003 ac_ext=c
37004 ac_cpp='$CPP $CPPFLAGS'
37005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
37014 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
37016 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
37017 for ac_func in _hypot
37018 do :
37019 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
37020 if test "x$ac_cv_func__hypot" = xyes; then :
37021 cat >>confdefs.h <<_ACEOF
37022 #define HAVE__HYPOT 1
37023 _ACEOF
37026 done
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
37036 $as_echo_n "checking for float trig functions... " >&6; }
37037 if ${glibcxx_cv_func_float_trig_use+:} false; then :
37038 $as_echo_n "(cached) " >&6
37039 else
37042 ac_ext=cpp
37043 ac_cpp='$CXXCPP $CPPFLAGS'
37044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37049 /* end confdefs.h. */
37050 #include <math.h>
37052 main ()
37054 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
37056 return 0;
37058 _ACEOF
37059 if ac_fn_cxx_try_compile "$LINENO"; then :
37060 glibcxx_cv_func_float_trig_use=yes
37061 else
37062 glibcxx_cv_func_float_trig_use=no
37064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37065 ac_ext=c
37066 ac_cpp='$CPP $CPPFLAGS'
37067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
37074 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
37075 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
37076 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
37077 do :
37078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37080 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37083 _ACEOF
37086 done
37088 else
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
37090 $as_echo_n "checking for _float trig functions... " >&6; }
37091 if ${glibcxx_cv_func__float_trig_use+:} false; then :
37092 $as_echo_n "(cached) " >&6
37093 else
37096 ac_ext=cpp
37097 ac_cpp='$CXXCPP $CPPFLAGS'
37098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37103 /* end confdefs.h. */
37104 #include <math.h>
37106 main ()
37108 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
37110 return 0;
37112 _ACEOF
37113 if ac_fn_cxx_try_compile "$LINENO"; then :
37114 glibcxx_cv_func__float_trig_use=yes
37115 else
37116 glibcxx_cv_func__float_trig_use=no
37118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37119 ac_ext=c
37120 ac_cpp='$CPP $CPPFLAGS'
37121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
37128 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
37129 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37130 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37131 do :
37132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37135 cat >>confdefs.h <<_ACEOF
37136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37137 _ACEOF
37140 done
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37150 $as_echo_n "checking for float round functions... " >&6; }
37151 if ${glibcxx_cv_func_float_round_use+:} false; then :
37152 $as_echo_n "(cached) " >&6
37153 else
37156 ac_ext=cpp
37157 ac_cpp='$CXXCPP $CPPFLAGS'
37158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37163 /* end confdefs.h. */
37164 #include <math.h>
37166 main ()
37168 ceilf (0); floorf (0);
37170 return 0;
37172 _ACEOF
37173 if ac_fn_cxx_try_compile "$LINENO"; then :
37174 glibcxx_cv_func_float_round_use=yes
37175 else
37176 glibcxx_cv_func_float_round_use=no
37178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37179 ac_ext=c
37180 ac_cpp='$CPP $CPPFLAGS'
37181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37188 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37189 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37190 for ac_func in ceilf floorf
37191 do :
37192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37194 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37197 _ACEOF
37200 done
37202 else
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37204 $as_echo_n "checking for _float round functions... " >&6; }
37205 if ${glibcxx_cv_func__float_round_use+:} false; then :
37206 $as_echo_n "(cached) " >&6
37207 else
37210 ac_ext=cpp
37211 ac_cpp='$CXXCPP $CPPFLAGS'
37212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37217 /* end confdefs.h. */
37218 #include <math.h>
37220 main ()
37222 _ceilf (0); _floorf (0);
37224 return 0;
37226 _ACEOF
37227 if ac_fn_cxx_try_compile "$LINENO"; then :
37228 glibcxx_cv_func__float_round_use=yes
37229 else
37230 glibcxx_cv_func__float_round_use=no
37232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37233 ac_ext=c
37234 ac_cpp='$CPP $CPPFLAGS'
37235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37242 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37243 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37244 for ac_func in _ceilf _floorf
37245 do :
37246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37249 cat >>confdefs.h <<_ACEOF
37250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37251 _ACEOF
37254 done
37264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37265 $as_echo_n "checking for expf declaration... " >&6; }
37266 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37267 if ${glibcxx_cv_func_expf_use+:} false; then :
37268 $as_echo_n "(cached) " >&6
37269 else
37272 ac_ext=cpp
37273 ac_cpp='$CXXCPP $CPPFLAGS'
37274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37279 /* end confdefs.h. */
37280 #include <math.h>
37281 #ifdef HAVE_IEEEFP_H
37282 #include <ieeefp.h>
37283 #endif
37286 main ()
37288 expf(0);
37290 return 0;
37292 _ACEOF
37293 if ac_fn_cxx_try_compile "$LINENO"; then :
37294 glibcxx_cv_func_expf_use=yes
37295 else
37296 glibcxx_cv_func_expf_use=no
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299 ac_ext=c
37300 ac_cpp='$CPP $CPPFLAGS'
37301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37310 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37312 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37313 for ac_func in expf
37314 do :
37315 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37316 if test "x$ac_cv_func_expf" = xyes; then :
37317 cat >>confdefs.h <<_ACEOF
37318 #define HAVE_EXPF 1
37319 _ACEOF
37322 done
37324 else
37326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37327 $as_echo_n "checking for _expf declaration... " >&6; }
37328 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37329 if ${glibcxx_cv_func__expf_use+:} false; then :
37330 $as_echo_n "(cached) " >&6
37331 else
37334 ac_ext=cpp
37335 ac_cpp='$CXXCPP $CPPFLAGS'
37336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37341 /* end confdefs.h. */
37342 #include <math.h>
37343 #ifdef HAVE_IEEEFP_H
37344 #include <ieeefp.h>
37345 #endif
37348 main ()
37350 _expf(0);
37352 return 0;
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356 glibcxx_cv_func__expf_use=yes
37357 else
37358 glibcxx_cv_func__expf_use=no
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361 ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37372 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37374 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37375 for ac_func in _expf
37376 do :
37377 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37378 if test "x$ac_cv_func__expf" = xyes; then :
37379 cat >>confdefs.h <<_ACEOF
37380 #define HAVE__EXPF 1
37381 _ACEOF
37384 done
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37394 $as_echo_n "checking for isnanf declaration... " >&6; }
37395 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37396 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37397 $as_echo_n "(cached) " >&6
37398 else
37401 ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h. */
37409 #include <math.h>
37410 #ifdef HAVE_IEEEFP_H
37411 #include <ieeefp.h>
37412 #endif
37415 main ()
37417 isnanf(0);
37419 return 0;
37421 _ACEOF
37422 if ac_fn_cxx_try_compile "$LINENO"; then :
37423 glibcxx_cv_func_isnanf_use=yes
37424 else
37425 glibcxx_cv_func_isnanf_use=no
37427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37428 ac_ext=c
37429 ac_cpp='$CPP $CPPFLAGS'
37430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37439 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37441 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37442 for ac_func in isnanf
37443 do :
37444 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37445 if test "x$ac_cv_func_isnanf" = xyes; then :
37446 cat >>confdefs.h <<_ACEOF
37447 #define HAVE_ISNANF 1
37448 _ACEOF
37451 done
37453 else
37455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37456 $as_echo_n "checking for _isnanf declaration... " >&6; }
37457 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37458 if ${glibcxx_cv_func__isnanf_use+:} false; then :
37459 $as_echo_n "(cached) " >&6
37460 else
37463 ac_ext=cpp
37464 ac_cpp='$CXXCPP $CPPFLAGS'
37465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37470 /* end confdefs.h. */
37471 #include <math.h>
37472 #ifdef HAVE_IEEEFP_H
37473 #include <ieeefp.h>
37474 #endif
37477 main ()
37479 _isnanf(0);
37481 return 0;
37483 _ACEOF
37484 if ac_fn_cxx_try_compile "$LINENO"; then :
37485 glibcxx_cv_func__isnanf_use=yes
37486 else
37487 glibcxx_cv_func__isnanf_use=no
37489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37490 ac_ext=c
37491 ac_cpp='$CPP $CPPFLAGS'
37492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37501 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37503 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37504 for ac_func in _isnanf
37505 do :
37506 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37507 if test "x$ac_cv_func__isnanf" = xyes; then :
37508 cat >>confdefs.h <<_ACEOF
37509 #define HAVE__ISNANF 1
37510 _ACEOF
37513 done
37522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37523 $as_echo_n "checking for isinff declaration... " >&6; }
37524 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37525 if ${glibcxx_cv_func_isinff_use+:} false; then :
37526 $as_echo_n "(cached) " >&6
37527 else
37530 ac_ext=cpp
37531 ac_cpp='$CXXCPP $CPPFLAGS'
37532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37537 /* end confdefs.h. */
37538 #include <math.h>
37539 #ifdef HAVE_IEEEFP_H
37540 #include <ieeefp.h>
37541 #endif
37544 main ()
37546 isinff(0);
37548 return 0;
37550 _ACEOF
37551 if ac_fn_cxx_try_compile "$LINENO"; then :
37552 glibcxx_cv_func_isinff_use=yes
37553 else
37554 glibcxx_cv_func_isinff_use=no
37556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37557 ac_ext=c
37558 ac_cpp='$CPP $CPPFLAGS'
37559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37568 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37570 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37571 for ac_func in isinff
37572 do :
37573 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37574 if test "x$ac_cv_func_isinff" = xyes; then :
37575 cat >>confdefs.h <<_ACEOF
37576 #define HAVE_ISINFF 1
37577 _ACEOF
37580 done
37582 else
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37585 $as_echo_n "checking for _isinff declaration... " >&6; }
37586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37587 if ${glibcxx_cv_func__isinff_use+:} false; then :
37588 $as_echo_n "(cached) " >&6
37589 else
37592 ac_ext=cpp
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37599 /* end confdefs.h. */
37600 #include <math.h>
37601 #ifdef HAVE_IEEEFP_H
37602 #include <ieeefp.h>
37603 #endif
37606 main ()
37608 _isinff(0);
37610 return 0;
37612 _ACEOF
37613 if ac_fn_cxx_try_compile "$LINENO"; then :
37614 glibcxx_cv_func__isinff_use=yes
37615 else
37616 glibcxx_cv_func__isinff_use=no
37618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37619 ac_ext=c
37620 ac_cpp='$CPP $CPPFLAGS'
37621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37630 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37632 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37633 for ac_func in _isinff
37634 do :
37635 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37636 if test "x$ac_cv_func__isinff" = xyes; then :
37637 cat >>confdefs.h <<_ACEOF
37638 #define HAVE__ISINFF 1
37639 _ACEOF
37642 done
37651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37652 $as_echo_n "checking for atan2f declaration... " >&6; }
37653 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37654 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37655 $as_echo_n "(cached) " >&6
37656 else
37659 ac_ext=cpp
37660 ac_cpp='$CXXCPP $CPPFLAGS'
37661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37666 /* end confdefs.h. */
37667 #include <math.h>
37669 main ()
37671 atan2f(0, 0);
37673 return 0;
37675 _ACEOF
37676 if ac_fn_cxx_try_compile "$LINENO"; then :
37677 glibcxx_cv_func_atan2f_use=yes
37678 else
37679 glibcxx_cv_func_atan2f_use=no
37681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37682 ac_ext=c
37683 ac_cpp='$CPP $CPPFLAGS'
37684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37693 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37695 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37696 for ac_func in atan2f
37697 do :
37698 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37699 if test "x$ac_cv_func_atan2f" = xyes; then :
37700 cat >>confdefs.h <<_ACEOF
37701 #define HAVE_ATAN2F 1
37702 _ACEOF
37705 done
37707 else
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37710 $as_echo_n "checking for _atan2f declaration... " >&6; }
37711 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37712 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37713 $as_echo_n "(cached) " >&6
37714 else
37717 ac_ext=cpp
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37724 /* end confdefs.h. */
37725 #include <math.h>
37727 main ()
37729 _atan2f(0, 0);
37731 return 0;
37733 _ACEOF
37734 if ac_fn_cxx_try_compile "$LINENO"; then :
37735 glibcxx_cv_func__atan2f_use=yes
37736 else
37737 glibcxx_cv_func__atan2f_use=no
37739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37740 ac_ext=c
37741 ac_cpp='$CPP $CPPFLAGS'
37742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37751 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37753 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37754 for ac_func in _atan2f
37755 do :
37756 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37757 if test "x$ac_cv_func__atan2f" = xyes; then :
37758 cat >>confdefs.h <<_ACEOF
37759 #define HAVE__ATAN2F 1
37760 _ACEOF
37763 done
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37773 $as_echo_n "checking for fabsf declaration... " >&6; }
37774 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37775 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37776 $as_echo_n "(cached) " >&6
37777 else
37780 ac_ext=cpp
37781 ac_cpp='$CXXCPP $CPPFLAGS'
37782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37787 /* end confdefs.h. */
37788 #include <math.h>
37789 #ifdef HAVE_IEEEFP_H
37790 #include <ieeefp.h>
37791 #endif
37794 main ()
37796 fabsf(0);
37798 return 0;
37800 _ACEOF
37801 if ac_fn_cxx_try_compile "$LINENO"; then :
37802 glibcxx_cv_func_fabsf_use=yes
37803 else
37804 glibcxx_cv_func_fabsf_use=no
37806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37807 ac_ext=c
37808 ac_cpp='$CPP $CPPFLAGS'
37809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37818 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37820 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37821 for ac_func in fabsf
37822 do :
37823 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37824 if test "x$ac_cv_func_fabsf" = xyes; then :
37825 cat >>confdefs.h <<_ACEOF
37826 #define HAVE_FABSF 1
37827 _ACEOF
37830 done
37832 else
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37835 $as_echo_n "checking for _fabsf declaration... " >&6; }
37836 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37837 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37838 $as_echo_n "(cached) " >&6
37839 else
37842 ac_ext=cpp
37843 ac_cpp='$CXXCPP $CPPFLAGS'
37844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37849 /* end confdefs.h. */
37850 #include <math.h>
37851 #ifdef HAVE_IEEEFP_H
37852 #include <ieeefp.h>
37853 #endif
37856 main ()
37858 _fabsf(0);
37860 return 0;
37862 _ACEOF
37863 if ac_fn_cxx_try_compile "$LINENO"; then :
37864 glibcxx_cv_func__fabsf_use=yes
37865 else
37866 glibcxx_cv_func__fabsf_use=no
37868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37869 ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37880 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37882 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37883 for ac_func in _fabsf
37884 do :
37885 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37886 if test "x$ac_cv_func__fabsf" = xyes; then :
37887 cat >>confdefs.h <<_ACEOF
37888 #define HAVE__FABSF 1
37889 _ACEOF
37892 done
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37902 $as_echo_n "checking for fmodf declaration... " >&6; }
37903 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37904 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37905 $as_echo_n "(cached) " >&6
37906 else
37909 ac_ext=cpp
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37916 /* end confdefs.h. */
37917 #include <math.h>
37919 main ()
37921 fmodf(0, 0);
37923 return 0;
37925 _ACEOF
37926 if ac_fn_cxx_try_compile "$LINENO"; then :
37927 glibcxx_cv_func_fmodf_use=yes
37928 else
37929 glibcxx_cv_func_fmodf_use=no
37931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37932 ac_ext=c
37933 ac_cpp='$CPP $CPPFLAGS'
37934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37943 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37945 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37946 for ac_func in fmodf
37947 do :
37948 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37949 if test "x$ac_cv_func_fmodf" = xyes; then :
37950 cat >>confdefs.h <<_ACEOF
37951 #define HAVE_FMODF 1
37952 _ACEOF
37955 done
37957 else
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37960 $as_echo_n "checking for _fmodf declaration... " >&6; }
37961 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37962 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37963 $as_echo_n "(cached) " >&6
37964 else
37967 ac_ext=cpp
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <math.h>
37977 main ()
37979 _fmodf(0, 0);
37981 return 0;
37983 _ACEOF
37984 if ac_fn_cxx_try_compile "$LINENO"; then :
37985 glibcxx_cv_func__fmodf_use=yes
37986 else
37987 glibcxx_cv_func__fmodf_use=no
37989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37990 ac_ext=c
37991 ac_cpp='$CPP $CPPFLAGS'
37992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
38001 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
38003 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38004 for ac_func in _fmodf
38005 do :
38006 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
38007 if test "x$ac_cv_func__fmodf" = xyes; then :
38008 cat >>confdefs.h <<_ACEOF
38009 #define HAVE__FMODF 1
38010 _ACEOF
38013 done
38022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
38023 $as_echo_n "checking for frexpf declaration... " >&6; }
38024 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38025 if ${glibcxx_cv_func_frexpf_use+:} false; then :
38026 $as_echo_n "(cached) " >&6
38027 else
38030 ac_ext=cpp
38031 ac_cpp='$CXXCPP $CPPFLAGS'
38032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38037 /* end confdefs.h. */
38038 #include <math.h>
38040 main ()
38042 frexpf(0, 0);
38044 return 0;
38046 _ACEOF
38047 if ac_fn_cxx_try_compile "$LINENO"; then :
38048 glibcxx_cv_func_frexpf_use=yes
38049 else
38050 glibcxx_cv_func_frexpf_use=no
38052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38053 ac_ext=c
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
38064 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
38066 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38067 for ac_func in frexpf
38068 do :
38069 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
38070 if test "x$ac_cv_func_frexpf" = xyes; then :
38071 cat >>confdefs.h <<_ACEOF
38072 #define HAVE_FREXPF 1
38073 _ACEOF
38076 done
38078 else
38080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
38081 $as_echo_n "checking for _frexpf declaration... " >&6; }
38082 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38083 if ${glibcxx_cv_func__frexpf_use+:} false; then :
38084 $as_echo_n "(cached) " >&6
38085 else
38088 ac_ext=cpp
38089 ac_cpp='$CXXCPP $CPPFLAGS'
38090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38095 /* end confdefs.h. */
38096 #include <math.h>
38098 main ()
38100 _frexpf(0, 0);
38102 return 0;
38104 _ACEOF
38105 if ac_fn_cxx_try_compile "$LINENO"; then :
38106 glibcxx_cv_func__frexpf_use=yes
38107 else
38108 glibcxx_cv_func__frexpf_use=no
38110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38111 ac_ext=c
38112 ac_cpp='$CPP $CPPFLAGS'
38113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
38122 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
38124 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38125 for ac_func in _frexpf
38126 do :
38127 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
38128 if test "x$ac_cv_func__frexpf" = xyes; then :
38129 cat >>confdefs.h <<_ACEOF
38130 #define HAVE__FREXPF 1
38131 _ACEOF
38134 done
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38144 $as_echo_n "checking for hypotf declaration... " >&6; }
38145 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38146 if ${glibcxx_cv_func_hypotf_use+:} false; then :
38147 $as_echo_n "(cached) " >&6
38148 else
38151 ac_ext=cpp
38152 ac_cpp='$CXXCPP $CPPFLAGS'
38153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38158 /* end confdefs.h. */
38159 #include <math.h>
38161 main ()
38163 hypotf(0, 0);
38165 return 0;
38167 _ACEOF
38168 if ac_fn_cxx_try_compile "$LINENO"; then :
38169 glibcxx_cv_func_hypotf_use=yes
38170 else
38171 glibcxx_cv_func_hypotf_use=no
38173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38174 ac_ext=c
38175 ac_cpp='$CPP $CPPFLAGS'
38176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38185 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38187 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38188 for ac_func in hypotf
38189 do :
38190 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38191 if test "x$ac_cv_func_hypotf" = xyes; then :
38192 cat >>confdefs.h <<_ACEOF
38193 #define HAVE_HYPOTF 1
38194 _ACEOF
38197 done
38199 else
38201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38202 $as_echo_n "checking for _hypotf declaration... " >&6; }
38203 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38204 if ${glibcxx_cv_func__hypotf_use+:} false; then :
38205 $as_echo_n "(cached) " >&6
38206 else
38209 ac_ext=cpp
38210 ac_cpp='$CXXCPP $CPPFLAGS'
38211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38216 /* end confdefs.h. */
38217 #include <math.h>
38219 main ()
38221 _hypotf(0, 0);
38223 return 0;
38225 _ACEOF
38226 if ac_fn_cxx_try_compile "$LINENO"; then :
38227 glibcxx_cv_func__hypotf_use=yes
38228 else
38229 glibcxx_cv_func__hypotf_use=no
38231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38232 ac_ext=c
38233 ac_cpp='$CPP $CPPFLAGS'
38234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38243 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38246 for ac_func in _hypotf
38247 do :
38248 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38249 if test "x$ac_cv_func__hypotf" = xyes; then :
38250 cat >>confdefs.h <<_ACEOF
38251 #define HAVE__HYPOTF 1
38252 _ACEOF
38255 done
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38265 $as_echo_n "checking for ldexpf declaration... " >&6; }
38266 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38267 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38268 $as_echo_n "(cached) " >&6
38269 else
38272 ac_ext=cpp
38273 ac_cpp='$CXXCPP $CPPFLAGS'
38274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38279 /* end confdefs.h. */
38280 #include <math.h>
38282 main ()
38284 ldexpf(0, 0);
38286 return 0;
38288 _ACEOF
38289 if ac_fn_cxx_try_compile "$LINENO"; then :
38290 glibcxx_cv_func_ldexpf_use=yes
38291 else
38292 glibcxx_cv_func_ldexpf_use=no
38294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38295 ac_ext=c
38296 ac_cpp='$CPP $CPPFLAGS'
38297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38306 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38308 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38309 for ac_func in ldexpf
38310 do :
38311 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38312 if test "x$ac_cv_func_ldexpf" = xyes; then :
38313 cat >>confdefs.h <<_ACEOF
38314 #define HAVE_LDEXPF 1
38315 _ACEOF
38318 done
38320 else
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38323 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38324 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38325 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38326 $as_echo_n "(cached) " >&6
38327 else
38330 ac_ext=cpp
38331 ac_cpp='$CXXCPP $CPPFLAGS'
38332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38337 /* end confdefs.h. */
38338 #include <math.h>
38340 main ()
38342 _ldexpf(0, 0);
38344 return 0;
38346 _ACEOF
38347 if ac_fn_cxx_try_compile "$LINENO"; then :
38348 glibcxx_cv_func__ldexpf_use=yes
38349 else
38350 glibcxx_cv_func__ldexpf_use=no
38352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38353 ac_ext=c
38354 ac_cpp='$CPP $CPPFLAGS'
38355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38364 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38366 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38367 for ac_func in _ldexpf
38368 do :
38369 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38370 if test "x$ac_cv_func__ldexpf" = xyes; then :
38371 cat >>confdefs.h <<_ACEOF
38372 #define HAVE__LDEXPF 1
38373 _ACEOF
38376 done
38385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38386 $as_echo_n "checking for logf declaration... " >&6; }
38387 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38388 if ${glibcxx_cv_func_logf_use+:} false; then :
38389 $as_echo_n "(cached) " >&6
38390 else
38393 ac_ext=cpp
38394 ac_cpp='$CXXCPP $CPPFLAGS'
38395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38400 /* end confdefs.h. */
38401 #include <math.h>
38402 #ifdef HAVE_IEEEFP_H
38403 #include <ieeefp.h>
38404 #endif
38407 main ()
38409 logf(0);
38411 return 0;
38413 _ACEOF
38414 if ac_fn_cxx_try_compile "$LINENO"; then :
38415 glibcxx_cv_func_logf_use=yes
38416 else
38417 glibcxx_cv_func_logf_use=no
38419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38420 ac_ext=c
38421 ac_cpp='$CPP $CPPFLAGS'
38422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38431 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38433 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38434 for ac_func in logf
38435 do :
38436 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38437 if test "x$ac_cv_func_logf" = xyes; then :
38438 cat >>confdefs.h <<_ACEOF
38439 #define HAVE_LOGF 1
38440 _ACEOF
38443 done
38445 else
38447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38448 $as_echo_n "checking for _logf declaration... " >&6; }
38449 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38450 if ${glibcxx_cv_func__logf_use+:} false; then :
38451 $as_echo_n "(cached) " >&6
38452 else
38455 ac_ext=cpp
38456 ac_cpp='$CXXCPP $CPPFLAGS'
38457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38462 /* end confdefs.h. */
38463 #include <math.h>
38464 #ifdef HAVE_IEEEFP_H
38465 #include <ieeefp.h>
38466 #endif
38469 main ()
38471 _logf(0);
38473 return 0;
38475 _ACEOF
38476 if ac_fn_cxx_try_compile "$LINENO"; then :
38477 glibcxx_cv_func__logf_use=yes
38478 else
38479 glibcxx_cv_func__logf_use=no
38481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38482 ac_ext=c
38483 ac_cpp='$CPP $CPPFLAGS'
38484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38493 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38495 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38496 for ac_func in _logf
38497 do :
38498 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38499 if test "x$ac_cv_func__logf" = xyes; then :
38500 cat >>confdefs.h <<_ACEOF
38501 #define HAVE__LOGF 1
38502 _ACEOF
38505 done
38514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38515 $as_echo_n "checking for log10f declaration... " >&6; }
38516 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38517 if ${glibcxx_cv_func_log10f_use+:} false; then :
38518 $as_echo_n "(cached) " >&6
38519 else
38522 ac_ext=cpp
38523 ac_cpp='$CXXCPP $CPPFLAGS'
38524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38529 /* end confdefs.h. */
38530 #include <math.h>
38531 #ifdef HAVE_IEEEFP_H
38532 #include <ieeefp.h>
38533 #endif
38536 main ()
38538 log10f(0);
38540 return 0;
38542 _ACEOF
38543 if ac_fn_cxx_try_compile "$LINENO"; then :
38544 glibcxx_cv_func_log10f_use=yes
38545 else
38546 glibcxx_cv_func_log10f_use=no
38548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38549 ac_ext=c
38550 ac_cpp='$CPP $CPPFLAGS'
38551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38560 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38562 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38563 for ac_func in log10f
38564 do :
38565 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38566 if test "x$ac_cv_func_log10f" = xyes; then :
38567 cat >>confdefs.h <<_ACEOF
38568 #define HAVE_LOG10F 1
38569 _ACEOF
38572 done
38574 else
38576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38577 $as_echo_n "checking for _log10f declaration... " >&6; }
38578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38579 if ${glibcxx_cv_func__log10f_use+:} false; then :
38580 $as_echo_n "(cached) " >&6
38581 else
38584 ac_ext=cpp
38585 ac_cpp='$CXXCPP $CPPFLAGS'
38586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38591 /* end confdefs.h. */
38592 #include <math.h>
38593 #ifdef HAVE_IEEEFP_H
38594 #include <ieeefp.h>
38595 #endif
38598 main ()
38600 _log10f(0);
38602 return 0;
38604 _ACEOF
38605 if ac_fn_cxx_try_compile "$LINENO"; then :
38606 glibcxx_cv_func__log10f_use=yes
38607 else
38608 glibcxx_cv_func__log10f_use=no
38610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38611 ac_ext=c
38612 ac_cpp='$CPP $CPPFLAGS'
38613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38622 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38624 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38625 for ac_func in _log10f
38626 do :
38627 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38628 if test "x$ac_cv_func__log10f" = xyes; then :
38629 cat >>confdefs.h <<_ACEOF
38630 #define HAVE__LOG10F 1
38631 _ACEOF
38634 done
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38644 $as_echo_n "checking for modff declaration... " >&6; }
38645 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38646 if ${glibcxx_cv_func_modff_use+:} false; then :
38647 $as_echo_n "(cached) " >&6
38648 else
38651 ac_ext=cpp
38652 ac_cpp='$CXXCPP $CPPFLAGS'
38653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38658 /* end confdefs.h. */
38659 #include <math.h>
38661 main ()
38663 modff(0, 0);
38665 return 0;
38667 _ACEOF
38668 if ac_fn_cxx_try_compile "$LINENO"; then :
38669 glibcxx_cv_func_modff_use=yes
38670 else
38671 glibcxx_cv_func_modff_use=no
38673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38674 ac_ext=c
38675 ac_cpp='$CPP $CPPFLAGS'
38676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38685 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38687 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38688 for ac_func in modff
38689 do :
38690 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38691 if test "x$ac_cv_func_modff" = xyes; then :
38692 cat >>confdefs.h <<_ACEOF
38693 #define HAVE_MODFF 1
38694 _ACEOF
38697 done
38699 else
38701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38702 $as_echo_n "checking for _modff declaration... " >&6; }
38703 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38704 if ${glibcxx_cv_func__modff_use+:} false; then :
38705 $as_echo_n "(cached) " >&6
38706 else
38709 ac_ext=cpp
38710 ac_cpp='$CXXCPP $CPPFLAGS'
38711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38716 /* end confdefs.h. */
38717 #include <math.h>
38719 main ()
38721 _modff(0, 0);
38723 return 0;
38725 _ACEOF
38726 if ac_fn_cxx_try_compile "$LINENO"; then :
38727 glibcxx_cv_func__modff_use=yes
38728 else
38729 glibcxx_cv_func__modff_use=no
38731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38732 ac_ext=c
38733 ac_cpp='$CPP $CPPFLAGS'
38734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38743 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38745 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38746 for ac_func in _modff
38747 do :
38748 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38749 if test "x$ac_cv_func__modff" = xyes; then :
38750 cat >>confdefs.h <<_ACEOF
38751 #define HAVE__MODFF 1
38752 _ACEOF
38755 done
38764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38765 $as_echo_n "checking for modf declaration... " >&6; }
38766 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38767 if ${glibcxx_cv_func_modf_use+:} false; then :
38768 $as_echo_n "(cached) " >&6
38769 else
38772 ac_ext=cpp
38773 ac_cpp='$CXXCPP $CPPFLAGS'
38774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38779 /* end confdefs.h. */
38780 #include <math.h>
38782 main ()
38784 modf(0, 0);
38786 return 0;
38788 _ACEOF
38789 if ac_fn_cxx_try_compile "$LINENO"; then :
38790 glibcxx_cv_func_modf_use=yes
38791 else
38792 glibcxx_cv_func_modf_use=no
38794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38795 ac_ext=c
38796 ac_cpp='$CPP $CPPFLAGS'
38797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38806 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38808 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38809 for ac_func in modf
38810 do :
38811 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38812 if test "x$ac_cv_func_modf" = xyes; then :
38813 cat >>confdefs.h <<_ACEOF
38814 #define HAVE_MODF 1
38815 _ACEOF
38818 done
38820 else
38822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38823 $as_echo_n "checking for _modf declaration... " >&6; }
38824 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38825 if ${glibcxx_cv_func__modf_use+:} false; then :
38826 $as_echo_n "(cached) " >&6
38827 else
38830 ac_ext=cpp
38831 ac_cpp='$CXXCPP $CPPFLAGS'
38832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38837 /* end confdefs.h. */
38838 #include <math.h>
38840 main ()
38842 _modf(0, 0);
38844 return 0;
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848 glibcxx_cv_func__modf_use=yes
38849 else
38850 glibcxx_cv_func__modf_use=no
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853 ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38864 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38866 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38867 for ac_func in _modf
38868 do :
38869 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38870 if test "x$ac_cv_func__modf" = xyes; then :
38871 cat >>confdefs.h <<_ACEOF
38872 #define HAVE__MODF 1
38873 _ACEOF
38876 done
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38886 $as_echo_n "checking for powf declaration... " >&6; }
38887 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38888 if ${glibcxx_cv_func_powf_use+:} false; then :
38889 $as_echo_n "(cached) " >&6
38890 else
38893 ac_ext=cpp
38894 ac_cpp='$CXXCPP $CPPFLAGS'
38895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38900 /* end confdefs.h. */
38901 #include <math.h>
38903 main ()
38905 powf(0, 0);
38907 return 0;
38909 _ACEOF
38910 if ac_fn_cxx_try_compile "$LINENO"; then :
38911 glibcxx_cv_func_powf_use=yes
38912 else
38913 glibcxx_cv_func_powf_use=no
38915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38916 ac_ext=c
38917 ac_cpp='$CPP $CPPFLAGS'
38918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38927 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38929 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38930 for ac_func in powf
38931 do :
38932 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38933 if test "x$ac_cv_func_powf" = xyes; then :
38934 cat >>confdefs.h <<_ACEOF
38935 #define HAVE_POWF 1
38936 _ACEOF
38939 done
38941 else
38943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38944 $as_echo_n "checking for _powf declaration... " >&6; }
38945 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38946 if ${glibcxx_cv_func__powf_use+:} false; then :
38947 $as_echo_n "(cached) " >&6
38948 else
38951 ac_ext=cpp
38952 ac_cpp='$CXXCPP $CPPFLAGS'
38953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38958 /* end confdefs.h. */
38959 #include <math.h>
38961 main ()
38963 _powf(0, 0);
38965 return 0;
38967 _ACEOF
38968 if ac_fn_cxx_try_compile "$LINENO"; then :
38969 glibcxx_cv_func__powf_use=yes
38970 else
38971 glibcxx_cv_func__powf_use=no
38973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38974 ac_ext=c
38975 ac_cpp='$CPP $CPPFLAGS'
38976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38985 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38987 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38988 for ac_func in _powf
38989 do :
38990 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38991 if test "x$ac_cv_func__powf" = xyes; then :
38992 cat >>confdefs.h <<_ACEOF
38993 #define HAVE__POWF 1
38994 _ACEOF
38997 done
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
39007 $as_echo_n "checking for sqrtf declaration... " >&6; }
39008 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39009 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
39010 $as_echo_n "(cached) " >&6
39011 else
39014 ac_ext=cpp
39015 ac_cpp='$CXXCPP $CPPFLAGS'
39016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39021 /* end confdefs.h. */
39022 #include <math.h>
39023 #ifdef HAVE_IEEEFP_H
39024 #include <ieeefp.h>
39025 #endif
39028 main ()
39030 sqrtf(0);
39032 return 0;
39034 _ACEOF
39035 if ac_fn_cxx_try_compile "$LINENO"; then :
39036 glibcxx_cv_func_sqrtf_use=yes
39037 else
39038 glibcxx_cv_func_sqrtf_use=no
39040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39041 ac_ext=c
39042 ac_cpp='$CPP $CPPFLAGS'
39043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
39052 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
39054 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39055 for ac_func in sqrtf
39056 do :
39057 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
39058 if test "x$ac_cv_func_sqrtf" = xyes; then :
39059 cat >>confdefs.h <<_ACEOF
39060 #define HAVE_SQRTF 1
39061 _ACEOF
39064 done
39066 else
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
39069 $as_echo_n "checking for _sqrtf declaration... " >&6; }
39070 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39071 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
39072 $as_echo_n "(cached) " >&6
39073 else
39076 ac_ext=cpp
39077 ac_cpp='$CXXCPP $CPPFLAGS'
39078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39083 /* end confdefs.h. */
39084 #include <math.h>
39085 #ifdef HAVE_IEEEFP_H
39086 #include <ieeefp.h>
39087 #endif
39090 main ()
39092 _sqrtf(0);
39094 return 0;
39096 _ACEOF
39097 if ac_fn_cxx_try_compile "$LINENO"; then :
39098 glibcxx_cv_func__sqrtf_use=yes
39099 else
39100 glibcxx_cv_func__sqrtf_use=no
39102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39103 ac_ext=c
39104 ac_cpp='$CPP $CPPFLAGS'
39105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
39114 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
39116 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39117 for ac_func in _sqrtf
39118 do :
39119 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
39120 if test "x$ac_cv_func__sqrtf" = xyes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define HAVE__SQRTF 1
39123 _ACEOF
39126 done
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39136 $as_echo_n "checking for sincosf declaration... " >&6; }
39137 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39138 if ${glibcxx_cv_func_sincosf_use+:} false; then :
39139 $as_echo_n "(cached) " >&6
39140 else
39143 ac_ext=cpp
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39150 /* end confdefs.h. */
39151 #include <math.h>
39153 main ()
39155 sincosf(0, 0, 0);
39157 return 0;
39159 _ACEOF
39160 if ac_fn_cxx_try_compile "$LINENO"; then :
39161 glibcxx_cv_func_sincosf_use=yes
39162 else
39163 glibcxx_cv_func_sincosf_use=no
39165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39166 ac_ext=c
39167 ac_cpp='$CPP $CPPFLAGS'
39168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39177 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39179 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39180 for ac_func in sincosf
39181 do :
39182 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39183 if test "x$ac_cv_func_sincosf" = xyes; then :
39184 cat >>confdefs.h <<_ACEOF
39185 #define HAVE_SINCOSF 1
39186 _ACEOF
39189 done
39191 else
39193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39194 $as_echo_n "checking for _sincosf declaration... " >&6; }
39195 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39196 if ${glibcxx_cv_func__sincosf_use+:} false; then :
39197 $as_echo_n "(cached) " >&6
39198 else
39201 ac_ext=cpp
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h. */
39209 #include <math.h>
39211 main ()
39213 _sincosf(0, 0, 0);
39215 return 0;
39217 _ACEOF
39218 if ac_fn_cxx_try_compile "$LINENO"; then :
39219 glibcxx_cv_func__sincosf_use=yes
39220 else
39221 glibcxx_cv_func__sincosf_use=no
39223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39224 ac_ext=c
39225 ac_cpp='$CPP $CPPFLAGS'
39226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39235 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39237 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39238 for ac_func in _sincosf
39239 do :
39240 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39241 if test "x$ac_cv_func__sincosf" = xyes; then :
39242 cat >>confdefs.h <<_ACEOF
39243 #define HAVE__SINCOSF 1
39244 _ACEOF
39247 done
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39257 $as_echo_n "checking for finitef declaration... " >&6; }
39258 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39259 if ${glibcxx_cv_func_finitef_use+:} false; then :
39260 $as_echo_n "(cached) " >&6
39261 else
39264 ac_ext=cpp
39265 ac_cpp='$CXXCPP $CPPFLAGS'
39266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39271 /* end confdefs.h. */
39272 #include <math.h>
39273 #ifdef HAVE_IEEEFP_H
39274 #include <ieeefp.h>
39275 #endif
39278 main ()
39280 finitef(0);
39282 return 0;
39284 _ACEOF
39285 if ac_fn_cxx_try_compile "$LINENO"; then :
39286 glibcxx_cv_func_finitef_use=yes
39287 else
39288 glibcxx_cv_func_finitef_use=no
39290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39291 ac_ext=c
39292 ac_cpp='$CPP $CPPFLAGS'
39293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39302 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39304 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39305 for ac_func in finitef
39306 do :
39307 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39308 if test "x$ac_cv_func_finitef" = xyes; then :
39309 cat >>confdefs.h <<_ACEOF
39310 #define HAVE_FINITEF 1
39311 _ACEOF
39314 done
39316 else
39318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39319 $as_echo_n "checking for _finitef declaration... " >&6; }
39320 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39321 if ${glibcxx_cv_func__finitef_use+:} false; then :
39322 $as_echo_n "(cached) " >&6
39323 else
39326 ac_ext=cpp
39327 ac_cpp='$CXXCPP $CPPFLAGS'
39328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39333 /* end confdefs.h. */
39334 #include <math.h>
39335 #ifdef HAVE_IEEEFP_H
39336 #include <ieeefp.h>
39337 #endif
39340 main ()
39342 _finitef(0);
39344 return 0;
39346 _ACEOF
39347 if ac_fn_cxx_try_compile "$LINENO"; then :
39348 glibcxx_cv_func__finitef_use=yes
39349 else
39350 glibcxx_cv_func__finitef_use=no
39352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 ac_ext=c
39354 ac_cpp='$CPP $CPPFLAGS'
39355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39364 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39366 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39367 for ac_func in _finitef
39368 do :
39369 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39370 if test "x$ac_cv_func__finitef" = xyes; then :
39371 cat >>confdefs.h <<_ACEOF
39372 #define HAVE__FINITEF 1
39373 _ACEOF
39376 done
39385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39386 $as_echo_n "checking for long double trig functions... " >&6; }
39387 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39388 $as_echo_n "(cached) " >&6
39389 else
39392 ac_ext=cpp
39393 ac_cpp='$CXXCPP $CPPFLAGS'
39394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39399 /* end confdefs.h. */
39400 #include <math.h>
39402 main ()
39404 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39406 return 0;
39408 _ACEOF
39409 if ac_fn_cxx_try_compile "$LINENO"; then :
39410 glibcxx_cv_func_long_double_trig_use=yes
39411 else
39412 glibcxx_cv_func_long_double_trig_use=no
39414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39415 ac_ext=c
39416 ac_cpp='$CPP $CPPFLAGS'
39417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39424 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39425 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39426 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39427 do :
39428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39431 cat >>confdefs.h <<_ACEOF
39432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39433 _ACEOF
39436 done
39438 else
39439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39440 $as_echo_n "checking for _long double trig functions... " >&6; }
39441 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39442 $as_echo_n "(cached) " >&6
39443 else
39446 ac_ext=cpp
39447 ac_cpp='$CXXCPP $CPPFLAGS'
39448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39453 /* end confdefs.h. */
39454 #include <math.h>
39456 main ()
39458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39460 return 0;
39462 _ACEOF
39463 if ac_fn_cxx_try_compile "$LINENO"; then :
39464 glibcxx_cv_func__long_double_trig_use=yes
39465 else
39466 glibcxx_cv_func__long_double_trig_use=no
39468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39469 ac_ext=c
39470 ac_cpp='$CPP $CPPFLAGS'
39471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39481 do :
39482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39484 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39485 cat >>confdefs.h <<_ACEOF
39486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39487 _ACEOF
39490 done
39499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39500 $as_echo_n "checking for long double round functions... " >&6; }
39501 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39502 $as_echo_n "(cached) " >&6
39503 else
39506 ac_ext=cpp
39507 ac_cpp='$CXXCPP $CPPFLAGS'
39508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39513 /* end confdefs.h. */
39514 #include <math.h>
39516 main ()
39518 ceill (0); floorl (0);
39520 return 0;
39522 _ACEOF
39523 if ac_fn_cxx_try_compile "$LINENO"; then :
39524 glibcxx_cv_func_long_double_round_use=yes
39525 else
39526 glibcxx_cv_func_long_double_round_use=no
39528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39529 ac_ext=c
39530 ac_cpp='$CPP $CPPFLAGS'
39531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39538 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39539 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39540 for ac_func in ceill floorl
39541 do :
39542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39545 cat >>confdefs.h <<_ACEOF
39546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39547 _ACEOF
39550 done
39552 else
39553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39554 $as_echo_n "checking for _long double round functions... " >&6; }
39555 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39556 $as_echo_n "(cached) " >&6
39557 else
39560 ac_ext=cpp
39561 ac_cpp='$CXXCPP $CPPFLAGS'
39562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39567 /* end confdefs.h. */
39568 #include <math.h>
39570 main ()
39572 _ceill (0); _floorl (0);
39574 return 0;
39576 _ACEOF
39577 if ac_fn_cxx_try_compile "$LINENO"; then :
39578 glibcxx_cv_func__long_double_round_use=yes
39579 else
39580 glibcxx_cv_func__long_double_round_use=no
39582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39583 ac_ext=c
39584 ac_cpp='$CPP $CPPFLAGS'
39585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39592 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39593 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39594 for ac_func in _ceill _floorl
39595 do :
39596 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39597 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39598 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39599 cat >>confdefs.h <<_ACEOF
39600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39601 _ACEOF
39604 done
39614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39615 $as_echo_n "checking for isnanl declaration... " >&6; }
39616 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39617 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39618 $as_echo_n "(cached) " >&6
39619 else
39622 ac_ext=cpp
39623 ac_cpp='$CXXCPP $CPPFLAGS'
39624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39629 /* end confdefs.h. */
39630 #include <math.h>
39631 #ifdef HAVE_IEEEFP_H
39632 #include <ieeefp.h>
39633 #endif
39636 main ()
39638 isnanl(0);
39640 return 0;
39642 _ACEOF
39643 if ac_fn_cxx_try_compile "$LINENO"; then :
39644 glibcxx_cv_func_isnanl_use=yes
39645 else
39646 glibcxx_cv_func_isnanl_use=no
39648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39649 ac_ext=c
39650 ac_cpp='$CPP $CPPFLAGS'
39651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39660 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39662 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39663 for ac_func in isnanl
39664 do :
39665 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39666 if test "x$ac_cv_func_isnanl" = xyes; then :
39667 cat >>confdefs.h <<_ACEOF
39668 #define HAVE_ISNANL 1
39669 _ACEOF
39672 done
39674 else
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39677 $as_echo_n "checking for _isnanl declaration... " >&6; }
39678 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39679 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39680 $as_echo_n "(cached) " >&6
39681 else
39684 ac_ext=cpp
39685 ac_cpp='$CXXCPP $CPPFLAGS'
39686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39691 /* end confdefs.h. */
39692 #include <math.h>
39693 #ifdef HAVE_IEEEFP_H
39694 #include <ieeefp.h>
39695 #endif
39698 main ()
39700 _isnanl(0);
39702 return 0;
39704 _ACEOF
39705 if ac_fn_cxx_try_compile "$LINENO"; then :
39706 glibcxx_cv_func__isnanl_use=yes
39707 else
39708 glibcxx_cv_func__isnanl_use=no
39710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39711 ac_ext=c
39712 ac_cpp='$CPP $CPPFLAGS'
39713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39722 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39724 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39725 for ac_func in _isnanl
39726 do :
39727 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39728 if test "x$ac_cv_func__isnanl" = xyes; then :
39729 cat >>confdefs.h <<_ACEOF
39730 #define HAVE__ISNANL 1
39731 _ACEOF
39734 done
39743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39744 $as_echo_n "checking for isinfl declaration... " >&6; }
39745 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39746 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39747 $as_echo_n "(cached) " >&6
39748 else
39751 ac_ext=cpp
39752 ac_cpp='$CXXCPP $CPPFLAGS'
39753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39758 /* end confdefs.h. */
39759 #include <math.h>
39760 #ifdef HAVE_IEEEFP_H
39761 #include <ieeefp.h>
39762 #endif
39765 main ()
39767 isinfl(0);
39769 return 0;
39771 _ACEOF
39772 if ac_fn_cxx_try_compile "$LINENO"; then :
39773 glibcxx_cv_func_isinfl_use=yes
39774 else
39775 glibcxx_cv_func_isinfl_use=no
39777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39778 ac_ext=c
39779 ac_cpp='$CPP $CPPFLAGS'
39780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39789 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39791 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39792 for ac_func in isinfl
39793 do :
39794 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39795 if test "x$ac_cv_func_isinfl" = xyes; then :
39796 cat >>confdefs.h <<_ACEOF
39797 #define HAVE_ISINFL 1
39798 _ACEOF
39801 done
39803 else
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39806 $as_echo_n "checking for _isinfl declaration... " >&6; }
39807 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39808 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39809 $as_echo_n "(cached) " >&6
39810 else
39813 ac_ext=cpp
39814 ac_cpp='$CXXCPP $CPPFLAGS'
39815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39820 /* end confdefs.h. */
39821 #include <math.h>
39822 #ifdef HAVE_IEEEFP_H
39823 #include <ieeefp.h>
39824 #endif
39827 main ()
39829 _isinfl(0);
39831 return 0;
39833 _ACEOF
39834 if ac_fn_cxx_try_compile "$LINENO"; then :
39835 glibcxx_cv_func__isinfl_use=yes
39836 else
39837 glibcxx_cv_func__isinfl_use=no
39839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39840 ac_ext=c
39841 ac_cpp='$CPP $CPPFLAGS'
39842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39851 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39853 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39854 for ac_func in _isinfl
39855 do :
39856 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39857 if test "x$ac_cv_func__isinfl" = xyes; then :
39858 cat >>confdefs.h <<_ACEOF
39859 #define HAVE__ISINFL 1
39860 _ACEOF
39863 done
39872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39873 $as_echo_n "checking for atan2l declaration... " >&6; }
39874 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39875 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39876 $as_echo_n "(cached) " >&6
39877 else
39880 ac_ext=cpp
39881 ac_cpp='$CXXCPP $CPPFLAGS'
39882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39887 /* end confdefs.h. */
39888 #include <math.h>
39890 main ()
39892 atan2l(0, 0);
39894 return 0;
39896 _ACEOF
39897 if ac_fn_cxx_try_compile "$LINENO"; then :
39898 glibcxx_cv_func_atan2l_use=yes
39899 else
39900 glibcxx_cv_func_atan2l_use=no
39902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39903 ac_ext=c
39904 ac_cpp='$CPP $CPPFLAGS'
39905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39914 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39916 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39917 for ac_func in atan2l
39918 do :
39919 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39920 if test "x$ac_cv_func_atan2l" = xyes; then :
39921 cat >>confdefs.h <<_ACEOF
39922 #define HAVE_ATAN2L 1
39923 _ACEOF
39926 done
39928 else
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39931 $as_echo_n "checking for _atan2l declaration... " >&6; }
39932 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39933 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39934 $as_echo_n "(cached) " >&6
39935 else
39938 ac_ext=cpp
39939 ac_cpp='$CXXCPP $CPPFLAGS'
39940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39945 /* end confdefs.h. */
39946 #include <math.h>
39948 main ()
39950 _atan2l(0, 0);
39952 return 0;
39954 _ACEOF
39955 if ac_fn_cxx_try_compile "$LINENO"; then :
39956 glibcxx_cv_func__atan2l_use=yes
39957 else
39958 glibcxx_cv_func__atan2l_use=no
39960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39961 ac_ext=c
39962 ac_cpp='$CPP $CPPFLAGS'
39963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39972 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39974 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39975 for ac_func in _atan2l
39976 do :
39977 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39978 if test "x$ac_cv_func__atan2l" = xyes; then :
39979 cat >>confdefs.h <<_ACEOF
39980 #define HAVE__ATAN2L 1
39981 _ACEOF
39984 done
39993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39994 $as_echo_n "checking for expl declaration... " >&6; }
39995 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39996 if ${glibcxx_cv_func_expl_use+:} false; then :
39997 $as_echo_n "(cached) " >&6
39998 else
40001 ac_ext=cpp
40002 ac_cpp='$CXXCPP $CPPFLAGS'
40003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40008 /* end confdefs.h. */
40009 #include <math.h>
40010 #ifdef HAVE_IEEEFP_H
40011 #include <ieeefp.h>
40012 #endif
40015 main ()
40017 expl(0);
40019 return 0;
40021 _ACEOF
40022 if ac_fn_cxx_try_compile "$LINENO"; then :
40023 glibcxx_cv_func_expl_use=yes
40024 else
40025 glibcxx_cv_func_expl_use=no
40027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40028 ac_ext=c
40029 ac_cpp='$CPP $CPPFLAGS'
40030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
40039 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
40041 if test x$glibcxx_cv_func_expl_use = x"yes"; then
40042 for ac_func in expl
40043 do :
40044 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
40045 if test "x$ac_cv_func_expl" = xyes; then :
40046 cat >>confdefs.h <<_ACEOF
40047 #define HAVE_EXPL 1
40048 _ACEOF
40051 done
40053 else
40055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
40056 $as_echo_n "checking for _expl declaration... " >&6; }
40057 if test x${glibcxx_cv_func__expl_use+set} != xset; then
40058 if ${glibcxx_cv_func__expl_use+:} false; then :
40059 $as_echo_n "(cached) " >&6
40060 else
40063 ac_ext=cpp
40064 ac_cpp='$CXXCPP $CPPFLAGS'
40065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40070 /* end confdefs.h. */
40071 #include <math.h>
40072 #ifdef HAVE_IEEEFP_H
40073 #include <ieeefp.h>
40074 #endif
40077 main ()
40079 _expl(0);
40081 return 0;
40083 _ACEOF
40084 if ac_fn_cxx_try_compile "$LINENO"; then :
40085 glibcxx_cv_func__expl_use=yes
40086 else
40087 glibcxx_cv_func__expl_use=no
40089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40090 ac_ext=c
40091 ac_cpp='$CPP $CPPFLAGS'
40092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
40101 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
40103 if test x$glibcxx_cv_func__expl_use = x"yes"; then
40104 for ac_func in _expl
40105 do :
40106 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
40107 if test "x$ac_cv_func__expl" = xyes; then :
40108 cat >>confdefs.h <<_ACEOF
40109 #define HAVE__EXPL 1
40110 _ACEOF
40113 done
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
40123 $as_echo_n "checking for fabsl declaration... " >&6; }
40124 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
40125 if ${glibcxx_cv_func_fabsl_use+:} false; then :
40126 $as_echo_n "(cached) " >&6
40127 else
40130 ac_ext=cpp
40131 ac_cpp='$CXXCPP $CPPFLAGS'
40132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40137 /* end confdefs.h. */
40138 #include <math.h>
40139 #ifdef HAVE_IEEEFP_H
40140 #include <ieeefp.h>
40141 #endif
40144 main ()
40146 fabsl(0);
40148 return 0;
40150 _ACEOF
40151 if ac_fn_cxx_try_compile "$LINENO"; then :
40152 glibcxx_cv_func_fabsl_use=yes
40153 else
40154 glibcxx_cv_func_fabsl_use=no
40156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40157 ac_ext=c
40158 ac_cpp='$CPP $CPPFLAGS'
40159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40168 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40170 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40171 for ac_func in fabsl
40172 do :
40173 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40174 if test "x$ac_cv_func_fabsl" = xyes; then :
40175 cat >>confdefs.h <<_ACEOF
40176 #define HAVE_FABSL 1
40177 _ACEOF
40180 done
40182 else
40184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40185 $as_echo_n "checking for _fabsl declaration... " >&6; }
40186 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40187 if ${glibcxx_cv_func__fabsl_use+:} false; then :
40188 $as_echo_n "(cached) " >&6
40189 else
40192 ac_ext=cpp
40193 ac_cpp='$CXXCPP $CPPFLAGS'
40194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40199 /* end confdefs.h. */
40200 #include <math.h>
40201 #ifdef HAVE_IEEEFP_H
40202 #include <ieeefp.h>
40203 #endif
40206 main ()
40208 _fabsl(0);
40210 return 0;
40212 _ACEOF
40213 if ac_fn_cxx_try_compile "$LINENO"; then :
40214 glibcxx_cv_func__fabsl_use=yes
40215 else
40216 glibcxx_cv_func__fabsl_use=no
40218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40219 ac_ext=c
40220 ac_cpp='$CPP $CPPFLAGS'
40221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40230 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40232 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40233 for ac_func in _fabsl
40234 do :
40235 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40236 if test "x$ac_cv_func__fabsl" = xyes; then :
40237 cat >>confdefs.h <<_ACEOF
40238 #define HAVE__FABSL 1
40239 _ACEOF
40242 done
40251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40252 $as_echo_n "checking for fmodl declaration... " >&6; }
40253 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40254 if ${glibcxx_cv_func_fmodl_use+:} false; then :
40255 $as_echo_n "(cached) " >&6
40256 else
40259 ac_ext=cpp
40260 ac_cpp='$CXXCPP $CPPFLAGS'
40261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40266 /* end confdefs.h. */
40267 #include <math.h>
40269 main ()
40271 fmodl(0, 0);
40273 return 0;
40275 _ACEOF
40276 if ac_fn_cxx_try_compile "$LINENO"; then :
40277 glibcxx_cv_func_fmodl_use=yes
40278 else
40279 glibcxx_cv_func_fmodl_use=no
40281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40282 ac_ext=c
40283 ac_cpp='$CPP $CPPFLAGS'
40284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40293 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40295 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40296 for ac_func in fmodl
40297 do :
40298 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40299 if test "x$ac_cv_func_fmodl" = xyes; then :
40300 cat >>confdefs.h <<_ACEOF
40301 #define HAVE_FMODL 1
40302 _ACEOF
40305 done
40307 else
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40310 $as_echo_n "checking for _fmodl declaration... " >&6; }
40311 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40312 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40313 $as_echo_n "(cached) " >&6
40314 else
40317 ac_ext=cpp
40318 ac_cpp='$CXXCPP $CPPFLAGS'
40319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40324 /* end confdefs.h. */
40325 #include <math.h>
40327 main ()
40329 _fmodl(0, 0);
40331 return 0;
40333 _ACEOF
40334 if ac_fn_cxx_try_compile "$LINENO"; then :
40335 glibcxx_cv_func__fmodl_use=yes
40336 else
40337 glibcxx_cv_func__fmodl_use=no
40339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40340 ac_ext=c
40341 ac_cpp='$CPP $CPPFLAGS'
40342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40351 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40353 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40354 for ac_func in _fmodl
40355 do :
40356 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40357 if test "x$ac_cv_func__fmodl" = xyes; then :
40358 cat >>confdefs.h <<_ACEOF
40359 #define HAVE__FMODL 1
40360 _ACEOF
40363 done
40372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40373 $as_echo_n "checking for frexpl declaration... " >&6; }
40374 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40375 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40376 $as_echo_n "(cached) " >&6
40377 else
40380 ac_ext=cpp
40381 ac_cpp='$CXXCPP $CPPFLAGS'
40382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40387 /* end confdefs.h. */
40388 #include <math.h>
40390 main ()
40392 frexpl(0, 0);
40394 return 0;
40396 _ACEOF
40397 if ac_fn_cxx_try_compile "$LINENO"; then :
40398 glibcxx_cv_func_frexpl_use=yes
40399 else
40400 glibcxx_cv_func_frexpl_use=no
40402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40403 ac_ext=c
40404 ac_cpp='$CPP $CPPFLAGS'
40405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40414 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40416 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40417 for ac_func in frexpl
40418 do :
40419 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40420 if test "x$ac_cv_func_frexpl" = xyes; then :
40421 cat >>confdefs.h <<_ACEOF
40422 #define HAVE_FREXPL 1
40423 _ACEOF
40426 done
40428 else
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40431 $as_echo_n "checking for _frexpl declaration... " >&6; }
40432 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40433 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40434 $as_echo_n "(cached) " >&6
40435 else
40438 ac_ext=cpp
40439 ac_cpp='$CXXCPP $CPPFLAGS'
40440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40445 /* end confdefs.h. */
40446 #include <math.h>
40448 main ()
40450 _frexpl(0, 0);
40452 return 0;
40454 _ACEOF
40455 if ac_fn_cxx_try_compile "$LINENO"; then :
40456 glibcxx_cv_func__frexpl_use=yes
40457 else
40458 glibcxx_cv_func__frexpl_use=no
40460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40461 ac_ext=c
40462 ac_cpp='$CPP $CPPFLAGS'
40463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40472 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40474 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40475 for ac_func in _frexpl
40476 do :
40477 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40478 if test "x$ac_cv_func__frexpl" = xyes; then :
40479 cat >>confdefs.h <<_ACEOF
40480 #define HAVE__FREXPL 1
40481 _ACEOF
40484 done
40493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40494 $as_echo_n "checking for hypotl declaration... " >&6; }
40495 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40496 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40497 $as_echo_n "(cached) " >&6
40498 else
40501 ac_ext=cpp
40502 ac_cpp='$CXXCPP $CPPFLAGS'
40503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40508 /* end confdefs.h. */
40509 #include <math.h>
40511 main ()
40513 hypotl(0, 0);
40515 return 0;
40517 _ACEOF
40518 if ac_fn_cxx_try_compile "$LINENO"; then :
40519 glibcxx_cv_func_hypotl_use=yes
40520 else
40521 glibcxx_cv_func_hypotl_use=no
40523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40524 ac_ext=c
40525 ac_cpp='$CPP $CPPFLAGS'
40526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40535 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40537 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40538 for ac_func in hypotl
40539 do :
40540 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40541 if test "x$ac_cv_func_hypotl" = xyes; then :
40542 cat >>confdefs.h <<_ACEOF
40543 #define HAVE_HYPOTL 1
40544 _ACEOF
40547 done
40549 else
40551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40552 $as_echo_n "checking for _hypotl declaration... " >&6; }
40553 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40554 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40555 $as_echo_n "(cached) " >&6
40556 else
40559 ac_ext=cpp
40560 ac_cpp='$CXXCPP $CPPFLAGS'
40561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40566 /* end confdefs.h. */
40567 #include <math.h>
40569 main ()
40571 _hypotl(0, 0);
40573 return 0;
40575 _ACEOF
40576 if ac_fn_cxx_try_compile "$LINENO"; then :
40577 glibcxx_cv_func__hypotl_use=yes
40578 else
40579 glibcxx_cv_func__hypotl_use=no
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40582 ac_ext=c
40583 ac_cpp='$CPP $CPPFLAGS'
40584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40593 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40595 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40596 for ac_func in _hypotl
40597 do :
40598 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40599 if test "x$ac_cv_func__hypotl" = xyes; then :
40600 cat >>confdefs.h <<_ACEOF
40601 #define HAVE__HYPOTL 1
40602 _ACEOF
40605 done
40614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40615 $as_echo_n "checking for ldexpl declaration... " >&6; }
40616 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40617 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40618 $as_echo_n "(cached) " >&6
40619 else
40622 ac_ext=cpp
40623 ac_cpp='$CXXCPP $CPPFLAGS'
40624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40629 /* end confdefs.h. */
40630 #include <math.h>
40632 main ()
40634 ldexpl(0, 0);
40636 return 0;
40638 _ACEOF
40639 if ac_fn_cxx_try_compile "$LINENO"; then :
40640 glibcxx_cv_func_ldexpl_use=yes
40641 else
40642 glibcxx_cv_func_ldexpl_use=no
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645 ac_ext=c
40646 ac_cpp='$CPP $CPPFLAGS'
40647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40656 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40658 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40659 for ac_func in ldexpl
40660 do :
40661 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40662 if test "x$ac_cv_func_ldexpl" = xyes; then :
40663 cat >>confdefs.h <<_ACEOF
40664 #define HAVE_LDEXPL 1
40665 _ACEOF
40668 done
40670 else
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40673 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40674 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40675 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40676 $as_echo_n "(cached) " >&6
40677 else
40680 ac_ext=cpp
40681 ac_cpp='$CXXCPP $CPPFLAGS'
40682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40687 /* end confdefs.h. */
40688 #include <math.h>
40690 main ()
40692 _ldexpl(0, 0);
40694 return 0;
40696 _ACEOF
40697 if ac_fn_cxx_try_compile "$LINENO"; then :
40698 glibcxx_cv_func__ldexpl_use=yes
40699 else
40700 glibcxx_cv_func__ldexpl_use=no
40702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40703 ac_ext=c
40704 ac_cpp='$CPP $CPPFLAGS'
40705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40714 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40716 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40717 for ac_func in _ldexpl
40718 do :
40719 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40720 if test "x$ac_cv_func__ldexpl" = xyes; then :
40721 cat >>confdefs.h <<_ACEOF
40722 #define HAVE__LDEXPL 1
40723 _ACEOF
40726 done
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40736 $as_echo_n "checking for logl declaration... " >&6; }
40737 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40738 if ${glibcxx_cv_func_logl_use+:} false; then :
40739 $as_echo_n "(cached) " >&6
40740 else
40743 ac_ext=cpp
40744 ac_cpp='$CXXCPP $CPPFLAGS'
40745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40750 /* end confdefs.h. */
40751 #include <math.h>
40752 #ifdef HAVE_IEEEFP_H
40753 #include <ieeefp.h>
40754 #endif
40757 main ()
40759 logl(0);
40761 return 0;
40763 _ACEOF
40764 if ac_fn_cxx_try_compile "$LINENO"; then :
40765 glibcxx_cv_func_logl_use=yes
40766 else
40767 glibcxx_cv_func_logl_use=no
40769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40770 ac_ext=c
40771 ac_cpp='$CPP $CPPFLAGS'
40772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40781 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40783 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40784 for ac_func in logl
40785 do :
40786 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40787 if test "x$ac_cv_func_logl" = xyes; then :
40788 cat >>confdefs.h <<_ACEOF
40789 #define HAVE_LOGL 1
40790 _ACEOF
40793 done
40795 else
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40798 $as_echo_n "checking for _logl declaration... " >&6; }
40799 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40800 if ${glibcxx_cv_func__logl_use+:} false; then :
40801 $as_echo_n "(cached) " >&6
40802 else
40805 ac_ext=cpp
40806 ac_cpp='$CXXCPP $CPPFLAGS'
40807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 /* end confdefs.h. */
40813 #include <math.h>
40814 #ifdef HAVE_IEEEFP_H
40815 #include <ieeefp.h>
40816 #endif
40819 main ()
40821 _logl(0);
40823 return 0;
40825 _ACEOF
40826 if ac_fn_cxx_try_compile "$LINENO"; then :
40827 glibcxx_cv_func__logl_use=yes
40828 else
40829 glibcxx_cv_func__logl_use=no
40831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40832 ac_ext=c
40833 ac_cpp='$CPP $CPPFLAGS'
40834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40843 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40845 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40846 for ac_func in _logl
40847 do :
40848 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40849 if test "x$ac_cv_func__logl" = xyes; then :
40850 cat >>confdefs.h <<_ACEOF
40851 #define HAVE__LOGL 1
40852 _ACEOF
40855 done
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40865 $as_echo_n "checking for log10l declaration... " >&6; }
40866 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40867 if ${glibcxx_cv_func_log10l_use+:} false; then :
40868 $as_echo_n "(cached) " >&6
40869 else
40872 ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40880 #include <math.h>
40881 #ifdef HAVE_IEEEFP_H
40882 #include <ieeefp.h>
40883 #endif
40886 main ()
40888 log10l(0);
40890 return 0;
40892 _ACEOF
40893 if ac_fn_cxx_try_compile "$LINENO"; then :
40894 glibcxx_cv_func_log10l_use=yes
40895 else
40896 glibcxx_cv_func_log10l_use=no
40898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40899 ac_ext=c
40900 ac_cpp='$CPP $CPPFLAGS'
40901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40910 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40912 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40913 for ac_func in log10l
40914 do :
40915 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40916 if test "x$ac_cv_func_log10l" = xyes; then :
40917 cat >>confdefs.h <<_ACEOF
40918 #define HAVE_LOG10L 1
40919 _ACEOF
40922 done
40924 else
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40927 $as_echo_n "checking for _log10l declaration... " >&6; }
40928 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40929 if ${glibcxx_cv_func__log10l_use+:} false; then :
40930 $as_echo_n "(cached) " >&6
40931 else
40934 ac_ext=cpp
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40941 /* end confdefs.h. */
40942 #include <math.h>
40943 #ifdef HAVE_IEEEFP_H
40944 #include <ieeefp.h>
40945 #endif
40948 main ()
40950 _log10l(0);
40952 return 0;
40954 _ACEOF
40955 if ac_fn_cxx_try_compile "$LINENO"; then :
40956 glibcxx_cv_func__log10l_use=yes
40957 else
40958 glibcxx_cv_func__log10l_use=no
40960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40961 ac_ext=c
40962 ac_cpp='$CPP $CPPFLAGS'
40963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40972 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40974 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40975 for ac_func in _log10l
40976 do :
40977 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40978 if test "x$ac_cv_func__log10l" = xyes; then :
40979 cat >>confdefs.h <<_ACEOF
40980 #define HAVE__LOG10L 1
40981 _ACEOF
40984 done
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40994 $as_echo_n "checking for modfl declaration... " >&6; }
40995 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40996 if ${glibcxx_cv_func_modfl_use+:} false; then :
40997 $as_echo_n "(cached) " >&6
40998 else
41001 ac_ext=cpp
41002 ac_cpp='$CXXCPP $CPPFLAGS'
41003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41008 /* end confdefs.h. */
41009 #include <math.h>
41011 main ()
41013 modfl(0, 0);
41015 return 0;
41017 _ACEOF
41018 if ac_fn_cxx_try_compile "$LINENO"; then :
41019 glibcxx_cv_func_modfl_use=yes
41020 else
41021 glibcxx_cv_func_modfl_use=no
41023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41024 ac_ext=c
41025 ac_cpp='$CPP $CPPFLAGS'
41026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
41035 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
41037 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
41038 for ac_func in modfl
41039 do :
41040 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
41041 if test "x$ac_cv_func_modfl" = xyes; then :
41042 cat >>confdefs.h <<_ACEOF
41043 #define HAVE_MODFL 1
41044 _ACEOF
41047 done
41049 else
41051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
41052 $as_echo_n "checking for _modfl declaration... " >&6; }
41053 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
41054 if ${glibcxx_cv_func__modfl_use+:} false; then :
41055 $as_echo_n "(cached) " >&6
41056 else
41059 ac_ext=cpp
41060 ac_cpp='$CXXCPP $CPPFLAGS'
41061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41066 /* end confdefs.h. */
41067 #include <math.h>
41069 main ()
41071 _modfl(0, 0);
41073 return 0;
41075 _ACEOF
41076 if ac_fn_cxx_try_compile "$LINENO"; then :
41077 glibcxx_cv_func__modfl_use=yes
41078 else
41079 glibcxx_cv_func__modfl_use=no
41081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41082 ac_ext=c
41083 ac_cpp='$CPP $CPPFLAGS'
41084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
41093 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
41095 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
41096 for ac_func in _modfl
41097 do :
41098 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
41099 if test "x$ac_cv_func__modfl" = xyes; then :
41100 cat >>confdefs.h <<_ACEOF
41101 #define HAVE__MODFL 1
41102 _ACEOF
41105 done
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41115 $as_echo_n "checking for powl declaration... " >&6; }
41116 if test x${glibcxx_cv_func_powl_use+set} != xset; then
41117 if ${glibcxx_cv_func_powl_use+:} false; then :
41118 $as_echo_n "(cached) " >&6
41119 else
41122 ac_ext=cpp
41123 ac_cpp='$CXXCPP $CPPFLAGS'
41124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41129 /* end confdefs.h. */
41130 #include <math.h>
41132 main ()
41134 powl(0, 0);
41136 return 0;
41138 _ACEOF
41139 if ac_fn_cxx_try_compile "$LINENO"; then :
41140 glibcxx_cv_func_powl_use=yes
41141 else
41142 glibcxx_cv_func_powl_use=no
41144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41145 ac_ext=c
41146 ac_cpp='$CPP $CPPFLAGS'
41147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41156 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41158 if test x$glibcxx_cv_func_powl_use = x"yes"; then
41159 for ac_func in powl
41160 do :
41161 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41162 if test "x$ac_cv_func_powl" = xyes; then :
41163 cat >>confdefs.h <<_ACEOF
41164 #define HAVE_POWL 1
41165 _ACEOF
41168 done
41170 else
41172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41173 $as_echo_n "checking for _powl declaration... " >&6; }
41174 if test x${glibcxx_cv_func__powl_use+set} != xset; then
41175 if ${glibcxx_cv_func__powl_use+:} false; then :
41176 $as_echo_n "(cached) " >&6
41177 else
41180 ac_ext=cpp
41181 ac_cpp='$CXXCPP $CPPFLAGS'
41182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41187 /* end confdefs.h. */
41188 #include <math.h>
41190 main ()
41192 _powl(0, 0);
41194 return 0;
41196 _ACEOF
41197 if ac_fn_cxx_try_compile "$LINENO"; then :
41198 glibcxx_cv_func__powl_use=yes
41199 else
41200 glibcxx_cv_func__powl_use=no
41202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41203 ac_ext=c
41204 ac_cpp='$CPP $CPPFLAGS'
41205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41214 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
41216 if test x$glibcxx_cv_func__powl_use = x"yes"; then
41217 for ac_func in _powl
41218 do :
41219 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41220 if test "x$ac_cv_func__powl" = xyes; then :
41221 cat >>confdefs.h <<_ACEOF
41222 #define HAVE__POWL 1
41223 _ACEOF
41226 done
41235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41236 $as_echo_n "checking for sqrtl declaration... " >&6; }
41237 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41238 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41239 $as_echo_n "(cached) " >&6
41240 else
41243 ac_ext=cpp
41244 ac_cpp='$CXXCPP $CPPFLAGS'
41245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41250 /* end confdefs.h. */
41251 #include <math.h>
41252 #ifdef HAVE_IEEEFP_H
41253 #include <ieeefp.h>
41254 #endif
41257 main ()
41259 sqrtl(0);
41261 return 0;
41263 _ACEOF
41264 if ac_fn_cxx_try_compile "$LINENO"; then :
41265 glibcxx_cv_func_sqrtl_use=yes
41266 else
41267 glibcxx_cv_func_sqrtl_use=no
41269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41270 ac_ext=c
41271 ac_cpp='$CPP $CPPFLAGS'
41272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41281 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41283 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41284 for ac_func in sqrtl
41285 do :
41286 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41287 if test "x$ac_cv_func_sqrtl" = xyes; then :
41288 cat >>confdefs.h <<_ACEOF
41289 #define HAVE_SQRTL 1
41290 _ACEOF
41293 done
41295 else
41297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41298 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41299 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41300 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41301 $as_echo_n "(cached) " >&6
41302 else
41305 ac_ext=cpp
41306 ac_cpp='$CXXCPP $CPPFLAGS'
41307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312 /* end confdefs.h. */
41313 #include <math.h>
41314 #ifdef HAVE_IEEEFP_H
41315 #include <ieeefp.h>
41316 #endif
41319 main ()
41321 _sqrtl(0);
41323 return 0;
41325 _ACEOF
41326 if ac_fn_cxx_try_compile "$LINENO"; then :
41327 glibcxx_cv_func__sqrtl_use=yes
41328 else
41329 glibcxx_cv_func__sqrtl_use=no
41331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41332 ac_ext=c
41333 ac_cpp='$CPP $CPPFLAGS'
41334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41343 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41345 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41346 for ac_func in _sqrtl
41347 do :
41348 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41349 if test "x$ac_cv_func__sqrtl" = xyes; then :
41350 cat >>confdefs.h <<_ACEOF
41351 #define HAVE__SQRTL 1
41352 _ACEOF
41355 done
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41365 $as_echo_n "checking for sincosl declaration... " >&6; }
41366 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41367 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41368 $as_echo_n "(cached) " >&6
41369 else
41372 ac_ext=cpp
41373 ac_cpp='$CXXCPP $CPPFLAGS'
41374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41379 /* end confdefs.h. */
41380 #include <math.h>
41382 main ()
41384 sincosl(0, 0, 0);
41386 return 0;
41388 _ACEOF
41389 if ac_fn_cxx_try_compile "$LINENO"; then :
41390 glibcxx_cv_func_sincosl_use=yes
41391 else
41392 glibcxx_cv_func_sincosl_use=no
41394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41395 ac_ext=c
41396 ac_cpp='$CPP $CPPFLAGS'
41397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41406 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41408 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41409 for ac_func in sincosl
41410 do :
41411 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41412 if test "x$ac_cv_func_sincosl" = xyes; then :
41413 cat >>confdefs.h <<_ACEOF
41414 #define HAVE_SINCOSL 1
41415 _ACEOF
41418 done
41420 else
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41423 $as_echo_n "checking for _sincosl declaration... " >&6; }
41424 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41425 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41426 $as_echo_n "(cached) " >&6
41427 else
41430 ac_ext=cpp
41431 ac_cpp='$CXXCPP $CPPFLAGS'
41432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41437 /* end confdefs.h. */
41438 #include <math.h>
41440 main ()
41442 _sincosl(0, 0, 0);
41444 return 0;
41446 _ACEOF
41447 if ac_fn_cxx_try_compile "$LINENO"; then :
41448 glibcxx_cv_func__sincosl_use=yes
41449 else
41450 glibcxx_cv_func__sincosl_use=no
41452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41453 ac_ext=c
41454 ac_cpp='$CPP $CPPFLAGS'
41455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41464 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41466 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41467 for ac_func in _sincosl
41468 do :
41469 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41470 if test "x$ac_cv_func__sincosl" = xyes; then :
41471 cat >>confdefs.h <<_ACEOF
41472 #define HAVE__SINCOSL 1
41473 _ACEOF
41476 done
41485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41486 $as_echo_n "checking for finitel declaration... " >&6; }
41487 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41488 if ${glibcxx_cv_func_finitel_use+:} false; then :
41489 $as_echo_n "(cached) " >&6
41490 else
41493 ac_ext=cpp
41494 ac_cpp='$CXXCPP $CPPFLAGS'
41495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41500 /* end confdefs.h. */
41501 #include <math.h>
41502 #ifdef HAVE_IEEEFP_H
41503 #include <ieeefp.h>
41504 #endif
41507 main ()
41509 finitel(0);
41511 return 0;
41513 _ACEOF
41514 if ac_fn_cxx_try_compile "$LINENO"; then :
41515 glibcxx_cv_func_finitel_use=yes
41516 else
41517 glibcxx_cv_func_finitel_use=no
41519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41520 ac_ext=c
41521 ac_cpp='$CPP $CPPFLAGS'
41522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41531 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41533 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41534 for ac_func in finitel
41535 do :
41536 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41537 if test "x$ac_cv_func_finitel" = xyes; then :
41538 cat >>confdefs.h <<_ACEOF
41539 #define HAVE_FINITEL 1
41540 _ACEOF
41543 done
41545 else
41547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41548 $as_echo_n "checking for _finitel declaration... " >&6; }
41549 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41550 if ${glibcxx_cv_func__finitel_use+:} false; then :
41551 $as_echo_n "(cached) " >&6
41552 else
41555 ac_ext=cpp
41556 ac_cpp='$CXXCPP $CPPFLAGS'
41557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41562 /* end confdefs.h. */
41563 #include <math.h>
41564 #ifdef HAVE_IEEEFP_H
41565 #include <ieeefp.h>
41566 #endif
41569 main ()
41571 _finitel(0);
41573 return 0;
41575 _ACEOF
41576 if ac_fn_cxx_try_compile "$LINENO"; then :
41577 glibcxx_cv_func__finitel_use=yes
41578 else
41579 glibcxx_cv_func__finitel_use=no
41581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41582 ac_ext=c
41583 ac_cpp='$CPP $CPPFLAGS'
41584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41593 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41595 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41596 for ac_func in _finitel
41597 do :
41598 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41599 if test "x$ac_cv_func__finitel" = xyes; then :
41600 cat >>confdefs.h <<_ACEOF
41601 #define HAVE__FINITEL 1
41602 _ACEOF
41605 done
41613 LIBS="$ac_save_LIBS"
41614 CXXFLAGS="$ac_save_CXXFLAGS"
41617 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41618 ac_save_CXXFLAGS="$CXXFLAGS"
41619 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41623 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41624 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41625 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41626 $as_echo_n "(cached) " >&6
41627 else
41630 ac_ext=cpp
41631 ac_cpp='$CXXCPP $CPPFLAGS'
41632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41637 /* end confdefs.h. */
41638 #include <stdlib.h>
41640 main ()
41642 at_quick_exit(0);
41644 return 0;
41646 _ACEOF
41647 if ac_fn_cxx_try_compile "$LINENO"; then :
41648 glibcxx_cv_func_at_quick_exit_use=yes
41649 else
41650 glibcxx_cv_func_at_quick_exit_use=no
41652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41653 ac_ext=c
41654 ac_cpp='$CPP $CPPFLAGS'
41655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41664 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41665 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41666 for ac_func in at_quick_exit
41667 do :
41668 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41669 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41670 cat >>confdefs.h <<_ACEOF
41671 #define HAVE_AT_QUICK_EXIT 1
41672 _ACEOF
41675 done
41680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41681 $as_echo_n "checking for quick_exit declaration... " >&6; }
41682 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41683 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41684 $as_echo_n "(cached) " >&6
41685 else
41688 ac_ext=cpp
41689 ac_cpp='$CXXCPP $CPPFLAGS'
41690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41695 /* end confdefs.h. */
41696 #include <stdlib.h>
41698 main ()
41700 quick_exit(0);
41702 return 0;
41704 _ACEOF
41705 if ac_fn_cxx_try_compile "$LINENO"; then :
41706 glibcxx_cv_func_quick_exit_use=yes
41707 else
41708 glibcxx_cv_func_quick_exit_use=no
41710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41711 ac_ext=c
41712 ac_cpp='$CPP $CPPFLAGS'
41713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41722 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41723 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41724 for ac_func in quick_exit
41725 do :
41726 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41727 if test "x$ac_cv_func_quick_exit" = xyes; then :
41728 cat >>confdefs.h <<_ACEOF
41729 #define HAVE_QUICK_EXIT 1
41730 _ACEOF
41733 done
41738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41739 $as_echo_n "checking for strtold declaration... " >&6; }
41740 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41741 if ${glibcxx_cv_func_strtold_use+:} false; then :
41742 $as_echo_n "(cached) " >&6
41743 else
41746 ac_ext=cpp
41747 ac_cpp='$CXXCPP $CPPFLAGS'
41748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41753 /* end confdefs.h. */
41754 #include <stdlib.h>
41756 main ()
41758 strtold(0, 0);
41760 return 0;
41762 _ACEOF
41763 if ac_fn_cxx_try_compile "$LINENO"; then :
41764 glibcxx_cv_func_strtold_use=yes
41765 else
41766 glibcxx_cv_func_strtold_use=no
41768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41769 ac_ext=c
41770 ac_cpp='$CPP $CPPFLAGS'
41771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41780 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41781 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41782 for ac_func in strtold
41783 do :
41784 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41785 if test "x$ac_cv_func_strtold" = xyes; then :
41786 cat >>confdefs.h <<_ACEOF
41787 #define HAVE_STRTOLD 1
41788 _ACEOF
41791 done
41798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41799 $as_echo_n "checking for strtof declaration... " >&6; }
41800 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41801 if ${glibcxx_cv_func_strtof_use+:} false; then :
41802 $as_echo_n "(cached) " >&6
41803 else
41806 ac_ext=cpp
41807 ac_cpp='$CXXCPP $CPPFLAGS'
41808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813 /* end confdefs.h. */
41814 #include <stdlib.h>
41816 main ()
41818 strtof(0, 0);
41820 return 0;
41822 _ACEOF
41823 if ac_fn_cxx_try_compile "$LINENO"; then :
41824 glibcxx_cv_func_strtof_use=yes
41825 else
41826 glibcxx_cv_func_strtof_use=no
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41829 ac_ext=c
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41840 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41841 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41842 for ac_func in strtof
41843 do :
41844 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41845 if test "x$ac_cv_func_strtof" = xyes; then :
41846 cat >>confdefs.h <<_ACEOF
41847 #define HAVE_STRTOF 1
41848 _ACEOF
41851 done
41858 CXXFLAGS="$ac_save_CXXFLAGS"
41860 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41862 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41864 # We don't yet support AIX's TLS ABI.
41865 #GCC_CHECK_TLS
41871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41872 $as_echo_n "checking for iconv... " >&6; }
41873 if ${am_cv_func_iconv+:} false; then :
41874 $as_echo_n "(cached) " >&6
41875 else
41877 am_cv_func_iconv="no, consider installing GNU libiconv"
41878 am_cv_lib_iconv=no
41879 am_save_CPPFLAGS="$CPPFLAGS"
41880 CPPFLAGS="$CPPFLAGS $INCICONV"
41881 if test x$gcc_no_link = xyes; then
41882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41885 /* end confdefs.h. */
41886 #include <stdlib.h>
41887 #include <iconv.h>
41889 main ()
41891 iconv_t cd = iconv_open("","");
41892 iconv(cd,NULL,NULL,NULL,NULL);
41893 iconv_close(cd);
41895 return 0;
41897 _ACEOF
41898 if ac_fn_c_try_link "$LINENO"; then :
41899 am_cv_func_iconv=yes
41901 rm -f core conftest.err conftest.$ac_objext \
41902 conftest$ac_exeext conftest.$ac_ext
41903 CPPFLAGS="$am_save_CPPFLAGS"
41905 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41906 for _libs in .libs _libs; do
41907 am_save_CPPFLAGS="$CPPFLAGS"
41908 am_save_LIBS="$LIBS"
41909 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41910 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41911 if test x$gcc_no_link = xyes; then
41912 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41915 /* end confdefs.h. */
41916 #include <stdlib.h>
41917 #include <iconv.h>
41919 main ()
41921 iconv_t cd = iconv_open("","");
41922 iconv(cd,NULL,NULL,NULL,NULL);
41923 iconv_close(cd);
41925 return 0;
41927 _ACEOF
41928 if ac_fn_c_try_link "$LINENO"; then :
41929 INCICONV="-I../libiconv/include"
41930 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41931 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41932 am_cv_lib_iconv=yes
41933 am_cv_func_iconv=yes
41935 rm -f core conftest.err conftest.$ac_objext \
41936 conftest$ac_exeext conftest.$ac_ext
41937 CPPFLAGS="$am_save_CPPFLAGS"
41938 LIBS="$am_save_LIBS"
41939 if test "$am_cv_func_iconv" = "yes"; then
41940 break
41942 done
41945 if test "$am_cv_func_iconv" != yes; then
41946 am_save_CPPFLAGS="$CPPFLAGS"
41947 am_save_LIBS="$LIBS"
41948 CPPFLAGS="$CPPFLAGS $INCICONV"
41949 LIBS="$LIBS $LIBICONV"
41950 if test x$gcc_no_link = xyes; then
41951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41954 /* end confdefs.h. */
41955 #include <stdlib.h>
41956 #include <iconv.h>
41958 main ()
41960 iconv_t cd = iconv_open("","");
41961 iconv(cd,NULL,NULL,NULL,NULL);
41962 iconv_close(cd);
41964 return 0;
41966 _ACEOF
41967 if ac_fn_c_try_link "$LINENO"; then :
41968 am_cv_lib_iconv=yes
41969 am_cv_func_iconv=yes
41971 rm -f core conftest.err conftest.$ac_objext \
41972 conftest$ac_exeext conftest.$ac_ext
41973 CPPFLAGS="$am_save_CPPFLAGS"
41974 LIBS="$am_save_LIBS"
41978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41979 $as_echo "$am_cv_func_iconv" >&6; }
41980 if test "$am_cv_func_iconv" = yes; then
41982 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41985 if test "$am_cv_lib_iconv" = yes; then
41987 for element in $INCICONV; do
41988 haveit=
41989 for x in $CPPFLAGS; do
41991 acl_save_prefix="$prefix"
41992 prefix="$acl_final_prefix"
41993 acl_save_exec_prefix="$exec_prefix"
41994 exec_prefix="$acl_final_exec_prefix"
41995 eval x=\"$x\"
41996 exec_prefix="$acl_save_exec_prefix"
41997 prefix="$acl_save_prefix"
41999 if test "X$x" = "X$element"; then
42000 haveit=yes
42001 break
42003 done
42004 if test -z "$haveit"; then
42005 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42007 done
42009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
42010 $as_echo_n "checking how to link with libiconv... " >&6; }
42011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
42012 $as_echo "$LIBICONV" >&6; }
42013 else
42014 LIBICONV=
42015 LTLIBICONV=
42020 if test "$am_cv_func_iconv" = yes; then
42021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
42022 $as_echo_n "checking for iconv declaration... " >&6; }
42023 if ${am_cv_proto_iconv+:} false; then :
42024 $as_echo_n "(cached) " >&6
42025 else
42027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42028 /* end confdefs.h. */
42030 #include <stdlib.h>
42031 #include <iconv.h>
42032 extern
42033 #ifdef __cplusplus
42035 #endif
42036 #if defined(__STDC__) || defined(__cplusplus)
42037 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42038 #else
42039 size_t iconv();
42040 #endif
42043 main ()
42047 return 0;
42049 _ACEOF
42050 if ac_fn_c_try_compile "$LINENO"; then :
42051 am_cv_proto_iconv_arg1=""
42052 else
42053 am_cv_proto_iconv_arg1="const"
42055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42056 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);"
42059 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
42061 }$am_cv_proto_iconv" >&5
42062 $as_echo "${ac_t:-
42063 }$am_cv_proto_iconv" >&6; }
42065 cat >>confdefs.h <<_ACEOF
42066 #define ICONV_CONST $am_cv_proto_iconv_arg1
42067 _ACEOF
42072 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
42076 *-darwin*)
42077 # Darwin versions vary, but the linker should work in a cross environment,
42078 # so we just check for all the features here.
42079 # Check for available headers.
42081 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42083 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42084 ac_save_CXXFLAGS="$CXXFLAGS"
42085 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42088 $as_echo_n "checking for sin in -lm... " >&6; }
42089 if ${ac_cv_lib_m_sin+:} false; then :
42090 $as_echo_n "(cached) " >&6
42091 else
42092 ac_check_lib_save_LIBS=$LIBS
42093 LIBS="-lm $LIBS"
42094 if test x$gcc_no_link = xyes; then
42095 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42098 /* end confdefs.h. */
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42103 #ifdef __cplusplus
42104 extern "C"
42105 #endif
42106 char sin ();
42108 main ()
42110 return sin ();
42112 return 0;
42114 _ACEOF
42115 if ac_fn_c_try_link "$LINENO"; then :
42116 ac_cv_lib_m_sin=yes
42117 else
42118 ac_cv_lib_m_sin=no
42120 rm -f core conftest.err conftest.$ac_objext \
42121 conftest$ac_exeext conftest.$ac_ext
42122 LIBS=$ac_check_lib_save_LIBS
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42125 $as_echo "$ac_cv_lib_m_sin" >&6; }
42126 if test "x$ac_cv_lib_m_sin" = xyes; then :
42127 libm="-lm"
42130 ac_save_LIBS="$LIBS"
42131 LIBS="$LIBS $libm"
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42136 $as_echo_n "checking for isinf declaration... " >&6; }
42137 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42138 if ${glibcxx_cv_func_isinf_use+:} false; then :
42139 $as_echo_n "(cached) " >&6
42140 else
42143 ac_ext=cpp
42144 ac_cpp='$CXXCPP $CPPFLAGS'
42145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42150 /* end confdefs.h. */
42151 #include <math.h>
42152 #ifdef HAVE_IEEEFP_H
42153 #include <ieeefp.h>
42154 #endif
42157 main ()
42159 isinf(0);
42161 return 0;
42163 _ACEOF
42164 if ac_fn_cxx_try_compile "$LINENO"; then :
42165 glibcxx_cv_func_isinf_use=yes
42166 else
42167 glibcxx_cv_func_isinf_use=no
42169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42170 ac_ext=c
42171 ac_cpp='$CPP $CPPFLAGS'
42172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42181 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42183 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42184 for ac_func in isinf
42185 do :
42186 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42187 if test "x$ac_cv_func_isinf" = xyes; then :
42188 cat >>confdefs.h <<_ACEOF
42189 #define HAVE_ISINF 1
42190 _ACEOF
42193 done
42195 else
42197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42198 $as_echo_n "checking for _isinf declaration... " >&6; }
42199 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42200 if ${glibcxx_cv_func__isinf_use+:} false; then :
42201 $as_echo_n "(cached) " >&6
42202 else
42205 ac_ext=cpp
42206 ac_cpp='$CXXCPP $CPPFLAGS'
42207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42212 /* end confdefs.h. */
42213 #include <math.h>
42214 #ifdef HAVE_IEEEFP_H
42215 #include <ieeefp.h>
42216 #endif
42219 main ()
42221 _isinf(0);
42223 return 0;
42225 _ACEOF
42226 if ac_fn_cxx_try_compile "$LINENO"; then :
42227 glibcxx_cv_func__isinf_use=yes
42228 else
42229 glibcxx_cv_func__isinf_use=no
42231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42232 ac_ext=c
42233 ac_cpp='$CPP $CPPFLAGS'
42234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42243 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42245 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42246 for ac_func in _isinf
42247 do :
42248 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42249 if test "x$ac_cv_func__isinf" = xyes; then :
42250 cat >>confdefs.h <<_ACEOF
42251 #define HAVE__ISINF 1
42252 _ACEOF
42255 done
42264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42265 $as_echo_n "checking for isnan declaration... " >&6; }
42266 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42267 if ${glibcxx_cv_func_isnan_use+:} false; then :
42268 $as_echo_n "(cached) " >&6
42269 else
42272 ac_ext=cpp
42273 ac_cpp='$CXXCPP $CPPFLAGS'
42274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42279 /* end confdefs.h. */
42280 #include <math.h>
42281 #ifdef HAVE_IEEEFP_H
42282 #include <ieeefp.h>
42283 #endif
42286 main ()
42288 isnan(0);
42290 return 0;
42292 _ACEOF
42293 if ac_fn_cxx_try_compile "$LINENO"; then :
42294 glibcxx_cv_func_isnan_use=yes
42295 else
42296 glibcxx_cv_func_isnan_use=no
42298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42299 ac_ext=c
42300 ac_cpp='$CPP $CPPFLAGS'
42301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42310 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42312 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42313 for ac_func in isnan
42314 do :
42315 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42316 if test "x$ac_cv_func_isnan" = xyes; then :
42317 cat >>confdefs.h <<_ACEOF
42318 #define HAVE_ISNAN 1
42319 _ACEOF
42322 done
42324 else
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42327 $as_echo_n "checking for _isnan declaration... " >&6; }
42328 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42329 if ${glibcxx_cv_func__isnan_use+:} false; then :
42330 $as_echo_n "(cached) " >&6
42331 else
42334 ac_ext=cpp
42335 ac_cpp='$CXXCPP $CPPFLAGS'
42336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42341 /* end confdefs.h. */
42342 #include <math.h>
42343 #ifdef HAVE_IEEEFP_H
42344 #include <ieeefp.h>
42345 #endif
42348 main ()
42350 _isnan(0);
42352 return 0;
42354 _ACEOF
42355 if ac_fn_cxx_try_compile "$LINENO"; then :
42356 glibcxx_cv_func__isnan_use=yes
42357 else
42358 glibcxx_cv_func__isnan_use=no
42360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42361 ac_ext=c
42362 ac_cpp='$CPP $CPPFLAGS'
42363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42372 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42374 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42375 for ac_func in _isnan
42376 do :
42377 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42378 if test "x$ac_cv_func__isnan" = xyes; then :
42379 cat >>confdefs.h <<_ACEOF
42380 #define HAVE__ISNAN 1
42381 _ACEOF
42384 done
42393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42394 $as_echo_n "checking for finite declaration... " >&6; }
42395 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42396 if ${glibcxx_cv_func_finite_use+:} false; then :
42397 $as_echo_n "(cached) " >&6
42398 else
42401 ac_ext=cpp
42402 ac_cpp='$CXXCPP $CPPFLAGS'
42403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42408 /* end confdefs.h. */
42409 #include <math.h>
42410 #ifdef HAVE_IEEEFP_H
42411 #include <ieeefp.h>
42412 #endif
42415 main ()
42417 finite(0);
42419 return 0;
42421 _ACEOF
42422 if ac_fn_cxx_try_compile "$LINENO"; then :
42423 glibcxx_cv_func_finite_use=yes
42424 else
42425 glibcxx_cv_func_finite_use=no
42427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42428 ac_ext=c
42429 ac_cpp='$CPP $CPPFLAGS'
42430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42439 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42441 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42442 for ac_func in finite
42443 do :
42444 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42445 if test "x$ac_cv_func_finite" = xyes; then :
42446 cat >>confdefs.h <<_ACEOF
42447 #define HAVE_FINITE 1
42448 _ACEOF
42451 done
42453 else
42455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42456 $as_echo_n "checking for _finite declaration... " >&6; }
42457 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42458 if ${glibcxx_cv_func__finite_use+:} false; then :
42459 $as_echo_n "(cached) " >&6
42460 else
42463 ac_ext=cpp
42464 ac_cpp='$CXXCPP $CPPFLAGS'
42465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42470 /* end confdefs.h. */
42471 #include <math.h>
42472 #ifdef HAVE_IEEEFP_H
42473 #include <ieeefp.h>
42474 #endif
42477 main ()
42479 _finite(0);
42481 return 0;
42483 _ACEOF
42484 if ac_fn_cxx_try_compile "$LINENO"; then :
42485 glibcxx_cv_func__finite_use=yes
42486 else
42487 glibcxx_cv_func__finite_use=no
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42490 ac_ext=c
42491 ac_cpp='$CPP $CPPFLAGS'
42492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42501 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42503 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42504 for ac_func in _finite
42505 do :
42506 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42507 if test "x$ac_cv_func__finite" = xyes; then :
42508 cat >>confdefs.h <<_ACEOF
42509 #define HAVE__FINITE 1
42510 _ACEOF
42513 done
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42523 $as_echo_n "checking for sincos declaration... " >&6; }
42524 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42525 if ${glibcxx_cv_func_sincos_use+:} false; then :
42526 $as_echo_n "(cached) " >&6
42527 else
42530 ac_ext=cpp
42531 ac_cpp='$CXXCPP $CPPFLAGS'
42532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42537 /* end confdefs.h. */
42538 #include <math.h>
42540 main ()
42542 sincos(0, 0, 0);
42544 return 0;
42546 _ACEOF
42547 if ac_fn_cxx_try_compile "$LINENO"; then :
42548 glibcxx_cv_func_sincos_use=yes
42549 else
42550 glibcxx_cv_func_sincos_use=no
42552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42553 ac_ext=c
42554 ac_cpp='$CPP $CPPFLAGS'
42555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42564 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42566 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42567 for ac_func in sincos
42568 do :
42569 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42570 if test "x$ac_cv_func_sincos" = xyes; then :
42571 cat >>confdefs.h <<_ACEOF
42572 #define HAVE_SINCOS 1
42573 _ACEOF
42576 done
42578 else
42580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42581 $as_echo_n "checking for _sincos declaration... " >&6; }
42582 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42583 if ${glibcxx_cv_func__sincos_use+:} false; then :
42584 $as_echo_n "(cached) " >&6
42585 else
42588 ac_ext=cpp
42589 ac_cpp='$CXXCPP $CPPFLAGS'
42590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42595 /* end confdefs.h. */
42596 #include <math.h>
42598 main ()
42600 _sincos(0, 0, 0);
42602 return 0;
42604 _ACEOF
42605 if ac_fn_cxx_try_compile "$LINENO"; then :
42606 glibcxx_cv_func__sincos_use=yes
42607 else
42608 glibcxx_cv_func__sincos_use=no
42610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42611 ac_ext=c
42612 ac_cpp='$CPP $CPPFLAGS'
42613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42622 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42624 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42625 for ac_func in _sincos
42626 do :
42627 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42628 if test "x$ac_cv_func__sincos" = xyes; then :
42629 cat >>confdefs.h <<_ACEOF
42630 #define HAVE__SINCOS 1
42631 _ACEOF
42634 done
42643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42644 $as_echo_n "checking for fpclass declaration... " >&6; }
42645 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42646 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42647 $as_echo_n "(cached) " >&6
42648 else
42651 ac_ext=cpp
42652 ac_cpp='$CXXCPP $CPPFLAGS'
42653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42658 /* end confdefs.h. */
42659 #include <math.h>
42660 #ifdef HAVE_IEEEFP_H
42661 #include <ieeefp.h>
42662 #endif
42665 main ()
42667 fpclass(0);
42669 return 0;
42671 _ACEOF
42672 if ac_fn_cxx_try_compile "$LINENO"; then :
42673 glibcxx_cv_func_fpclass_use=yes
42674 else
42675 glibcxx_cv_func_fpclass_use=no
42677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42678 ac_ext=c
42679 ac_cpp='$CPP $CPPFLAGS'
42680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42689 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42691 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42692 for ac_func in fpclass
42693 do :
42694 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42695 if test "x$ac_cv_func_fpclass" = xyes; then :
42696 cat >>confdefs.h <<_ACEOF
42697 #define HAVE_FPCLASS 1
42698 _ACEOF
42701 done
42703 else
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42706 $as_echo_n "checking for _fpclass declaration... " >&6; }
42707 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42708 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42709 $as_echo_n "(cached) " >&6
42710 else
42713 ac_ext=cpp
42714 ac_cpp='$CXXCPP $CPPFLAGS'
42715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42720 /* end confdefs.h. */
42721 #include <math.h>
42722 #ifdef HAVE_IEEEFP_H
42723 #include <ieeefp.h>
42724 #endif
42727 main ()
42729 _fpclass(0);
42731 return 0;
42733 _ACEOF
42734 if ac_fn_cxx_try_compile "$LINENO"; then :
42735 glibcxx_cv_func__fpclass_use=yes
42736 else
42737 glibcxx_cv_func__fpclass_use=no
42739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42740 ac_ext=c
42741 ac_cpp='$CPP $CPPFLAGS'
42742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42751 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42753 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42754 for ac_func in _fpclass
42755 do :
42756 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42757 if test "x$ac_cv_func__fpclass" = xyes; then :
42758 cat >>confdefs.h <<_ACEOF
42759 #define HAVE__FPCLASS 1
42760 _ACEOF
42763 done
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42773 $as_echo_n "checking for qfpclass declaration... " >&6; }
42774 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42775 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42776 $as_echo_n "(cached) " >&6
42777 else
42780 ac_ext=cpp
42781 ac_cpp='$CXXCPP $CPPFLAGS'
42782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42787 /* end confdefs.h. */
42788 #include <math.h>
42789 #ifdef HAVE_IEEEFP_H
42790 #include <ieeefp.h>
42791 #endif
42794 main ()
42796 qfpclass(0);
42798 return 0;
42800 _ACEOF
42801 if ac_fn_cxx_try_compile "$LINENO"; then :
42802 glibcxx_cv_func_qfpclass_use=yes
42803 else
42804 glibcxx_cv_func_qfpclass_use=no
42806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807 ac_ext=c
42808 ac_cpp='$CPP $CPPFLAGS'
42809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42818 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42820 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42821 for ac_func in qfpclass
42822 do :
42823 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42824 if test "x$ac_cv_func_qfpclass" = xyes; then :
42825 cat >>confdefs.h <<_ACEOF
42826 #define HAVE_QFPCLASS 1
42827 _ACEOF
42830 done
42832 else
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42835 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42836 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42837 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42838 $as_echo_n "(cached) " >&6
42839 else
42842 ac_ext=cpp
42843 ac_cpp='$CXXCPP $CPPFLAGS'
42844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42849 /* end confdefs.h. */
42850 #include <math.h>
42851 #ifdef HAVE_IEEEFP_H
42852 #include <ieeefp.h>
42853 #endif
42856 main ()
42858 _qfpclass(0);
42860 return 0;
42862 _ACEOF
42863 if ac_fn_cxx_try_compile "$LINENO"; then :
42864 glibcxx_cv_func__qfpclass_use=yes
42865 else
42866 glibcxx_cv_func__qfpclass_use=no
42868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42869 ac_ext=c
42870 ac_cpp='$CPP $CPPFLAGS'
42871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42880 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42882 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42883 for ac_func in _qfpclass
42884 do :
42885 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42886 if test "x$ac_cv_func__qfpclass" = xyes; then :
42887 cat >>confdefs.h <<_ACEOF
42888 #define HAVE__QFPCLASS 1
42889 _ACEOF
42892 done
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42902 $as_echo_n "checking for hypot declaration... " >&6; }
42903 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42904 if ${glibcxx_cv_func_hypot_use+:} false; then :
42905 $as_echo_n "(cached) " >&6
42906 else
42909 ac_ext=cpp
42910 ac_cpp='$CXXCPP $CPPFLAGS'
42911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42916 /* end confdefs.h. */
42917 #include <math.h>
42919 main ()
42921 hypot(0, 0);
42923 return 0;
42925 _ACEOF
42926 if ac_fn_cxx_try_compile "$LINENO"; then :
42927 glibcxx_cv_func_hypot_use=yes
42928 else
42929 glibcxx_cv_func_hypot_use=no
42931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42932 ac_ext=c
42933 ac_cpp='$CPP $CPPFLAGS'
42934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42943 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42945 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42946 for ac_func in hypot
42947 do :
42948 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42949 if test "x$ac_cv_func_hypot" = xyes; then :
42950 cat >>confdefs.h <<_ACEOF
42951 #define HAVE_HYPOT 1
42952 _ACEOF
42955 done
42957 else
42959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42960 $as_echo_n "checking for _hypot declaration... " >&6; }
42961 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42962 if ${glibcxx_cv_func__hypot_use+:} false; then :
42963 $as_echo_n "(cached) " >&6
42964 else
42967 ac_ext=cpp
42968 ac_cpp='$CXXCPP $CPPFLAGS'
42969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42974 /* end confdefs.h. */
42975 #include <math.h>
42977 main ()
42979 _hypot(0, 0);
42981 return 0;
42983 _ACEOF
42984 if ac_fn_cxx_try_compile "$LINENO"; then :
42985 glibcxx_cv_func__hypot_use=yes
42986 else
42987 glibcxx_cv_func__hypot_use=no
42989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42990 ac_ext=c
42991 ac_cpp='$CPP $CPPFLAGS'
42992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
43001 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
43003 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
43004 for ac_func in _hypot
43005 do :
43006 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
43007 if test "x$ac_cv_func__hypot" = xyes; then :
43008 cat >>confdefs.h <<_ACEOF
43009 #define HAVE__HYPOT 1
43010 _ACEOF
43013 done
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
43023 $as_echo_n "checking for float trig functions... " >&6; }
43024 if ${glibcxx_cv_func_float_trig_use+:} false; then :
43025 $as_echo_n "(cached) " >&6
43026 else
43029 ac_ext=cpp
43030 ac_cpp='$CXXCPP $CPPFLAGS'
43031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43036 /* end confdefs.h. */
43037 #include <math.h>
43039 main ()
43041 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
43043 return 0;
43045 _ACEOF
43046 if ac_fn_cxx_try_compile "$LINENO"; then :
43047 glibcxx_cv_func_float_trig_use=yes
43048 else
43049 glibcxx_cv_func_float_trig_use=no
43051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43052 ac_ext=c
43053 ac_cpp='$CPP $CPPFLAGS'
43054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
43061 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
43062 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
43063 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
43064 do :
43065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43068 cat >>confdefs.h <<_ACEOF
43069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43070 _ACEOF
43073 done
43075 else
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
43077 $as_echo_n "checking for _float trig functions... " >&6; }
43078 if ${glibcxx_cv_func__float_trig_use+:} false; then :
43079 $as_echo_n "(cached) " >&6
43080 else
43083 ac_ext=cpp
43084 ac_cpp='$CXXCPP $CPPFLAGS'
43085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090 /* end confdefs.h. */
43091 #include <math.h>
43093 main ()
43095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
43097 return 0;
43099 _ACEOF
43100 if ac_fn_cxx_try_compile "$LINENO"; then :
43101 glibcxx_cv_func__float_trig_use=yes
43102 else
43103 glibcxx_cv_func__float_trig_use=no
43105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43106 ac_ext=c
43107 ac_cpp='$CPP $CPPFLAGS'
43108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
43115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
43116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
43117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
43118 do :
43119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43121 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43122 cat >>confdefs.h <<_ACEOF
43123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43124 _ACEOF
43127 done
43136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43137 $as_echo_n "checking for float round functions... " >&6; }
43138 if ${glibcxx_cv_func_float_round_use+:} false; then :
43139 $as_echo_n "(cached) " >&6
43140 else
43143 ac_ext=cpp
43144 ac_cpp='$CXXCPP $CPPFLAGS'
43145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43150 /* end confdefs.h. */
43151 #include <math.h>
43153 main ()
43155 ceilf (0); floorf (0);
43157 return 0;
43159 _ACEOF
43160 if ac_fn_cxx_try_compile "$LINENO"; then :
43161 glibcxx_cv_func_float_round_use=yes
43162 else
43163 glibcxx_cv_func_float_round_use=no
43165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43166 ac_ext=c
43167 ac_cpp='$CPP $CPPFLAGS'
43168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43175 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43176 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43177 for ac_func in ceilf floorf
43178 do :
43179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43182 cat >>confdefs.h <<_ACEOF
43183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43184 _ACEOF
43187 done
43189 else
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43191 $as_echo_n "checking for _float round functions... " >&6; }
43192 if ${glibcxx_cv_func__float_round_use+:} false; then :
43193 $as_echo_n "(cached) " >&6
43194 else
43197 ac_ext=cpp
43198 ac_cpp='$CXXCPP $CPPFLAGS'
43199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43204 /* end confdefs.h. */
43205 #include <math.h>
43207 main ()
43209 _ceilf (0); _floorf (0);
43211 return 0;
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215 glibcxx_cv_func__float_round_use=yes
43216 else
43217 glibcxx_cv_func__float_round_use=no
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220 ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43229 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43230 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43231 for ac_func in _ceilf _floorf
43232 do :
43233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43235 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43236 cat >>confdefs.h <<_ACEOF
43237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43238 _ACEOF
43241 done
43251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43252 $as_echo_n "checking for expf declaration... " >&6; }
43253 if test x${glibcxx_cv_func_expf_use+set} != xset; then
43254 if ${glibcxx_cv_func_expf_use+:} false; then :
43255 $as_echo_n "(cached) " >&6
43256 else
43259 ac_ext=cpp
43260 ac_cpp='$CXXCPP $CPPFLAGS'
43261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43266 /* end confdefs.h. */
43267 #include <math.h>
43268 #ifdef HAVE_IEEEFP_H
43269 #include <ieeefp.h>
43270 #endif
43273 main ()
43275 expf(0);
43277 return 0;
43279 _ACEOF
43280 if ac_fn_cxx_try_compile "$LINENO"; then :
43281 glibcxx_cv_func_expf_use=yes
43282 else
43283 glibcxx_cv_func_expf_use=no
43285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43286 ac_ext=c
43287 ac_cpp='$CPP $CPPFLAGS'
43288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43297 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43299 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43300 for ac_func in expf
43301 do :
43302 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43303 if test "x$ac_cv_func_expf" = xyes; then :
43304 cat >>confdefs.h <<_ACEOF
43305 #define HAVE_EXPF 1
43306 _ACEOF
43309 done
43311 else
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43314 $as_echo_n "checking for _expf declaration... " >&6; }
43315 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43316 if ${glibcxx_cv_func__expf_use+:} false; then :
43317 $as_echo_n "(cached) " >&6
43318 else
43321 ac_ext=cpp
43322 ac_cpp='$CXXCPP $CPPFLAGS'
43323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328 /* end confdefs.h. */
43329 #include <math.h>
43330 #ifdef HAVE_IEEEFP_H
43331 #include <ieeefp.h>
43332 #endif
43335 main ()
43337 _expf(0);
43339 return 0;
43341 _ACEOF
43342 if ac_fn_cxx_try_compile "$LINENO"; then :
43343 glibcxx_cv_func__expf_use=yes
43344 else
43345 glibcxx_cv_func__expf_use=no
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348 ac_ext=c
43349 ac_cpp='$CPP $CPPFLAGS'
43350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43359 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43361 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43362 for ac_func in _expf
43363 do :
43364 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43365 if test "x$ac_cv_func__expf" = xyes; then :
43366 cat >>confdefs.h <<_ACEOF
43367 #define HAVE__EXPF 1
43368 _ACEOF
43371 done
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43381 $as_echo_n "checking for isnanf declaration... " >&6; }
43382 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43383 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43384 $as_echo_n "(cached) " >&6
43385 else
43388 ac_ext=cpp
43389 ac_cpp='$CXXCPP $CPPFLAGS'
43390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43395 /* end confdefs.h. */
43396 #include <math.h>
43397 #ifdef HAVE_IEEEFP_H
43398 #include <ieeefp.h>
43399 #endif
43402 main ()
43404 isnanf(0);
43406 return 0;
43408 _ACEOF
43409 if ac_fn_cxx_try_compile "$LINENO"; then :
43410 glibcxx_cv_func_isnanf_use=yes
43411 else
43412 glibcxx_cv_func_isnanf_use=no
43414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43415 ac_ext=c
43416 ac_cpp='$CPP $CPPFLAGS'
43417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43426 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43428 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43429 for ac_func in isnanf
43430 do :
43431 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43432 if test "x$ac_cv_func_isnanf" = xyes; then :
43433 cat >>confdefs.h <<_ACEOF
43434 #define HAVE_ISNANF 1
43435 _ACEOF
43438 done
43440 else
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43443 $as_echo_n "checking for _isnanf declaration... " >&6; }
43444 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43445 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43446 $as_echo_n "(cached) " >&6
43447 else
43450 ac_ext=cpp
43451 ac_cpp='$CXXCPP $CPPFLAGS'
43452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43457 /* end confdefs.h. */
43458 #include <math.h>
43459 #ifdef HAVE_IEEEFP_H
43460 #include <ieeefp.h>
43461 #endif
43464 main ()
43466 _isnanf(0);
43468 return 0;
43470 _ACEOF
43471 if ac_fn_cxx_try_compile "$LINENO"; then :
43472 glibcxx_cv_func__isnanf_use=yes
43473 else
43474 glibcxx_cv_func__isnanf_use=no
43476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43477 ac_ext=c
43478 ac_cpp='$CPP $CPPFLAGS'
43479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43488 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43490 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43491 for ac_func in _isnanf
43492 do :
43493 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43494 if test "x$ac_cv_func__isnanf" = xyes; then :
43495 cat >>confdefs.h <<_ACEOF
43496 #define HAVE__ISNANF 1
43497 _ACEOF
43500 done
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43510 $as_echo_n "checking for isinff declaration... " >&6; }
43511 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43512 if ${glibcxx_cv_func_isinff_use+:} false; then :
43513 $as_echo_n "(cached) " >&6
43514 else
43517 ac_ext=cpp
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43524 /* end confdefs.h. */
43525 #include <math.h>
43526 #ifdef HAVE_IEEEFP_H
43527 #include <ieeefp.h>
43528 #endif
43531 main ()
43533 isinff(0);
43535 return 0;
43537 _ACEOF
43538 if ac_fn_cxx_try_compile "$LINENO"; then :
43539 glibcxx_cv_func_isinff_use=yes
43540 else
43541 glibcxx_cv_func_isinff_use=no
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43544 ac_ext=c
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43555 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43557 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43558 for ac_func in isinff
43559 do :
43560 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43561 if test "x$ac_cv_func_isinff" = xyes; then :
43562 cat >>confdefs.h <<_ACEOF
43563 #define HAVE_ISINFF 1
43564 _ACEOF
43567 done
43569 else
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43572 $as_echo_n "checking for _isinff declaration... " >&6; }
43573 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43574 if ${glibcxx_cv_func__isinff_use+:} false; then :
43575 $as_echo_n "(cached) " >&6
43576 else
43579 ac_ext=cpp
43580 ac_cpp='$CXXCPP $CPPFLAGS'
43581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43586 /* end confdefs.h. */
43587 #include <math.h>
43588 #ifdef HAVE_IEEEFP_H
43589 #include <ieeefp.h>
43590 #endif
43593 main ()
43595 _isinff(0);
43597 return 0;
43599 _ACEOF
43600 if ac_fn_cxx_try_compile "$LINENO"; then :
43601 glibcxx_cv_func__isinff_use=yes
43602 else
43603 glibcxx_cv_func__isinff_use=no
43605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43606 ac_ext=c
43607 ac_cpp='$CPP $CPPFLAGS'
43608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43617 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43619 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43620 for ac_func in _isinff
43621 do :
43622 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43623 if test "x$ac_cv_func__isinff" = xyes; then :
43624 cat >>confdefs.h <<_ACEOF
43625 #define HAVE__ISINFF 1
43626 _ACEOF
43629 done
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43639 $as_echo_n "checking for atan2f declaration... " >&6; }
43640 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43641 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43642 $as_echo_n "(cached) " >&6
43643 else
43646 ac_ext=cpp
43647 ac_cpp='$CXXCPP $CPPFLAGS'
43648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43653 /* end confdefs.h. */
43654 #include <math.h>
43656 main ()
43658 atan2f(0, 0);
43660 return 0;
43662 _ACEOF
43663 if ac_fn_cxx_try_compile "$LINENO"; then :
43664 glibcxx_cv_func_atan2f_use=yes
43665 else
43666 glibcxx_cv_func_atan2f_use=no
43668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43669 ac_ext=c
43670 ac_cpp='$CPP $CPPFLAGS'
43671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43680 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43682 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43683 for ac_func in atan2f
43684 do :
43685 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43686 if test "x$ac_cv_func_atan2f" = xyes; then :
43687 cat >>confdefs.h <<_ACEOF
43688 #define HAVE_ATAN2F 1
43689 _ACEOF
43692 done
43694 else
43696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43697 $as_echo_n "checking for _atan2f declaration... " >&6; }
43698 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43699 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43700 $as_echo_n "(cached) " >&6
43701 else
43704 ac_ext=cpp
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43711 /* end confdefs.h. */
43712 #include <math.h>
43714 main ()
43716 _atan2f(0, 0);
43718 return 0;
43720 _ACEOF
43721 if ac_fn_cxx_try_compile "$LINENO"; then :
43722 glibcxx_cv_func__atan2f_use=yes
43723 else
43724 glibcxx_cv_func__atan2f_use=no
43726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43727 ac_ext=c
43728 ac_cpp='$CPP $CPPFLAGS'
43729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43738 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43740 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43741 for ac_func in _atan2f
43742 do :
43743 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43744 if test "x$ac_cv_func__atan2f" = xyes; then :
43745 cat >>confdefs.h <<_ACEOF
43746 #define HAVE__ATAN2F 1
43747 _ACEOF
43750 done
43759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43760 $as_echo_n "checking for fabsf declaration... " >&6; }
43761 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43762 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43763 $as_echo_n "(cached) " >&6
43764 else
43767 ac_ext=cpp
43768 ac_cpp='$CXXCPP $CPPFLAGS'
43769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43774 /* end confdefs.h. */
43775 #include <math.h>
43776 #ifdef HAVE_IEEEFP_H
43777 #include <ieeefp.h>
43778 #endif
43781 main ()
43783 fabsf(0);
43785 return 0;
43787 _ACEOF
43788 if ac_fn_cxx_try_compile "$LINENO"; then :
43789 glibcxx_cv_func_fabsf_use=yes
43790 else
43791 glibcxx_cv_func_fabsf_use=no
43793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43794 ac_ext=c
43795 ac_cpp='$CPP $CPPFLAGS'
43796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43805 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43807 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43808 for ac_func in fabsf
43809 do :
43810 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43811 if test "x$ac_cv_func_fabsf" = xyes; then :
43812 cat >>confdefs.h <<_ACEOF
43813 #define HAVE_FABSF 1
43814 _ACEOF
43817 done
43819 else
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43822 $as_echo_n "checking for _fabsf declaration... " >&6; }
43823 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43824 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43825 $as_echo_n "(cached) " >&6
43826 else
43829 ac_ext=cpp
43830 ac_cpp='$CXXCPP $CPPFLAGS'
43831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43836 /* end confdefs.h. */
43837 #include <math.h>
43838 #ifdef HAVE_IEEEFP_H
43839 #include <ieeefp.h>
43840 #endif
43843 main ()
43845 _fabsf(0);
43847 return 0;
43849 _ACEOF
43850 if ac_fn_cxx_try_compile "$LINENO"; then :
43851 glibcxx_cv_func__fabsf_use=yes
43852 else
43853 glibcxx_cv_func__fabsf_use=no
43855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43856 ac_ext=c
43857 ac_cpp='$CPP $CPPFLAGS'
43858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43867 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43869 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43870 for ac_func in _fabsf
43871 do :
43872 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43873 if test "x$ac_cv_func__fabsf" = xyes; then :
43874 cat >>confdefs.h <<_ACEOF
43875 #define HAVE__FABSF 1
43876 _ACEOF
43879 done
43888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43889 $as_echo_n "checking for fmodf declaration... " >&6; }
43890 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43891 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43892 $as_echo_n "(cached) " >&6
43893 else
43896 ac_ext=cpp
43897 ac_cpp='$CXXCPP $CPPFLAGS'
43898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43903 /* end confdefs.h. */
43904 #include <math.h>
43906 main ()
43908 fmodf(0, 0);
43910 return 0;
43912 _ACEOF
43913 if ac_fn_cxx_try_compile "$LINENO"; then :
43914 glibcxx_cv_func_fmodf_use=yes
43915 else
43916 glibcxx_cv_func_fmodf_use=no
43918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43919 ac_ext=c
43920 ac_cpp='$CPP $CPPFLAGS'
43921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43930 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43932 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43933 for ac_func in fmodf
43934 do :
43935 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43936 if test "x$ac_cv_func_fmodf" = xyes; then :
43937 cat >>confdefs.h <<_ACEOF
43938 #define HAVE_FMODF 1
43939 _ACEOF
43942 done
43944 else
43946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43947 $as_echo_n "checking for _fmodf declaration... " >&6; }
43948 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43949 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43950 $as_echo_n "(cached) " >&6
43951 else
43954 ac_ext=cpp
43955 ac_cpp='$CXXCPP $CPPFLAGS'
43956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43961 /* end confdefs.h. */
43962 #include <math.h>
43964 main ()
43966 _fmodf(0, 0);
43968 return 0;
43970 _ACEOF
43971 if ac_fn_cxx_try_compile "$LINENO"; then :
43972 glibcxx_cv_func__fmodf_use=yes
43973 else
43974 glibcxx_cv_func__fmodf_use=no
43976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43977 ac_ext=c
43978 ac_cpp='$CPP $CPPFLAGS'
43979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43988 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43990 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43991 for ac_func in _fmodf
43992 do :
43993 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43994 if test "x$ac_cv_func__fmodf" = xyes; then :
43995 cat >>confdefs.h <<_ACEOF
43996 #define HAVE__FMODF 1
43997 _ACEOF
44000 done
44009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
44010 $as_echo_n "checking for frexpf declaration... " >&6; }
44011 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
44012 if ${glibcxx_cv_func_frexpf_use+:} false; then :
44013 $as_echo_n "(cached) " >&6
44014 else
44017 ac_ext=cpp
44018 ac_cpp='$CXXCPP $CPPFLAGS'
44019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44024 /* end confdefs.h. */
44025 #include <math.h>
44027 main ()
44029 frexpf(0, 0);
44031 return 0;
44033 _ACEOF
44034 if ac_fn_cxx_try_compile "$LINENO"; then :
44035 glibcxx_cv_func_frexpf_use=yes
44036 else
44037 glibcxx_cv_func_frexpf_use=no
44039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44040 ac_ext=c
44041 ac_cpp='$CPP $CPPFLAGS'
44042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
44051 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
44053 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
44054 for ac_func in frexpf
44055 do :
44056 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
44057 if test "x$ac_cv_func_frexpf" = xyes; then :
44058 cat >>confdefs.h <<_ACEOF
44059 #define HAVE_FREXPF 1
44060 _ACEOF
44063 done
44065 else
44067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
44068 $as_echo_n "checking for _frexpf declaration... " >&6; }
44069 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
44070 if ${glibcxx_cv_func__frexpf_use+:} false; then :
44071 $as_echo_n "(cached) " >&6
44072 else
44075 ac_ext=cpp
44076 ac_cpp='$CXXCPP $CPPFLAGS'
44077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44082 /* end confdefs.h. */
44083 #include <math.h>
44085 main ()
44087 _frexpf(0, 0);
44089 return 0;
44091 _ACEOF
44092 if ac_fn_cxx_try_compile "$LINENO"; then :
44093 glibcxx_cv_func__frexpf_use=yes
44094 else
44095 glibcxx_cv_func__frexpf_use=no
44097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44098 ac_ext=c
44099 ac_cpp='$CPP $CPPFLAGS'
44100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
44109 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
44111 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
44112 for ac_func in _frexpf
44113 do :
44114 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
44115 if test "x$ac_cv_func__frexpf" = xyes; then :
44116 cat >>confdefs.h <<_ACEOF
44117 #define HAVE__FREXPF 1
44118 _ACEOF
44121 done
44130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
44131 $as_echo_n "checking for hypotf declaration... " >&6; }
44132 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44133 if ${glibcxx_cv_func_hypotf_use+:} false; then :
44134 $as_echo_n "(cached) " >&6
44135 else
44138 ac_ext=cpp
44139 ac_cpp='$CXXCPP $CPPFLAGS'
44140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44145 /* end confdefs.h. */
44146 #include <math.h>
44148 main ()
44150 hypotf(0, 0);
44152 return 0;
44154 _ACEOF
44155 if ac_fn_cxx_try_compile "$LINENO"; then :
44156 glibcxx_cv_func_hypotf_use=yes
44157 else
44158 glibcxx_cv_func_hypotf_use=no
44160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44161 ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44172 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44174 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44175 for ac_func in hypotf
44176 do :
44177 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44178 if test "x$ac_cv_func_hypotf" = xyes; then :
44179 cat >>confdefs.h <<_ACEOF
44180 #define HAVE_HYPOTF 1
44181 _ACEOF
44184 done
44186 else
44188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44189 $as_echo_n "checking for _hypotf declaration... " >&6; }
44190 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44191 if ${glibcxx_cv_func__hypotf_use+:} false; then :
44192 $as_echo_n "(cached) " >&6
44193 else
44196 ac_ext=cpp
44197 ac_cpp='$CXXCPP $CPPFLAGS'
44198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44203 /* end confdefs.h. */
44204 #include <math.h>
44206 main ()
44208 _hypotf(0, 0);
44210 return 0;
44212 _ACEOF
44213 if ac_fn_cxx_try_compile "$LINENO"; then :
44214 glibcxx_cv_func__hypotf_use=yes
44215 else
44216 glibcxx_cv_func__hypotf_use=no
44218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44219 ac_ext=c
44220 ac_cpp='$CPP $CPPFLAGS'
44221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44230 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44232 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44233 for ac_func in _hypotf
44234 do :
44235 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44236 if test "x$ac_cv_func__hypotf" = xyes; then :
44237 cat >>confdefs.h <<_ACEOF
44238 #define HAVE__HYPOTF 1
44239 _ACEOF
44242 done
44251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44252 $as_echo_n "checking for ldexpf declaration... " >&6; }
44253 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44254 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44255 $as_echo_n "(cached) " >&6
44256 else
44259 ac_ext=cpp
44260 ac_cpp='$CXXCPP $CPPFLAGS'
44261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44266 /* end confdefs.h. */
44267 #include <math.h>
44269 main ()
44271 ldexpf(0, 0);
44273 return 0;
44275 _ACEOF
44276 if ac_fn_cxx_try_compile "$LINENO"; then :
44277 glibcxx_cv_func_ldexpf_use=yes
44278 else
44279 glibcxx_cv_func_ldexpf_use=no
44281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44282 ac_ext=c
44283 ac_cpp='$CPP $CPPFLAGS'
44284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44293 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44295 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44296 for ac_func in ldexpf
44297 do :
44298 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44299 if test "x$ac_cv_func_ldexpf" = xyes; then :
44300 cat >>confdefs.h <<_ACEOF
44301 #define HAVE_LDEXPF 1
44302 _ACEOF
44305 done
44307 else
44309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44310 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44311 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44312 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44313 $as_echo_n "(cached) " >&6
44314 else
44317 ac_ext=cpp
44318 ac_cpp='$CXXCPP $CPPFLAGS'
44319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44324 /* end confdefs.h. */
44325 #include <math.h>
44327 main ()
44329 _ldexpf(0, 0);
44331 return 0;
44333 _ACEOF
44334 if ac_fn_cxx_try_compile "$LINENO"; then :
44335 glibcxx_cv_func__ldexpf_use=yes
44336 else
44337 glibcxx_cv_func__ldexpf_use=no
44339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44340 ac_ext=c
44341 ac_cpp='$CPP $CPPFLAGS'
44342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44351 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44353 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44354 for ac_func in _ldexpf
44355 do :
44356 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44357 if test "x$ac_cv_func__ldexpf" = xyes; then :
44358 cat >>confdefs.h <<_ACEOF
44359 #define HAVE__LDEXPF 1
44360 _ACEOF
44363 done
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44373 $as_echo_n "checking for logf declaration... " >&6; }
44374 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44375 if ${glibcxx_cv_func_logf_use+:} false; then :
44376 $as_echo_n "(cached) " >&6
44377 else
44380 ac_ext=cpp
44381 ac_cpp='$CXXCPP $CPPFLAGS'
44382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44387 /* end confdefs.h. */
44388 #include <math.h>
44389 #ifdef HAVE_IEEEFP_H
44390 #include <ieeefp.h>
44391 #endif
44394 main ()
44396 logf(0);
44398 return 0;
44400 _ACEOF
44401 if ac_fn_cxx_try_compile "$LINENO"; then :
44402 glibcxx_cv_func_logf_use=yes
44403 else
44404 glibcxx_cv_func_logf_use=no
44406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44407 ac_ext=c
44408 ac_cpp='$CPP $CPPFLAGS'
44409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44418 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44420 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44421 for ac_func in logf
44422 do :
44423 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44424 if test "x$ac_cv_func_logf" = xyes; then :
44425 cat >>confdefs.h <<_ACEOF
44426 #define HAVE_LOGF 1
44427 _ACEOF
44430 done
44432 else
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44435 $as_echo_n "checking for _logf declaration... " >&6; }
44436 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44437 if ${glibcxx_cv_func__logf_use+:} false; then :
44438 $as_echo_n "(cached) " >&6
44439 else
44442 ac_ext=cpp
44443 ac_cpp='$CXXCPP $CPPFLAGS'
44444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449 /* end confdefs.h. */
44450 #include <math.h>
44451 #ifdef HAVE_IEEEFP_H
44452 #include <ieeefp.h>
44453 #endif
44456 main ()
44458 _logf(0);
44460 return 0;
44462 _ACEOF
44463 if ac_fn_cxx_try_compile "$LINENO"; then :
44464 glibcxx_cv_func__logf_use=yes
44465 else
44466 glibcxx_cv_func__logf_use=no
44468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44469 ac_ext=c
44470 ac_cpp='$CPP $CPPFLAGS'
44471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44480 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44482 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44483 for ac_func in _logf
44484 do :
44485 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44486 if test "x$ac_cv_func__logf" = xyes; then :
44487 cat >>confdefs.h <<_ACEOF
44488 #define HAVE__LOGF 1
44489 _ACEOF
44492 done
44501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44502 $as_echo_n "checking for log10f declaration... " >&6; }
44503 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44504 if ${glibcxx_cv_func_log10f_use+:} false; then :
44505 $as_echo_n "(cached) " >&6
44506 else
44509 ac_ext=cpp
44510 ac_cpp='$CXXCPP $CPPFLAGS'
44511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44516 /* end confdefs.h. */
44517 #include <math.h>
44518 #ifdef HAVE_IEEEFP_H
44519 #include <ieeefp.h>
44520 #endif
44523 main ()
44525 log10f(0);
44527 return 0;
44529 _ACEOF
44530 if ac_fn_cxx_try_compile "$LINENO"; then :
44531 glibcxx_cv_func_log10f_use=yes
44532 else
44533 glibcxx_cv_func_log10f_use=no
44535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44536 ac_ext=c
44537 ac_cpp='$CPP $CPPFLAGS'
44538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44547 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44549 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44550 for ac_func in log10f
44551 do :
44552 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44553 if test "x$ac_cv_func_log10f" = xyes; then :
44554 cat >>confdefs.h <<_ACEOF
44555 #define HAVE_LOG10F 1
44556 _ACEOF
44559 done
44561 else
44563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44564 $as_echo_n "checking for _log10f declaration... " >&6; }
44565 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44566 if ${glibcxx_cv_func__log10f_use+:} false; then :
44567 $as_echo_n "(cached) " >&6
44568 else
44571 ac_ext=cpp
44572 ac_cpp='$CXXCPP $CPPFLAGS'
44573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44578 /* end confdefs.h. */
44579 #include <math.h>
44580 #ifdef HAVE_IEEEFP_H
44581 #include <ieeefp.h>
44582 #endif
44585 main ()
44587 _log10f(0);
44589 return 0;
44591 _ACEOF
44592 if ac_fn_cxx_try_compile "$LINENO"; then :
44593 glibcxx_cv_func__log10f_use=yes
44594 else
44595 glibcxx_cv_func__log10f_use=no
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 ac_ext=c
44599 ac_cpp='$CPP $CPPFLAGS'
44600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44609 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44611 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44612 for ac_func in _log10f
44613 do :
44614 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44615 if test "x$ac_cv_func__log10f" = xyes; then :
44616 cat >>confdefs.h <<_ACEOF
44617 #define HAVE__LOG10F 1
44618 _ACEOF
44621 done
44630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44631 $as_echo_n "checking for modff declaration... " >&6; }
44632 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44633 if ${glibcxx_cv_func_modff_use+:} false; then :
44634 $as_echo_n "(cached) " >&6
44635 else
44638 ac_ext=cpp
44639 ac_cpp='$CXXCPP $CPPFLAGS'
44640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44645 /* end confdefs.h. */
44646 #include <math.h>
44648 main ()
44650 modff(0, 0);
44652 return 0;
44654 _ACEOF
44655 if ac_fn_cxx_try_compile "$LINENO"; then :
44656 glibcxx_cv_func_modff_use=yes
44657 else
44658 glibcxx_cv_func_modff_use=no
44660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44661 ac_ext=c
44662 ac_cpp='$CPP $CPPFLAGS'
44663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44672 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44674 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44675 for ac_func in modff
44676 do :
44677 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44678 if test "x$ac_cv_func_modff" = xyes; then :
44679 cat >>confdefs.h <<_ACEOF
44680 #define HAVE_MODFF 1
44681 _ACEOF
44684 done
44686 else
44688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44689 $as_echo_n "checking for _modff declaration... " >&6; }
44690 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44691 if ${glibcxx_cv_func__modff_use+:} false; then :
44692 $as_echo_n "(cached) " >&6
44693 else
44696 ac_ext=cpp
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h. */
44704 #include <math.h>
44706 main ()
44708 _modff(0, 0);
44710 return 0;
44712 _ACEOF
44713 if ac_fn_cxx_try_compile "$LINENO"; then :
44714 glibcxx_cv_func__modff_use=yes
44715 else
44716 glibcxx_cv_func__modff_use=no
44718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44719 ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44730 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44732 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44733 for ac_func in _modff
44734 do :
44735 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44736 if test "x$ac_cv_func__modff" = xyes; then :
44737 cat >>confdefs.h <<_ACEOF
44738 #define HAVE__MODFF 1
44739 _ACEOF
44742 done
44751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44752 $as_echo_n "checking for modf declaration... " >&6; }
44753 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44754 if ${glibcxx_cv_func_modf_use+:} false; then :
44755 $as_echo_n "(cached) " >&6
44756 else
44759 ac_ext=cpp
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44766 /* end confdefs.h. */
44767 #include <math.h>
44769 main ()
44771 modf(0, 0);
44773 return 0;
44775 _ACEOF
44776 if ac_fn_cxx_try_compile "$LINENO"; then :
44777 glibcxx_cv_func_modf_use=yes
44778 else
44779 glibcxx_cv_func_modf_use=no
44781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44782 ac_ext=c
44783 ac_cpp='$CPP $CPPFLAGS'
44784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44793 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44795 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44796 for ac_func in modf
44797 do :
44798 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44799 if test "x$ac_cv_func_modf" = xyes; then :
44800 cat >>confdefs.h <<_ACEOF
44801 #define HAVE_MODF 1
44802 _ACEOF
44805 done
44807 else
44809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44810 $as_echo_n "checking for _modf declaration... " >&6; }
44811 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44812 if ${glibcxx_cv_func__modf_use+:} false; then :
44813 $as_echo_n "(cached) " >&6
44814 else
44817 ac_ext=cpp
44818 ac_cpp='$CXXCPP $CPPFLAGS'
44819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44824 /* end confdefs.h. */
44825 #include <math.h>
44827 main ()
44829 _modf(0, 0);
44831 return 0;
44833 _ACEOF
44834 if ac_fn_cxx_try_compile "$LINENO"; then :
44835 glibcxx_cv_func__modf_use=yes
44836 else
44837 glibcxx_cv_func__modf_use=no
44839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44840 ac_ext=c
44841 ac_cpp='$CPP $CPPFLAGS'
44842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44851 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44853 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44854 for ac_func in _modf
44855 do :
44856 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44857 if test "x$ac_cv_func__modf" = xyes; then :
44858 cat >>confdefs.h <<_ACEOF
44859 #define HAVE__MODF 1
44860 _ACEOF
44863 done
44872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44873 $as_echo_n "checking for powf declaration... " >&6; }
44874 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44875 if ${glibcxx_cv_func_powf_use+:} false; then :
44876 $as_echo_n "(cached) " >&6
44877 else
44880 ac_ext=cpp
44881 ac_cpp='$CXXCPP $CPPFLAGS'
44882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44887 /* end confdefs.h. */
44888 #include <math.h>
44890 main ()
44892 powf(0, 0);
44894 return 0;
44896 _ACEOF
44897 if ac_fn_cxx_try_compile "$LINENO"; then :
44898 glibcxx_cv_func_powf_use=yes
44899 else
44900 glibcxx_cv_func_powf_use=no
44902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44903 ac_ext=c
44904 ac_cpp='$CPP $CPPFLAGS'
44905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44914 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44916 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44917 for ac_func in powf
44918 do :
44919 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44920 if test "x$ac_cv_func_powf" = xyes; then :
44921 cat >>confdefs.h <<_ACEOF
44922 #define HAVE_POWF 1
44923 _ACEOF
44926 done
44928 else
44930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44931 $as_echo_n "checking for _powf declaration... " >&6; }
44932 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44933 if ${glibcxx_cv_func__powf_use+:} false; then :
44934 $as_echo_n "(cached) " >&6
44935 else
44938 ac_ext=cpp
44939 ac_cpp='$CXXCPP $CPPFLAGS'
44940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44945 /* end confdefs.h. */
44946 #include <math.h>
44948 main ()
44950 _powf(0, 0);
44952 return 0;
44954 _ACEOF
44955 if ac_fn_cxx_try_compile "$LINENO"; then :
44956 glibcxx_cv_func__powf_use=yes
44957 else
44958 glibcxx_cv_func__powf_use=no
44960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44961 ac_ext=c
44962 ac_cpp='$CPP $CPPFLAGS'
44963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44972 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44974 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44975 for ac_func in _powf
44976 do :
44977 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44978 if test "x$ac_cv_func__powf" = xyes; then :
44979 cat >>confdefs.h <<_ACEOF
44980 #define HAVE__POWF 1
44981 _ACEOF
44984 done
44993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44994 $as_echo_n "checking for sqrtf declaration... " >&6; }
44995 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44996 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44997 $as_echo_n "(cached) " >&6
44998 else
45001 ac_ext=cpp
45002 ac_cpp='$CXXCPP $CPPFLAGS'
45003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45008 /* end confdefs.h. */
45009 #include <math.h>
45010 #ifdef HAVE_IEEEFP_H
45011 #include <ieeefp.h>
45012 #endif
45015 main ()
45017 sqrtf(0);
45019 return 0;
45021 _ACEOF
45022 if ac_fn_cxx_try_compile "$LINENO"; then :
45023 glibcxx_cv_func_sqrtf_use=yes
45024 else
45025 glibcxx_cv_func_sqrtf_use=no
45027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45028 ac_ext=c
45029 ac_cpp='$CPP $CPPFLAGS'
45030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
45039 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
45041 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
45042 for ac_func in sqrtf
45043 do :
45044 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
45045 if test "x$ac_cv_func_sqrtf" = xyes; then :
45046 cat >>confdefs.h <<_ACEOF
45047 #define HAVE_SQRTF 1
45048 _ACEOF
45051 done
45053 else
45055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
45056 $as_echo_n "checking for _sqrtf declaration... " >&6; }
45057 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
45058 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
45059 $as_echo_n "(cached) " >&6
45060 else
45063 ac_ext=cpp
45064 ac_cpp='$CXXCPP $CPPFLAGS'
45065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45070 /* end confdefs.h. */
45071 #include <math.h>
45072 #ifdef HAVE_IEEEFP_H
45073 #include <ieeefp.h>
45074 #endif
45077 main ()
45079 _sqrtf(0);
45081 return 0;
45083 _ACEOF
45084 if ac_fn_cxx_try_compile "$LINENO"; then :
45085 glibcxx_cv_func__sqrtf_use=yes
45086 else
45087 glibcxx_cv_func__sqrtf_use=no
45089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45090 ac_ext=c
45091 ac_cpp='$CPP $CPPFLAGS'
45092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
45101 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
45103 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
45104 for ac_func in _sqrtf
45105 do :
45106 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
45107 if test "x$ac_cv_func__sqrtf" = xyes; then :
45108 cat >>confdefs.h <<_ACEOF
45109 #define HAVE__SQRTF 1
45110 _ACEOF
45113 done
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
45123 $as_echo_n "checking for sincosf declaration... " >&6; }
45124 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
45125 if ${glibcxx_cv_func_sincosf_use+:} false; then :
45126 $as_echo_n "(cached) " >&6
45127 else
45130 ac_ext=cpp
45131 ac_cpp='$CXXCPP $CPPFLAGS'
45132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45137 /* end confdefs.h. */
45138 #include <math.h>
45140 main ()
45142 sincosf(0, 0, 0);
45144 return 0;
45146 _ACEOF
45147 if ac_fn_cxx_try_compile "$LINENO"; then :
45148 glibcxx_cv_func_sincosf_use=yes
45149 else
45150 glibcxx_cv_func_sincosf_use=no
45152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45153 ac_ext=c
45154 ac_cpp='$CPP $CPPFLAGS'
45155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45164 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45166 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45167 for ac_func in sincosf
45168 do :
45169 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45170 if test "x$ac_cv_func_sincosf" = xyes; then :
45171 cat >>confdefs.h <<_ACEOF
45172 #define HAVE_SINCOSF 1
45173 _ACEOF
45176 done
45178 else
45180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45181 $as_echo_n "checking for _sincosf declaration... " >&6; }
45182 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45183 if ${glibcxx_cv_func__sincosf_use+:} false; then :
45184 $as_echo_n "(cached) " >&6
45185 else
45188 ac_ext=cpp
45189 ac_cpp='$CXXCPP $CPPFLAGS'
45190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45195 /* end confdefs.h. */
45196 #include <math.h>
45198 main ()
45200 _sincosf(0, 0, 0);
45202 return 0;
45204 _ACEOF
45205 if ac_fn_cxx_try_compile "$LINENO"; then :
45206 glibcxx_cv_func__sincosf_use=yes
45207 else
45208 glibcxx_cv_func__sincosf_use=no
45210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45211 ac_ext=c
45212 ac_cpp='$CPP $CPPFLAGS'
45213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45222 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45224 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45225 for ac_func in _sincosf
45226 do :
45227 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45228 if test "x$ac_cv_func__sincosf" = xyes; then :
45229 cat >>confdefs.h <<_ACEOF
45230 #define HAVE__SINCOSF 1
45231 _ACEOF
45234 done
45243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45244 $as_echo_n "checking for finitef declaration... " >&6; }
45245 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45246 if ${glibcxx_cv_func_finitef_use+:} false; then :
45247 $as_echo_n "(cached) " >&6
45248 else
45251 ac_ext=cpp
45252 ac_cpp='$CXXCPP $CPPFLAGS'
45253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45258 /* end confdefs.h. */
45259 #include <math.h>
45260 #ifdef HAVE_IEEEFP_H
45261 #include <ieeefp.h>
45262 #endif
45265 main ()
45267 finitef(0);
45269 return 0;
45271 _ACEOF
45272 if ac_fn_cxx_try_compile "$LINENO"; then :
45273 glibcxx_cv_func_finitef_use=yes
45274 else
45275 glibcxx_cv_func_finitef_use=no
45277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45278 ac_ext=c
45279 ac_cpp='$CPP $CPPFLAGS'
45280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45289 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45291 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45292 for ac_func in finitef
45293 do :
45294 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45295 if test "x$ac_cv_func_finitef" = xyes; then :
45296 cat >>confdefs.h <<_ACEOF
45297 #define HAVE_FINITEF 1
45298 _ACEOF
45301 done
45303 else
45305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45306 $as_echo_n "checking for _finitef declaration... " >&6; }
45307 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45308 if ${glibcxx_cv_func__finitef_use+:} false; then :
45309 $as_echo_n "(cached) " >&6
45310 else
45313 ac_ext=cpp
45314 ac_cpp='$CXXCPP $CPPFLAGS'
45315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45320 /* end confdefs.h. */
45321 #include <math.h>
45322 #ifdef HAVE_IEEEFP_H
45323 #include <ieeefp.h>
45324 #endif
45327 main ()
45329 _finitef(0);
45331 return 0;
45333 _ACEOF
45334 if ac_fn_cxx_try_compile "$LINENO"; then :
45335 glibcxx_cv_func__finitef_use=yes
45336 else
45337 glibcxx_cv_func__finitef_use=no
45339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45340 ac_ext=c
45341 ac_cpp='$CPP $CPPFLAGS'
45342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45351 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45353 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45354 for ac_func in _finitef
45355 do :
45356 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45357 if test "x$ac_cv_func__finitef" = xyes; then :
45358 cat >>confdefs.h <<_ACEOF
45359 #define HAVE__FINITEF 1
45360 _ACEOF
45363 done
45372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45373 $as_echo_n "checking for long double trig functions... " >&6; }
45374 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45375 $as_echo_n "(cached) " >&6
45376 else
45379 ac_ext=cpp
45380 ac_cpp='$CXXCPP $CPPFLAGS'
45381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45386 /* end confdefs.h. */
45387 #include <math.h>
45389 main ()
45391 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45393 return 0;
45395 _ACEOF
45396 if ac_fn_cxx_try_compile "$LINENO"; then :
45397 glibcxx_cv_func_long_double_trig_use=yes
45398 else
45399 glibcxx_cv_func_long_double_trig_use=no
45401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45402 ac_ext=c
45403 ac_cpp='$CPP $CPPFLAGS'
45404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45411 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45412 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45413 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45414 do :
45415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45417 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45418 cat >>confdefs.h <<_ACEOF
45419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45420 _ACEOF
45423 done
45425 else
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45427 $as_echo_n "checking for _long double trig functions... " >&6; }
45428 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45429 $as_echo_n "(cached) " >&6
45430 else
45433 ac_ext=cpp
45434 ac_cpp='$CXXCPP $CPPFLAGS'
45435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440 /* end confdefs.h. */
45441 #include <math.h>
45443 main ()
45445 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45447 return 0;
45449 _ACEOF
45450 if ac_fn_cxx_try_compile "$LINENO"; then :
45451 glibcxx_cv_func__long_double_trig_use=yes
45452 else
45453 glibcxx_cv_func__long_double_trig_use=no
45455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45456 ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45465 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45466 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45467 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45468 do :
45469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45472 cat >>confdefs.h <<_ACEOF
45473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45474 _ACEOF
45477 done
45486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45487 $as_echo_n "checking for long double round functions... " >&6; }
45488 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45489 $as_echo_n "(cached) " >&6
45490 else
45493 ac_ext=cpp
45494 ac_cpp='$CXXCPP $CPPFLAGS'
45495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45500 /* end confdefs.h. */
45501 #include <math.h>
45503 main ()
45505 ceill (0); floorl (0);
45507 return 0;
45509 _ACEOF
45510 if ac_fn_cxx_try_compile "$LINENO"; then :
45511 glibcxx_cv_func_long_double_round_use=yes
45512 else
45513 glibcxx_cv_func_long_double_round_use=no
45515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45516 ac_ext=c
45517 ac_cpp='$CPP $CPPFLAGS'
45518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45525 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45526 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45527 for ac_func in ceill floorl
45528 do :
45529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45532 cat >>confdefs.h <<_ACEOF
45533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45534 _ACEOF
45537 done
45539 else
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45541 $as_echo_n "checking for _long double round functions... " >&6; }
45542 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45543 $as_echo_n "(cached) " >&6
45544 else
45547 ac_ext=cpp
45548 ac_cpp='$CXXCPP $CPPFLAGS'
45549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45554 /* end confdefs.h. */
45555 #include <math.h>
45557 main ()
45559 _ceill (0); _floorl (0);
45561 return 0;
45563 _ACEOF
45564 if ac_fn_cxx_try_compile "$LINENO"; then :
45565 glibcxx_cv_func__long_double_round_use=yes
45566 else
45567 glibcxx_cv_func__long_double_round_use=no
45569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45570 ac_ext=c
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45579 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45580 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45581 for ac_func in _ceill _floorl
45582 do :
45583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45586 cat >>confdefs.h <<_ACEOF
45587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45588 _ACEOF
45591 done
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45602 $as_echo_n "checking for isnanl declaration... " >&6; }
45603 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45604 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45605 $as_echo_n "(cached) " >&6
45606 else
45609 ac_ext=cpp
45610 ac_cpp='$CXXCPP $CPPFLAGS'
45611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45616 /* end confdefs.h. */
45617 #include <math.h>
45618 #ifdef HAVE_IEEEFP_H
45619 #include <ieeefp.h>
45620 #endif
45623 main ()
45625 isnanl(0);
45627 return 0;
45629 _ACEOF
45630 if ac_fn_cxx_try_compile "$LINENO"; then :
45631 glibcxx_cv_func_isnanl_use=yes
45632 else
45633 glibcxx_cv_func_isnanl_use=no
45635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45636 ac_ext=c
45637 ac_cpp='$CPP $CPPFLAGS'
45638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45647 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45649 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45650 for ac_func in isnanl
45651 do :
45652 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45653 if test "x$ac_cv_func_isnanl" = xyes; then :
45654 cat >>confdefs.h <<_ACEOF
45655 #define HAVE_ISNANL 1
45656 _ACEOF
45659 done
45661 else
45663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45664 $as_echo_n "checking for _isnanl declaration... " >&6; }
45665 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45666 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45667 $as_echo_n "(cached) " >&6
45668 else
45671 ac_ext=cpp
45672 ac_cpp='$CXXCPP $CPPFLAGS'
45673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45678 /* end confdefs.h. */
45679 #include <math.h>
45680 #ifdef HAVE_IEEEFP_H
45681 #include <ieeefp.h>
45682 #endif
45685 main ()
45687 _isnanl(0);
45689 return 0;
45691 _ACEOF
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func__isnanl_use=yes
45694 else
45695 glibcxx_cv_func__isnanl_use=no
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45709 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45711 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45712 for ac_func in _isnanl
45713 do :
45714 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45715 if test "x$ac_cv_func__isnanl" = xyes; then :
45716 cat >>confdefs.h <<_ACEOF
45717 #define HAVE__ISNANL 1
45718 _ACEOF
45721 done
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45731 $as_echo_n "checking for isinfl declaration... " >&6; }
45732 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45733 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45734 $as_echo_n "(cached) " >&6
45735 else
45738 ac_ext=cpp
45739 ac_cpp='$CXXCPP $CPPFLAGS'
45740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45745 /* end confdefs.h. */
45746 #include <math.h>
45747 #ifdef HAVE_IEEEFP_H
45748 #include <ieeefp.h>
45749 #endif
45752 main ()
45754 isinfl(0);
45756 return 0;
45758 _ACEOF
45759 if ac_fn_cxx_try_compile "$LINENO"; then :
45760 glibcxx_cv_func_isinfl_use=yes
45761 else
45762 glibcxx_cv_func_isinfl_use=no
45764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45765 ac_ext=c
45766 ac_cpp='$CPP $CPPFLAGS'
45767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45776 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45778 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45779 for ac_func in isinfl
45780 do :
45781 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45782 if test "x$ac_cv_func_isinfl" = xyes; then :
45783 cat >>confdefs.h <<_ACEOF
45784 #define HAVE_ISINFL 1
45785 _ACEOF
45788 done
45790 else
45792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45793 $as_echo_n "checking for _isinfl declaration... " >&6; }
45794 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45795 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45796 $as_echo_n "(cached) " >&6
45797 else
45800 ac_ext=cpp
45801 ac_cpp='$CXXCPP $CPPFLAGS'
45802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45807 /* end confdefs.h. */
45808 #include <math.h>
45809 #ifdef HAVE_IEEEFP_H
45810 #include <ieeefp.h>
45811 #endif
45814 main ()
45816 _isinfl(0);
45818 return 0;
45820 _ACEOF
45821 if ac_fn_cxx_try_compile "$LINENO"; then :
45822 glibcxx_cv_func__isinfl_use=yes
45823 else
45824 glibcxx_cv_func__isinfl_use=no
45826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45827 ac_ext=c
45828 ac_cpp='$CPP $CPPFLAGS'
45829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45838 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45840 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45841 for ac_func in _isinfl
45842 do :
45843 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45844 if test "x$ac_cv_func__isinfl" = xyes; then :
45845 cat >>confdefs.h <<_ACEOF
45846 #define HAVE__ISINFL 1
45847 _ACEOF
45850 done
45859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45860 $as_echo_n "checking for atan2l declaration... " >&6; }
45861 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45862 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45863 $as_echo_n "(cached) " >&6
45864 else
45867 ac_ext=cpp
45868 ac_cpp='$CXXCPP $CPPFLAGS'
45869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45874 /* end confdefs.h. */
45875 #include <math.h>
45877 main ()
45879 atan2l(0, 0);
45881 return 0;
45883 _ACEOF
45884 if ac_fn_cxx_try_compile "$LINENO"; then :
45885 glibcxx_cv_func_atan2l_use=yes
45886 else
45887 glibcxx_cv_func_atan2l_use=no
45889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45890 ac_ext=c
45891 ac_cpp='$CPP $CPPFLAGS'
45892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45901 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45903 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45904 for ac_func in atan2l
45905 do :
45906 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45907 if test "x$ac_cv_func_atan2l" = xyes; then :
45908 cat >>confdefs.h <<_ACEOF
45909 #define HAVE_ATAN2L 1
45910 _ACEOF
45913 done
45915 else
45917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45918 $as_echo_n "checking for _atan2l declaration... " >&6; }
45919 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45920 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45921 $as_echo_n "(cached) " >&6
45922 else
45925 ac_ext=cpp
45926 ac_cpp='$CXXCPP $CPPFLAGS'
45927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45932 /* end confdefs.h. */
45933 #include <math.h>
45935 main ()
45937 _atan2l(0, 0);
45939 return 0;
45941 _ACEOF
45942 if ac_fn_cxx_try_compile "$LINENO"; then :
45943 glibcxx_cv_func__atan2l_use=yes
45944 else
45945 glibcxx_cv_func__atan2l_use=no
45947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45948 ac_ext=c
45949 ac_cpp='$CPP $CPPFLAGS'
45950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45959 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45961 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45962 for ac_func in _atan2l
45963 do :
45964 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45965 if test "x$ac_cv_func__atan2l" = xyes; then :
45966 cat >>confdefs.h <<_ACEOF
45967 #define HAVE__ATAN2L 1
45968 _ACEOF
45971 done
45980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45981 $as_echo_n "checking for expl declaration... " >&6; }
45982 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45983 if ${glibcxx_cv_func_expl_use+:} false; then :
45984 $as_echo_n "(cached) " >&6
45985 else
45988 ac_ext=cpp
45989 ac_cpp='$CXXCPP $CPPFLAGS'
45990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45995 /* end confdefs.h. */
45996 #include <math.h>
45997 #ifdef HAVE_IEEEFP_H
45998 #include <ieeefp.h>
45999 #endif
46002 main ()
46004 expl(0);
46006 return 0;
46008 _ACEOF
46009 if ac_fn_cxx_try_compile "$LINENO"; then :
46010 glibcxx_cv_func_expl_use=yes
46011 else
46012 glibcxx_cv_func_expl_use=no
46014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46015 ac_ext=c
46016 ac_cpp='$CPP $CPPFLAGS'
46017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
46026 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
46028 if test x$glibcxx_cv_func_expl_use = x"yes"; then
46029 for ac_func in expl
46030 do :
46031 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
46032 if test "x$ac_cv_func_expl" = xyes; then :
46033 cat >>confdefs.h <<_ACEOF
46034 #define HAVE_EXPL 1
46035 _ACEOF
46038 done
46040 else
46042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
46043 $as_echo_n "checking for _expl declaration... " >&6; }
46044 if test x${glibcxx_cv_func__expl_use+set} != xset; then
46045 if ${glibcxx_cv_func__expl_use+:} false; then :
46046 $as_echo_n "(cached) " >&6
46047 else
46050 ac_ext=cpp
46051 ac_cpp='$CXXCPP $CPPFLAGS'
46052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46057 /* end confdefs.h. */
46058 #include <math.h>
46059 #ifdef HAVE_IEEEFP_H
46060 #include <ieeefp.h>
46061 #endif
46064 main ()
46066 _expl(0);
46068 return 0;
46070 _ACEOF
46071 if ac_fn_cxx_try_compile "$LINENO"; then :
46072 glibcxx_cv_func__expl_use=yes
46073 else
46074 glibcxx_cv_func__expl_use=no
46076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46077 ac_ext=c
46078 ac_cpp='$CPP $CPPFLAGS'
46079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
46088 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
46090 if test x$glibcxx_cv_func__expl_use = x"yes"; then
46091 for ac_func in _expl
46092 do :
46093 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
46094 if test "x$ac_cv_func__expl" = xyes; then :
46095 cat >>confdefs.h <<_ACEOF
46096 #define HAVE__EXPL 1
46097 _ACEOF
46100 done
46109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
46110 $as_echo_n "checking for fabsl declaration... " >&6; }
46111 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46112 if ${glibcxx_cv_func_fabsl_use+:} false; then :
46113 $as_echo_n "(cached) " >&6
46114 else
46117 ac_ext=cpp
46118 ac_cpp='$CXXCPP $CPPFLAGS'
46119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46124 /* end confdefs.h. */
46125 #include <math.h>
46126 #ifdef HAVE_IEEEFP_H
46127 #include <ieeefp.h>
46128 #endif
46131 main ()
46133 fabsl(0);
46135 return 0;
46137 _ACEOF
46138 if ac_fn_cxx_try_compile "$LINENO"; then :
46139 glibcxx_cv_func_fabsl_use=yes
46140 else
46141 glibcxx_cv_func_fabsl_use=no
46143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46144 ac_ext=c
46145 ac_cpp='$CPP $CPPFLAGS'
46146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46155 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46157 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46158 for ac_func in fabsl
46159 do :
46160 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46161 if test "x$ac_cv_func_fabsl" = xyes; then :
46162 cat >>confdefs.h <<_ACEOF
46163 #define HAVE_FABSL 1
46164 _ACEOF
46167 done
46169 else
46171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46172 $as_echo_n "checking for _fabsl declaration... " >&6; }
46173 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46174 if ${glibcxx_cv_func__fabsl_use+:} false; then :
46175 $as_echo_n "(cached) " >&6
46176 else
46179 ac_ext=cpp
46180 ac_cpp='$CXXCPP $CPPFLAGS'
46181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46186 /* end confdefs.h. */
46187 #include <math.h>
46188 #ifdef HAVE_IEEEFP_H
46189 #include <ieeefp.h>
46190 #endif
46193 main ()
46195 _fabsl(0);
46197 return 0;
46199 _ACEOF
46200 if ac_fn_cxx_try_compile "$LINENO"; then :
46201 glibcxx_cv_func__fabsl_use=yes
46202 else
46203 glibcxx_cv_func__fabsl_use=no
46205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46206 ac_ext=c
46207 ac_cpp='$CPP $CPPFLAGS'
46208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46217 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46219 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46220 for ac_func in _fabsl
46221 do :
46222 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46223 if test "x$ac_cv_func__fabsl" = xyes; then :
46224 cat >>confdefs.h <<_ACEOF
46225 #define HAVE__FABSL 1
46226 _ACEOF
46229 done
46238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46239 $as_echo_n "checking for fmodl declaration... " >&6; }
46240 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46241 if ${glibcxx_cv_func_fmodl_use+:} false; then :
46242 $as_echo_n "(cached) " >&6
46243 else
46246 ac_ext=cpp
46247 ac_cpp='$CXXCPP $CPPFLAGS'
46248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46253 /* end confdefs.h. */
46254 #include <math.h>
46256 main ()
46258 fmodl(0, 0);
46260 return 0;
46262 _ACEOF
46263 if ac_fn_cxx_try_compile "$LINENO"; then :
46264 glibcxx_cv_func_fmodl_use=yes
46265 else
46266 glibcxx_cv_func_fmodl_use=no
46268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46269 ac_ext=c
46270 ac_cpp='$CPP $CPPFLAGS'
46271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46280 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46282 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46283 for ac_func in fmodl
46284 do :
46285 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46286 if test "x$ac_cv_func_fmodl" = xyes; then :
46287 cat >>confdefs.h <<_ACEOF
46288 #define HAVE_FMODL 1
46289 _ACEOF
46292 done
46294 else
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46297 $as_echo_n "checking for _fmodl declaration... " >&6; }
46298 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46299 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46300 $as_echo_n "(cached) " >&6
46301 else
46304 ac_ext=cpp
46305 ac_cpp='$CXXCPP $CPPFLAGS'
46306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46311 /* end confdefs.h. */
46312 #include <math.h>
46314 main ()
46316 _fmodl(0, 0);
46318 return 0;
46320 _ACEOF
46321 if ac_fn_cxx_try_compile "$LINENO"; then :
46322 glibcxx_cv_func__fmodl_use=yes
46323 else
46324 glibcxx_cv_func__fmodl_use=no
46326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46327 ac_ext=c
46328 ac_cpp='$CPP $CPPFLAGS'
46329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46338 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46340 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46341 for ac_func in _fmodl
46342 do :
46343 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46344 if test "x$ac_cv_func__fmodl" = xyes; then :
46345 cat >>confdefs.h <<_ACEOF
46346 #define HAVE__FMODL 1
46347 _ACEOF
46350 done
46359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46360 $as_echo_n "checking for frexpl declaration... " >&6; }
46361 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46362 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46363 $as_echo_n "(cached) " >&6
46364 else
46367 ac_ext=cpp
46368 ac_cpp='$CXXCPP $CPPFLAGS'
46369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46374 /* end confdefs.h. */
46375 #include <math.h>
46377 main ()
46379 frexpl(0, 0);
46381 return 0;
46383 _ACEOF
46384 if ac_fn_cxx_try_compile "$LINENO"; then :
46385 glibcxx_cv_func_frexpl_use=yes
46386 else
46387 glibcxx_cv_func_frexpl_use=no
46389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46390 ac_ext=c
46391 ac_cpp='$CPP $CPPFLAGS'
46392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46401 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46403 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46404 for ac_func in frexpl
46405 do :
46406 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46407 if test "x$ac_cv_func_frexpl" = xyes; then :
46408 cat >>confdefs.h <<_ACEOF
46409 #define HAVE_FREXPL 1
46410 _ACEOF
46413 done
46415 else
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46418 $as_echo_n "checking for _frexpl declaration... " >&6; }
46419 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46420 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46421 $as_echo_n "(cached) " >&6
46422 else
46425 ac_ext=cpp
46426 ac_cpp='$CXXCPP $CPPFLAGS'
46427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432 /* end confdefs.h. */
46433 #include <math.h>
46435 main ()
46437 _frexpl(0, 0);
46439 return 0;
46441 _ACEOF
46442 if ac_fn_cxx_try_compile "$LINENO"; then :
46443 glibcxx_cv_func__frexpl_use=yes
46444 else
46445 glibcxx_cv_func__frexpl_use=no
46447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46448 ac_ext=c
46449 ac_cpp='$CPP $CPPFLAGS'
46450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46459 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46461 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46462 for ac_func in _frexpl
46463 do :
46464 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46465 if test "x$ac_cv_func__frexpl" = xyes; then :
46466 cat >>confdefs.h <<_ACEOF
46467 #define HAVE__FREXPL 1
46468 _ACEOF
46471 done
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46481 $as_echo_n "checking for hypotl declaration... " >&6; }
46482 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46483 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46484 $as_echo_n "(cached) " >&6
46485 else
46488 ac_ext=cpp
46489 ac_cpp='$CXXCPP $CPPFLAGS'
46490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46495 /* end confdefs.h. */
46496 #include <math.h>
46498 main ()
46500 hypotl(0, 0);
46502 return 0;
46504 _ACEOF
46505 if ac_fn_cxx_try_compile "$LINENO"; then :
46506 glibcxx_cv_func_hypotl_use=yes
46507 else
46508 glibcxx_cv_func_hypotl_use=no
46510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46511 ac_ext=c
46512 ac_cpp='$CPP $CPPFLAGS'
46513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46522 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46524 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46525 for ac_func in hypotl
46526 do :
46527 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46528 if test "x$ac_cv_func_hypotl" = xyes; then :
46529 cat >>confdefs.h <<_ACEOF
46530 #define HAVE_HYPOTL 1
46531 _ACEOF
46534 done
46536 else
46538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46539 $as_echo_n "checking for _hypotl declaration... " >&6; }
46540 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46541 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46542 $as_echo_n "(cached) " >&6
46543 else
46546 ac_ext=cpp
46547 ac_cpp='$CXXCPP $CPPFLAGS'
46548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46553 /* end confdefs.h. */
46554 #include <math.h>
46556 main ()
46558 _hypotl(0, 0);
46560 return 0;
46562 _ACEOF
46563 if ac_fn_cxx_try_compile "$LINENO"; then :
46564 glibcxx_cv_func__hypotl_use=yes
46565 else
46566 glibcxx_cv_func__hypotl_use=no
46568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46569 ac_ext=c
46570 ac_cpp='$CPP $CPPFLAGS'
46571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46580 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46582 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46583 for ac_func in _hypotl
46584 do :
46585 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46586 if test "x$ac_cv_func__hypotl" = xyes; then :
46587 cat >>confdefs.h <<_ACEOF
46588 #define HAVE__HYPOTL 1
46589 _ACEOF
46592 done
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46602 $as_echo_n "checking for ldexpl declaration... " >&6; }
46603 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46604 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46605 $as_echo_n "(cached) " >&6
46606 else
46609 ac_ext=cpp
46610 ac_cpp='$CXXCPP $CPPFLAGS'
46611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46616 /* end confdefs.h. */
46617 #include <math.h>
46619 main ()
46621 ldexpl(0, 0);
46623 return 0;
46625 _ACEOF
46626 if ac_fn_cxx_try_compile "$LINENO"; then :
46627 glibcxx_cv_func_ldexpl_use=yes
46628 else
46629 glibcxx_cv_func_ldexpl_use=no
46631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46632 ac_ext=c
46633 ac_cpp='$CPP $CPPFLAGS'
46634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46643 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46645 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46646 for ac_func in ldexpl
46647 do :
46648 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46649 if test "x$ac_cv_func_ldexpl" = xyes; then :
46650 cat >>confdefs.h <<_ACEOF
46651 #define HAVE_LDEXPL 1
46652 _ACEOF
46655 done
46657 else
46659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46660 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46661 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46662 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46663 $as_echo_n "(cached) " >&6
46664 else
46667 ac_ext=cpp
46668 ac_cpp='$CXXCPP $CPPFLAGS'
46669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46674 /* end confdefs.h. */
46675 #include <math.h>
46677 main ()
46679 _ldexpl(0, 0);
46681 return 0;
46683 _ACEOF
46684 if ac_fn_cxx_try_compile "$LINENO"; then :
46685 glibcxx_cv_func__ldexpl_use=yes
46686 else
46687 glibcxx_cv_func__ldexpl_use=no
46689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46690 ac_ext=c
46691 ac_cpp='$CPP $CPPFLAGS'
46692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46701 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46703 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46704 for ac_func in _ldexpl
46705 do :
46706 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46707 if test "x$ac_cv_func__ldexpl" = xyes; then :
46708 cat >>confdefs.h <<_ACEOF
46709 #define HAVE__LDEXPL 1
46710 _ACEOF
46713 done
46722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46723 $as_echo_n "checking for logl declaration... " >&6; }
46724 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46725 if ${glibcxx_cv_func_logl_use+:} false; then :
46726 $as_echo_n "(cached) " >&6
46727 else
46730 ac_ext=cpp
46731 ac_cpp='$CXXCPP $CPPFLAGS'
46732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46737 /* end confdefs.h. */
46738 #include <math.h>
46739 #ifdef HAVE_IEEEFP_H
46740 #include <ieeefp.h>
46741 #endif
46744 main ()
46746 logl(0);
46748 return 0;
46750 _ACEOF
46751 if ac_fn_cxx_try_compile "$LINENO"; then :
46752 glibcxx_cv_func_logl_use=yes
46753 else
46754 glibcxx_cv_func_logl_use=no
46756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46757 ac_ext=c
46758 ac_cpp='$CPP $CPPFLAGS'
46759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46768 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46770 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46771 for ac_func in logl
46772 do :
46773 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46774 if test "x$ac_cv_func_logl" = xyes; then :
46775 cat >>confdefs.h <<_ACEOF
46776 #define HAVE_LOGL 1
46777 _ACEOF
46780 done
46782 else
46784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46785 $as_echo_n "checking for _logl declaration... " >&6; }
46786 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46787 if ${glibcxx_cv_func__logl_use+:} false; then :
46788 $as_echo_n "(cached) " >&6
46789 else
46792 ac_ext=cpp
46793 ac_cpp='$CXXCPP $CPPFLAGS'
46794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46799 /* end confdefs.h. */
46800 #include <math.h>
46801 #ifdef HAVE_IEEEFP_H
46802 #include <ieeefp.h>
46803 #endif
46806 main ()
46808 _logl(0);
46810 return 0;
46812 _ACEOF
46813 if ac_fn_cxx_try_compile "$LINENO"; then :
46814 glibcxx_cv_func__logl_use=yes
46815 else
46816 glibcxx_cv_func__logl_use=no
46818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46819 ac_ext=c
46820 ac_cpp='$CPP $CPPFLAGS'
46821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46830 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46832 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46833 for ac_func in _logl
46834 do :
46835 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46836 if test "x$ac_cv_func__logl" = xyes; then :
46837 cat >>confdefs.h <<_ACEOF
46838 #define HAVE__LOGL 1
46839 _ACEOF
46842 done
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46852 $as_echo_n "checking for log10l declaration... " >&6; }
46853 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46854 if ${glibcxx_cv_func_log10l_use+:} false; then :
46855 $as_echo_n "(cached) " >&6
46856 else
46859 ac_ext=cpp
46860 ac_cpp='$CXXCPP $CPPFLAGS'
46861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46866 /* end confdefs.h. */
46867 #include <math.h>
46868 #ifdef HAVE_IEEEFP_H
46869 #include <ieeefp.h>
46870 #endif
46873 main ()
46875 log10l(0);
46877 return 0;
46879 _ACEOF
46880 if ac_fn_cxx_try_compile "$LINENO"; then :
46881 glibcxx_cv_func_log10l_use=yes
46882 else
46883 glibcxx_cv_func_log10l_use=no
46885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46886 ac_ext=c
46887 ac_cpp='$CPP $CPPFLAGS'
46888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46897 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46899 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46900 for ac_func in log10l
46901 do :
46902 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46903 if test "x$ac_cv_func_log10l" = xyes; then :
46904 cat >>confdefs.h <<_ACEOF
46905 #define HAVE_LOG10L 1
46906 _ACEOF
46909 done
46911 else
46913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46914 $as_echo_n "checking for _log10l declaration... " >&6; }
46915 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46916 if ${glibcxx_cv_func__log10l_use+:} false; then :
46917 $as_echo_n "(cached) " >&6
46918 else
46921 ac_ext=cpp
46922 ac_cpp='$CXXCPP $CPPFLAGS'
46923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46928 /* end confdefs.h. */
46929 #include <math.h>
46930 #ifdef HAVE_IEEEFP_H
46931 #include <ieeefp.h>
46932 #endif
46935 main ()
46937 _log10l(0);
46939 return 0;
46941 _ACEOF
46942 if ac_fn_cxx_try_compile "$LINENO"; then :
46943 glibcxx_cv_func__log10l_use=yes
46944 else
46945 glibcxx_cv_func__log10l_use=no
46947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46948 ac_ext=c
46949 ac_cpp='$CPP $CPPFLAGS'
46950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46959 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46961 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46962 for ac_func in _log10l
46963 do :
46964 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46965 if test "x$ac_cv_func__log10l" = xyes; then :
46966 cat >>confdefs.h <<_ACEOF
46967 #define HAVE__LOG10L 1
46968 _ACEOF
46971 done
46980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46981 $as_echo_n "checking for modfl declaration... " >&6; }
46982 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46983 if ${glibcxx_cv_func_modfl_use+:} false; then :
46984 $as_echo_n "(cached) " >&6
46985 else
46988 ac_ext=cpp
46989 ac_cpp='$CXXCPP $CPPFLAGS'
46990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46995 /* end confdefs.h. */
46996 #include <math.h>
46998 main ()
47000 modfl(0, 0);
47002 return 0;
47004 _ACEOF
47005 if ac_fn_cxx_try_compile "$LINENO"; then :
47006 glibcxx_cv_func_modfl_use=yes
47007 else
47008 glibcxx_cv_func_modfl_use=no
47010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47011 ac_ext=c
47012 ac_cpp='$CPP $CPPFLAGS'
47013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
47022 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
47024 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47025 for ac_func in modfl
47026 do :
47027 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
47028 if test "x$ac_cv_func_modfl" = xyes; then :
47029 cat >>confdefs.h <<_ACEOF
47030 #define HAVE_MODFL 1
47031 _ACEOF
47034 done
47036 else
47038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
47039 $as_echo_n "checking for _modfl declaration... " >&6; }
47040 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47041 if ${glibcxx_cv_func__modfl_use+:} false; then :
47042 $as_echo_n "(cached) " >&6
47043 else
47046 ac_ext=cpp
47047 ac_cpp='$CXXCPP $CPPFLAGS'
47048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47053 /* end confdefs.h. */
47054 #include <math.h>
47056 main ()
47058 _modfl(0, 0);
47060 return 0;
47062 _ACEOF
47063 if ac_fn_cxx_try_compile "$LINENO"; then :
47064 glibcxx_cv_func__modfl_use=yes
47065 else
47066 glibcxx_cv_func__modfl_use=no
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47069 ac_ext=c
47070 ac_cpp='$CPP $CPPFLAGS'
47071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
47080 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
47082 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47083 for ac_func in _modfl
47084 do :
47085 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
47086 if test "x$ac_cv_func__modfl" = xyes; then :
47087 cat >>confdefs.h <<_ACEOF
47088 #define HAVE__MODFL 1
47089 _ACEOF
47092 done
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
47102 $as_echo_n "checking for powl declaration... " >&6; }
47103 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47104 if ${glibcxx_cv_func_powl_use+:} false; then :
47105 $as_echo_n "(cached) " >&6
47106 else
47109 ac_ext=cpp
47110 ac_cpp='$CXXCPP $CPPFLAGS'
47111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47116 /* end confdefs.h. */
47117 #include <math.h>
47119 main ()
47121 powl(0, 0);
47123 return 0;
47125 _ACEOF
47126 if ac_fn_cxx_try_compile "$LINENO"; then :
47127 glibcxx_cv_func_powl_use=yes
47128 else
47129 glibcxx_cv_func_powl_use=no
47131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47132 ac_ext=c
47133 ac_cpp='$CPP $CPPFLAGS'
47134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47143 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
47145 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47146 for ac_func in powl
47147 do :
47148 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47149 if test "x$ac_cv_func_powl" = xyes; then :
47150 cat >>confdefs.h <<_ACEOF
47151 #define HAVE_POWL 1
47152 _ACEOF
47155 done
47157 else
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47160 $as_echo_n "checking for _powl declaration... " >&6; }
47161 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47162 if ${glibcxx_cv_func__powl_use+:} false; then :
47163 $as_echo_n "(cached) " >&6
47164 else
47167 ac_ext=cpp
47168 ac_cpp='$CXXCPP $CPPFLAGS'
47169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47174 /* end confdefs.h. */
47175 #include <math.h>
47177 main ()
47179 _powl(0, 0);
47181 return 0;
47183 _ACEOF
47184 if ac_fn_cxx_try_compile "$LINENO"; then :
47185 glibcxx_cv_func__powl_use=yes
47186 else
47187 glibcxx_cv_func__powl_use=no
47189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47190 ac_ext=c
47191 ac_cpp='$CPP $CPPFLAGS'
47192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47201 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
47203 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47204 for ac_func in _powl
47205 do :
47206 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47207 if test "x$ac_cv_func__powl" = xyes; then :
47208 cat >>confdefs.h <<_ACEOF
47209 #define HAVE__POWL 1
47210 _ACEOF
47213 done
47222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47223 $as_echo_n "checking for sqrtl declaration... " >&6; }
47224 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47225 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47226 $as_echo_n "(cached) " >&6
47227 else
47230 ac_ext=cpp
47231 ac_cpp='$CXXCPP $CPPFLAGS'
47232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47237 /* end confdefs.h. */
47238 #include <math.h>
47239 #ifdef HAVE_IEEEFP_H
47240 #include <ieeefp.h>
47241 #endif
47244 main ()
47246 sqrtl(0);
47248 return 0;
47250 _ACEOF
47251 if ac_fn_cxx_try_compile "$LINENO"; then :
47252 glibcxx_cv_func_sqrtl_use=yes
47253 else
47254 glibcxx_cv_func_sqrtl_use=no
47256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47257 ac_ext=c
47258 ac_cpp='$CPP $CPPFLAGS'
47259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47268 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47270 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47271 for ac_func in sqrtl
47272 do :
47273 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47274 if test "x$ac_cv_func_sqrtl" = xyes; then :
47275 cat >>confdefs.h <<_ACEOF
47276 #define HAVE_SQRTL 1
47277 _ACEOF
47280 done
47282 else
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47285 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47286 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47287 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47288 $as_echo_n "(cached) " >&6
47289 else
47292 ac_ext=cpp
47293 ac_cpp='$CXXCPP $CPPFLAGS'
47294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47299 /* end confdefs.h. */
47300 #include <math.h>
47301 #ifdef HAVE_IEEEFP_H
47302 #include <ieeefp.h>
47303 #endif
47306 main ()
47308 _sqrtl(0);
47310 return 0;
47312 _ACEOF
47313 if ac_fn_cxx_try_compile "$LINENO"; then :
47314 glibcxx_cv_func__sqrtl_use=yes
47315 else
47316 glibcxx_cv_func__sqrtl_use=no
47318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47319 ac_ext=c
47320 ac_cpp='$CPP $CPPFLAGS'
47321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47330 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47332 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47333 for ac_func in _sqrtl
47334 do :
47335 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47336 if test "x$ac_cv_func__sqrtl" = xyes; then :
47337 cat >>confdefs.h <<_ACEOF
47338 #define HAVE__SQRTL 1
47339 _ACEOF
47342 done
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47352 $as_echo_n "checking for sincosl declaration... " >&6; }
47353 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47354 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47355 $as_echo_n "(cached) " >&6
47356 else
47359 ac_ext=cpp
47360 ac_cpp='$CXXCPP $CPPFLAGS'
47361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47366 /* end confdefs.h. */
47367 #include <math.h>
47369 main ()
47371 sincosl(0, 0, 0);
47373 return 0;
47375 _ACEOF
47376 if ac_fn_cxx_try_compile "$LINENO"; then :
47377 glibcxx_cv_func_sincosl_use=yes
47378 else
47379 glibcxx_cv_func_sincosl_use=no
47381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47382 ac_ext=c
47383 ac_cpp='$CPP $CPPFLAGS'
47384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47393 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47395 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47396 for ac_func in sincosl
47397 do :
47398 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47399 if test "x$ac_cv_func_sincosl" = xyes; then :
47400 cat >>confdefs.h <<_ACEOF
47401 #define HAVE_SINCOSL 1
47402 _ACEOF
47405 done
47407 else
47409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47410 $as_echo_n "checking for _sincosl declaration... " >&6; }
47411 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47412 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47413 $as_echo_n "(cached) " >&6
47414 else
47417 ac_ext=cpp
47418 ac_cpp='$CXXCPP $CPPFLAGS'
47419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47424 /* end confdefs.h. */
47425 #include <math.h>
47427 main ()
47429 _sincosl(0, 0, 0);
47431 return 0;
47433 _ACEOF
47434 if ac_fn_cxx_try_compile "$LINENO"; then :
47435 glibcxx_cv_func__sincosl_use=yes
47436 else
47437 glibcxx_cv_func__sincosl_use=no
47439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47440 ac_ext=c
47441 ac_cpp='$CPP $CPPFLAGS'
47442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47451 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47453 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47454 for ac_func in _sincosl
47455 do :
47456 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47457 if test "x$ac_cv_func__sincosl" = xyes; then :
47458 cat >>confdefs.h <<_ACEOF
47459 #define HAVE__SINCOSL 1
47460 _ACEOF
47463 done
47472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47473 $as_echo_n "checking for finitel declaration... " >&6; }
47474 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47475 if ${glibcxx_cv_func_finitel_use+:} false; then :
47476 $as_echo_n "(cached) " >&6
47477 else
47480 ac_ext=cpp
47481 ac_cpp='$CXXCPP $CPPFLAGS'
47482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47487 /* end confdefs.h. */
47488 #include <math.h>
47489 #ifdef HAVE_IEEEFP_H
47490 #include <ieeefp.h>
47491 #endif
47494 main ()
47496 finitel(0);
47498 return 0;
47500 _ACEOF
47501 if ac_fn_cxx_try_compile "$LINENO"; then :
47502 glibcxx_cv_func_finitel_use=yes
47503 else
47504 glibcxx_cv_func_finitel_use=no
47506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47507 ac_ext=c
47508 ac_cpp='$CPP $CPPFLAGS'
47509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47518 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47520 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47521 for ac_func in finitel
47522 do :
47523 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47524 if test "x$ac_cv_func_finitel" = xyes; then :
47525 cat >>confdefs.h <<_ACEOF
47526 #define HAVE_FINITEL 1
47527 _ACEOF
47530 done
47532 else
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47535 $as_echo_n "checking for _finitel declaration... " >&6; }
47536 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47537 if ${glibcxx_cv_func__finitel_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 <math.h>
47551 #ifdef HAVE_IEEEFP_H
47552 #include <ieeefp.h>
47553 #endif
47556 main ()
47558 _finitel(0);
47560 return 0;
47562 _ACEOF
47563 if ac_fn_cxx_try_compile "$LINENO"; then :
47564 glibcxx_cv_func__finitel_use=yes
47565 else
47566 glibcxx_cv_func__finitel_use=no
47568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47569 ac_ext=c
47570 ac_cpp='$CPP $CPPFLAGS'
47571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47580 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47582 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47583 for ac_func in _finitel
47584 do :
47585 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47586 if test "x$ac_cv_func__finitel" = xyes; then :
47587 cat >>confdefs.h <<_ACEOF
47588 #define HAVE__FINITEL 1
47589 _ACEOF
47592 done
47600 LIBS="$ac_save_LIBS"
47601 CXXFLAGS="$ac_save_CXXFLAGS"
47604 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47605 ac_save_CXXFLAGS="$CXXFLAGS"
47606 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47610 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47611 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47612 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47613 $as_echo_n "(cached) " >&6
47614 else
47617 ac_ext=cpp
47618 ac_cpp='$CXXCPP $CPPFLAGS'
47619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47624 /* end confdefs.h. */
47625 #include <stdlib.h>
47627 main ()
47629 at_quick_exit(0);
47631 return 0;
47633 _ACEOF
47634 if ac_fn_cxx_try_compile "$LINENO"; then :
47635 glibcxx_cv_func_at_quick_exit_use=yes
47636 else
47637 glibcxx_cv_func_at_quick_exit_use=no
47639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47640 ac_ext=c
47641 ac_cpp='$CPP $CPPFLAGS'
47642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47651 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47652 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47653 for ac_func in at_quick_exit
47654 do :
47655 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47656 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47657 cat >>confdefs.h <<_ACEOF
47658 #define HAVE_AT_QUICK_EXIT 1
47659 _ACEOF
47662 done
47667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47668 $as_echo_n "checking for quick_exit declaration... " >&6; }
47669 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47670 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47671 $as_echo_n "(cached) " >&6
47672 else
47675 ac_ext=cpp
47676 ac_cpp='$CXXCPP $CPPFLAGS'
47677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47682 /* end confdefs.h. */
47683 #include <stdlib.h>
47685 main ()
47687 quick_exit(0);
47689 return 0;
47691 _ACEOF
47692 if ac_fn_cxx_try_compile "$LINENO"; then :
47693 glibcxx_cv_func_quick_exit_use=yes
47694 else
47695 glibcxx_cv_func_quick_exit_use=no
47697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47698 ac_ext=c
47699 ac_cpp='$CPP $CPPFLAGS'
47700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47709 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47710 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47711 for ac_func in quick_exit
47712 do :
47713 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47714 if test "x$ac_cv_func_quick_exit" = xyes; then :
47715 cat >>confdefs.h <<_ACEOF
47716 #define HAVE_QUICK_EXIT 1
47717 _ACEOF
47720 done
47725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47726 $as_echo_n "checking for strtold declaration... " >&6; }
47727 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47728 if ${glibcxx_cv_func_strtold_use+:} false; then :
47729 $as_echo_n "(cached) " >&6
47730 else
47733 ac_ext=cpp
47734 ac_cpp='$CXXCPP $CPPFLAGS'
47735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47740 /* end confdefs.h. */
47741 #include <stdlib.h>
47743 main ()
47745 strtold(0, 0);
47747 return 0;
47749 _ACEOF
47750 if ac_fn_cxx_try_compile "$LINENO"; then :
47751 glibcxx_cv_func_strtold_use=yes
47752 else
47753 glibcxx_cv_func_strtold_use=no
47755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47756 ac_ext=c
47757 ac_cpp='$CPP $CPPFLAGS'
47758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47767 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47768 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47769 for ac_func in strtold
47770 do :
47771 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47772 if test "x$ac_cv_func_strtold" = xyes; then :
47773 cat >>confdefs.h <<_ACEOF
47774 #define HAVE_STRTOLD 1
47775 _ACEOF
47778 done
47785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47786 $as_echo_n "checking for strtof declaration... " >&6; }
47787 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47788 if ${glibcxx_cv_func_strtof_use+:} false; then :
47789 $as_echo_n "(cached) " >&6
47790 else
47793 ac_ext=cpp
47794 ac_cpp='$CXXCPP $CPPFLAGS'
47795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47800 /* end confdefs.h. */
47801 #include <stdlib.h>
47803 main ()
47805 strtof(0, 0);
47807 return 0;
47809 _ACEOF
47810 if ac_fn_cxx_try_compile "$LINENO"; then :
47811 glibcxx_cv_func_strtof_use=yes
47812 else
47813 glibcxx_cv_func_strtof_use=no
47815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47816 ac_ext=c
47817 ac_cpp='$CPP $CPPFLAGS'
47818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47827 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47828 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47829 for ac_func in strtof
47830 do :
47831 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47832 if test "x$ac_cv_func_strtof" = xyes; then :
47833 cat >>confdefs.h <<_ACEOF
47834 #define HAVE_STRTOF 1
47835 _ACEOF
47838 done
47845 CXXFLAGS="$ac_save_CXXFLAGS"
47848 for ac_func in uselocale
47849 do :
47850 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47851 if test "x$ac_cv_func_uselocale" = xyes; then :
47852 cat >>confdefs.h <<_ACEOF
47853 #define HAVE_USELOCALE 1
47854 _ACEOF
47857 done
47861 *djgpp)
47862 # GLIBCXX_CHECK_MATH_SUPPORT
47863 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47865 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47867 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47869 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47871 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47875 *-freebsd*)
47876 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47879 # If we're not using GNU ld, then there's no point in even trying these
47880 # tests. Check for that first. We should have already tested for gld
47881 # by now (in libtool), but require it now just to be safe...
47882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47887 # The name set by libtool depends on the version of libtool. Shame on us
47888 # for depending on an impl detail, but c'est la vie. Older versions used
47889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47892 # set (hence we're using an older libtool), then set it.
47893 if test x${with_gnu_ld+set} != xset; then
47894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47896 with_gnu_ld=no
47897 else
47898 with_gnu_ld=$ac_cv_prog_gnu_ld
47902 # Start by getting the version number. I think the libtool test already
47903 # does some of this, but throws away the result.
47904 glibcxx_ld_is_gold=no
47905 if test x"$with_gnu_ld" = x"yes"; then
47906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47907 $as_echo_n "checking for ld version... " >&6; }
47909 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47910 glibcxx_ld_is_gold=yes
47912 ldver=`$LD --version 2>/dev/null |
47913 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47915 glibcxx_gnu_ld_version=`echo $ldver | \
47916 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47918 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47921 # Set --gc-sections.
47922 glibcxx_have_gc_sections=no
47923 if test "$glibcxx_ld_is_gold" = "yes"; then
47924 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47925 glibcxx_have_gc_sections=yes
47927 else
47928 glibcxx_gcsections_min_ld=21602
47929 if test x"$with_gnu_ld" = x"yes" &&
47930 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47931 glibcxx_have_gc_sections=yes
47934 if test "$glibcxx_have_gc_sections" = "yes"; then
47935 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47936 # NB: This flag only works reliably after 2.16.1. Configure tests
47937 # for this are difficult, so hard wire a value that should work.
47939 ac_test_CFLAGS="${CFLAGS+set}"
47940 ac_save_CFLAGS="$CFLAGS"
47941 CFLAGS='-Wl,--gc-sections'
47943 # Check for -Wl,--gc-sections
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47945 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47946 if test x$gcc_no_link = xyes; then
47947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47950 /* end confdefs.h. */
47951 int one(void) { return 1; }
47952 int two(void) { return 2; }
47955 main ()
47957 two();
47959 return 0;
47961 _ACEOF
47962 if ac_fn_c_try_link "$LINENO"; then :
47963 ac_gcsections=yes
47964 else
47965 ac_gcsections=no
47967 rm -f core conftest.err conftest.$ac_objext \
47968 conftest$ac_exeext conftest.$ac_ext
47969 if test "$ac_gcsections" = "yes"; then
47970 rm -f conftest.c
47971 touch conftest.c
47972 if $CC -c conftest.c; then
47973 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47974 grep "Warning: gc-sections option ignored" > /dev/null; then
47975 ac_gcsections=no
47978 rm -f conftest.c conftest.o conftest
47980 if test "$ac_gcsections" = "yes"; then
47981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47984 $as_echo "$ac_gcsections" >&6; }
47986 if test "$ac_test_CFLAGS" = set; then
47987 CFLAGS="$ac_save_CFLAGS"
47988 else
47989 # this is the suspicious part
47990 CFLAGS=''
47994 # Set -z,relro.
47995 # Note this is only for shared objects.
47996 ac_ld_relro=no
47997 if test x"$with_gnu_ld" = x"yes"; then
47998 # cygwin and mingw uses PE, which has no ELF relro support,
47999 # multi target ld may confuse configure machinery
48000 case "$host" in
48001 *-*-cygwin*)
48003 *-*-mingw*)
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48009 if test -n "$cxx_z_relo"; then
48010 OPT_LDFLAGS="-Wl,-z,relro"
48011 ac_ld_relro=yes
48013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48014 $as_echo "$ac_ld_relro" >&6; }
48015 esac
48018 # Set linker optimization flags.
48019 if test x"$with_gnu_ld" = x"yes"; then
48020 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48026 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
48028 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48030 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48032 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48034 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48036 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
48038 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48040 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48042 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48045 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48047 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48049 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48051 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48053 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
48055 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48057 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48059 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48061 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48063 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
48065 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48067 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48069 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
48071 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48073 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48075 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
48077 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48079 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48081 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48083 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48085 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48087 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48089 if test x"long_double_math_on_this_cpu" = x"yes"; then
48090 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
48092 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
48094 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
48097 for ac_func in __cxa_thread_atexit
48098 do :
48099 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
48100 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
48101 cat >>confdefs.h <<_ACEOF
48102 #define HAVE___CXA_THREAD_ATEXIT 1
48103 _ACEOF
48106 done
48108 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
48109 do :
48110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48113 cat >>confdefs.h <<_ACEOF
48114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48115 _ACEOF
48118 done
48120 for ac_func in timespec_get
48121 do :
48122 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
48123 if test "x$ac_cv_func_timespec_get" = xyes; then :
48124 cat >>confdefs.h <<_ACEOF
48125 #define HAVE_TIMESPEC_GET 1
48126 _ACEOF
48129 done
48131 for ac_func in sockatmark
48132 do :
48133 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
48134 if test "x$ac_cv_func_sockatmark" = xyes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define HAVE_SOCKATMARK 1
48137 _ACEOF
48140 done
48142 for ac_func in uselocale
48143 do :
48144 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
48145 if test "x$ac_cv_func_uselocale" = xyes; then :
48146 cat >>confdefs.h <<_ACEOF
48147 #define HAVE_USELOCALE 1
48148 _ACEOF
48151 done
48155 *-fuchsia*)
48156 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48160 *-hpux*)
48161 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48164 # If we're not using GNU ld, then there's no point in even trying these
48165 # tests. Check for that first. We should have already tested for gld
48166 # by now (in libtool), but require it now just to be safe...
48167 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48168 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48172 # The name set by libtool depends on the version of libtool. Shame on us
48173 # for depending on an impl detail, but c'est la vie. Older versions used
48174 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48175 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48176 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48177 # set (hence we're using an older libtool), then set it.
48178 if test x${with_gnu_ld+set} != xset; then
48179 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48180 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48181 with_gnu_ld=no
48182 else
48183 with_gnu_ld=$ac_cv_prog_gnu_ld
48187 # Start by getting the version number. I think the libtool test already
48188 # does some of this, but throws away the result.
48189 glibcxx_ld_is_gold=no
48190 if test x"$with_gnu_ld" = x"yes"; then
48191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48192 $as_echo_n "checking for ld version... " >&6; }
48194 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48195 glibcxx_ld_is_gold=yes
48197 ldver=`$LD --version 2>/dev/null |
48198 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48200 glibcxx_gnu_ld_version=`echo $ldver | \
48201 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48203 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48206 # Set --gc-sections.
48207 glibcxx_have_gc_sections=no
48208 if test "$glibcxx_ld_is_gold" = "yes"; then
48209 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48210 glibcxx_have_gc_sections=yes
48212 else
48213 glibcxx_gcsections_min_ld=21602
48214 if test x"$with_gnu_ld" = x"yes" &&
48215 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48216 glibcxx_have_gc_sections=yes
48219 if test "$glibcxx_have_gc_sections" = "yes"; then
48220 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48221 # NB: This flag only works reliably after 2.16.1. Configure tests
48222 # for this are difficult, so hard wire a value that should work.
48224 ac_test_CFLAGS="${CFLAGS+set}"
48225 ac_save_CFLAGS="$CFLAGS"
48226 CFLAGS='-Wl,--gc-sections'
48228 # Check for -Wl,--gc-sections
48229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48230 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48231 if test x$gcc_no_link = xyes; then
48232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48235 /* end confdefs.h. */
48236 int one(void) { return 1; }
48237 int two(void) { return 2; }
48240 main ()
48242 two();
48244 return 0;
48246 _ACEOF
48247 if ac_fn_c_try_link "$LINENO"; then :
48248 ac_gcsections=yes
48249 else
48250 ac_gcsections=no
48252 rm -f core conftest.err conftest.$ac_objext \
48253 conftest$ac_exeext conftest.$ac_ext
48254 if test "$ac_gcsections" = "yes"; then
48255 rm -f conftest.c
48256 touch conftest.c
48257 if $CC -c conftest.c; then
48258 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48259 grep "Warning: gc-sections option ignored" > /dev/null; then
48260 ac_gcsections=no
48263 rm -f conftest.c conftest.o conftest
48265 if test "$ac_gcsections" = "yes"; then
48266 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48269 $as_echo "$ac_gcsections" >&6; }
48271 if test "$ac_test_CFLAGS" = set; then
48272 CFLAGS="$ac_save_CFLAGS"
48273 else
48274 # this is the suspicious part
48275 CFLAGS=''
48279 # Set -z,relro.
48280 # Note this is only for shared objects.
48281 ac_ld_relro=no
48282 if test x"$with_gnu_ld" = x"yes"; then
48283 # cygwin and mingw uses PE, which has no ELF relro support,
48284 # multi target ld may confuse configure machinery
48285 case "$host" in
48286 *-*-cygwin*)
48288 *-*-mingw*)
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48292 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48293 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48294 if test -n "$cxx_z_relo"; then
48295 OPT_LDFLAGS="-Wl,-z,relro"
48296 ac_ld_relro=yes
48298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48299 $as_echo "$ac_ld_relro" >&6; }
48300 esac
48303 # Set linker optimization flags.
48304 if test x"$with_gnu_ld" = x"yes"; then
48305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48312 # GLIBCXX_CHECK_MATH_SUPPORT
48313 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48315 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48317 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48319 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48321 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48323 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48325 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48327 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48329 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48331 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48333 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48335 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48337 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48339 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48341 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48343 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48345 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48347 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48349 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48351 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48353 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48356 # GLIBCXX_CHECK_STDLIB_SUPPORT
48357 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48362 # Check whether --enable-tls was given.
48363 if test "${enable_tls+set}" = set; then :
48364 enableval=$enable_tls;
48365 case "$enableval" in
48366 yes|no) ;;
48367 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48368 esac
48370 else
48371 enable_tls=yes
48375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48376 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48377 if ${gcc_cv_have_tls+:} false; then :
48378 $as_echo_n "(cached) " >&6
48379 else
48381 if test "$cross_compiling" = yes; then :
48382 if test x$gcc_no_link = xyes; then
48383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h. */
48387 __thread int a; int b; int main() { return a = b; }
48388 _ACEOF
48389 if ac_fn_c_try_link "$LINENO"; then :
48390 chktls_save_LDFLAGS="$LDFLAGS"
48391 case $host in
48392 *-*-linux* | -*-uclinuxfdpic*)
48393 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48395 esac
48396 chktls_save_CFLAGS="$CFLAGS"
48397 CFLAGS="-fPIC $CFLAGS"
48398 if test x$gcc_no_link = xyes; then
48399 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48402 /* end confdefs.h. */
48403 int f() { return 0; }
48404 _ACEOF
48405 if ac_fn_c_try_link "$LINENO"; then :
48406 if test x$gcc_no_link = xyes; then
48407 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 __thread int a; int b; int f() { return a = b; }
48412 _ACEOF
48413 if ac_fn_c_try_link "$LINENO"; then :
48414 gcc_cv_have_tls=yes
48415 else
48416 gcc_cv_have_tls=no
48418 rm -f core conftest.err conftest.$ac_objext \
48419 conftest$ac_exeext conftest.$ac_ext
48420 else
48421 gcc_cv_have_tls=yes
48423 rm -f core conftest.err conftest.$ac_objext \
48424 conftest$ac_exeext conftest.$ac_ext
48425 CFLAGS="$chktls_save_CFLAGS"
48426 LDFLAGS="$chktls_save_LDFLAGS"
48427 else
48428 gcc_cv_have_tls=no
48430 rm -f core conftest.err conftest.$ac_objext \
48431 conftest$ac_exeext conftest.$ac_ext
48434 else
48435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48436 /* end confdefs.h. */
48437 __thread int a; int b; int main() { return a = b; }
48438 _ACEOF
48439 if ac_fn_c_try_run "$LINENO"; then :
48440 chktls_save_LDFLAGS="$LDFLAGS"
48441 LDFLAGS="-static $LDFLAGS"
48442 if test x$gcc_no_link = xyes; then
48443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48446 /* end confdefs.h. */
48447 int main() { return 0; }
48448 _ACEOF
48449 if ac_fn_c_try_link "$LINENO"; then :
48450 if test "$cross_compiling" = yes; then :
48451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48453 as_fn_error $? "cannot run test program while cross compiling
48454 See \`config.log' for more details" "$LINENO" 5; }
48455 else
48456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48457 /* end confdefs.h. */
48458 __thread int a; int b; int main() { return a = b; }
48459 _ACEOF
48460 if ac_fn_c_try_run "$LINENO"; then :
48461 gcc_cv_have_tls=yes
48462 else
48463 gcc_cv_have_tls=no
48465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48466 conftest.$ac_objext conftest.beam conftest.$ac_ext
48469 else
48470 gcc_cv_have_tls=yes
48472 rm -f core conftest.err conftest.$ac_objext \
48473 conftest$ac_exeext conftest.$ac_ext
48474 LDFLAGS="$chktls_save_LDFLAGS"
48475 if test $gcc_cv_have_tls = yes; then
48476 chktls_save_CFLAGS="$CFLAGS"
48477 thread_CFLAGS=failed
48478 for flag in '' '-pthread' '-lpthread'; do
48479 CFLAGS="$flag $chktls_save_CFLAGS"
48480 if test x$gcc_no_link = xyes; then
48481 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48484 /* end confdefs.h. */
48485 #include <pthread.h>
48486 void *g(void *d) { return NULL; }
48488 main ()
48490 pthread_t t; pthread_create(&t,NULL,g,NULL);
48492 return 0;
48494 _ACEOF
48495 if ac_fn_c_try_link "$LINENO"; then :
48496 thread_CFLAGS="$flag"
48498 rm -f core conftest.err conftest.$ac_objext \
48499 conftest$ac_exeext conftest.$ac_ext
48500 if test "X$thread_CFLAGS" != Xfailed; then
48501 break
48503 done
48504 CFLAGS="$chktls_save_CFLAGS"
48505 if test "X$thread_CFLAGS" != Xfailed; then
48506 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48507 if test "$cross_compiling" = yes; then :
48508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48510 as_fn_error $? "cannot run test program while cross compiling
48511 See \`config.log' for more details" "$LINENO" 5; }
48512 else
48513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48514 /* end confdefs.h. */
48515 #include <pthread.h>
48516 __thread int a;
48517 static int *volatile a_in_other_thread;
48518 static void *
48519 thread_func (void *arg)
48521 a_in_other_thread = &a;
48522 return (void *)0;
48525 main ()
48527 pthread_t thread;
48528 void *thread_retval;
48529 int *volatile a_in_main_thread;
48530 a_in_main_thread = &a;
48531 if (pthread_create (&thread, (pthread_attr_t *)0,
48532 thread_func, (void *)0))
48533 return 0;
48534 if (pthread_join (thread, &thread_retval))
48535 return 0;
48536 return (a_in_other_thread == a_in_main_thread);
48538 return 0;
48540 _ACEOF
48541 if ac_fn_c_try_run "$LINENO"; then :
48542 gcc_cv_have_tls=yes
48543 else
48544 gcc_cv_have_tls=no
48546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48547 conftest.$ac_objext conftest.beam conftest.$ac_ext
48550 CFLAGS="$chktls_save_CFLAGS"
48553 else
48554 gcc_cv_have_tls=no
48556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48557 conftest.$ac_objext conftest.beam conftest.$ac_ext
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48562 $as_echo "$gcc_cv_have_tls" >&6; }
48563 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48565 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48568 case "$target" in
48569 *-hpux10*)
48570 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48572 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48574 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48576 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48578 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48581 esac
48583 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48585 # All these tests are for C++; save the language and the compiler flags.
48586 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48587 # found in GLIBCXX_CONFIGURE.
48589 ac_ext=cpp
48590 ac_cpp='$CXXCPP $CPPFLAGS'
48591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48596 ac_save_CXXFLAGS="$CXXFLAGS"
48598 # Check for -ffunction-sections -fdata-sections
48599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48600 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48601 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48603 /* end confdefs.h. */
48604 int foo; void bar() { };
48606 main ()
48610 return 0;
48612 _ACEOF
48613 if ac_fn_cxx_try_compile "$LINENO"; then :
48614 ac_fdsections=yes
48615 else
48616 ac_fdsections=no
48618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48619 if test "$ac_test_CXXFLAGS" = set; then
48620 CXXFLAGS="$ac_save_CXXFLAGS"
48621 else
48622 # this is the suspicious part
48623 CXXFLAGS=''
48625 if test x"$ac_fdsections" = x"yes"; then
48626 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48629 $as_echo "$ac_fdsections" >&6; }
48631 ac_ext=c
48632 ac_cpp='$CPP $CPPFLAGS'
48633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48640 # If we're not using GNU ld, then there's no point in even trying these
48641 # tests. Check for that first. We should have already tested for gld
48642 # by now (in libtool), but require it now just to be safe...
48643 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48644 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48648 # The name set by libtool depends on the version of libtool. Shame on us
48649 # for depending on an impl detail, but c'est la vie. Older versions used
48650 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48651 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48652 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48653 # set (hence we're using an older libtool), then set it.
48654 if test x${with_gnu_ld+set} != xset; then
48655 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48656 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48657 with_gnu_ld=no
48658 else
48659 with_gnu_ld=$ac_cv_prog_gnu_ld
48663 # Start by getting the version number. I think the libtool test already
48664 # does some of this, but throws away the result.
48665 glibcxx_ld_is_gold=no
48666 if test x"$with_gnu_ld" = x"yes"; then
48667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48668 $as_echo_n "checking for ld version... " >&6; }
48670 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48671 glibcxx_ld_is_gold=yes
48673 ldver=`$LD --version 2>/dev/null |
48674 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48676 glibcxx_gnu_ld_version=`echo $ldver | \
48677 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48679 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48682 # Set --gc-sections.
48683 glibcxx_have_gc_sections=no
48684 if test "$glibcxx_ld_is_gold" = "yes"; then
48685 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48686 glibcxx_have_gc_sections=yes
48688 else
48689 glibcxx_gcsections_min_ld=21602
48690 if test x"$with_gnu_ld" = x"yes" &&
48691 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48692 glibcxx_have_gc_sections=yes
48695 if test "$glibcxx_have_gc_sections" = "yes"; then
48696 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48697 # NB: This flag only works reliably after 2.16.1. Configure tests
48698 # for this are difficult, so hard wire a value that should work.
48700 ac_test_CFLAGS="${CFLAGS+set}"
48701 ac_save_CFLAGS="$CFLAGS"
48702 CFLAGS='-Wl,--gc-sections'
48704 # Check for -Wl,--gc-sections
48705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48706 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48707 if test x$gcc_no_link = xyes; then
48708 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48711 /* end confdefs.h. */
48712 int one(void) { return 1; }
48713 int two(void) { return 2; }
48716 main ()
48718 two();
48720 return 0;
48722 _ACEOF
48723 if ac_fn_c_try_link "$LINENO"; then :
48724 ac_gcsections=yes
48725 else
48726 ac_gcsections=no
48728 rm -f core conftest.err conftest.$ac_objext \
48729 conftest$ac_exeext conftest.$ac_ext
48730 if test "$ac_gcsections" = "yes"; then
48731 rm -f conftest.c
48732 touch conftest.c
48733 if $CC -c conftest.c; then
48734 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48735 grep "Warning: gc-sections option ignored" > /dev/null; then
48736 ac_gcsections=no
48739 rm -f conftest.c conftest.o conftest
48741 if test "$ac_gcsections" = "yes"; then
48742 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48745 $as_echo "$ac_gcsections" >&6; }
48747 if test "$ac_test_CFLAGS" = set; then
48748 CFLAGS="$ac_save_CFLAGS"
48749 else
48750 # this is the suspicious part
48751 CFLAGS=''
48755 # Set -z,relro.
48756 # Note this is only for shared objects.
48757 ac_ld_relro=no
48758 if test x"$with_gnu_ld" = x"yes"; then
48759 # cygwin and mingw uses PE, which has no ELF relro support,
48760 # multi target ld may confuse configure machinery
48761 case "$host" in
48762 *-*-cygwin*)
48764 *-*-mingw*)
48767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48768 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48769 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48770 if test -n "$cxx_z_relo"; then
48771 OPT_LDFLAGS="-Wl,-z,relro"
48772 ac_ld_relro=yes
48774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48775 $as_echo "$ac_ld_relro" >&6; }
48776 esac
48779 # Set linker optimization flags.
48780 if test x"$with_gnu_ld" = x"yes"; then
48781 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48788 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48789 ac_save_CXXFLAGS="$CXXFLAGS"
48790 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48793 $as_echo_n "checking for sin in -lm... " >&6; }
48794 if ${ac_cv_lib_m_sin+:} false; then :
48795 $as_echo_n "(cached) " >&6
48796 else
48797 ac_check_lib_save_LIBS=$LIBS
48798 LIBS="-lm $LIBS"
48799 if test x$gcc_no_link = xyes; then
48800 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48803 /* end confdefs.h. */
48805 /* Override any GCC internal prototype to avoid an error.
48806 Use char because int might match the return type of a GCC
48807 builtin and then its argument prototype would still apply. */
48808 #ifdef __cplusplus
48809 extern "C"
48810 #endif
48811 char sin ();
48813 main ()
48815 return sin ();
48817 return 0;
48819 _ACEOF
48820 if ac_fn_c_try_link "$LINENO"; then :
48821 ac_cv_lib_m_sin=yes
48822 else
48823 ac_cv_lib_m_sin=no
48825 rm -f core conftest.err conftest.$ac_objext \
48826 conftest$ac_exeext conftest.$ac_ext
48827 LIBS=$ac_check_lib_save_LIBS
48829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48830 $as_echo "$ac_cv_lib_m_sin" >&6; }
48831 if test "x$ac_cv_lib_m_sin" = xyes; then :
48832 libm="-lm"
48835 ac_save_LIBS="$LIBS"
48836 LIBS="$LIBS $libm"
48840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48841 $as_echo_n "checking for isinf declaration... " >&6; }
48842 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48843 if ${glibcxx_cv_func_isinf_use+:} false; then :
48844 $as_echo_n "(cached) " >&6
48845 else
48848 ac_ext=cpp
48849 ac_cpp='$CXXCPP $CPPFLAGS'
48850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48855 /* end confdefs.h. */
48856 #include <math.h>
48857 #ifdef HAVE_IEEEFP_H
48858 #include <ieeefp.h>
48859 #endif
48862 main ()
48864 isinf(0);
48866 return 0;
48868 _ACEOF
48869 if ac_fn_cxx_try_compile "$LINENO"; then :
48870 glibcxx_cv_func_isinf_use=yes
48871 else
48872 glibcxx_cv_func_isinf_use=no
48874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48875 ac_ext=c
48876 ac_cpp='$CPP $CPPFLAGS'
48877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48886 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48888 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48889 for ac_func in isinf
48890 do :
48891 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48892 if test "x$ac_cv_func_isinf" = xyes; then :
48893 cat >>confdefs.h <<_ACEOF
48894 #define HAVE_ISINF 1
48895 _ACEOF
48898 done
48900 else
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48903 $as_echo_n "checking for _isinf declaration... " >&6; }
48904 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48905 if ${glibcxx_cv_func__isinf_use+:} false; then :
48906 $as_echo_n "(cached) " >&6
48907 else
48910 ac_ext=cpp
48911 ac_cpp='$CXXCPP $CPPFLAGS'
48912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48917 /* end confdefs.h. */
48918 #include <math.h>
48919 #ifdef HAVE_IEEEFP_H
48920 #include <ieeefp.h>
48921 #endif
48924 main ()
48926 _isinf(0);
48928 return 0;
48930 _ACEOF
48931 if ac_fn_cxx_try_compile "$LINENO"; then :
48932 glibcxx_cv_func__isinf_use=yes
48933 else
48934 glibcxx_cv_func__isinf_use=no
48936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48937 ac_ext=c
48938 ac_cpp='$CPP $CPPFLAGS'
48939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48948 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48950 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48951 for ac_func in _isinf
48952 do :
48953 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48954 if test "x$ac_cv_func__isinf" = xyes; then :
48955 cat >>confdefs.h <<_ACEOF
48956 #define HAVE__ISINF 1
48957 _ACEOF
48960 done
48969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48970 $as_echo_n "checking for isnan declaration... " >&6; }
48971 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48972 if ${glibcxx_cv_func_isnan_use+:} false; then :
48973 $as_echo_n "(cached) " >&6
48974 else
48977 ac_ext=cpp
48978 ac_cpp='$CXXCPP $CPPFLAGS'
48979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48984 /* end confdefs.h. */
48985 #include <math.h>
48986 #ifdef HAVE_IEEEFP_H
48987 #include <ieeefp.h>
48988 #endif
48991 main ()
48993 isnan(0);
48995 return 0;
48997 _ACEOF
48998 if ac_fn_cxx_try_compile "$LINENO"; then :
48999 glibcxx_cv_func_isnan_use=yes
49000 else
49001 glibcxx_cv_func_isnan_use=no
49003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49004 ac_ext=c
49005 ac_cpp='$CPP $CPPFLAGS'
49006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
49015 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
49017 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
49018 for ac_func in isnan
49019 do :
49020 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
49021 if test "x$ac_cv_func_isnan" = xyes; then :
49022 cat >>confdefs.h <<_ACEOF
49023 #define HAVE_ISNAN 1
49024 _ACEOF
49027 done
49029 else
49031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
49032 $as_echo_n "checking for _isnan declaration... " >&6; }
49033 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
49034 if ${glibcxx_cv_func__isnan_use+:} false; then :
49035 $as_echo_n "(cached) " >&6
49036 else
49039 ac_ext=cpp
49040 ac_cpp='$CXXCPP $CPPFLAGS'
49041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49046 /* end confdefs.h. */
49047 #include <math.h>
49048 #ifdef HAVE_IEEEFP_H
49049 #include <ieeefp.h>
49050 #endif
49053 main ()
49055 _isnan(0);
49057 return 0;
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061 glibcxx_cv_func__isnan_use=yes
49062 else
49063 glibcxx_cv_func__isnan_use=no
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
49077 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
49079 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
49080 for ac_func in _isnan
49081 do :
49082 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
49083 if test "x$ac_cv_func__isnan" = xyes; then :
49084 cat >>confdefs.h <<_ACEOF
49085 #define HAVE__ISNAN 1
49086 _ACEOF
49089 done
49098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
49099 $as_echo_n "checking for finite declaration... " >&6; }
49100 if test x${glibcxx_cv_func_finite_use+set} != xset; then
49101 if ${glibcxx_cv_func_finite_use+:} false; then :
49102 $as_echo_n "(cached) " >&6
49103 else
49106 ac_ext=cpp
49107 ac_cpp='$CXXCPP $CPPFLAGS'
49108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49113 /* end confdefs.h. */
49114 #include <math.h>
49115 #ifdef HAVE_IEEEFP_H
49116 #include <ieeefp.h>
49117 #endif
49120 main ()
49122 finite(0);
49124 return 0;
49126 _ACEOF
49127 if ac_fn_cxx_try_compile "$LINENO"; then :
49128 glibcxx_cv_func_finite_use=yes
49129 else
49130 glibcxx_cv_func_finite_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_finite_use" >&5
49144 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
49146 if test x$glibcxx_cv_func_finite_use = x"yes"; then
49147 for ac_func in finite
49148 do :
49149 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
49150 if test "x$ac_cv_func_finite" = xyes; then :
49151 cat >>confdefs.h <<_ACEOF
49152 #define HAVE_FINITE 1
49153 _ACEOF
49156 done
49158 else
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
49161 $as_echo_n "checking for _finite declaration... " >&6; }
49162 if test x${glibcxx_cv_func__finite_use+set} != xset; then
49163 if ${glibcxx_cv_func__finite_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>
49177 #ifdef HAVE_IEEEFP_H
49178 #include <ieeefp.h>
49179 #endif
49182 main ()
49184 _finite(0);
49186 return 0;
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190 glibcxx_cv_func__finite_use=yes
49191 else
49192 glibcxx_cv_func__finite_use=no
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195 ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49206 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
49208 if test x$glibcxx_cv_func__finite_use = x"yes"; then
49209 for ac_func in _finite
49210 do :
49211 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49212 if test "x$ac_cv_func__finite" = xyes; then :
49213 cat >>confdefs.h <<_ACEOF
49214 #define HAVE__FINITE 1
49215 _ACEOF
49218 done
49227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49228 $as_echo_n "checking for sincos declaration... " >&6; }
49229 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49230 if ${glibcxx_cv_func_sincos_use+:} false; then :
49231 $as_echo_n "(cached) " >&6
49232 else
49235 ac_ext=cpp
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49242 /* end confdefs.h. */
49243 #include <math.h>
49245 main ()
49247 sincos(0, 0, 0);
49249 return 0;
49251 _ACEOF
49252 if ac_fn_cxx_try_compile "$LINENO"; then :
49253 glibcxx_cv_func_sincos_use=yes
49254 else
49255 glibcxx_cv_func_sincos_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_sincos_use" >&5
49269 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49271 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49272 for ac_func in sincos
49273 do :
49274 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49275 if test "x$ac_cv_func_sincos" = xyes; then :
49276 cat >>confdefs.h <<_ACEOF
49277 #define HAVE_SINCOS 1
49278 _ACEOF
49281 done
49283 else
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49286 $as_echo_n "checking for _sincos declaration... " >&6; }
49287 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49288 if ${glibcxx_cv_func__sincos_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>
49303 main ()
49305 _sincos(0, 0, 0);
49307 return 0;
49309 _ACEOF
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311 glibcxx_cv_func__sincos_use=yes
49312 else
49313 glibcxx_cv_func__sincos_use=no
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49316 ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49327 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49329 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49330 for ac_func in _sincos
49331 do :
49332 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49333 if test "x$ac_cv_func__sincos" = xyes; then :
49334 cat >>confdefs.h <<_ACEOF
49335 #define HAVE__SINCOS 1
49336 _ACEOF
49339 done
49348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49349 $as_echo_n "checking for fpclass declaration... " >&6; }
49350 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49351 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49352 $as_echo_n "(cached) " >&6
49353 else
49356 ac_ext=cpp
49357 ac_cpp='$CXXCPP $CPPFLAGS'
49358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49363 /* end confdefs.h. */
49364 #include <math.h>
49365 #ifdef HAVE_IEEEFP_H
49366 #include <ieeefp.h>
49367 #endif
49370 main ()
49372 fpclass(0);
49374 return 0;
49376 _ACEOF
49377 if ac_fn_cxx_try_compile "$LINENO"; then :
49378 glibcxx_cv_func_fpclass_use=yes
49379 else
49380 glibcxx_cv_func_fpclass_use=no
49382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49383 ac_ext=c
49384 ac_cpp='$CPP $CPPFLAGS'
49385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49394 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49396 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49397 for ac_func in fpclass
49398 do :
49399 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49400 if test "x$ac_cv_func_fpclass" = xyes; then :
49401 cat >>confdefs.h <<_ACEOF
49402 #define HAVE_FPCLASS 1
49403 _ACEOF
49406 done
49408 else
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49411 $as_echo_n "checking for _fpclass declaration... " >&6; }
49412 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49413 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49414 $as_echo_n "(cached) " >&6
49415 else
49418 ac_ext=cpp
49419 ac_cpp='$CXXCPP $CPPFLAGS'
49420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49425 /* end confdefs.h. */
49426 #include <math.h>
49427 #ifdef HAVE_IEEEFP_H
49428 #include <ieeefp.h>
49429 #endif
49432 main ()
49434 _fpclass(0);
49436 return 0;
49438 _ACEOF
49439 if ac_fn_cxx_try_compile "$LINENO"; then :
49440 glibcxx_cv_func__fpclass_use=yes
49441 else
49442 glibcxx_cv_func__fpclass_use=no
49444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49445 ac_ext=c
49446 ac_cpp='$CPP $CPPFLAGS'
49447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49456 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49458 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49459 for ac_func in _fpclass
49460 do :
49461 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49462 if test "x$ac_cv_func__fpclass" = xyes; then :
49463 cat >>confdefs.h <<_ACEOF
49464 #define HAVE__FPCLASS 1
49465 _ACEOF
49468 done
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49478 $as_echo_n "checking for qfpclass declaration... " >&6; }
49479 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49480 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49481 $as_echo_n "(cached) " >&6
49482 else
49485 ac_ext=cpp
49486 ac_cpp='$CXXCPP $CPPFLAGS'
49487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49492 /* end confdefs.h. */
49493 #include <math.h>
49494 #ifdef HAVE_IEEEFP_H
49495 #include <ieeefp.h>
49496 #endif
49499 main ()
49501 qfpclass(0);
49503 return 0;
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func_qfpclass_use=yes
49508 else
49509 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
49523 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49525 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49526 for ac_func in qfpclass
49527 do :
49528 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49529 if test "x$ac_cv_func_qfpclass" = xyes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE_QFPCLASS 1
49532 _ACEOF
49535 done
49537 else
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49540 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49541 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49542 if ${glibcxx_cv_func__qfpclass_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>
49556 #ifdef HAVE_IEEEFP_H
49557 #include <ieeefp.h>
49558 #endif
49561 main ()
49563 _qfpclass(0);
49565 return 0;
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func__qfpclass_use=yes
49570 else
49571 glibcxx_cv_func__qfpclass_use=no
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49585 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49587 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49588 for ac_func in _qfpclass
49589 do :
49590 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49591 if test "x$ac_cv_func__qfpclass" = xyes; then :
49592 cat >>confdefs.h <<_ACEOF
49593 #define HAVE__QFPCLASS 1
49594 _ACEOF
49597 done
49606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49607 $as_echo_n "checking for hypot declaration... " >&6; }
49608 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49609 if ${glibcxx_cv_func_hypot_use+:} false; then :
49610 $as_echo_n "(cached) " >&6
49611 else
49614 ac_ext=cpp
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49621 /* end confdefs.h. */
49622 #include <math.h>
49624 main ()
49626 hypot(0, 0);
49628 return 0;
49630 _ACEOF
49631 if ac_fn_cxx_try_compile "$LINENO"; then :
49632 glibcxx_cv_func_hypot_use=yes
49633 else
49634 glibcxx_cv_func_hypot_use=no
49636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49637 ac_ext=c
49638 ac_cpp='$CPP $CPPFLAGS'
49639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49648 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49650 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49651 for ac_func in hypot
49652 do :
49653 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49654 if test "x$ac_cv_func_hypot" = xyes; then :
49655 cat >>confdefs.h <<_ACEOF
49656 #define HAVE_HYPOT 1
49657 _ACEOF
49660 done
49662 else
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49665 $as_echo_n "checking for _hypot declaration... " >&6; }
49666 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49667 if ${glibcxx_cv_func__hypot_use+:} false; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49682 main ()
49684 _hypot(0, 0);
49686 return 0;
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690 glibcxx_cv_func__hypot_use=yes
49691 else
49692 glibcxx_cv_func__hypot_use=no
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49706 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49708 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49709 for ac_func in _hypot
49710 do :
49711 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49712 if test "x$ac_cv_func__hypot" = xyes; then :
49713 cat >>confdefs.h <<_ACEOF
49714 #define HAVE__HYPOT 1
49715 _ACEOF
49718 done
49727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49728 $as_echo_n "checking for float trig functions... " >&6; }
49729 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49730 $as_echo_n "(cached) " >&6
49731 else
49734 ac_ext=cpp
49735 ac_cpp='$CXXCPP $CPPFLAGS'
49736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49741 /* end confdefs.h. */
49742 #include <math.h>
49744 main ()
49746 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49748 return 0;
49750 _ACEOF
49751 if ac_fn_cxx_try_compile "$LINENO"; then :
49752 glibcxx_cv_func_float_trig_use=yes
49753 else
49754 glibcxx_cv_func_float_trig_use=no
49756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49757 ac_ext=c
49758 ac_cpp='$CPP $CPPFLAGS'
49759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49766 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49767 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49768 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49769 do :
49770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49773 cat >>confdefs.h <<_ACEOF
49774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49775 _ACEOF
49778 done
49780 else
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49782 $as_echo_n "checking for _float trig functions... " >&6; }
49783 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49784 $as_echo_n "(cached) " >&6
49785 else
49788 ac_ext=cpp
49789 ac_cpp='$CXXCPP $CPPFLAGS'
49790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49795 /* end confdefs.h. */
49796 #include <math.h>
49798 main ()
49800 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49802 return 0;
49804 _ACEOF
49805 if ac_fn_cxx_try_compile "$LINENO"; then :
49806 glibcxx_cv_func__float_trig_use=yes
49807 else
49808 glibcxx_cv_func__float_trig_use=no
49810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49811 ac_ext=c
49812 ac_cpp='$CPP $CPPFLAGS'
49813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49820 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49821 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49822 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49823 do :
49824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49826 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49827 cat >>confdefs.h <<_ACEOF
49828 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49829 _ACEOF
49832 done
49841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49842 $as_echo_n "checking for float round functions... " >&6; }
49843 if ${glibcxx_cv_func_float_round_use+:} false; then :
49844 $as_echo_n "(cached) " >&6
49845 else
49848 ac_ext=cpp
49849 ac_cpp='$CXXCPP $CPPFLAGS'
49850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49855 /* end confdefs.h. */
49856 #include <math.h>
49858 main ()
49860 ceilf (0); floorf (0);
49862 return 0;
49864 _ACEOF
49865 if ac_fn_cxx_try_compile "$LINENO"; then :
49866 glibcxx_cv_func_float_round_use=yes
49867 else
49868 glibcxx_cv_func_float_round_use=no
49870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49871 ac_ext=c
49872 ac_cpp='$CPP $CPPFLAGS'
49873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49880 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49881 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49882 for ac_func in ceilf floorf
49883 do :
49884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49887 cat >>confdefs.h <<_ACEOF
49888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49889 _ACEOF
49892 done
49894 else
49895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49896 $as_echo_n "checking for _float round functions... " >&6; }
49897 if ${glibcxx_cv_func__float_round_use+:} false; then :
49898 $as_echo_n "(cached) " >&6
49899 else
49902 ac_ext=cpp
49903 ac_cpp='$CXXCPP $CPPFLAGS'
49904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49909 /* end confdefs.h. */
49910 #include <math.h>
49912 main ()
49914 _ceilf (0); _floorf (0);
49916 return 0;
49918 _ACEOF
49919 if ac_fn_cxx_try_compile "$LINENO"; then :
49920 glibcxx_cv_func__float_round_use=yes
49921 else
49922 glibcxx_cv_func__float_round_use=no
49924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49925 ac_ext=c
49926 ac_cpp='$CPP $CPPFLAGS'
49927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49934 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49935 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49936 for ac_func in _ceilf _floorf
49937 do :
49938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49943 _ACEOF
49946 done
49956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49957 $as_echo_n "checking for expf declaration... " >&6; }
49958 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49959 if ${glibcxx_cv_func_expf_use+:} false; then :
49960 $as_echo_n "(cached) " >&6
49961 else
49964 ac_ext=cpp
49965 ac_cpp='$CXXCPP $CPPFLAGS'
49966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49971 /* end confdefs.h. */
49972 #include <math.h>
49973 #ifdef HAVE_IEEEFP_H
49974 #include <ieeefp.h>
49975 #endif
49978 main ()
49980 expf(0);
49982 return 0;
49984 _ACEOF
49985 if ac_fn_cxx_try_compile "$LINENO"; then :
49986 glibcxx_cv_func_expf_use=yes
49987 else
49988 glibcxx_cv_func_expf_use=no
49990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49991 ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
50002 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
50004 if test x$glibcxx_cv_func_expf_use = x"yes"; then
50005 for ac_func in expf
50006 do :
50007 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
50008 if test "x$ac_cv_func_expf" = xyes; then :
50009 cat >>confdefs.h <<_ACEOF
50010 #define HAVE_EXPF 1
50011 _ACEOF
50014 done
50016 else
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
50019 $as_echo_n "checking for _expf declaration... " >&6; }
50020 if test x${glibcxx_cv_func__expf_use+set} != xset; then
50021 if ${glibcxx_cv_func__expf_use+:} false; then :
50022 $as_echo_n "(cached) " >&6
50023 else
50026 ac_ext=cpp
50027 ac_cpp='$CXXCPP $CPPFLAGS'
50028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50033 /* end confdefs.h. */
50034 #include <math.h>
50035 #ifdef HAVE_IEEEFP_H
50036 #include <ieeefp.h>
50037 #endif
50040 main ()
50042 _expf(0);
50044 return 0;
50046 _ACEOF
50047 if ac_fn_cxx_try_compile "$LINENO"; then :
50048 glibcxx_cv_func__expf_use=yes
50049 else
50050 glibcxx_cv_func__expf_use=no
50052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50053 ac_ext=c
50054 ac_cpp='$CPP $CPPFLAGS'
50055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
50064 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
50066 if test x$glibcxx_cv_func__expf_use = x"yes"; then
50067 for ac_func in _expf
50068 do :
50069 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
50070 if test "x$ac_cv_func__expf" = xyes; then :
50071 cat >>confdefs.h <<_ACEOF
50072 #define HAVE__EXPF 1
50073 _ACEOF
50076 done
50085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
50086 $as_echo_n "checking for isnanf declaration... " >&6; }
50087 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
50088 if ${glibcxx_cv_func_isnanf_use+:} false; then :
50089 $as_echo_n "(cached) " >&6
50090 else
50093 ac_ext=cpp
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50100 /* end confdefs.h. */
50101 #include <math.h>
50102 #ifdef HAVE_IEEEFP_H
50103 #include <ieeefp.h>
50104 #endif
50107 main ()
50109 isnanf(0);
50111 return 0;
50113 _ACEOF
50114 if ac_fn_cxx_try_compile "$LINENO"; then :
50115 glibcxx_cv_func_isnanf_use=yes
50116 else
50117 glibcxx_cv_func_isnanf_use=no
50119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50120 ac_ext=c
50121 ac_cpp='$CPP $CPPFLAGS'
50122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
50131 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
50133 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50134 for ac_func in isnanf
50135 do :
50136 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
50137 if test "x$ac_cv_func_isnanf" = xyes; then :
50138 cat >>confdefs.h <<_ACEOF
50139 #define HAVE_ISNANF 1
50140 _ACEOF
50143 done
50145 else
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
50148 $as_echo_n "checking for _isnanf declaration... " >&6; }
50149 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50150 if ${glibcxx_cv_func__isnanf_use+:} false; then :
50151 $as_echo_n "(cached) " >&6
50152 else
50155 ac_ext=cpp
50156 ac_cpp='$CXXCPP $CPPFLAGS'
50157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50162 /* end confdefs.h. */
50163 #include <math.h>
50164 #ifdef HAVE_IEEEFP_H
50165 #include <ieeefp.h>
50166 #endif
50169 main ()
50171 _isnanf(0);
50173 return 0;
50175 _ACEOF
50176 if ac_fn_cxx_try_compile "$LINENO"; then :
50177 glibcxx_cv_func__isnanf_use=yes
50178 else
50179 glibcxx_cv_func__isnanf_use=no
50181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50182 ac_ext=c
50183 ac_cpp='$CPP $CPPFLAGS'
50184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50193 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50195 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50196 for ac_func in _isnanf
50197 do :
50198 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50199 if test "x$ac_cv_func__isnanf" = xyes; then :
50200 cat >>confdefs.h <<_ACEOF
50201 #define HAVE__ISNANF 1
50202 _ACEOF
50205 done
50214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50215 $as_echo_n "checking for isinff declaration... " >&6; }
50216 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50217 if ${glibcxx_cv_func_isinff_use+:} false; then :
50218 $as_echo_n "(cached) " >&6
50219 else
50222 ac_ext=cpp
50223 ac_cpp='$CXXCPP $CPPFLAGS'
50224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50229 /* end confdefs.h. */
50230 #include <math.h>
50231 #ifdef HAVE_IEEEFP_H
50232 #include <ieeefp.h>
50233 #endif
50236 main ()
50238 isinff(0);
50240 return 0;
50242 _ACEOF
50243 if ac_fn_cxx_try_compile "$LINENO"; then :
50244 glibcxx_cv_func_isinff_use=yes
50245 else
50246 glibcxx_cv_func_isinff_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_isinff_use" >&5
50260 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50262 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50263 for ac_func in isinff
50264 do :
50265 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50266 if test "x$ac_cv_func_isinff" = xyes; then :
50267 cat >>confdefs.h <<_ACEOF
50268 #define HAVE_ISINFF 1
50269 _ACEOF
50272 done
50274 else
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50277 $as_echo_n "checking for _isinff declaration... " >&6; }
50278 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50279 if ${glibcxx_cv_func__isinff_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>
50293 #ifdef HAVE_IEEEFP_H
50294 #include <ieeefp.h>
50295 #endif
50298 main ()
50300 _isinff(0);
50302 return 0;
50304 _ACEOF
50305 if ac_fn_cxx_try_compile "$LINENO"; then :
50306 glibcxx_cv_func__isinff_use=yes
50307 else
50308 glibcxx_cv_func__isinff_use=no
50310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50311 ac_ext=c
50312 ac_cpp='$CPP $CPPFLAGS'
50313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50322 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50324 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50325 for ac_func in _isinff
50326 do :
50327 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50328 if test "x$ac_cv_func__isinff" = xyes; then :
50329 cat >>confdefs.h <<_ACEOF
50330 #define HAVE__ISINFF 1
50331 _ACEOF
50334 done
50343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50344 $as_echo_n "checking for atan2f declaration... " >&6; }
50345 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50346 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50347 $as_echo_n "(cached) " >&6
50348 else
50351 ac_ext=cpp
50352 ac_cpp='$CXXCPP $CPPFLAGS'
50353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50358 /* end confdefs.h. */
50359 #include <math.h>
50361 main ()
50363 atan2f(0, 0);
50365 return 0;
50367 _ACEOF
50368 if ac_fn_cxx_try_compile "$LINENO"; then :
50369 glibcxx_cv_func_atan2f_use=yes
50370 else
50371 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
50385 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50387 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50388 for ac_func in atan2f
50389 do :
50390 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50391 if test "x$ac_cv_func_atan2f" = xyes; then :
50392 cat >>confdefs.h <<_ACEOF
50393 #define HAVE_ATAN2F 1
50394 _ACEOF
50397 done
50399 else
50401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50402 $as_echo_n "checking for _atan2f declaration... " >&6; }
50403 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50404 if ${glibcxx_cv_func__atan2f_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>
50419 main ()
50421 _atan2f(0, 0);
50423 return 0;
50425 _ACEOF
50426 if ac_fn_cxx_try_compile "$LINENO"; then :
50427 glibcxx_cv_func__atan2f_use=yes
50428 else
50429 glibcxx_cv_func__atan2f_use=no
50431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50432 ac_ext=c
50433 ac_cpp='$CPP $CPPFLAGS'
50434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50443 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50445 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50446 for ac_func in _atan2f
50447 do :
50448 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50449 if test "x$ac_cv_func__atan2f" = xyes; then :
50450 cat >>confdefs.h <<_ACEOF
50451 #define HAVE__ATAN2F 1
50452 _ACEOF
50455 done
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50465 $as_echo_n "checking for fabsf declaration... " >&6; }
50466 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50467 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50468 $as_echo_n "(cached) " >&6
50469 else
50472 ac_ext=cpp
50473 ac_cpp='$CXXCPP $CPPFLAGS'
50474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h. */
50480 #include <math.h>
50481 #ifdef HAVE_IEEEFP_H
50482 #include <ieeefp.h>
50483 #endif
50486 main ()
50488 fabsf(0);
50490 return 0;
50492 _ACEOF
50493 if ac_fn_cxx_try_compile "$LINENO"; then :
50494 glibcxx_cv_func_fabsf_use=yes
50495 else
50496 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
50510 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50512 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50513 for ac_func in fabsf
50514 do :
50515 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50516 if test "x$ac_cv_func_fabsf" = xyes; then :
50517 cat >>confdefs.h <<_ACEOF
50518 #define HAVE_FABSF 1
50519 _ACEOF
50522 done
50524 else
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50527 $as_echo_n "checking for _fabsf declaration... " >&6; }
50528 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50529 if ${glibcxx_cv_func__fabsf_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>
50543 #ifdef HAVE_IEEEFP_H
50544 #include <ieeefp.h>
50545 #endif
50548 main ()
50550 _fabsf(0);
50552 return 0;
50554 _ACEOF
50555 if ac_fn_cxx_try_compile "$LINENO"; then :
50556 glibcxx_cv_func__fabsf_use=yes
50557 else
50558 glibcxx_cv_func__fabsf_use=no
50560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50561 ac_ext=c
50562 ac_cpp='$CPP $CPPFLAGS'
50563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50572 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50574 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50575 for ac_func in _fabsf
50576 do :
50577 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50578 if test "x$ac_cv_func__fabsf" = xyes; then :
50579 cat >>confdefs.h <<_ACEOF
50580 #define HAVE__FABSF 1
50581 _ACEOF
50584 done
50593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50594 $as_echo_n "checking for fmodf declaration... " >&6; }
50595 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50596 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50597 $as_echo_n "(cached) " >&6
50598 else
50601 ac_ext=cpp
50602 ac_cpp='$CXXCPP $CPPFLAGS'
50603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50608 /* end confdefs.h. */
50609 #include <math.h>
50611 main ()
50613 fmodf(0, 0);
50615 return 0;
50617 _ACEOF
50618 if ac_fn_cxx_try_compile "$LINENO"; then :
50619 glibcxx_cv_func_fmodf_use=yes
50620 else
50621 glibcxx_cv_func_fmodf_use=no
50623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50624 ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50635 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50637 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50638 for ac_func in fmodf
50639 do :
50640 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50641 if test "x$ac_cv_func_fmodf" = xyes; then :
50642 cat >>confdefs.h <<_ACEOF
50643 #define HAVE_FMODF 1
50644 _ACEOF
50647 done
50649 else
50651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50652 $as_echo_n "checking for _fmodf declaration... " >&6; }
50653 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50654 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50655 $as_echo_n "(cached) " >&6
50656 else
50659 ac_ext=cpp
50660 ac_cpp='$CXXCPP $CPPFLAGS'
50661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50666 /* end confdefs.h. */
50667 #include <math.h>
50669 main ()
50671 _fmodf(0, 0);
50673 return 0;
50675 _ACEOF
50676 if ac_fn_cxx_try_compile "$LINENO"; then :
50677 glibcxx_cv_func__fmodf_use=yes
50678 else
50679 glibcxx_cv_func__fmodf_use=no
50681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50682 ac_ext=c
50683 ac_cpp='$CPP $CPPFLAGS'
50684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50693 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50695 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50696 for ac_func in _fmodf
50697 do :
50698 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50699 if test "x$ac_cv_func__fmodf" = xyes; then :
50700 cat >>confdefs.h <<_ACEOF
50701 #define HAVE__FMODF 1
50702 _ACEOF
50705 done
50714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50715 $as_echo_n "checking for frexpf declaration... " >&6; }
50716 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50717 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50718 $as_echo_n "(cached) " >&6
50719 else
50722 ac_ext=cpp
50723 ac_cpp='$CXXCPP $CPPFLAGS'
50724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50729 /* end confdefs.h. */
50730 #include <math.h>
50732 main ()
50734 frexpf(0, 0);
50736 return 0;
50738 _ACEOF
50739 if ac_fn_cxx_try_compile "$LINENO"; then :
50740 glibcxx_cv_func_frexpf_use=yes
50741 else
50742 glibcxx_cv_func_frexpf_use=no
50744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50745 ac_ext=c
50746 ac_cpp='$CPP $CPPFLAGS'
50747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50756 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50758 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50759 for ac_func in frexpf
50760 do :
50761 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50762 if test "x$ac_cv_func_frexpf" = xyes; then :
50763 cat >>confdefs.h <<_ACEOF
50764 #define HAVE_FREXPF 1
50765 _ACEOF
50768 done
50770 else
50772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50773 $as_echo_n "checking for _frexpf declaration... " >&6; }
50774 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50775 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50776 $as_echo_n "(cached) " >&6
50777 else
50780 ac_ext=cpp
50781 ac_cpp='$CXXCPP $CPPFLAGS'
50782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50787 /* end confdefs.h. */
50788 #include <math.h>
50790 main ()
50792 _frexpf(0, 0);
50794 return 0;
50796 _ACEOF
50797 if ac_fn_cxx_try_compile "$LINENO"; then :
50798 glibcxx_cv_func__frexpf_use=yes
50799 else
50800 glibcxx_cv_func__frexpf_use=no
50802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50803 ac_ext=c
50804 ac_cpp='$CPP $CPPFLAGS'
50805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50814 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50816 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50817 for ac_func in _frexpf
50818 do :
50819 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50820 if test "x$ac_cv_func__frexpf" = xyes; then :
50821 cat >>confdefs.h <<_ACEOF
50822 #define HAVE__FREXPF 1
50823 _ACEOF
50826 done
50835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50836 $as_echo_n "checking for hypotf declaration... " >&6; }
50837 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50838 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50839 $as_echo_n "(cached) " >&6
50840 else
50843 ac_ext=cpp
50844 ac_cpp='$CXXCPP $CPPFLAGS'
50845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50850 /* end confdefs.h. */
50851 #include <math.h>
50853 main ()
50855 hypotf(0, 0);
50857 return 0;
50859 _ACEOF
50860 if ac_fn_cxx_try_compile "$LINENO"; then :
50861 glibcxx_cv_func_hypotf_use=yes
50862 else
50863 glibcxx_cv_func_hypotf_use=no
50865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50866 ac_ext=c
50867 ac_cpp='$CPP $CPPFLAGS'
50868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50877 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50879 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50880 for ac_func in hypotf
50881 do :
50882 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50883 if test "x$ac_cv_func_hypotf" = xyes; then :
50884 cat >>confdefs.h <<_ACEOF
50885 #define HAVE_HYPOTF 1
50886 _ACEOF
50889 done
50891 else
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50894 $as_echo_n "checking for _hypotf declaration... " >&6; }
50895 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50896 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50897 $as_echo_n "(cached) " >&6
50898 else
50901 ac_ext=cpp
50902 ac_cpp='$CXXCPP $CPPFLAGS'
50903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50908 /* end confdefs.h. */
50909 #include <math.h>
50911 main ()
50913 _hypotf(0, 0);
50915 return 0;
50917 _ACEOF
50918 if ac_fn_cxx_try_compile "$LINENO"; then :
50919 glibcxx_cv_func__hypotf_use=yes
50920 else
50921 glibcxx_cv_func__hypotf_use=no
50923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50924 ac_ext=c
50925 ac_cpp='$CPP $CPPFLAGS'
50926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50935 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50937 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50938 for ac_func in _hypotf
50939 do :
50940 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50941 if test "x$ac_cv_func__hypotf" = xyes; then :
50942 cat >>confdefs.h <<_ACEOF
50943 #define HAVE__HYPOTF 1
50944 _ACEOF
50947 done
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50957 $as_echo_n "checking for ldexpf declaration... " >&6; }
50958 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50959 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50960 $as_echo_n "(cached) " >&6
50961 else
50964 ac_ext=cpp
50965 ac_cpp='$CXXCPP $CPPFLAGS'
50966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50971 /* end confdefs.h. */
50972 #include <math.h>
50974 main ()
50976 ldexpf(0, 0);
50978 return 0;
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982 glibcxx_cv_func_ldexpf_use=yes
50983 else
50984 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
50998 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
51000 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
51001 for ac_func in ldexpf
51002 do :
51003 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
51004 if test "x$ac_cv_func_ldexpf" = xyes; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define HAVE_LDEXPF 1
51007 _ACEOF
51010 done
51012 else
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
51015 $as_echo_n "checking for _ldexpf declaration... " >&6; }
51016 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
51017 if ${glibcxx_cv_func__ldexpf_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>
51032 main ()
51034 _ldexpf(0, 0);
51036 return 0;
51038 _ACEOF
51039 if ac_fn_cxx_try_compile "$LINENO"; then :
51040 glibcxx_cv_func__ldexpf_use=yes
51041 else
51042 glibcxx_cv_func__ldexpf_use=no
51044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045 ac_ext=c
51046 ac_cpp='$CPP $CPPFLAGS'
51047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
51056 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
51058 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51059 for ac_func in _ldexpf
51060 do :
51061 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
51062 if test "x$ac_cv_func__ldexpf" = xyes; then :
51063 cat >>confdefs.h <<_ACEOF
51064 #define HAVE__LDEXPF 1
51065 _ACEOF
51068 done
51077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
51078 $as_echo_n "checking for logf declaration... " >&6; }
51079 if test x${glibcxx_cv_func_logf_use+set} != xset; then
51080 if ${glibcxx_cv_func_logf_use+:} false; then :
51081 $as_echo_n "(cached) " >&6
51082 else
51085 ac_ext=cpp
51086 ac_cpp='$CXXCPP $CPPFLAGS'
51087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51092 /* end confdefs.h. */
51093 #include <math.h>
51094 #ifdef HAVE_IEEEFP_H
51095 #include <ieeefp.h>
51096 #endif
51099 main ()
51101 logf(0);
51103 return 0;
51105 _ACEOF
51106 if ac_fn_cxx_try_compile "$LINENO"; then :
51107 glibcxx_cv_func_logf_use=yes
51108 else
51109 glibcxx_cv_func_logf_use=no
51111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51112 ac_ext=c
51113 ac_cpp='$CPP $CPPFLAGS'
51114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
51123 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
51125 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51126 for ac_func in logf
51127 do :
51128 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
51129 if test "x$ac_cv_func_logf" = xyes; then :
51130 cat >>confdefs.h <<_ACEOF
51131 #define HAVE_LOGF 1
51132 _ACEOF
51135 done
51137 else
51139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
51140 $as_echo_n "checking for _logf declaration... " >&6; }
51141 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51142 if ${glibcxx_cv_func__logf_use+:} false; then :
51143 $as_echo_n "(cached) " >&6
51144 else
51147 ac_ext=cpp
51148 ac_cpp='$CXXCPP $CPPFLAGS'
51149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51154 /* end confdefs.h. */
51155 #include <math.h>
51156 #ifdef HAVE_IEEEFP_H
51157 #include <ieeefp.h>
51158 #endif
51161 main ()
51163 _logf(0);
51165 return 0;
51167 _ACEOF
51168 if ac_fn_cxx_try_compile "$LINENO"; then :
51169 glibcxx_cv_func__logf_use=yes
51170 else
51171 glibcxx_cv_func__logf_use=no
51173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51174 ac_ext=c
51175 ac_cpp='$CPP $CPPFLAGS'
51176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51185 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
51187 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51188 for ac_func in _logf
51189 do :
51190 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51191 if test "x$ac_cv_func__logf" = xyes; then :
51192 cat >>confdefs.h <<_ACEOF
51193 #define HAVE__LOGF 1
51194 _ACEOF
51197 done
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51207 $as_echo_n "checking for log10f declaration... " >&6; }
51208 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51209 if ${glibcxx_cv_func_log10f_use+:} false; then :
51210 $as_echo_n "(cached) " >&6
51211 else
51214 ac_ext=cpp
51215 ac_cpp='$CXXCPP $CPPFLAGS'
51216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51221 /* end confdefs.h. */
51222 #include <math.h>
51223 #ifdef HAVE_IEEEFP_H
51224 #include <ieeefp.h>
51225 #endif
51228 main ()
51230 log10f(0);
51232 return 0;
51234 _ACEOF
51235 if ac_fn_cxx_try_compile "$LINENO"; then :
51236 glibcxx_cv_func_log10f_use=yes
51237 else
51238 glibcxx_cv_func_log10f_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_log10f_use" >&5
51252 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51254 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51255 for ac_func in log10f
51256 do :
51257 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51258 if test "x$ac_cv_func_log10f" = xyes; then :
51259 cat >>confdefs.h <<_ACEOF
51260 #define HAVE_LOG10F 1
51261 _ACEOF
51264 done
51266 else
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51269 $as_echo_n "checking for _log10f declaration... " >&6; }
51270 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51271 if ${glibcxx_cv_func__log10f_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>
51285 #ifdef HAVE_IEEEFP_H
51286 #include <ieeefp.h>
51287 #endif
51290 main ()
51292 _log10f(0);
51294 return 0;
51296 _ACEOF
51297 if ac_fn_cxx_try_compile "$LINENO"; then :
51298 glibcxx_cv_func__log10f_use=yes
51299 else
51300 glibcxx_cv_func__log10f_use=no
51302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51303 ac_ext=c
51304 ac_cpp='$CPP $CPPFLAGS'
51305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51314 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51316 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51317 for ac_func in _log10f
51318 do :
51319 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51320 if test "x$ac_cv_func__log10f" = xyes; then :
51321 cat >>confdefs.h <<_ACEOF
51322 #define HAVE__LOG10F 1
51323 _ACEOF
51326 done
51335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51336 $as_echo_n "checking for modff declaration... " >&6; }
51337 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51338 if ${glibcxx_cv_func_modff_use+:} false; then :
51339 $as_echo_n "(cached) " >&6
51340 else
51343 ac_ext=cpp
51344 ac_cpp='$CXXCPP $CPPFLAGS'
51345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51350 /* end confdefs.h. */
51351 #include <math.h>
51353 main ()
51355 modff(0, 0);
51357 return 0;
51359 _ACEOF
51360 if ac_fn_cxx_try_compile "$LINENO"; then :
51361 glibcxx_cv_func_modff_use=yes
51362 else
51363 glibcxx_cv_func_modff_use=no
51365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51366 ac_ext=c
51367 ac_cpp='$CPP $CPPFLAGS'
51368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51377 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51379 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51380 for ac_func in modff
51381 do :
51382 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51383 if test "x$ac_cv_func_modff" = xyes; then :
51384 cat >>confdefs.h <<_ACEOF
51385 #define HAVE_MODFF 1
51386 _ACEOF
51389 done
51391 else
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51394 $as_echo_n "checking for _modff declaration... " >&6; }
51395 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51396 if ${glibcxx_cv_func__modff_use+:} false; then :
51397 $as_echo_n "(cached) " >&6
51398 else
51401 ac_ext=cpp
51402 ac_cpp='$CXXCPP $CPPFLAGS'
51403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51408 /* end confdefs.h. */
51409 #include <math.h>
51411 main ()
51413 _modff(0, 0);
51415 return 0;
51417 _ACEOF
51418 if ac_fn_cxx_try_compile "$LINENO"; then :
51419 glibcxx_cv_func__modff_use=yes
51420 else
51421 glibcxx_cv_func__modff_use=no
51423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51424 ac_ext=c
51425 ac_cpp='$CPP $CPPFLAGS'
51426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51435 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51437 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51438 for ac_func in _modff
51439 do :
51440 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51441 if test "x$ac_cv_func__modff" = xyes; then :
51442 cat >>confdefs.h <<_ACEOF
51443 #define HAVE__MODFF 1
51444 _ACEOF
51447 done
51456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51457 $as_echo_n "checking for modf declaration... " >&6; }
51458 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51459 if ${glibcxx_cv_func_modf_use+:} false; then :
51460 $as_echo_n "(cached) " >&6
51461 else
51464 ac_ext=cpp
51465 ac_cpp='$CXXCPP $CPPFLAGS'
51466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471 /* end confdefs.h. */
51472 #include <math.h>
51474 main ()
51476 modf(0, 0);
51478 return 0;
51480 _ACEOF
51481 if ac_fn_cxx_try_compile "$LINENO"; then :
51482 glibcxx_cv_func_modf_use=yes
51483 else
51484 glibcxx_cv_func_modf_use=no
51486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51487 ac_ext=c
51488 ac_cpp='$CPP $CPPFLAGS'
51489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51498 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51500 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51501 for ac_func in modf
51502 do :
51503 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51504 if test "x$ac_cv_func_modf" = xyes; then :
51505 cat >>confdefs.h <<_ACEOF
51506 #define HAVE_MODF 1
51507 _ACEOF
51510 done
51512 else
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51515 $as_echo_n "checking for _modf declaration... " >&6; }
51516 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51517 if ${glibcxx_cv_func__modf_use+:} false; then :
51518 $as_echo_n "(cached) " >&6
51519 else
51522 ac_ext=cpp
51523 ac_cpp='$CXXCPP $CPPFLAGS'
51524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h. */
51530 #include <math.h>
51532 main ()
51534 _modf(0, 0);
51536 return 0;
51538 _ACEOF
51539 if ac_fn_cxx_try_compile "$LINENO"; then :
51540 glibcxx_cv_func__modf_use=yes
51541 else
51542 glibcxx_cv_func__modf_use=no
51544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51545 ac_ext=c
51546 ac_cpp='$CPP $CPPFLAGS'
51547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51556 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51558 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51559 for ac_func in _modf
51560 do :
51561 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51562 if test "x$ac_cv_func__modf" = xyes; then :
51563 cat >>confdefs.h <<_ACEOF
51564 #define HAVE__MODF 1
51565 _ACEOF
51568 done
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51578 $as_echo_n "checking for powf declaration... " >&6; }
51579 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51580 if ${glibcxx_cv_func_powf_use+:} false; then :
51581 $as_echo_n "(cached) " >&6
51582 else
51585 ac_ext=cpp
51586 ac_cpp='$CXXCPP $CPPFLAGS'
51587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51592 /* end confdefs.h. */
51593 #include <math.h>
51595 main ()
51597 powf(0, 0);
51599 return 0;
51601 _ACEOF
51602 if ac_fn_cxx_try_compile "$LINENO"; then :
51603 glibcxx_cv_func_powf_use=yes
51604 else
51605 glibcxx_cv_func_powf_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_powf_use" >&5
51619 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51621 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51622 for ac_func in powf
51623 do :
51624 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51625 if test "x$ac_cv_func_powf" = xyes; then :
51626 cat >>confdefs.h <<_ACEOF
51627 #define HAVE_POWF 1
51628 _ACEOF
51631 done
51633 else
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51636 $as_echo_n "checking for _powf declaration... " >&6; }
51637 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51638 if ${glibcxx_cv_func__powf_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>
51653 main ()
51655 _powf(0, 0);
51657 return 0;
51659 _ACEOF
51660 if ac_fn_cxx_try_compile "$LINENO"; then :
51661 glibcxx_cv_func__powf_use=yes
51662 else
51663 glibcxx_cv_func__powf_use=no
51665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51666 ac_ext=c
51667 ac_cpp='$CPP $CPPFLAGS'
51668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51677 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51679 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51680 for ac_func in _powf
51681 do :
51682 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51683 if test "x$ac_cv_func__powf" = xyes; then :
51684 cat >>confdefs.h <<_ACEOF
51685 #define HAVE__POWF 1
51686 _ACEOF
51689 done
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51699 $as_echo_n "checking for sqrtf declaration... " >&6; }
51700 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51701 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51702 $as_echo_n "(cached) " >&6
51703 else
51706 ac_ext=cpp
51707 ac_cpp='$CXXCPP $CPPFLAGS'
51708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51713 /* end confdefs.h. */
51714 #include <math.h>
51715 #ifdef HAVE_IEEEFP_H
51716 #include <ieeefp.h>
51717 #endif
51720 main ()
51722 sqrtf(0);
51724 return 0;
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728 glibcxx_cv_func_sqrtf_use=yes
51729 else
51730 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
51744 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51746 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51747 for ac_func in sqrtf
51748 do :
51749 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51750 if test "x$ac_cv_func_sqrtf" = xyes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE_SQRTF 1
51753 _ACEOF
51756 done
51758 else
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51761 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51762 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51763 if ${glibcxx_cv_func__sqrtf_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>
51777 #ifdef HAVE_IEEEFP_H
51778 #include <ieeefp.h>
51779 #endif
51782 main ()
51784 _sqrtf(0);
51786 return 0;
51788 _ACEOF
51789 if ac_fn_cxx_try_compile "$LINENO"; then :
51790 glibcxx_cv_func__sqrtf_use=yes
51791 else
51792 glibcxx_cv_func__sqrtf_use=no
51794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51795 ac_ext=c
51796 ac_cpp='$CPP $CPPFLAGS'
51797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51806 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51808 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51809 for ac_func in _sqrtf
51810 do :
51811 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51812 if test "x$ac_cv_func__sqrtf" = xyes; then :
51813 cat >>confdefs.h <<_ACEOF
51814 #define HAVE__SQRTF 1
51815 _ACEOF
51818 done
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51828 $as_echo_n "checking for sincosf declaration... " >&6; }
51829 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51830 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51831 $as_echo_n "(cached) " >&6
51832 else
51835 ac_ext=cpp
51836 ac_cpp='$CXXCPP $CPPFLAGS'
51837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51842 /* end confdefs.h. */
51843 #include <math.h>
51845 main ()
51847 sincosf(0, 0, 0);
51849 return 0;
51851 _ACEOF
51852 if ac_fn_cxx_try_compile "$LINENO"; then :
51853 glibcxx_cv_func_sincosf_use=yes
51854 else
51855 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
51869 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51871 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51872 for ac_func in sincosf
51873 do :
51874 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51875 if test "x$ac_cv_func_sincosf" = xyes; then :
51876 cat >>confdefs.h <<_ACEOF
51877 #define HAVE_SINCOSF 1
51878 _ACEOF
51881 done
51883 else
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51886 $as_echo_n "checking for _sincosf declaration... " >&6; }
51887 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51888 if ${glibcxx_cv_func__sincosf_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>
51903 main ()
51905 _sincosf(0, 0, 0);
51907 return 0;
51909 _ACEOF
51910 if ac_fn_cxx_try_compile "$LINENO"; then :
51911 glibcxx_cv_func__sincosf_use=yes
51912 else
51913 glibcxx_cv_func__sincosf_use=no
51915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51916 ac_ext=c
51917 ac_cpp='$CPP $CPPFLAGS'
51918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51927 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51929 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51930 for ac_func in _sincosf
51931 do :
51932 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51933 if test "x$ac_cv_func__sincosf" = xyes; then :
51934 cat >>confdefs.h <<_ACEOF
51935 #define HAVE__SINCOSF 1
51936 _ACEOF
51939 done
51948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51949 $as_echo_n "checking for finitef declaration... " >&6; }
51950 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51951 if ${glibcxx_cv_func_finitef_use+:} false; then :
51952 $as_echo_n "(cached) " >&6
51953 else
51956 ac_ext=cpp
51957 ac_cpp='$CXXCPP $CPPFLAGS'
51958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51963 /* end confdefs.h. */
51964 #include <math.h>
51965 #ifdef HAVE_IEEEFP_H
51966 #include <ieeefp.h>
51967 #endif
51970 main ()
51972 finitef(0);
51974 return 0;
51976 _ACEOF
51977 if ac_fn_cxx_try_compile "$LINENO"; then :
51978 glibcxx_cv_func_finitef_use=yes
51979 else
51980 glibcxx_cv_func_finitef_use=no
51982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51983 ac_ext=c
51984 ac_cpp='$CPP $CPPFLAGS'
51985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51994 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51996 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51997 for ac_func in finitef
51998 do :
51999 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
52000 if test "x$ac_cv_func_finitef" = xyes; then :
52001 cat >>confdefs.h <<_ACEOF
52002 #define HAVE_FINITEF 1
52003 _ACEOF
52006 done
52008 else
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
52011 $as_echo_n "checking for _finitef declaration... " >&6; }
52012 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52013 if ${glibcxx_cv_func__finitef_use+:} false; then :
52014 $as_echo_n "(cached) " >&6
52015 else
52018 ac_ext=cpp
52019 ac_cpp='$CXXCPP $CPPFLAGS'
52020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52025 /* end confdefs.h. */
52026 #include <math.h>
52027 #ifdef HAVE_IEEEFP_H
52028 #include <ieeefp.h>
52029 #endif
52032 main ()
52034 _finitef(0);
52036 return 0;
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func__finitef_use=yes
52041 else
52042 glibcxx_cv_func__finitef_use=no
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
52056 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
52058 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52059 for ac_func in _finitef
52060 do :
52061 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
52062 if test "x$ac_cv_func__finitef" = xyes; then :
52063 cat >>confdefs.h <<_ACEOF
52064 #define HAVE__FINITEF 1
52065 _ACEOF
52068 done
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
52078 $as_echo_n "checking for long double trig functions... " >&6; }
52079 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
52080 $as_echo_n "(cached) " >&6
52081 else
52084 ac_ext=cpp
52085 ac_cpp='$CXXCPP $CPPFLAGS'
52086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52091 /* end confdefs.h. */
52092 #include <math.h>
52094 main ()
52096 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52098 return 0;
52100 _ACEOF
52101 if ac_fn_cxx_try_compile "$LINENO"; then :
52102 glibcxx_cv_func_long_double_trig_use=yes
52103 else
52104 glibcxx_cv_func_long_double_trig_use=no
52106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52107 ac_ext=c
52108 ac_cpp='$CPP $CPPFLAGS'
52109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
52116 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
52117 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52118 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52119 do :
52120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52122 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52123 cat >>confdefs.h <<_ACEOF
52124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52125 _ACEOF
52128 done
52130 else
52131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
52132 $as_echo_n "checking for _long double trig functions... " >&6; }
52133 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
52134 $as_echo_n "(cached) " >&6
52135 else
52138 ac_ext=cpp
52139 ac_cpp='$CXXCPP $CPPFLAGS'
52140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52145 /* end confdefs.h. */
52146 #include <math.h>
52148 main ()
52150 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52152 return 0;
52154 _ACEOF
52155 if ac_fn_cxx_try_compile "$LINENO"; then :
52156 glibcxx_cv_func__long_double_trig_use=yes
52157 else
52158 glibcxx_cv_func__long_double_trig_use=no
52160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52161 ac_ext=c
52162 ac_cpp='$CPP $CPPFLAGS'
52163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
52170 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
52171 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52172 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52173 do :
52174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52176 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52177 cat >>confdefs.h <<_ACEOF
52178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52179 _ACEOF
52182 done
52191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52192 $as_echo_n "checking for long double round functions... " >&6; }
52193 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
52194 $as_echo_n "(cached) " >&6
52195 else
52198 ac_ext=cpp
52199 ac_cpp='$CXXCPP $CPPFLAGS'
52200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52205 /* end confdefs.h. */
52206 #include <math.h>
52208 main ()
52210 ceill (0); floorl (0);
52212 return 0;
52214 _ACEOF
52215 if ac_fn_cxx_try_compile "$LINENO"; then :
52216 glibcxx_cv_func_long_double_round_use=yes
52217 else
52218 glibcxx_cv_func_long_double_round_use=no
52220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52221 ac_ext=c
52222 ac_cpp='$CPP $CPPFLAGS'
52223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52230 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52231 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52232 for ac_func in ceill floorl
52233 do :
52234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52237 cat >>confdefs.h <<_ACEOF
52238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52239 _ACEOF
52242 done
52244 else
52245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52246 $as_echo_n "checking for _long double round functions... " >&6; }
52247 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52248 $as_echo_n "(cached) " >&6
52249 else
52252 ac_ext=cpp
52253 ac_cpp='$CXXCPP $CPPFLAGS'
52254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52259 /* end confdefs.h. */
52260 #include <math.h>
52262 main ()
52264 _ceill (0); _floorl (0);
52266 return 0;
52268 _ACEOF
52269 if ac_fn_cxx_try_compile "$LINENO"; then :
52270 glibcxx_cv_func__long_double_round_use=yes
52271 else
52272 glibcxx_cv_func__long_double_round_use=no
52274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52275 ac_ext=c
52276 ac_cpp='$CPP $CPPFLAGS'
52277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52284 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52285 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52286 for ac_func in _ceill _floorl
52287 do :
52288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52290 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52291 cat >>confdefs.h <<_ACEOF
52292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52293 _ACEOF
52296 done
52306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52307 $as_echo_n "checking for isnanl declaration... " >&6; }
52308 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52309 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52310 $as_echo_n "(cached) " >&6
52311 else
52314 ac_ext=cpp
52315 ac_cpp='$CXXCPP $CPPFLAGS'
52316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52321 /* end confdefs.h. */
52322 #include <math.h>
52323 #ifdef HAVE_IEEEFP_H
52324 #include <ieeefp.h>
52325 #endif
52328 main ()
52330 isnanl(0);
52332 return 0;
52334 _ACEOF
52335 if ac_fn_cxx_try_compile "$LINENO"; then :
52336 glibcxx_cv_func_isnanl_use=yes
52337 else
52338 glibcxx_cv_func_isnanl_use=no
52340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52341 ac_ext=c
52342 ac_cpp='$CPP $CPPFLAGS'
52343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52352 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52354 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52355 for ac_func in isnanl
52356 do :
52357 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52358 if test "x$ac_cv_func_isnanl" = xyes; then :
52359 cat >>confdefs.h <<_ACEOF
52360 #define HAVE_ISNANL 1
52361 _ACEOF
52364 done
52366 else
52368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52369 $as_echo_n "checking for _isnanl declaration... " >&6; }
52370 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52371 if ${glibcxx_cv_func__isnanl_use+:} false; then :
52372 $as_echo_n "(cached) " >&6
52373 else
52376 ac_ext=cpp
52377 ac_cpp='$CXXCPP $CPPFLAGS'
52378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52383 /* end confdefs.h. */
52384 #include <math.h>
52385 #ifdef HAVE_IEEEFP_H
52386 #include <ieeefp.h>
52387 #endif
52390 main ()
52392 _isnanl(0);
52394 return 0;
52396 _ACEOF
52397 if ac_fn_cxx_try_compile "$LINENO"; then :
52398 glibcxx_cv_func__isnanl_use=yes
52399 else
52400 glibcxx_cv_func__isnanl_use=no
52402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52403 ac_ext=c
52404 ac_cpp='$CPP $CPPFLAGS'
52405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52414 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52416 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52417 for ac_func in _isnanl
52418 do :
52419 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52420 if test "x$ac_cv_func__isnanl" = xyes; then :
52421 cat >>confdefs.h <<_ACEOF
52422 #define HAVE__ISNANL 1
52423 _ACEOF
52426 done
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52436 $as_echo_n "checking for isinfl declaration... " >&6; }
52437 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52438 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52439 $as_echo_n "(cached) " >&6
52440 else
52443 ac_ext=cpp
52444 ac_cpp='$CXXCPP $CPPFLAGS'
52445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52450 /* end confdefs.h. */
52451 #include <math.h>
52452 #ifdef HAVE_IEEEFP_H
52453 #include <ieeefp.h>
52454 #endif
52457 main ()
52459 isinfl(0);
52461 return 0;
52463 _ACEOF
52464 if ac_fn_cxx_try_compile "$LINENO"; then :
52465 glibcxx_cv_func_isinfl_use=yes
52466 else
52467 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
52481 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52483 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52484 for ac_func in isinfl
52485 do :
52486 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52487 if test "x$ac_cv_func_isinfl" = xyes; then :
52488 cat >>confdefs.h <<_ACEOF
52489 #define HAVE_ISINFL 1
52490 _ACEOF
52493 done
52495 else
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52498 $as_echo_n "checking for _isinfl declaration... " >&6; }
52499 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52500 if ${glibcxx_cv_func__isinfl_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>
52514 #ifdef HAVE_IEEEFP_H
52515 #include <ieeefp.h>
52516 #endif
52519 main ()
52521 _isinfl(0);
52523 return 0;
52525 _ACEOF
52526 if ac_fn_cxx_try_compile "$LINENO"; then :
52527 glibcxx_cv_func__isinfl_use=yes
52528 else
52529 glibcxx_cv_func__isinfl_use=no
52531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52532 ac_ext=c
52533 ac_cpp='$CPP $CPPFLAGS'
52534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52543 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52545 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52546 for ac_func in _isinfl
52547 do :
52548 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52549 if test "x$ac_cv_func__isinfl" = xyes; then :
52550 cat >>confdefs.h <<_ACEOF
52551 #define HAVE__ISINFL 1
52552 _ACEOF
52555 done
52564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52565 $as_echo_n "checking for atan2l declaration... " >&6; }
52566 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52567 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52568 $as_echo_n "(cached) " >&6
52569 else
52572 ac_ext=cpp
52573 ac_cpp='$CXXCPP $CPPFLAGS'
52574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52579 /* end confdefs.h. */
52580 #include <math.h>
52582 main ()
52584 atan2l(0, 0);
52586 return 0;
52588 _ACEOF
52589 if ac_fn_cxx_try_compile "$LINENO"; then :
52590 glibcxx_cv_func_atan2l_use=yes
52591 else
52592 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
52606 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52608 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52609 for ac_func in atan2l
52610 do :
52611 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52612 if test "x$ac_cv_func_atan2l" = xyes; then :
52613 cat >>confdefs.h <<_ACEOF
52614 #define HAVE_ATAN2L 1
52615 _ACEOF
52618 done
52620 else
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52623 $as_echo_n "checking for _atan2l declaration... " >&6; }
52624 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52625 if ${glibcxx_cv_func__atan2l_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>
52640 main ()
52642 _atan2l(0, 0);
52644 return 0;
52646 _ACEOF
52647 if ac_fn_cxx_try_compile "$LINENO"; then :
52648 glibcxx_cv_func__atan2l_use=yes
52649 else
52650 glibcxx_cv_func__atan2l_use=no
52652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52653 ac_ext=c
52654 ac_cpp='$CPP $CPPFLAGS'
52655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52664 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52666 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52667 for ac_func in _atan2l
52668 do :
52669 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52670 if test "x$ac_cv_func__atan2l" = xyes; then :
52671 cat >>confdefs.h <<_ACEOF
52672 #define HAVE__ATAN2L 1
52673 _ACEOF
52676 done
52685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52686 $as_echo_n "checking for expl declaration... " >&6; }
52687 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52688 if ${glibcxx_cv_func_expl_use+:} false; then :
52689 $as_echo_n "(cached) " >&6
52690 else
52693 ac_ext=cpp
52694 ac_cpp='$CXXCPP $CPPFLAGS'
52695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700 /* end confdefs.h. */
52701 #include <math.h>
52702 #ifdef HAVE_IEEEFP_H
52703 #include <ieeefp.h>
52704 #endif
52707 main ()
52709 expl(0);
52711 return 0;
52713 _ACEOF
52714 if ac_fn_cxx_try_compile "$LINENO"; then :
52715 glibcxx_cv_func_expl_use=yes
52716 else
52717 glibcxx_cv_func_expl_use=no
52719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52720 ac_ext=c
52721 ac_cpp='$CPP $CPPFLAGS'
52722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52731 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52733 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52734 for ac_func in expl
52735 do :
52736 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52737 if test "x$ac_cv_func_expl" = xyes; then :
52738 cat >>confdefs.h <<_ACEOF
52739 #define HAVE_EXPL 1
52740 _ACEOF
52743 done
52745 else
52747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52748 $as_echo_n "checking for _expl declaration... " >&6; }
52749 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52750 if ${glibcxx_cv_func__expl_use+:} false; then :
52751 $as_echo_n "(cached) " >&6
52752 else
52755 ac_ext=cpp
52756 ac_cpp='$CXXCPP $CPPFLAGS'
52757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52762 /* end confdefs.h. */
52763 #include <math.h>
52764 #ifdef HAVE_IEEEFP_H
52765 #include <ieeefp.h>
52766 #endif
52769 main ()
52771 _expl(0);
52773 return 0;
52775 _ACEOF
52776 if ac_fn_cxx_try_compile "$LINENO"; then :
52777 glibcxx_cv_func__expl_use=yes
52778 else
52779 glibcxx_cv_func__expl_use=no
52781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52782 ac_ext=c
52783 ac_cpp='$CPP $CPPFLAGS'
52784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52793 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52795 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52796 for ac_func in _expl
52797 do :
52798 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52799 if test "x$ac_cv_func__expl" = xyes; then :
52800 cat >>confdefs.h <<_ACEOF
52801 #define HAVE__EXPL 1
52802 _ACEOF
52805 done
52814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52815 $as_echo_n "checking for fabsl declaration... " >&6; }
52816 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52817 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52818 $as_echo_n "(cached) " >&6
52819 else
52822 ac_ext=cpp
52823 ac_cpp='$CXXCPP $CPPFLAGS'
52824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52829 /* end confdefs.h. */
52830 #include <math.h>
52831 #ifdef HAVE_IEEEFP_H
52832 #include <ieeefp.h>
52833 #endif
52836 main ()
52838 fabsl(0);
52840 return 0;
52842 _ACEOF
52843 if ac_fn_cxx_try_compile "$LINENO"; then :
52844 glibcxx_cv_func_fabsl_use=yes
52845 else
52846 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
52860 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52862 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52863 for ac_func in fabsl
52864 do :
52865 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52866 if test "x$ac_cv_func_fabsl" = xyes; then :
52867 cat >>confdefs.h <<_ACEOF
52868 #define HAVE_FABSL 1
52869 _ACEOF
52872 done
52874 else
52876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52877 $as_echo_n "checking for _fabsl declaration... " >&6; }
52878 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52879 if ${glibcxx_cv_func__fabsl_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>
52893 #ifdef HAVE_IEEEFP_H
52894 #include <ieeefp.h>
52895 #endif
52898 main ()
52900 _fabsl(0);
52902 return 0;
52904 _ACEOF
52905 if ac_fn_cxx_try_compile "$LINENO"; then :
52906 glibcxx_cv_func__fabsl_use=yes
52907 else
52908 glibcxx_cv_func__fabsl_use=no
52910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52911 ac_ext=c
52912 ac_cpp='$CPP $CPPFLAGS'
52913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52922 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52924 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52925 for ac_func in _fabsl
52926 do :
52927 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52928 if test "x$ac_cv_func__fabsl" = xyes; then :
52929 cat >>confdefs.h <<_ACEOF
52930 #define HAVE__FABSL 1
52931 _ACEOF
52934 done
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52944 $as_echo_n "checking for fmodl declaration... " >&6; }
52945 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52946 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52947 $as_echo_n "(cached) " >&6
52948 else
52951 ac_ext=cpp
52952 ac_cpp='$CXXCPP $CPPFLAGS'
52953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52958 /* end confdefs.h. */
52959 #include <math.h>
52961 main ()
52963 fmodl(0, 0);
52965 return 0;
52967 _ACEOF
52968 if ac_fn_cxx_try_compile "$LINENO"; then :
52969 glibcxx_cv_func_fmodl_use=yes
52970 else
52971 glibcxx_cv_func_fmodl_use=no
52973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52985 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52987 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52988 for ac_func in fmodl
52989 do :
52990 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52991 if test "x$ac_cv_func_fmodl" = xyes; then :
52992 cat >>confdefs.h <<_ACEOF
52993 #define HAVE_FMODL 1
52994 _ACEOF
52997 done
52999 else
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
53002 $as_echo_n "checking for _fmodl declaration... " >&6; }
53003 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
53004 if ${glibcxx_cv_func__fmodl_use+:} false; then :
53005 $as_echo_n "(cached) " >&6
53006 else
53009 ac_ext=cpp
53010 ac_cpp='$CXXCPP $CPPFLAGS'
53011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53016 /* end confdefs.h. */
53017 #include <math.h>
53019 main ()
53021 _fmodl(0, 0);
53023 return 0;
53025 _ACEOF
53026 if ac_fn_cxx_try_compile "$LINENO"; then :
53027 glibcxx_cv_func__fmodl_use=yes
53028 else
53029 glibcxx_cv_func__fmodl_use=no
53031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53032 ac_ext=c
53033 ac_cpp='$CPP $CPPFLAGS'
53034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
53043 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
53045 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
53046 for ac_func in _fmodl
53047 do :
53048 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
53049 if test "x$ac_cv_func__fmodl" = xyes; then :
53050 cat >>confdefs.h <<_ACEOF
53051 #define HAVE__FMODL 1
53052 _ACEOF
53055 done
53064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
53065 $as_echo_n "checking for frexpl declaration... " >&6; }
53066 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
53067 if ${glibcxx_cv_func_frexpl_use+:} false; then :
53068 $as_echo_n "(cached) " >&6
53069 else
53072 ac_ext=cpp
53073 ac_cpp='$CXXCPP $CPPFLAGS'
53074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53079 /* end confdefs.h. */
53080 #include <math.h>
53082 main ()
53084 frexpl(0, 0);
53086 return 0;
53088 _ACEOF
53089 if ac_fn_cxx_try_compile "$LINENO"; then :
53090 glibcxx_cv_func_frexpl_use=yes
53091 else
53092 glibcxx_cv_func_frexpl_use=no
53094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53095 ac_ext=c
53096 ac_cpp='$CPP $CPPFLAGS'
53097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
53106 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
53108 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
53109 for ac_func in frexpl
53110 do :
53111 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
53112 if test "x$ac_cv_func_frexpl" = xyes; then :
53113 cat >>confdefs.h <<_ACEOF
53114 #define HAVE_FREXPL 1
53115 _ACEOF
53118 done
53120 else
53122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
53123 $as_echo_n "checking for _frexpl declaration... " >&6; }
53124 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
53125 if ${glibcxx_cv_func__frexpl_use+:} false; then :
53126 $as_echo_n "(cached) " >&6
53127 else
53130 ac_ext=cpp
53131 ac_cpp='$CXXCPP $CPPFLAGS'
53132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53137 /* end confdefs.h. */
53138 #include <math.h>
53140 main ()
53142 _frexpl(0, 0);
53144 return 0;
53146 _ACEOF
53147 if ac_fn_cxx_try_compile "$LINENO"; then :
53148 glibcxx_cv_func__frexpl_use=yes
53149 else
53150 glibcxx_cv_func__frexpl_use=no
53152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53153 ac_ext=c
53154 ac_cpp='$CPP $CPPFLAGS'
53155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
53164 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
53166 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
53167 for ac_func in _frexpl
53168 do :
53169 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
53170 if test "x$ac_cv_func__frexpl" = xyes; then :
53171 cat >>confdefs.h <<_ACEOF
53172 #define HAVE__FREXPL 1
53173 _ACEOF
53176 done
53185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53186 $as_echo_n "checking for hypotl declaration... " >&6; }
53187 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53188 if ${glibcxx_cv_func_hypotl_use+:} false; then :
53189 $as_echo_n "(cached) " >&6
53190 else
53193 ac_ext=cpp
53194 ac_cpp='$CXXCPP $CPPFLAGS'
53195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53200 /* end confdefs.h. */
53201 #include <math.h>
53203 main ()
53205 hypotl(0, 0);
53207 return 0;
53209 _ACEOF
53210 if ac_fn_cxx_try_compile "$LINENO"; then :
53211 glibcxx_cv_func_hypotl_use=yes
53212 else
53213 glibcxx_cv_func_hypotl_use=no
53215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53216 ac_ext=c
53217 ac_cpp='$CPP $CPPFLAGS'
53218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53227 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53229 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53230 for ac_func in hypotl
53231 do :
53232 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53233 if test "x$ac_cv_func_hypotl" = xyes; then :
53234 cat >>confdefs.h <<_ACEOF
53235 #define HAVE_HYPOTL 1
53236 _ACEOF
53239 done
53241 else
53243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53244 $as_echo_n "checking for _hypotl declaration... " >&6; }
53245 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53246 if ${glibcxx_cv_func__hypotl_use+:} false; then :
53247 $as_echo_n "(cached) " >&6
53248 else
53251 ac_ext=cpp
53252 ac_cpp='$CXXCPP $CPPFLAGS'
53253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53258 /* end confdefs.h. */
53259 #include <math.h>
53261 main ()
53263 _hypotl(0, 0);
53265 return 0;
53267 _ACEOF
53268 if ac_fn_cxx_try_compile "$LINENO"; then :
53269 glibcxx_cv_func__hypotl_use=yes
53270 else
53271 glibcxx_cv_func__hypotl_use=no
53273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53274 ac_ext=c
53275 ac_cpp='$CPP $CPPFLAGS'
53276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53285 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53287 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53288 for ac_func in _hypotl
53289 do :
53290 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53291 if test "x$ac_cv_func__hypotl" = xyes; then :
53292 cat >>confdefs.h <<_ACEOF
53293 #define HAVE__HYPOTL 1
53294 _ACEOF
53297 done
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53307 $as_echo_n "checking for ldexpl declaration... " >&6; }
53308 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53309 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53310 $as_echo_n "(cached) " >&6
53311 else
53314 ac_ext=cpp
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53321 /* end confdefs.h. */
53322 #include <math.h>
53324 main ()
53326 ldexpl(0, 0);
53328 return 0;
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func_ldexpl_use=yes
53333 else
53334 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
53348 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53350 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53351 for ac_func in ldexpl
53352 do :
53353 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53354 if test "x$ac_cv_func_ldexpl" = xyes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE_LDEXPL 1
53357 _ACEOF
53360 done
53362 else
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53365 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53366 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53367 if ${glibcxx_cv_func__ldexpl_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>
53382 main ()
53384 _ldexpl(0, 0);
53386 return 0;
53388 _ACEOF
53389 if ac_fn_cxx_try_compile "$LINENO"; then :
53390 glibcxx_cv_func__ldexpl_use=yes
53391 else
53392 glibcxx_cv_func__ldexpl_use=no
53394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53395 ac_ext=c
53396 ac_cpp='$CPP $CPPFLAGS'
53397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53406 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53408 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53409 for ac_func in _ldexpl
53410 do :
53411 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53412 if test "x$ac_cv_func__ldexpl" = xyes; then :
53413 cat >>confdefs.h <<_ACEOF
53414 #define HAVE__LDEXPL 1
53415 _ACEOF
53418 done
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53428 $as_echo_n "checking for logl declaration... " >&6; }
53429 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53430 if ${glibcxx_cv_func_logl_use+:} false; then :
53431 $as_echo_n "(cached) " >&6
53432 else
53435 ac_ext=cpp
53436 ac_cpp='$CXXCPP $CPPFLAGS'
53437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53442 /* end confdefs.h. */
53443 #include <math.h>
53444 #ifdef HAVE_IEEEFP_H
53445 #include <ieeefp.h>
53446 #endif
53449 main ()
53451 logl(0);
53453 return 0;
53455 _ACEOF
53456 if ac_fn_cxx_try_compile "$LINENO"; then :
53457 glibcxx_cv_func_logl_use=yes
53458 else
53459 glibcxx_cv_func_logl_use=no
53461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53462 ac_ext=c
53463 ac_cpp='$CPP $CPPFLAGS'
53464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53473 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53475 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53476 for ac_func in logl
53477 do :
53478 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53479 if test "x$ac_cv_func_logl" = xyes; then :
53480 cat >>confdefs.h <<_ACEOF
53481 #define HAVE_LOGL 1
53482 _ACEOF
53485 done
53487 else
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53490 $as_echo_n "checking for _logl declaration... " >&6; }
53491 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53492 if ${glibcxx_cv_func__logl_use+:} false; then :
53493 $as_echo_n "(cached) " >&6
53494 else
53497 ac_ext=cpp
53498 ac_cpp='$CXXCPP $CPPFLAGS'
53499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53504 /* end confdefs.h. */
53505 #include <math.h>
53506 #ifdef HAVE_IEEEFP_H
53507 #include <ieeefp.h>
53508 #endif
53511 main ()
53513 _logl(0);
53515 return 0;
53517 _ACEOF
53518 if ac_fn_cxx_try_compile "$LINENO"; then :
53519 glibcxx_cv_func__logl_use=yes
53520 else
53521 glibcxx_cv_func__logl_use=no
53523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53524 ac_ext=c
53525 ac_cpp='$CPP $CPPFLAGS'
53526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53535 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53537 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53538 for ac_func in _logl
53539 do :
53540 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53541 if test "x$ac_cv_func__logl" = xyes; then :
53542 cat >>confdefs.h <<_ACEOF
53543 #define HAVE__LOGL 1
53544 _ACEOF
53547 done
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53557 $as_echo_n "checking for log10l declaration... " >&6; }
53558 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53559 if ${glibcxx_cv_func_log10l_use+:} false; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53573 #ifdef HAVE_IEEEFP_H
53574 #include <ieeefp.h>
53575 #endif
53578 main ()
53580 log10l(0);
53582 return 0;
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func_log10l_use=yes
53587 else
53588 glibcxx_cv_func_log10l_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_log10l_use" >&5
53602 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53604 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53605 for ac_func in log10l
53606 do :
53607 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53608 if test "x$ac_cv_func_log10l" = xyes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE_LOG10L 1
53611 _ACEOF
53614 done
53616 else
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53619 $as_echo_n "checking for _log10l declaration... " >&6; }
53620 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53621 if ${glibcxx_cv_func__log10l_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>
53635 #ifdef HAVE_IEEEFP_H
53636 #include <ieeefp.h>
53637 #endif
53640 main ()
53642 _log10l(0);
53644 return 0;
53646 _ACEOF
53647 if ac_fn_cxx_try_compile "$LINENO"; then :
53648 glibcxx_cv_func__log10l_use=yes
53649 else
53650 glibcxx_cv_func__log10l_use=no
53652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53653 ac_ext=c
53654 ac_cpp='$CPP $CPPFLAGS'
53655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53664 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53666 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53667 for ac_func in _log10l
53668 do :
53669 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53670 if test "x$ac_cv_func__log10l" = xyes; then :
53671 cat >>confdefs.h <<_ACEOF
53672 #define HAVE__LOG10L 1
53673 _ACEOF
53676 done
53685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53686 $as_echo_n "checking for modfl declaration... " >&6; }
53687 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53688 if ${glibcxx_cv_func_modfl_use+:} false; then :
53689 $as_echo_n "(cached) " >&6
53690 else
53693 ac_ext=cpp
53694 ac_cpp='$CXXCPP $CPPFLAGS'
53695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53700 /* end confdefs.h. */
53701 #include <math.h>
53703 main ()
53705 modfl(0, 0);
53707 return 0;
53709 _ACEOF
53710 if ac_fn_cxx_try_compile "$LINENO"; then :
53711 glibcxx_cv_func_modfl_use=yes
53712 else
53713 glibcxx_cv_func_modfl_use=no
53715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53716 ac_ext=c
53717 ac_cpp='$CPP $CPPFLAGS'
53718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53727 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53729 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53730 for ac_func in modfl
53731 do :
53732 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53733 if test "x$ac_cv_func_modfl" = xyes; then :
53734 cat >>confdefs.h <<_ACEOF
53735 #define HAVE_MODFL 1
53736 _ACEOF
53739 done
53741 else
53743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53744 $as_echo_n "checking for _modfl declaration... " >&6; }
53745 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53746 if ${glibcxx_cv_func__modfl_use+:} false; then :
53747 $as_echo_n "(cached) " >&6
53748 else
53751 ac_ext=cpp
53752 ac_cpp='$CXXCPP $CPPFLAGS'
53753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53758 /* end confdefs.h. */
53759 #include <math.h>
53761 main ()
53763 _modfl(0, 0);
53765 return 0;
53767 _ACEOF
53768 if ac_fn_cxx_try_compile "$LINENO"; then :
53769 glibcxx_cv_func__modfl_use=yes
53770 else
53771 glibcxx_cv_func__modfl_use=no
53773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53774 ac_ext=c
53775 ac_cpp='$CPP $CPPFLAGS'
53776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53785 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53787 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53788 for ac_func in _modfl
53789 do :
53790 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53791 if test "x$ac_cv_func__modfl" = xyes; then :
53792 cat >>confdefs.h <<_ACEOF
53793 #define HAVE__MODFL 1
53794 _ACEOF
53797 done
53806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53807 $as_echo_n "checking for powl declaration... " >&6; }
53808 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53809 if ${glibcxx_cv_func_powl_use+:} false; then :
53810 $as_echo_n "(cached) " >&6
53811 else
53814 ac_ext=cpp
53815 ac_cpp='$CXXCPP $CPPFLAGS'
53816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53821 /* end confdefs.h. */
53822 #include <math.h>
53824 main ()
53826 powl(0, 0);
53828 return 0;
53830 _ACEOF
53831 if ac_fn_cxx_try_compile "$LINENO"; then :
53832 glibcxx_cv_func_powl_use=yes
53833 else
53834 glibcxx_cv_func_powl_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_powl_use" >&5
53848 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53850 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53851 for ac_func in powl
53852 do :
53853 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53854 if test "x$ac_cv_func_powl" = xyes; then :
53855 cat >>confdefs.h <<_ACEOF
53856 #define HAVE_POWL 1
53857 _ACEOF
53860 done
53862 else
53864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53865 $as_echo_n "checking for _powl declaration... " >&6; }
53866 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53867 if ${glibcxx_cv_func__powl_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>
53882 main ()
53884 _powl(0, 0);
53886 return 0;
53888 _ACEOF
53889 if ac_fn_cxx_try_compile "$LINENO"; then :
53890 glibcxx_cv_func__powl_use=yes
53891 else
53892 glibcxx_cv_func__powl_use=no
53894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53895 ac_ext=c
53896 ac_cpp='$CPP $CPPFLAGS'
53897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53906 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53908 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53909 for ac_func in _powl
53910 do :
53911 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53912 if test "x$ac_cv_func__powl" = xyes; then :
53913 cat >>confdefs.h <<_ACEOF
53914 #define HAVE__POWL 1
53915 _ACEOF
53918 done
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53928 $as_echo_n "checking for sqrtl declaration... " >&6; }
53929 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53930 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53931 $as_echo_n "(cached) " >&6
53932 else
53935 ac_ext=cpp
53936 ac_cpp='$CXXCPP $CPPFLAGS'
53937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53942 /* end confdefs.h. */
53943 #include <math.h>
53944 #ifdef HAVE_IEEEFP_H
53945 #include <ieeefp.h>
53946 #endif
53949 main ()
53951 sqrtl(0);
53953 return 0;
53955 _ACEOF
53956 if ac_fn_cxx_try_compile "$LINENO"; then :
53957 glibcxx_cv_func_sqrtl_use=yes
53958 else
53959 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
53973 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53975 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53976 for ac_func in sqrtl
53977 do :
53978 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53979 if test "x$ac_cv_func_sqrtl" = xyes; then :
53980 cat >>confdefs.h <<_ACEOF
53981 #define HAVE_SQRTL 1
53982 _ACEOF
53985 done
53987 else
53989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53990 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53991 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53992 if ${glibcxx_cv_func__sqrtl_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>
54006 #ifdef HAVE_IEEEFP_H
54007 #include <ieeefp.h>
54008 #endif
54011 main ()
54013 _sqrtl(0);
54015 return 0;
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019 glibcxx_cv_func__sqrtl_use=yes
54020 else
54021 glibcxx_cv_func__sqrtl_use=no
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024 ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
54035 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
54037 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
54038 for ac_func in _sqrtl
54039 do :
54040 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
54041 if test "x$ac_cv_func__sqrtl" = xyes; then :
54042 cat >>confdefs.h <<_ACEOF
54043 #define HAVE__SQRTL 1
54044 _ACEOF
54047 done
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
54057 $as_echo_n "checking for sincosl declaration... " >&6; }
54058 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
54059 if ${glibcxx_cv_func_sincosl_use+:} false; then :
54060 $as_echo_n "(cached) " >&6
54061 else
54064 ac_ext=cpp
54065 ac_cpp='$CXXCPP $CPPFLAGS'
54066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54071 /* end confdefs.h. */
54072 #include <math.h>
54074 main ()
54076 sincosl(0, 0, 0);
54078 return 0;
54080 _ACEOF
54081 if ac_fn_cxx_try_compile "$LINENO"; then :
54082 glibcxx_cv_func_sincosl_use=yes
54083 else
54084 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
54098 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
54100 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
54101 for ac_func in sincosl
54102 do :
54103 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
54104 if test "x$ac_cv_func_sincosl" = xyes; then :
54105 cat >>confdefs.h <<_ACEOF
54106 #define HAVE_SINCOSL 1
54107 _ACEOF
54110 done
54112 else
54114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
54115 $as_echo_n "checking for _sincosl declaration... " >&6; }
54116 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
54117 if ${glibcxx_cv_func__sincosl_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>
54132 main ()
54134 _sincosl(0, 0, 0);
54136 return 0;
54138 _ACEOF
54139 if ac_fn_cxx_try_compile "$LINENO"; then :
54140 glibcxx_cv_func__sincosl_use=yes
54141 else
54142 glibcxx_cv_func__sincosl_use=no
54144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54145 ac_ext=c
54146 ac_cpp='$CPP $CPPFLAGS'
54147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
54156 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
54158 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
54159 for ac_func in _sincosl
54160 do :
54161 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
54162 if test "x$ac_cv_func__sincosl" = xyes; then :
54163 cat >>confdefs.h <<_ACEOF
54164 #define HAVE__SINCOSL 1
54165 _ACEOF
54168 done
54177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
54178 $as_echo_n "checking for finitel declaration... " >&6; }
54179 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
54180 if ${glibcxx_cv_func_finitel_use+:} false; then :
54181 $as_echo_n "(cached) " >&6
54182 else
54185 ac_ext=cpp
54186 ac_cpp='$CXXCPP $CPPFLAGS'
54187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54192 /* end confdefs.h. */
54193 #include <math.h>
54194 #ifdef HAVE_IEEEFP_H
54195 #include <ieeefp.h>
54196 #endif
54199 main ()
54201 finitel(0);
54203 return 0;
54205 _ACEOF
54206 if ac_fn_cxx_try_compile "$LINENO"; then :
54207 glibcxx_cv_func_finitel_use=yes
54208 else
54209 glibcxx_cv_func_finitel_use=no
54211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54212 ac_ext=c
54213 ac_cpp='$CPP $CPPFLAGS'
54214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54223 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54225 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54226 for ac_func in finitel
54227 do :
54228 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54229 if test "x$ac_cv_func_finitel" = xyes; then :
54230 cat >>confdefs.h <<_ACEOF
54231 #define HAVE_FINITEL 1
54232 _ACEOF
54235 done
54237 else
54239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54240 $as_echo_n "checking for _finitel declaration... " >&6; }
54241 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54242 if ${glibcxx_cv_func__finitel_use+:} false; then :
54243 $as_echo_n "(cached) " >&6
54244 else
54247 ac_ext=cpp
54248 ac_cpp='$CXXCPP $CPPFLAGS'
54249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54254 /* end confdefs.h. */
54255 #include <math.h>
54256 #ifdef HAVE_IEEEFP_H
54257 #include <ieeefp.h>
54258 #endif
54261 main ()
54263 _finitel(0);
54265 return 0;
54267 _ACEOF
54268 if ac_fn_cxx_try_compile "$LINENO"; then :
54269 glibcxx_cv_func__finitel_use=yes
54270 else
54271 glibcxx_cv_func__finitel_use=no
54273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54274 ac_ext=c
54275 ac_cpp='$CPP $CPPFLAGS'
54276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54285 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54287 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54288 for ac_func in _finitel
54289 do :
54290 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54291 if test "x$ac_cv_func__finitel" = xyes; then :
54292 cat >>confdefs.h <<_ACEOF
54293 #define HAVE__FINITEL 1
54294 _ACEOF
54297 done
54305 LIBS="$ac_save_LIBS"
54306 CXXFLAGS="$ac_save_CXXFLAGS"
54309 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54310 ac_save_CXXFLAGS="$CXXFLAGS"
54311 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54315 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54316 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54317 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54318 $as_echo_n "(cached) " >&6
54319 else
54322 ac_ext=cpp
54323 ac_cpp='$CXXCPP $CPPFLAGS'
54324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54329 /* end confdefs.h. */
54330 #include <stdlib.h>
54332 main ()
54334 at_quick_exit(0);
54336 return 0;
54338 _ACEOF
54339 if ac_fn_cxx_try_compile "$LINENO"; then :
54340 glibcxx_cv_func_at_quick_exit_use=yes
54341 else
54342 glibcxx_cv_func_at_quick_exit_use=no
54344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54345 ac_ext=c
54346 ac_cpp='$CPP $CPPFLAGS'
54347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54356 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54357 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54358 for ac_func in at_quick_exit
54359 do :
54360 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54361 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54362 cat >>confdefs.h <<_ACEOF
54363 #define HAVE_AT_QUICK_EXIT 1
54364 _ACEOF
54367 done
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54373 $as_echo_n "checking for quick_exit declaration... " >&6; }
54374 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54375 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54376 $as_echo_n "(cached) " >&6
54377 else
54380 ac_ext=cpp
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h. */
54388 #include <stdlib.h>
54390 main ()
54392 quick_exit(0);
54394 return 0;
54396 _ACEOF
54397 if ac_fn_cxx_try_compile "$LINENO"; then :
54398 glibcxx_cv_func_quick_exit_use=yes
54399 else
54400 glibcxx_cv_func_quick_exit_use=no
54402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54403 ac_ext=c
54404 ac_cpp='$CPP $CPPFLAGS'
54405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54414 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54415 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54416 for ac_func in quick_exit
54417 do :
54418 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54419 if test "x$ac_cv_func_quick_exit" = xyes; then :
54420 cat >>confdefs.h <<_ACEOF
54421 #define HAVE_QUICK_EXIT 1
54422 _ACEOF
54425 done
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54431 $as_echo_n "checking for strtold declaration... " >&6; }
54432 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54433 if ${glibcxx_cv_func_strtold_use+:} false; then :
54434 $as_echo_n "(cached) " >&6
54435 else
54438 ac_ext=cpp
54439 ac_cpp='$CXXCPP $CPPFLAGS'
54440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54445 /* end confdefs.h. */
54446 #include <stdlib.h>
54448 main ()
54450 strtold(0, 0);
54452 return 0;
54454 _ACEOF
54455 if ac_fn_cxx_try_compile "$LINENO"; then :
54456 glibcxx_cv_func_strtold_use=yes
54457 else
54458 glibcxx_cv_func_strtold_use=no
54460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54461 ac_ext=c
54462 ac_cpp='$CPP $CPPFLAGS'
54463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54472 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54473 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54474 for ac_func in strtold
54475 do :
54476 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54477 if test "x$ac_cv_func_strtold" = xyes; then :
54478 cat >>confdefs.h <<_ACEOF
54479 #define HAVE_STRTOLD 1
54480 _ACEOF
54483 done
54490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54491 $as_echo_n "checking for strtof declaration... " >&6; }
54492 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54493 if ${glibcxx_cv_func_strtof_use+:} false; then :
54494 $as_echo_n "(cached) " >&6
54495 else
54498 ac_ext=cpp
54499 ac_cpp='$CXXCPP $CPPFLAGS'
54500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54505 /* end confdefs.h. */
54506 #include <stdlib.h>
54508 main ()
54510 strtof(0, 0);
54512 return 0;
54514 _ACEOF
54515 if ac_fn_cxx_try_compile "$LINENO"; then :
54516 glibcxx_cv_func_strtof_use=yes
54517 else
54518 glibcxx_cv_func_strtof_use=no
54520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54521 ac_ext=c
54522 ac_cpp='$CPP $CPPFLAGS'
54523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54532 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54533 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54534 for ac_func in strtof
54535 do :
54536 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54537 if test "x$ac_cv_func_strtof" = xyes; then :
54538 cat >>confdefs.h <<_ACEOF
54539 #define HAVE_STRTOF 1
54540 _ACEOF
54543 done
54550 CXXFLAGS="$ac_save_CXXFLAGS"
54552 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54554 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54558 # Check whether --enable-tls was given.
54559 if test "${enable_tls+set}" = set; then :
54560 enableval=$enable_tls;
54561 case "$enableval" in
54562 yes|no) ;;
54563 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54564 esac
54566 else
54567 enable_tls=yes
54571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54572 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54573 if ${gcc_cv_have_tls+:} false; then :
54574 $as_echo_n "(cached) " >&6
54575 else
54577 if test "$cross_compiling" = yes; then :
54578 if test x$gcc_no_link = xyes; then
54579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54582 /* end confdefs.h. */
54583 __thread int a; int b; int main() { return a = b; }
54584 _ACEOF
54585 if ac_fn_c_try_link "$LINENO"; then :
54586 chktls_save_LDFLAGS="$LDFLAGS"
54587 case $host in
54588 *-*-linux* | -*-uclinuxfdpic*)
54589 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54591 esac
54592 chktls_save_CFLAGS="$CFLAGS"
54593 CFLAGS="-fPIC $CFLAGS"
54594 if test x$gcc_no_link = xyes; then
54595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598 /* end confdefs.h. */
54599 int f() { return 0; }
54600 _ACEOF
54601 if ac_fn_c_try_link "$LINENO"; then :
54602 if test x$gcc_no_link = xyes; then
54603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54606 /* end confdefs.h. */
54607 __thread int a; int b; int f() { return a = b; }
54608 _ACEOF
54609 if ac_fn_c_try_link "$LINENO"; then :
54610 gcc_cv_have_tls=yes
54611 else
54612 gcc_cv_have_tls=no
54614 rm -f core conftest.err conftest.$ac_objext \
54615 conftest$ac_exeext conftest.$ac_ext
54616 else
54617 gcc_cv_have_tls=yes
54619 rm -f core conftest.err conftest.$ac_objext \
54620 conftest$ac_exeext conftest.$ac_ext
54621 CFLAGS="$chktls_save_CFLAGS"
54622 LDFLAGS="$chktls_save_LDFLAGS"
54623 else
54624 gcc_cv_have_tls=no
54626 rm -f core conftest.err conftest.$ac_objext \
54627 conftest$ac_exeext conftest.$ac_ext
54630 else
54631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54632 /* end confdefs.h. */
54633 __thread int a; int b; int main() { return a = b; }
54634 _ACEOF
54635 if ac_fn_c_try_run "$LINENO"; then :
54636 chktls_save_LDFLAGS="$LDFLAGS"
54637 LDFLAGS="-static $LDFLAGS"
54638 if test x$gcc_no_link = xyes; then
54639 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54642 /* end confdefs.h. */
54643 int main() { return 0; }
54644 _ACEOF
54645 if ac_fn_c_try_link "$LINENO"; then :
54646 if test "$cross_compiling" = yes; then :
54647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54649 as_fn_error $? "cannot run test program while cross compiling
54650 See \`config.log' for more details" "$LINENO" 5; }
54651 else
54652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54653 /* end confdefs.h. */
54654 __thread int a; int b; int main() { return a = b; }
54655 _ACEOF
54656 if ac_fn_c_try_run "$LINENO"; then :
54657 gcc_cv_have_tls=yes
54658 else
54659 gcc_cv_have_tls=no
54661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54662 conftest.$ac_objext conftest.beam conftest.$ac_ext
54665 else
54666 gcc_cv_have_tls=yes
54668 rm -f core conftest.err conftest.$ac_objext \
54669 conftest$ac_exeext conftest.$ac_ext
54670 LDFLAGS="$chktls_save_LDFLAGS"
54671 if test $gcc_cv_have_tls = yes; then
54672 chktls_save_CFLAGS="$CFLAGS"
54673 thread_CFLAGS=failed
54674 for flag in '' '-pthread' '-lpthread'; do
54675 CFLAGS="$flag $chktls_save_CFLAGS"
54676 if test x$gcc_no_link = xyes; then
54677 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54680 /* end confdefs.h. */
54681 #include <pthread.h>
54682 void *g(void *d) { return NULL; }
54684 main ()
54686 pthread_t t; pthread_create(&t,NULL,g,NULL);
54688 return 0;
54690 _ACEOF
54691 if ac_fn_c_try_link "$LINENO"; then :
54692 thread_CFLAGS="$flag"
54694 rm -f core conftest.err conftest.$ac_objext \
54695 conftest$ac_exeext conftest.$ac_ext
54696 if test "X$thread_CFLAGS" != Xfailed; then
54697 break
54699 done
54700 CFLAGS="$chktls_save_CFLAGS"
54701 if test "X$thread_CFLAGS" != Xfailed; then
54702 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54703 if test "$cross_compiling" = yes; then :
54704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54706 as_fn_error $? "cannot run test program while cross compiling
54707 See \`config.log' for more details" "$LINENO" 5; }
54708 else
54709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54710 /* end confdefs.h. */
54711 #include <pthread.h>
54712 __thread int a;
54713 static int *volatile a_in_other_thread;
54714 static void *
54715 thread_func (void *arg)
54717 a_in_other_thread = &a;
54718 return (void *)0;
54721 main ()
54723 pthread_t thread;
54724 void *thread_retval;
54725 int *volatile a_in_main_thread;
54726 a_in_main_thread = &a;
54727 if (pthread_create (&thread, (pthread_attr_t *)0,
54728 thread_func, (void *)0))
54729 return 0;
54730 if (pthread_join (thread, &thread_retval))
54731 return 0;
54732 return (a_in_other_thread == a_in_main_thread);
54734 return 0;
54736 _ACEOF
54737 if ac_fn_c_try_run "$LINENO"; then :
54738 gcc_cv_have_tls=yes
54739 else
54740 gcc_cv_have_tls=no
54742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54743 conftest.$ac_objext conftest.beam conftest.$ac_ext
54746 CFLAGS="$chktls_save_CFLAGS"
54749 else
54750 gcc_cv_have_tls=no
54752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54753 conftest.$ac_objext conftest.beam conftest.$ac_ext
54757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54758 $as_echo "$gcc_cv_have_tls" >&6; }
54759 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54761 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54764 for ac_func in __cxa_thread_atexit_impl
54765 do :
54766 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54767 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54768 cat >>confdefs.h <<_ACEOF
54769 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54770 _ACEOF
54773 done
54775 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54776 do :
54777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54780 cat >>confdefs.h <<_ACEOF
54781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54782 _ACEOF
54785 done
54787 for ac_func in timespec_get
54788 do :
54789 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54790 if test "x$ac_cv_func_timespec_get" = xyes; then :
54791 cat >>confdefs.h <<_ACEOF
54792 #define HAVE_TIMESPEC_GET 1
54793 _ACEOF
54796 done
54798 for ac_func in sockatmark
54799 do :
54800 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54801 if test "x$ac_cv_func_sockatmark" = xyes; then :
54802 cat >>confdefs.h <<_ACEOF
54803 #define HAVE_SOCKATMARK 1
54804 _ACEOF
54807 done
54809 for ac_func in uselocale
54810 do :
54811 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54812 if test "x$ac_cv_func_uselocale" = xyes; then :
54813 cat >>confdefs.h <<_ACEOF
54814 #define HAVE_USELOCALE 1
54815 _ACEOF
54818 done
54825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54826 $as_echo_n "checking for iconv... " >&6; }
54827 if ${am_cv_func_iconv+:} false; then :
54828 $as_echo_n "(cached) " >&6
54829 else
54831 am_cv_func_iconv="no, consider installing GNU libiconv"
54832 am_cv_lib_iconv=no
54833 am_save_CPPFLAGS="$CPPFLAGS"
54834 CPPFLAGS="$CPPFLAGS $INCICONV"
54835 if test x$gcc_no_link = xyes; then
54836 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54839 /* end confdefs.h. */
54840 #include <stdlib.h>
54841 #include <iconv.h>
54843 main ()
54845 iconv_t cd = iconv_open("","");
54846 iconv(cd,NULL,NULL,NULL,NULL);
54847 iconv_close(cd);
54849 return 0;
54851 _ACEOF
54852 if ac_fn_c_try_link "$LINENO"; then :
54853 am_cv_func_iconv=yes
54855 rm -f core conftest.err conftest.$ac_objext \
54856 conftest$ac_exeext conftest.$ac_ext
54857 CPPFLAGS="$am_save_CPPFLAGS"
54859 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54860 for _libs in .libs _libs; do
54861 am_save_CPPFLAGS="$CPPFLAGS"
54862 am_save_LIBS="$LIBS"
54863 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54864 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54865 if test x$gcc_no_link = xyes; then
54866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54869 /* end confdefs.h. */
54870 #include <stdlib.h>
54871 #include <iconv.h>
54873 main ()
54875 iconv_t cd = iconv_open("","");
54876 iconv(cd,NULL,NULL,NULL,NULL);
54877 iconv_close(cd);
54879 return 0;
54881 _ACEOF
54882 if ac_fn_c_try_link "$LINENO"; then :
54883 INCICONV="-I../libiconv/include"
54884 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54885 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54886 am_cv_lib_iconv=yes
54887 am_cv_func_iconv=yes
54889 rm -f core conftest.err conftest.$ac_objext \
54890 conftest$ac_exeext conftest.$ac_ext
54891 CPPFLAGS="$am_save_CPPFLAGS"
54892 LIBS="$am_save_LIBS"
54893 if test "$am_cv_func_iconv" = "yes"; then
54894 break
54896 done
54899 if test "$am_cv_func_iconv" != yes; then
54900 am_save_CPPFLAGS="$CPPFLAGS"
54901 am_save_LIBS="$LIBS"
54902 CPPFLAGS="$CPPFLAGS $INCICONV"
54903 LIBS="$LIBS $LIBICONV"
54904 if test x$gcc_no_link = xyes; then
54905 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54908 /* end confdefs.h. */
54909 #include <stdlib.h>
54910 #include <iconv.h>
54912 main ()
54914 iconv_t cd = iconv_open("","");
54915 iconv(cd,NULL,NULL,NULL,NULL);
54916 iconv_close(cd);
54918 return 0;
54920 _ACEOF
54921 if ac_fn_c_try_link "$LINENO"; then :
54922 am_cv_lib_iconv=yes
54923 am_cv_func_iconv=yes
54925 rm -f core conftest.err conftest.$ac_objext \
54926 conftest$ac_exeext conftest.$ac_ext
54927 CPPFLAGS="$am_save_CPPFLAGS"
54928 LIBS="$am_save_LIBS"
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54933 $as_echo "$am_cv_func_iconv" >&6; }
54934 if test "$am_cv_func_iconv" = yes; then
54936 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54939 if test "$am_cv_lib_iconv" = yes; then
54941 for element in $INCICONV; do
54942 haveit=
54943 for x in $CPPFLAGS; do
54945 acl_save_prefix="$prefix"
54946 prefix="$acl_final_prefix"
54947 acl_save_exec_prefix="$exec_prefix"
54948 exec_prefix="$acl_final_exec_prefix"
54949 eval x=\"$x\"
54950 exec_prefix="$acl_save_exec_prefix"
54951 prefix="$acl_save_prefix"
54953 if test "X$x" = "X$element"; then
54954 haveit=yes
54955 break
54957 done
54958 if test -z "$haveit"; then
54959 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54961 done
54963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54964 $as_echo_n "checking how to link with libiconv... " >&6; }
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54966 $as_echo "$LIBICONV" >&6; }
54967 else
54968 LIBICONV=
54969 LTLIBICONV=
54974 if test "$am_cv_func_iconv" = yes; then
54975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54976 $as_echo_n "checking for iconv declaration... " >&6; }
54977 if ${am_cv_proto_iconv+:} false; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54982 /* end confdefs.h. */
54984 #include <stdlib.h>
54985 #include <iconv.h>
54986 extern
54987 #ifdef __cplusplus
54989 #endif
54990 #if defined(__STDC__) || defined(__cplusplus)
54991 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54992 #else
54993 size_t iconv();
54994 #endif
54997 main ()
55001 return 0;
55003 _ACEOF
55004 if ac_fn_c_try_compile "$LINENO"; then :
55005 am_cv_proto_iconv_arg1=""
55006 else
55007 am_cv_proto_iconv_arg1="const"
55009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55010 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);"
55013 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
55014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
55015 }$am_cv_proto_iconv" >&5
55016 $as_echo "${ac_t:-
55017 }$am_cv_proto_iconv" >&6; }
55019 cat >>confdefs.h <<_ACEOF
55020 #define ICONV_CONST $am_cv_proto_iconv_arg1
55021 _ACEOF
55026 *-mingw32*)
55028 # If we're not using GNU ld, then there's no point in even trying these
55029 # tests. Check for that first. We should have already tested for gld
55030 # by now (in libtool), but require it now just to be safe...
55031 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55032 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55036 # The name set by libtool depends on the version of libtool. Shame on us
55037 # for depending on an impl detail, but c'est la vie. Older versions used
55038 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55039 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55040 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55041 # set (hence we're using an older libtool), then set it.
55042 if test x${with_gnu_ld+set} != xset; then
55043 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55044 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55045 with_gnu_ld=no
55046 else
55047 with_gnu_ld=$ac_cv_prog_gnu_ld
55051 # Start by getting the version number. I think the libtool test already
55052 # does some of this, but throws away the result.
55053 glibcxx_ld_is_gold=no
55054 if test x"$with_gnu_ld" = x"yes"; then
55055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
55056 $as_echo_n "checking for ld version... " >&6; }
55058 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
55059 glibcxx_ld_is_gold=yes
55061 ldver=`$LD --version 2>/dev/null |
55062 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
55064 glibcxx_gnu_ld_version=`echo $ldver | \
55065 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
55067 $as_echo "$glibcxx_gnu_ld_version" >&6; }
55070 # Set --gc-sections.
55071 glibcxx_have_gc_sections=no
55072 if test "$glibcxx_ld_is_gold" = "yes"; then
55073 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
55074 glibcxx_have_gc_sections=yes
55076 else
55077 glibcxx_gcsections_min_ld=21602
55078 if test x"$with_gnu_ld" = x"yes" &&
55079 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
55080 glibcxx_have_gc_sections=yes
55083 if test "$glibcxx_have_gc_sections" = "yes"; then
55084 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
55085 # NB: This flag only works reliably after 2.16.1. Configure tests
55086 # for this are difficult, so hard wire a value that should work.
55088 ac_test_CFLAGS="${CFLAGS+set}"
55089 ac_save_CFLAGS="$CFLAGS"
55090 CFLAGS='-Wl,--gc-sections'
55092 # Check for -Wl,--gc-sections
55093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
55094 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
55095 if test x$gcc_no_link = xyes; then
55096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55099 /* end confdefs.h. */
55100 int one(void) { return 1; }
55101 int two(void) { return 2; }
55104 main ()
55106 two();
55108 return 0;
55110 _ACEOF
55111 if ac_fn_c_try_link "$LINENO"; then :
55112 ac_gcsections=yes
55113 else
55114 ac_gcsections=no
55116 rm -f core conftest.err conftest.$ac_objext \
55117 conftest$ac_exeext conftest.$ac_ext
55118 if test "$ac_gcsections" = "yes"; then
55119 rm -f conftest.c
55120 touch conftest.c
55121 if $CC -c conftest.c; then
55122 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
55123 grep "Warning: gc-sections option ignored" > /dev/null; then
55124 ac_gcsections=no
55127 rm -f conftest.c conftest.o conftest
55129 if test "$ac_gcsections" = "yes"; then
55130 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
55133 $as_echo "$ac_gcsections" >&6; }
55135 if test "$ac_test_CFLAGS" = set; then
55136 CFLAGS="$ac_save_CFLAGS"
55137 else
55138 # this is the suspicious part
55139 CFLAGS=''
55143 # Set -z,relro.
55144 # Note this is only for shared objects.
55145 ac_ld_relro=no
55146 if test x"$with_gnu_ld" = x"yes"; then
55147 # cygwin and mingw uses PE, which has no ELF relro support,
55148 # multi target ld may confuse configure machinery
55149 case "$host" in
55150 *-*-cygwin*)
55152 *-*-mingw*)
55155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
55156 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
55157 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55158 if test -n "$cxx_z_relo"; then
55159 OPT_LDFLAGS="-Wl,-z,relro"
55160 ac_ld_relro=yes
55162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
55163 $as_echo "$ac_ld_relro" >&6; }
55164 esac
55167 # Set linker optimization flags.
55168 if test x"$with_gnu_ld" = x"yes"; then
55169 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55176 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55177 ac_save_CXXFLAGS="$CXXFLAGS"
55178 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
55181 $as_echo_n "checking for sin in -lm... " >&6; }
55182 if ${ac_cv_lib_m_sin+:} false; then :
55183 $as_echo_n "(cached) " >&6
55184 else
55185 ac_check_lib_save_LIBS=$LIBS
55186 LIBS="-lm $LIBS"
55187 if test x$gcc_no_link = xyes; then
55188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55191 /* end confdefs.h. */
55193 /* Override any GCC internal prototype to avoid an error.
55194 Use char because int might match the return type of a GCC
55195 builtin and then its argument prototype would still apply. */
55196 #ifdef __cplusplus
55197 extern "C"
55198 #endif
55199 char sin ();
55201 main ()
55203 return sin ();
55205 return 0;
55207 _ACEOF
55208 if ac_fn_c_try_link "$LINENO"; then :
55209 ac_cv_lib_m_sin=yes
55210 else
55211 ac_cv_lib_m_sin=no
55213 rm -f core conftest.err conftest.$ac_objext \
55214 conftest$ac_exeext conftest.$ac_ext
55215 LIBS=$ac_check_lib_save_LIBS
55217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55218 $as_echo "$ac_cv_lib_m_sin" >&6; }
55219 if test "x$ac_cv_lib_m_sin" = xyes; then :
55220 libm="-lm"
55223 ac_save_LIBS="$LIBS"
55224 LIBS="$LIBS $libm"
55228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55229 $as_echo_n "checking for isinf declaration... " >&6; }
55230 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55231 if ${glibcxx_cv_func_isinf_use+:} false; then :
55232 $as_echo_n "(cached) " >&6
55233 else
55236 ac_ext=cpp
55237 ac_cpp='$CXXCPP $CPPFLAGS'
55238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55243 /* end confdefs.h. */
55244 #include <math.h>
55245 #ifdef HAVE_IEEEFP_H
55246 #include <ieeefp.h>
55247 #endif
55250 main ()
55252 isinf(0);
55254 return 0;
55256 _ACEOF
55257 if ac_fn_cxx_try_compile "$LINENO"; then :
55258 glibcxx_cv_func_isinf_use=yes
55259 else
55260 glibcxx_cv_func_isinf_use=no
55262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55263 ac_ext=c
55264 ac_cpp='$CPP $CPPFLAGS'
55265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55274 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55276 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55277 for ac_func in isinf
55278 do :
55279 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55280 if test "x$ac_cv_func_isinf" = xyes; then :
55281 cat >>confdefs.h <<_ACEOF
55282 #define HAVE_ISINF 1
55283 _ACEOF
55286 done
55288 else
55290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55291 $as_echo_n "checking for _isinf declaration... " >&6; }
55292 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55293 if ${glibcxx_cv_func__isinf_use+:} false; then :
55294 $as_echo_n "(cached) " >&6
55295 else
55298 ac_ext=cpp
55299 ac_cpp='$CXXCPP $CPPFLAGS'
55300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55305 /* end confdefs.h. */
55306 #include <math.h>
55307 #ifdef HAVE_IEEEFP_H
55308 #include <ieeefp.h>
55309 #endif
55312 main ()
55314 _isinf(0);
55316 return 0;
55318 _ACEOF
55319 if ac_fn_cxx_try_compile "$LINENO"; then :
55320 glibcxx_cv_func__isinf_use=yes
55321 else
55322 glibcxx_cv_func__isinf_use=no
55324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55325 ac_ext=c
55326 ac_cpp='$CPP $CPPFLAGS'
55327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55336 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55338 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55339 for ac_func in _isinf
55340 do :
55341 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55342 if test "x$ac_cv_func__isinf" = xyes; then :
55343 cat >>confdefs.h <<_ACEOF
55344 #define HAVE__ISINF 1
55345 _ACEOF
55348 done
55357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55358 $as_echo_n "checking for isnan declaration... " >&6; }
55359 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55360 if ${glibcxx_cv_func_isnan_use+:} false; then :
55361 $as_echo_n "(cached) " >&6
55362 else
55365 ac_ext=cpp
55366 ac_cpp='$CXXCPP $CPPFLAGS'
55367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55372 /* end confdefs.h. */
55373 #include <math.h>
55374 #ifdef HAVE_IEEEFP_H
55375 #include <ieeefp.h>
55376 #endif
55379 main ()
55381 isnan(0);
55383 return 0;
55385 _ACEOF
55386 if ac_fn_cxx_try_compile "$LINENO"; then :
55387 glibcxx_cv_func_isnan_use=yes
55388 else
55389 glibcxx_cv_func_isnan_use=no
55391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55392 ac_ext=c
55393 ac_cpp='$CPP $CPPFLAGS'
55394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55403 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55405 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55406 for ac_func in isnan
55407 do :
55408 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55409 if test "x$ac_cv_func_isnan" = xyes; then :
55410 cat >>confdefs.h <<_ACEOF
55411 #define HAVE_ISNAN 1
55412 _ACEOF
55415 done
55417 else
55419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55420 $as_echo_n "checking for _isnan declaration... " >&6; }
55421 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55422 if ${glibcxx_cv_func__isnan_use+:} false; then :
55423 $as_echo_n "(cached) " >&6
55424 else
55427 ac_ext=cpp
55428 ac_cpp='$CXXCPP $CPPFLAGS'
55429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55434 /* end confdefs.h. */
55435 #include <math.h>
55436 #ifdef HAVE_IEEEFP_H
55437 #include <ieeefp.h>
55438 #endif
55441 main ()
55443 _isnan(0);
55445 return 0;
55447 _ACEOF
55448 if ac_fn_cxx_try_compile "$LINENO"; then :
55449 glibcxx_cv_func__isnan_use=yes
55450 else
55451 glibcxx_cv_func__isnan_use=no
55453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55454 ac_ext=c
55455 ac_cpp='$CPP $CPPFLAGS'
55456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55465 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55467 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55468 for ac_func in _isnan
55469 do :
55470 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55471 if test "x$ac_cv_func__isnan" = xyes; then :
55472 cat >>confdefs.h <<_ACEOF
55473 #define HAVE__ISNAN 1
55474 _ACEOF
55477 done
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55487 $as_echo_n "checking for finite declaration... " >&6; }
55488 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55489 if ${glibcxx_cv_func_finite_use+:} false; then :
55490 $as_echo_n "(cached) " >&6
55491 else
55494 ac_ext=cpp
55495 ac_cpp='$CXXCPP $CPPFLAGS'
55496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55501 /* end confdefs.h. */
55502 #include <math.h>
55503 #ifdef HAVE_IEEEFP_H
55504 #include <ieeefp.h>
55505 #endif
55508 main ()
55510 finite(0);
55512 return 0;
55514 _ACEOF
55515 if ac_fn_cxx_try_compile "$LINENO"; then :
55516 glibcxx_cv_func_finite_use=yes
55517 else
55518 glibcxx_cv_func_finite_use=no
55520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55521 ac_ext=c
55522 ac_cpp='$CPP $CPPFLAGS'
55523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55532 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55534 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55535 for ac_func in finite
55536 do :
55537 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55538 if test "x$ac_cv_func_finite" = xyes; then :
55539 cat >>confdefs.h <<_ACEOF
55540 #define HAVE_FINITE 1
55541 _ACEOF
55544 done
55546 else
55548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55549 $as_echo_n "checking for _finite declaration... " >&6; }
55550 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55551 if ${glibcxx_cv_func__finite_use+:} false; then :
55552 $as_echo_n "(cached) " >&6
55553 else
55556 ac_ext=cpp
55557 ac_cpp='$CXXCPP $CPPFLAGS'
55558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55563 /* end confdefs.h. */
55564 #include <math.h>
55565 #ifdef HAVE_IEEEFP_H
55566 #include <ieeefp.h>
55567 #endif
55570 main ()
55572 _finite(0);
55574 return 0;
55576 _ACEOF
55577 if ac_fn_cxx_try_compile "$LINENO"; then :
55578 glibcxx_cv_func__finite_use=yes
55579 else
55580 glibcxx_cv_func__finite_use=no
55582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55583 ac_ext=c
55584 ac_cpp='$CPP $CPPFLAGS'
55585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55594 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55596 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55597 for ac_func in _finite
55598 do :
55599 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55600 if test "x$ac_cv_func__finite" = xyes; then :
55601 cat >>confdefs.h <<_ACEOF
55602 #define HAVE__FINITE 1
55603 _ACEOF
55606 done
55615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55616 $as_echo_n "checking for sincos declaration... " >&6; }
55617 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55618 if ${glibcxx_cv_func_sincos_use+:} false; then :
55619 $as_echo_n "(cached) " >&6
55620 else
55623 ac_ext=cpp
55624 ac_cpp='$CXXCPP $CPPFLAGS'
55625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55630 /* end confdefs.h. */
55631 #include <math.h>
55633 main ()
55635 sincos(0, 0, 0);
55637 return 0;
55639 _ACEOF
55640 if ac_fn_cxx_try_compile "$LINENO"; then :
55641 glibcxx_cv_func_sincos_use=yes
55642 else
55643 glibcxx_cv_func_sincos_use=no
55645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55646 ac_ext=c
55647 ac_cpp='$CPP $CPPFLAGS'
55648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55657 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55659 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55660 for ac_func in sincos
55661 do :
55662 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55663 if test "x$ac_cv_func_sincos" = xyes; then :
55664 cat >>confdefs.h <<_ACEOF
55665 #define HAVE_SINCOS 1
55666 _ACEOF
55669 done
55671 else
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55674 $as_echo_n "checking for _sincos declaration... " >&6; }
55675 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55676 if ${glibcxx_cv_func__sincos_use+:} false; then :
55677 $as_echo_n "(cached) " >&6
55678 else
55681 ac_ext=cpp
55682 ac_cpp='$CXXCPP $CPPFLAGS'
55683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55688 /* end confdefs.h. */
55689 #include <math.h>
55691 main ()
55693 _sincos(0, 0, 0);
55695 return 0;
55697 _ACEOF
55698 if ac_fn_cxx_try_compile "$LINENO"; then :
55699 glibcxx_cv_func__sincos_use=yes
55700 else
55701 glibcxx_cv_func__sincos_use=no
55703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55704 ac_ext=c
55705 ac_cpp='$CPP $CPPFLAGS'
55706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55715 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55717 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55718 for ac_func in _sincos
55719 do :
55720 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55721 if test "x$ac_cv_func__sincos" = xyes; then :
55722 cat >>confdefs.h <<_ACEOF
55723 #define HAVE__SINCOS 1
55724 _ACEOF
55727 done
55736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55737 $as_echo_n "checking for fpclass declaration... " >&6; }
55738 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55739 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55740 $as_echo_n "(cached) " >&6
55741 else
55744 ac_ext=cpp
55745 ac_cpp='$CXXCPP $CPPFLAGS'
55746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55751 /* end confdefs.h. */
55752 #include <math.h>
55753 #ifdef HAVE_IEEEFP_H
55754 #include <ieeefp.h>
55755 #endif
55758 main ()
55760 fpclass(0);
55762 return 0;
55764 _ACEOF
55765 if ac_fn_cxx_try_compile "$LINENO"; then :
55766 glibcxx_cv_func_fpclass_use=yes
55767 else
55768 glibcxx_cv_func_fpclass_use=no
55770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55771 ac_ext=c
55772 ac_cpp='$CPP $CPPFLAGS'
55773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55782 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55784 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55785 for ac_func in fpclass
55786 do :
55787 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55788 if test "x$ac_cv_func_fpclass" = xyes; then :
55789 cat >>confdefs.h <<_ACEOF
55790 #define HAVE_FPCLASS 1
55791 _ACEOF
55794 done
55796 else
55798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55799 $as_echo_n "checking for _fpclass declaration... " >&6; }
55800 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55801 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55802 $as_echo_n "(cached) " >&6
55803 else
55806 ac_ext=cpp
55807 ac_cpp='$CXXCPP $CPPFLAGS'
55808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55813 /* end confdefs.h. */
55814 #include <math.h>
55815 #ifdef HAVE_IEEEFP_H
55816 #include <ieeefp.h>
55817 #endif
55820 main ()
55822 _fpclass(0);
55824 return 0;
55826 _ACEOF
55827 if ac_fn_cxx_try_compile "$LINENO"; then :
55828 glibcxx_cv_func__fpclass_use=yes
55829 else
55830 glibcxx_cv_func__fpclass_use=no
55832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55833 ac_ext=c
55834 ac_cpp='$CPP $CPPFLAGS'
55835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55844 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55846 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55847 for ac_func in _fpclass
55848 do :
55849 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55850 if test "x$ac_cv_func__fpclass" = xyes; then :
55851 cat >>confdefs.h <<_ACEOF
55852 #define HAVE__FPCLASS 1
55853 _ACEOF
55856 done
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55866 $as_echo_n "checking for qfpclass declaration... " >&6; }
55867 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55868 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55869 $as_echo_n "(cached) " >&6
55870 else
55873 ac_ext=cpp
55874 ac_cpp='$CXXCPP $CPPFLAGS'
55875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55880 /* end confdefs.h. */
55881 #include <math.h>
55882 #ifdef HAVE_IEEEFP_H
55883 #include <ieeefp.h>
55884 #endif
55887 main ()
55889 qfpclass(0);
55891 return 0;
55893 _ACEOF
55894 if ac_fn_cxx_try_compile "$LINENO"; then :
55895 glibcxx_cv_func_qfpclass_use=yes
55896 else
55897 glibcxx_cv_func_qfpclass_use=no
55899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55900 ac_ext=c
55901 ac_cpp='$CPP $CPPFLAGS'
55902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55911 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55913 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55914 for ac_func in qfpclass
55915 do :
55916 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55917 if test "x$ac_cv_func_qfpclass" = xyes; then :
55918 cat >>confdefs.h <<_ACEOF
55919 #define HAVE_QFPCLASS 1
55920 _ACEOF
55923 done
55925 else
55927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55928 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55929 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55930 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55931 $as_echo_n "(cached) " >&6
55932 else
55935 ac_ext=cpp
55936 ac_cpp='$CXXCPP $CPPFLAGS'
55937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55942 /* end confdefs.h. */
55943 #include <math.h>
55944 #ifdef HAVE_IEEEFP_H
55945 #include <ieeefp.h>
55946 #endif
55949 main ()
55951 _qfpclass(0);
55953 return 0;
55955 _ACEOF
55956 if ac_fn_cxx_try_compile "$LINENO"; then :
55957 glibcxx_cv_func__qfpclass_use=yes
55958 else
55959 glibcxx_cv_func__qfpclass_use=no
55961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55962 ac_ext=c
55963 ac_cpp='$CPP $CPPFLAGS'
55964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55973 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55975 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55976 for ac_func in _qfpclass
55977 do :
55978 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55979 if test "x$ac_cv_func__qfpclass" = xyes; then :
55980 cat >>confdefs.h <<_ACEOF
55981 #define HAVE__QFPCLASS 1
55982 _ACEOF
55985 done
55994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55995 $as_echo_n "checking for hypot declaration... " >&6; }
55996 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55997 if ${glibcxx_cv_func_hypot_use+:} false; then :
55998 $as_echo_n "(cached) " >&6
55999 else
56002 ac_ext=cpp
56003 ac_cpp='$CXXCPP $CPPFLAGS'
56004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56009 /* end confdefs.h. */
56010 #include <math.h>
56012 main ()
56014 hypot(0, 0);
56016 return 0;
56018 _ACEOF
56019 if ac_fn_cxx_try_compile "$LINENO"; then :
56020 glibcxx_cv_func_hypot_use=yes
56021 else
56022 glibcxx_cv_func_hypot_use=no
56024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56025 ac_ext=c
56026 ac_cpp='$CPP $CPPFLAGS'
56027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
56036 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
56038 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56039 for ac_func in hypot
56040 do :
56041 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
56042 if test "x$ac_cv_func_hypot" = xyes; then :
56043 cat >>confdefs.h <<_ACEOF
56044 #define HAVE_HYPOT 1
56045 _ACEOF
56048 done
56050 else
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
56053 $as_echo_n "checking for _hypot declaration... " >&6; }
56054 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56055 if ${glibcxx_cv_func__hypot_use+:} false; then :
56056 $as_echo_n "(cached) " >&6
56057 else
56060 ac_ext=cpp
56061 ac_cpp='$CXXCPP $CPPFLAGS'
56062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56067 /* end confdefs.h. */
56068 #include <math.h>
56070 main ()
56072 _hypot(0, 0);
56074 return 0;
56076 _ACEOF
56077 if ac_fn_cxx_try_compile "$LINENO"; then :
56078 glibcxx_cv_func__hypot_use=yes
56079 else
56080 glibcxx_cv_func__hypot_use=no
56082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56083 ac_ext=c
56084 ac_cpp='$CPP $CPPFLAGS'
56085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
56094 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
56096 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56097 for ac_func in _hypot
56098 do :
56099 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
56100 if test "x$ac_cv_func__hypot" = xyes; then :
56101 cat >>confdefs.h <<_ACEOF
56102 #define HAVE__HYPOT 1
56103 _ACEOF
56106 done
56115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
56116 $as_echo_n "checking for float trig functions... " >&6; }
56117 if ${glibcxx_cv_func_float_trig_use+:} false; then :
56118 $as_echo_n "(cached) " >&6
56119 else
56122 ac_ext=cpp
56123 ac_cpp='$CXXCPP $CPPFLAGS'
56124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56129 /* end confdefs.h. */
56130 #include <math.h>
56132 main ()
56134 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56136 return 0;
56138 _ACEOF
56139 if ac_fn_cxx_try_compile "$LINENO"; then :
56140 glibcxx_cv_func_float_trig_use=yes
56141 else
56142 glibcxx_cv_func_float_trig_use=no
56144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56145 ac_ext=c
56146 ac_cpp='$CPP $CPPFLAGS'
56147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
56154 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
56155 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56156 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56157 do :
56158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56161 cat >>confdefs.h <<_ACEOF
56162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56163 _ACEOF
56166 done
56168 else
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
56170 $as_echo_n "checking for _float trig functions... " >&6; }
56171 if ${glibcxx_cv_func__float_trig_use+:} false; then :
56172 $as_echo_n "(cached) " >&6
56173 else
56176 ac_ext=cpp
56177 ac_cpp='$CXXCPP $CPPFLAGS'
56178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56183 /* end confdefs.h. */
56184 #include <math.h>
56186 main ()
56188 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56190 return 0;
56192 _ACEOF
56193 if ac_fn_cxx_try_compile "$LINENO"; then :
56194 glibcxx_cv_func__float_trig_use=yes
56195 else
56196 glibcxx_cv_func__float_trig_use=no
56198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56199 ac_ext=c
56200 ac_cpp='$CPP $CPPFLAGS'
56201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56208 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56209 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56210 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56211 do :
56212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56215 cat >>confdefs.h <<_ACEOF
56216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56217 _ACEOF
56220 done
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56230 $as_echo_n "checking for float round functions... " >&6; }
56231 if ${glibcxx_cv_func_float_round_use+:} false; then :
56232 $as_echo_n "(cached) " >&6
56233 else
56236 ac_ext=cpp
56237 ac_cpp='$CXXCPP $CPPFLAGS'
56238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56243 /* end confdefs.h. */
56244 #include <math.h>
56246 main ()
56248 ceilf (0); floorf (0);
56250 return 0;
56252 _ACEOF
56253 if ac_fn_cxx_try_compile "$LINENO"; then :
56254 glibcxx_cv_func_float_round_use=yes
56255 else
56256 glibcxx_cv_func_float_round_use=no
56258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56259 ac_ext=c
56260 ac_cpp='$CPP $CPPFLAGS'
56261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56268 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56269 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56270 for ac_func in ceilf floorf
56271 do :
56272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56275 cat >>confdefs.h <<_ACEOF
56276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56277 _ACEOF
56280 done
56282 else
56283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56284 $as_echo_n "checking for _float round functions... " >&6; }
56285 if ${glibcxx_cv_func__float_round_use+:} false; then :
56286 $as_echo_n "(cached) " >&6
56287 else
56290 ac_ext=cpp
56291 ac_cpp='$CXXCPP $CPPFLAGS'
56292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56297 /* end confdefs.h. */
56298 #include <math.h>
56300 main ()
56302 _ceilf (0); _floorf (0);
56304 return 0;
56306 _ACEOF
56307 if ac_fn_cxx_try_compile "$LINENO"; then :
56308 glibcxx_cv_func__float_round_use=yes
56309 else
56310 glibcxx_cv_func__float_round_use=no
56312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56313 ac_ext=c
56314 ac_cpp='$CPP $CPPFLAGS'
56315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56322 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56323 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56324 for ac_func in _ceilf _floorf
56325 do :
56326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56329 cat >>confdefs.h <<_ACEOF
56330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56331 _ACEOF
56334 done
56344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56345 $as_echo_n "checking for expf declaration... " >&6; }
56346 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56347 if ${glibcxx_cv_func_expf_use+:} false; then :
56348 $as_echo_n "(cached) " >&6
56349 else
56352 ac_ext=cpp
56353 ac_cpp='$CXXCPP $CPPFLAGS'
56354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56359 /* end confdefs.h. */
56360 #include <math.h>
56361 #ifdef HAVE_IEEEFP_H
56362 #include <ieeefp.h>
56363 #endif
56366 main ()
56368 expf(0);
56370 return 0;
56372 _ACEOF
56373 if ac_fn_cxx_try_compile "$LINENO"; then :
56374 glibcxx_cv_func_expf_use=yes
56375 else
56376 glibcxx_cv_func_expf_use=no
56378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56379 ac_ext=c
56380 ac_cpp='$CPP $CPPFLAGS'
56381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56390 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56392 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56393 for ac_func in expf
56394 do :
56395 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56396 if test "x$ac_cv_func_expf" = xyes; then :
56397 cat >>confdefs.h <<_ACEOF
56398 #define HAVE_EXPF 1
56399 _ACEOF
56402 done
56404 else
56406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56407 $as_echo_n "checking for _expf declaration... " >&6; }
56408 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56409 if ${glibcxx_cv_func__expf_use+:} false; then :
56410 $as_echo_n "(cached) " >&6
56411 else
56414 ac_ext=cpp
56415 ac_cpp='$CXXCPP $CPPFLAGS'
56416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56421 /* end confdefs.h. */
56422 #include <math.h>
56423 #ifdef HAVE_IEEEFP_H
56424 #include <ieeefp.h>
56425 #endif
56428 main ()
56430 _expf(0);
56432 return 0;
56434 _ACEOF
56435 if ac_fn_cxx_try_compile "$LINENO"; then :
56436 glibcxx_cv_func__expf_use=yes
56437 else
56438 glibcxx_cv_func__expf_use=no
56440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56441 ac_ext=c
56442 ac_cpp='$CPP $CPPFLAGS'
56443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56452 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56454 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56455 for ac_func in _expf
56456 do :
56457 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56458 if test "x$ac_cv_func__expf" = xyes; then :
56459 cat >>confdefs.h <<_ACEOF
56460 #define HAVE__EXPF 1
56461 _ACEOF
56464 done
56473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56474 $as_echo_n "checking for isnanf declaration... " >&6; }
56475 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56476 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56477 $as_echo_n "(cached) " >&6
56478 else
56481 ac_ext=cpp
56482 ac_cpp='$CXXCPP $CPPFLAGS'
56483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56488 /* end confdefs.h. */
56489 #include <math.h>
56490 #ifdef HAVE_IEEEFP_H
56491 #include <ieeefp.h>
56492 #endif
56495 main ()
56497 isnanf(0);
56499 return 0;
56501 _ACEOF
56502 if ac_fn_cxx_try_compile "$LINENO"; then :
56503 glibcxx_cv_func_isnanf_use=yes
56504 else
56505 glibcxx_cv_func_isnanf_use=no
56507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56508 ac_ext=c
56509 ac_cpp='$CPP $CPPFLAGS'
56510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56519 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56521 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56522 for ac_func in isnanf
56523 do :
56524 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56525 if test "x$ac_cv_func_isnanf" = xyes; then :
56526 cat >>confdefs.h <<_ACEOF
56527 #define HAVE_ISNANF 1
56528 _ACEOF
56531 done
56533 else
56535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56536 $as_echo_n "checking for _isnanf declaration... " >&6; }
56537 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56538 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56539 $as_echo_n "(cached) " >&6
56540 else
56543 ac_ext=cpp
56544 ac_cpp='$CXXCPP $CPPFLAGS'
56545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56550 /* end confdefs.h. */
56551 #include <math.h>
56552 #ifdef HAVE_IEEEFP_H
56553 #include <ieeefp.h>
56554 #endif
56557 main ()
56559 _isnanf(0);
56561 return 0;
56563 _ACEOF
56564 if ac_fn_cxx_try_compile "$LINENO"; then :
56565 glibcxx_cv_func__isnanf_use=yes
56566 else
56567 glibcxx_cv_func__isnanf_use=no
56569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56570 ac_ext=c
56571 ac_cpp='$CPP $CPPFLAGS'
56572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56581 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56583 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56584 for ac_func in _isnanf
56585 do :
56586 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56587 if test "x$ac_cv_func__isnanf" = xyes; then :
56588 cat >>confdefs.h <<_ACEOF
56589 #define HAVE__ISNANF 1
56590 _ACEOF
56593 done
56602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56603 $as_echo_n "checking for isinff declaration... " >&6; }
56604 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56605 if ${glibcxx_cv_func_isinff_use+:} false; then :
56606 $as_echo_n "(cached) " >&6
56607 else
56610 ac_ext=cpp
56611 ac_cpp='$CXXCPP $CPPFLAGS'
56612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56617 /* end confdefs.h. */
56618 #include <math.h>
56619 #ifdef HAVE_IEEEFP_H
56620 #include <ieeefp.h>
56621 #endif
56624 main ()
56626 isinff(0);
56628 return 0;
56630 _ACEOF
56631 if ac_fn_cxx_try_compile "$LINENO"; then :
56632 glibcxx_cv_func_isinff_use=yes
56633 else
56634 glibcxx_cv_func_isinff_use=no
56636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56637 ac_ext=c
56638 ac_cpp='$CPP $CPPFLAGS'
56639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56648 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56650 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56651 for ac_func in isinff
56652 do :
56653 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56654 if test "x$ac_cv_func_isinff" = xyes; then :
56655 cat >>confdefs.h <<_ACEOF
56656 #define HAVE_ISINFF 1
56657 _ACEOF
56660 done
56662 else
56664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56665 $as_echo_n "checking for _isinff declaration... " >&6; }
56666 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56667 if ${glibcxx_cv_func__isinff_use+:} false; then :
56668 $as_echo_n "(cached) " >&6
56669 else
56672 ac_ext=cpp
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56679 /* end confdefs.h. */
56680 #include <math.h>
56681 #ifdef HAVE_IEEEFP_H
56682 #include <ieeefp.h>
56683 #endif
56686 main ()
56688 _isinff(0);
56690 return 0;
56692 _ACEOF
56693 if ac_fn_cxx_try_compile "$LINENO"; then :
56694 glibcxx_cv_func__isinff_use=yes
56695 else
56696 glibcxx_cv_func__isinff_use=no
56698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56699 ac_ext=c
56700 ac_cpp='$CPP $CPPFLAGS'
56701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56710 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56712 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56713 for ac_func in _isinff
56714 do :
56715 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56716 if test "x$ac_cv_func__isinff" = xyes; then :
56717 cat >>confdefs.h <<_ACEOF
56718 #define HAVE__ISINFF 1
56719 _ACEOF
56722 done
56731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56732 $as_echo_n "checking for atan2f declaration... " >&6; }
56733 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56734 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56735 $as_echo_n "(cached) " >&6
56736 else
56739 ac_ext=cpp
56740 ac_cpp='$CXXCPP $CPPFLAGS'
56741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56746 /* end confdefs.h. */
56747 #include <math.h>
56749 main ()
56751 atan2f(0, 0);
56753 return 0;
56755 _ACEOF
56756 if ac_fn_cxx_try_compile "$LINENO"; then :
56757 glibcxx_cv_func_atan2f_use=yes
56758 else
56759 glibcxx_cv_func_atan2f_use=no
56761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56762 ac_ext=c
56763 ac_cpp='$CPP $CPPFLAGS'
56764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56773 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56775 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56776 for ac_func in atan2f
56777 do :
56778 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56779 if test "x$ac_cv_func_atan2f" = xyes; then :
56780 cat >>confdefs.h <<_ACEOF
56781 #define HAVE_ATAN2F 1
56782 _ACEOF
56785 done
56787 else
56789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56790 $as_echo_n "checking for _atan2f declaration... " >&6; }
56791 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56792 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56793 $as_echo_n "(cached) " >&6
56794 else
56797 ac_ext=cpp
56798 ac_cpp='$CXXCPP $CPPFLAGS'
56799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56804 /* end confdefs.h. */
56805 #include <math.h>
56807 main ()
56809 _atan2f(0, 0);
56811 return 0;
56813 _ACEOF
56814 if ac_fn_cxx_try_compile "$LINENO"; then :
56815 glibcxx_cv_func__atan2f_use=yes
56816 else
56817 glibcxx_cv_func__atan2f_use=no
56819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56820 ac_ext=c
56821 ac_cpp='$CPP $CPPFLAGS'
56822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56831 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56833 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56834 for ac_func in _atan2f
56835 do :
56836 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56837 if test "x$ac_cv_func__atan2f" = xyes; then :
56838 cat >>confdefs.h <<_ACEOF
56839 #define HAVE__ATAN2F 1
56840 _ACEOF
56843 done
56852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56853 $as_echo_n "checking for fabsf declaration... " >&6; }
56854 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56855 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56856 $as_echo_n "(cached) " >&6
56857 else
56860 ac_ext=cpp
56861 ac_cpp='$CXXCPP $CPPFLAGS'
56862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56867 /* end confdefs.h. */
56868 #include <math.h>
56869 #ifdef HAVE_IEEEFP_H
56870 #include <ieeefp.h>
56871 #endif
56874 main ()
56876 fabsf(0);
56878 return 0;
56880 _ACEOF
56881 if ac_fn_cxx_try_compile "$LINENO"; then :
56882 glibcxx_cv_func_fabsf_use=yes
56883 else
56884 glibcxx_cv_func_fabsf_use=no
56886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56887 ac_ext=c
56888 ac_cpp='$CPP $CPPFLAGS'
56889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56898 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56900 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56901 for ac_func in fabsf
56902 do :
56903 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56904 if test "x$ac_cv_func_fabsf" = xyes; then :
56905 cat >>confdefs.h <<_ACEOF
56906 #define HAVE_FABSF 1
56907 _ACEOF
56910 done
56912 else
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56915 $as_echo_n "checking for _fabsf declaration... " >&6; }
56916 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56917 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56918 $as_echo_n "(cached) " >&6
56919 else
56922 ac_ext=cpp
56923 ac_cpp='$CXXCPP $CPPFLAGS'
56924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56929 /* end confdefs.h. */
56930 #include <math.h>
56931 #ifdef HAVE_IEEEFP_H
56932 #include <ieeefp.h>
56933 #endif
56936 main ()
56938 _fabsf(0);
56940 return 0;
56942 _ACEOF
56943 if ac_fn_cxx_try_compile "$LINENO"; then :
56944 glibcxx_cv_func__fabsf_use=yes
56945 else
56946 glibcxx_cv_func__fabsf_use=no
56948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56949 ac_ext=c
56950 ac_cpp='$CPP $CPPFLAGS'
56951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56960 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56962 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56963 for ac_func in _fabsf
56964 do :
56965 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56966 if test "x$ac_cv_func__fabsf" = xyes; then :
56967 cat >>confdefs.h <<_ACEOF
56968 #define HAVE__FABSF 1
56969 _ACEOF
56972 done
56981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56982 $as_echo_n "checking for fmodf declaration... " >&6; }
56983 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56984 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56985 $as_echo_n "(cached) " >&6
56986 else
56989 ac_ext=cpp
56990 ac_cpp='$CXXCPP $CPPFLAGS'
56991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56996 /* end confdefs.h. */
56997 #include <math.h>
56999 main ()
57001 fmodf(0, 0);
57003 return 0;
57005 _ACEOF
57006 if ac_fn_cxx_try_compile "$LINENO"; then :
57007 glibcxx_cv_func_fmodf_use=yes
57008 else
57009 glibcxx_cv_func_fmodf_use=no
57011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57012 ac_ext=c
57013 ac_cpp='$CPP $CPPFLAGS'
57014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
57023 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
57025 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
57026 for ac_func in fmodf
57027 do :
57028 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
57029 if test "x$ac_cv_func_fmodf" = xyes; then :
57030 cat >>confdefs.h <<_ACEOF
57031 #define HAVE_FMODF 1
57032 _ACEOF
57035 done
57037 else
57039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
57040 $as_echo_n "checking for _fmodf declaration... " >&6; }
57041 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
57042 if ${glibcxx_cv_func__fmodf_use+:} false; then :
57043 $as_echo_n "(cached) " >&6
57044 else
57047 ac_ext=cpp
57048 ac_cpp='$CXXCPP $CPPFLAGS'
57049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57054 /* end confdefs.h. */
57055 #include <math.h>
57057 main ()
57059 _fmodf(0, 0);
57061 return 0;
57063 _ACEOF
57064 if ac_fn_cxx_try_compile "$LINENO"; then :
57065 glibcxx_cv_func__fmodf_use=yes
57066 else
57067 glibcxx_cv_func__fmodf_use=no
57069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57070 ac_ext=c
57071 ac_cpp='$CPP $CPPFLAGS'
57072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
57081 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
57083 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
57084 for ac_func in _fmodf
57085 do :
57086 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
57087 if test "x$ac_cv_func__fmodf" = xyes; then :
57088 cat >>confdefs.h <<_ACEOF
57089 #define HAVE__FMODF 1
57090 _ACEOF
57093 done
57102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
57103 $as_echo_n "checking for frexpf declaration... " >&6; }
57104 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
57105 if ${glibcxx_cv_func_frexpf_use+:} false; then :
57106 $as_echo_n "(cached) " >&6
57107 else
57110 ac_ext=cpp
57111 ac_cpp='$CXXCPP $CPPFLAGS'
57112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57117 /* end confdefs.h. */
57118 #include <math.h>
57120 main ()
57122 frexpf(0, 0);
57124 return 0;
57126 _ACEOF
57127 if ac_fn_cxx_try_compile "$LINENO"; then :
57128 glibcxx_cv_func_frexpf_use=yes
57129 else
57130 glibcxx_cv_func_frexpf_use=no
57132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57133 ac_ext=c
57134 ac_cpp='$CPP $CPPFLAGS'
57135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
57144 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
57146 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57147 for ac_func in frexpf
57148 do :
57149 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
57150 if test "x$ac_cv_func_frexpf" = xyes; then :
57151 cat >>confdefs.h <<_ACEOF
57152 #define HAVE_FREXPF 1
57153 _ACEOF
57156 done
57158 else
57160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
57161 $as_echo_n "checking for _frexpf declaration... " >&6; }
57162 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57163 if ${glibcxx_cv_func__frexpf_use+:} false; then :
57164 $as_echo_n "(cached) " >&6
57165 else
57168 ac_ext=cpp
57169 ac_cpp='$CXXCPP $CPPFLAGS'
57170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57175 /* end confdefs.h. */
57176 #include <math.h>
57178 main ()
57180 _frexpf(0, 0);
57182 return 0;
57184 _ACEOF
57185 if ac_fn_cxx_try_compile "$LINENO"; then :
57186 glibcxx_cv_func__frexpf_use=yes
57187 else
57188 glibcxx_cv_func__frexpf_use=no
57190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57191 ac_ext=c
57192 ac_cpp='$CPP $CPPFLAGS'
57193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
57202 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57204 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57205 for ac_func in _frexpf
57206 do :
57207 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57208 if test "x$ac_cv_func__frexpf" = xyes; then :
57209 cat >>confdefs.h <<_ACEOF
57210 #define HAVE__FREXPF 1
57211 _ACEOF
57214 done
57223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57224 $as_echo_n "checking for hypotf declaration... " >&6; }
57225 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57226 if ${glibcxx_cv_func_hypotf_use+:} false; then :
57227 $as_echo_n "(cached) " >&6
57228 else
57231 ac_ext=cpp
57232 ac_cpp='$CXXCPP $CPPFLAGS'
57233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57238 /* end confdefs.h. */
57239 #include <math.h>
57241 main ()
57243 hypotf(0, 0);
57245 return 0;
57247 _ACEOF
57248 if ac_fn_cxx_try_compile "$LINENO"; then :
57249 glibcxx_cv_func_hypotf_use=yes
57250 else
57251 glibcxx_cv_func_hypotf_use=no
57253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57254 ac_ext=c
57255 ac_cpp='$CPP $CPPFLAGS'
57256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57265 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57267 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57268 for ac_func in hypotf
57269 do :
57270 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57271 if test "x$ac_cv_func_hypotf" = xyes; then :
57272 cat >>confdefs.h <<_ACEOF
57273 #define HAVE_HYPOTF 1
57274 _ACEOF
57277 done
57279 else
57281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57282 $as_echo_n "checking for _hypotf declaration... " >&6; }
57283 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57284 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57285 $as_echo_n "(cached) " >&6
57286 else
57289 ac_ext=cpp
57290 ac_cpp='$CXXCPP $CPPFLAGS'
57291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57296 /* end confdefs.h. */
57297 #include <math.h>
57299 main ()
57301 _hypotf(0, 0);
57303 return 0;
57305 _ACEOF
57306 if ac_fn_cxx_try_compile "$LINENO"; then :
57307 glibcxx_cv_func__hypotf_use=yes
57308 else
57309 glibcxx_cv_func__hypotf_use=no
57311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57312 ac_ext=c
57313 ac_cpp='$CPP $CPPFLAGS'
57314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57323 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57325 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57326 for ac_func in _hypotf
57327 do :
57328 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57329 if test "x$ac_cv_func__hypotf" = xyes; then :
57330 cat >>confdefs.h <<_ACEOF
57331 #define HAVE__HYPOTF 1
57332 _ACEOF
57335 done
57344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57345 $as_echo_n "checking for ldexpf declaration... " >&6; }
57346 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57347 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57348 $as_echo_n "(cached) " >&6
57349 else
57352 ac_ext=cpp
57353 ac_cpp='$CXXCPP $CPPFLAGS'
57354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57359 /* end confdefs.h. */
57360 #include <math.h>
57362 main ()
57364 ldexpf(0, 0);
57366 return 0;
57368 _ACEOF
57369 if ac_fn_cxx_try_compile "$LINENO"; then :
57370 glibcxx_cv_func_ldexpf_use=yes
57371 else
57372 glibcxx_cv_func_ldexpf_use=no
57374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57375 ac_ext=c
57376 ac_cpp='$CPP $CPPFLAGS'
57377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57386 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57388 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57389 for ac_func in ldexpf
57390 do :
57391 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57392 if test "x$ac_cv_func_ldexpf" = xyes; then :
57393 cat >>confdefs.h <<_ACEOF
57394 #define HAVE_LDEXPF 1
57395 _ACEOF
57398 done
57400 else
57402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57403 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57404 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57405 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57406 $as_echo_n "(cached) " >&6
57407 else
57410 ac_ext=cpp
57411 ac_cpp='$CXXCPP $CPPFLAGS'
57412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57417 /* end confdefs.h. */
57418 #include <math.h>
57420 main ()
57422 _ldexpf(0, 0);
57424 return 0;
57426 _ACEOF
57427 if ac_fn_cxx_try_compile "$LINENO"; then :
57428 glibcxx_cv_func__ldexpf_use=yes
57429 else
57430 glibcxx_cv_func__ldexpf_use=no
57432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57433 ac_ext=c
57434 ac_cpp='$CPP $CPPFLAGS'
57435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57444 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57446 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57447 for ac_func in _ldexpf
57448 do :
57449 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57450 if test "x$ac_cv_func__ldexpf" = xyes; then :
57451 cat >>confdefs.h <<_ACEOF
57452 #define HAVE__LDEXPF 1
57453 _ACEOF
57456 done
57465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57466 $as_echo_n "checking for logf declaration... " >&6; }
57467 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57468 if ${glibcxx_cv_func_logf_use+:} false; then :
57469 $as_echo_n "(cached) " >&6
57470 else
57473 ac_ext=cpp
57474 ac_cpp='$CXXCPP $CPPFLAGS'
57475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57480 /* end confdefs.h. */
57481 #include <math.h>
57482 #ifdef HAVE_IEEEFP_H
57483 #include <ieeefp.h>
57484 #endif
57487 main ()
57489 logf(0);
57491 return 0;
57493 _ACEOF
57494 if ac_fn_cxx_try_compile "$LINENO"; then :
57495 glibcxx_cv_func_logf_use=yes
57496 else
57497 glibcxx_cv_func_logf_use=no
57499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57500 ac_ext=c
57501 ac_cpp='$CPP $CPPFLAGS'
57502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57511 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57513 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57514 for ac_func in logf
57515 do :
57516 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57517 if test "x$ac_cv_func_logf" = xyes; then :
57518 cat >>confdefs.h <<_ACEOF
57519 #define HAVE_LOGF 1
57520 _ACEOF
57523 done
57525 else
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57528 $as_echo_n "checking for _logf declaration... " >&6; }
57529 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57530 if ${glibcxx_cv_func__logf_use+:} false; then :
57531 $as_echo_n "(cached) " >&6
57532 else
57535 ac_ext=cpp
57536 ac_cpp='$CXXCPP $CPPFLAGS'
57537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57542 /* end confdefs.h. */
57543 #include <math.h>
57544 #ifdef HAVE_IEEEFP_H
57545 #include <ieeefp.h>
57546 #endif
57549 main ()
57551 _logf(0);
57553 return 0;
57555 _ACEOF
57556 if ac_fn_cxx_try_compile "$LINENO"; then :
57557 glibcxx_cv_func__logf_use=yes
57558 else
57559 glibcxx_cv_func__logf_use=no
57561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57562 ac_ext=c
57563 ac_cpp='$CPP $CPPFLAGS'
57564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57573 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57575 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57576 for ac_func in _logf
57577 do :
57578 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57579 if test "x$ac_cv_func__logf" = xyes; then :
57580 cat >>confdefs.h <<_ACEOF
57581 #define HAVE__LOGF 1
57582 _ACEOF
57585 done
57594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57595 $as_echo_n "checking for log10f declaration... " >&6; }
57596 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57597 if ${glibcxx_cv_func_log10f_use+:} false; then :
57598 $as_echo_n "(cached) " >&6
57599 else
57602 ac_ext=cpp
57603 ac_cpp='$CXXCPP $CPPFLAGS'
57604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57609 /* end confdefs.h. */
57610 #include <math.h>
57611 #ifdef HAVE_IEEEFP_H
57612 #include <ieeefp.h>
57613 #endif
57616 main ()
57618 log10f(0);
57620 return 0;
57622 _ACEOF
57623 if ac_fn_cxx_try_compile "$LINENO"; then :
57624 glibcxx_cv_func_log10f_use=yes
57625 else
57626 glibcxx_cv_func_log10f_use=no
57628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57629 ac_ext=c
57630 ac_cpp='$CPP $CPPFLAGS'
57631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57640 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57642 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57643 for ac_func in log10f
57644 do :
57645 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57646 if test "x$ac_cv_func_log10f" = xyes; then :
57647 cat >>confdefs.h <<_ACEOF
57648 #define HAVE_LOG10F 1
57649 _ACEOF
57652 done
57654 else
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57657 $as_echo_n "checking for _log10f declaration... " >&6; }
57658 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57659 if ${glibcxx_cv_func__log10f_use+:} false; then :
57660 $as_echo_n "(cached) " >&6
57661 else
57664 ac_ext=cpp
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57671 /* end confdefs.h. */
57672 #include <math.h>
57673 #ifdef HAVE_IEEEFP_H
57674 #include <ieeefp.h>
57675 #endif
57678 main ()
57680 _log10f(0);
57682 return 0;
57684 _ACEOF
57685 if ac_fn_cxx_try_compile "$LINENO"; then :
57686 glibcxx_cv_func__log10f_use=yes
57687 else
57688 glibcxx_cv_func__log10f_use=no
57690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57691 ac_ext=c
57692 ac_cpp='$CPP $CPPFLAGS'
57693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57702 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57704 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57705 for ac_func in _log10f
57706 do :
57707 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57708 if test "x$ac_cv_func__log10f" = xyes; then :
57709 cat >>confdefs.h <<_ACEOF
57710 #define HAVE__LOG10F 1
57711 _ACEOF
57714 done
57723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57724 $as_echo_n "checking for modff declaration... " >&6; }
57725 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57726 if ${glibcxx_cv_func_modff_use+:} false; then :
57727 $as_echo_n "(cached) " >&6
57728 else
57731 ac_ext=cpp
57732 ac_cpp='$CXXCPP $CPPFLAGS'
57733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57738 /* end confdefs.h. */
57739 #include <math.h>
57741 main ()
57743 modff(0, 0);
57745 return 0;
57747 _ACEOF
57748 if ac_fn_cxx_try_compile "$LINENO"; then :
57749 glibcxx_cv_func_modff_use=yes
57750 else
57751 glibcxx_cv_func_modff_use=no
57753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57754 ac_ext=c
57755 ac_cpp='$CPP $CPPFLAGS'
57756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57765 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57767 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57768 for ac_func in modff
57769 do :
57770 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57771 if test "x$ac_cv_func_modff" = xyes; then :
57772 cat >>confdefs.h <<_ACEOF
57773 #define HAVE_MODFF 1
57774 _ACEOF
57777 done
57779 else
57781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57782 $as_echo_n "checking for _modff declaration... " >&6; }
57783 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57784 if ${glibcxx_cv_func__modff_use+:} false; then :
57785 $as_echo_n "(cached) " >&6
57786 else
57789 ac_ext=cpp
57790 ac_cpp='$CXXCPP $CPPFLAGS'
57791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57796 /* end confdefs.h. */
57797 #include <math.h>
57799 main ()
57801 _modff(0, 0);
57803 return 0;
57805 _ACEOF
57806 if ac_fn_cxx_try_compile "$LINENO"; then :
57807 glibcxx_cv_func__modff_use=yes
57808 else
57809 glibcxx_cv_func__modff_use=no
57811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57812 ac_ext=c
57813 ac_cpp='$CPP $CPPFLAGS'
57814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57823 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57825 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57826 for ac_func in _modff
57827 do :
57828 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57829 if test "x$ac_cv_func__modff" = xyes; then :
57830 cat >>confdefs.h <<_ACEOF
57831 #define HAVE__MODFF 1
57832 _ACEOF
57835 done
57844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57845 $as_echo_n "checking for modf declaration... " >&6; }
57846 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57847 if ${glibcxx_cv_func_modf_use+:} false; then :
57848 $as_echo_n "(cached) " >&6
57849 else
57852 ac_ext=cpp
57853 ac_cpp='$CXXCPP $CPPFLAGS'
57854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57859 /* end confdefs.h. */
57860 #include <math.h>
57862 main ()
57864 modf(0, 0);
57866 return 0;
57868 _ACEOF
57869 if ac_fn_cxx_try_compile "$LINENO"; then :
57870 glibcxx_cv_func_modf_use=yes
57871 else
57872 glibcxx_cv_func_modf_use=no
57874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57886 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57888 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57889 for ac_func in modf
57890 do :
57891 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57892 if test "x$ac_cv_func_modf" = xyes; then :
57893 cat >>confdefs.h <<_ACEOF
57894 #define HAVE_MODF 1
57895 _ACEOF
57898 done
57900 else
57902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57903 $as_echo_n "checking for _modf declaration... " >&6; }
57904 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57905 if ${glibcxx_cv_func__modf_use+:} false; then :
57906 $as_echo_n "(cached) " >&6
57907 else
57910 ac_ext=cpp
57911 ac_cpp='$CXXCPP $CPPFLAGS'
57912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57917 /* end confdefs.h. */
57918 #include <math.h>
57920 main ()
57922 _modf(0, 0);
57924 return 0;
57926 _ACEOF
57927 if ac_fn_cxx_try_compile "$LINENO"; then :
57928 glibcxx_cv_func__modf_use=yes
57929 else
57930 glibcxx_cv_func__modf_use=no
57932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57933 ac_ext=c
57934 ac_cpp='$CPP $CPPFLAGS'
57935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57944 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57946 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57947 for ac_func in _modf
57948 do :
57949 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57950 if test "x$ac_cv_func__modf" = xyes; then :
57951 cat >>confdefs.h <<_ACEOF
57952 #define HAVE__MODF 1
57953 _ACEOF
57956 done
57965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57966 $as_echo_n "checking for powf declaration... " >&6; }
57967 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57968 if ${glibcxx_cv_func_powf_use+:} false; then :
57969 $as_echo_n "(cached) " >&6
57970 else
57973 ac_ext=cpp
57974 ac_cpp='$CXXCPP $CPPFLAGS'
57975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57980 /* end confdefs.h. */
57981 #include <math.h>
57983 main ()
57985 powf(0, 0);
57987 return 0;
57989 _ACEOF
57990 if ac_fn_cxx_try_compile "$LINENO"; then :
57991 glibcxx_cv_func_powf_use=yes
57992 else
57993 glibcxx_cv_func_powf_use=no
57995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57996 ac_ext=c
57997 ac_cpp='$CPP $CPPFLAGS'
57998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
58007 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
58009 if test x$glibcxx_cv_func_powf_use = x"yes"; then
58010 for ac_func in powf
58011 do :
58012 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
58013 if test "x$ac_cv_func_powf" = xyes; then :
58014 cat >>confdefs.h <<_ACEOF
58015 #define HAVE_POWF 1
58016 _ACEOF
58019 done
58021 else
58023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
58024 $as_echo_n "checking for _powf declaration... " >&6; }
58025 if test x${glibcxx_cv_func__powf_use+set} != xset; then
58026 if ${glibcxx_cv_func__powf_use+:} false; then :
58027 $as_echo_n "(cached) " >&6
58028 else
58031 ac_ext=cpp
58032 ac_cpp='$CXXCPP $CPPFLAGS'
58033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58038 /* end confdefs.h. */
58039 #include <math.h>
58041 main ()
58043 _powf(0, 0);
58045 return 0;
58047 _ACEOF
58048 if ac_fn_cxx_try_compile "$LINENO"; then :
58049 glibcxx_cv_func__powf_use=yes
58050 else
58051 glibcxx_cv_func__powf_use=no
58053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58054 ac_ext=c
58055 ac_cpp='$CPP $CPPFLAGS'
58056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
58065 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
58067 if test x$glibcxx_cv_func__powf_use = x"yes"; then
58068 for ac_func in _powf
58069 do :
58070 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
58071 if test "x$ac_cv_func__powf" = xyes; then :
58072 cat >>confdefs.h <<_ACEOF
58073 #define HAVE__POWF 1
58074 _ACEOF
58077 done
58086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
58087 $as_echo_n "checking for sqrtf declaration... " >&6; }
58088 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
58089 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
58090 $as_echo_n "(cached) " >&6
58091 else
58094 ac_ext=cpp
58095 ac_cpp='$CXXCPP $CPPFLAGS'
58096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58101 /* end confdefs.h. */
58102 #include <math.h>
58103 #ifdef HAVE_IEEEFP_H
58104 #include <ieeefp.h>
58105 #endif
58108 main ()
58110 sqrtf(0);
58112 return 0;
58114 _ACEOF
58115 if ac_fn_cxx_try_compile "$LINENO"; then :
58116 glibcxx_cv_func_sqrtf_use=yes
58117 else
58118 glibcxx_cv_func_sqrtf_use=no
58120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58121 ac_ext=c
58122 ac_cpp='$CPP $CPPFLAGS'
58123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
58132 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
58134 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
58135 for ac_func in sqrtf
58136 do :
58137 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
58138 if test "x$ac_cv_func_sqrtf" = xyes; then :
58139 cat >>confdefs.h <<_ACEOF
58140 #define HAVE_SQRTF 1
58141 _ACEOF
58144 done
58146 else
58148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
58149 $as_echo_n "checking for _sqrtf declaration... " >&6; }
58150 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
58151 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
58152 $as_echo_n "(cached) " >&6
58153 else
58156 ac_ext=cpp
58157 ac_cpp='$CXXCPP $CPPFLAGS'
58158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58163 /* end confdefs.h. */
58164 #include <math.h>
58165 #ifdef HAVE_IEEEFP_H
58166 #include <ieeefp.h>
58167 #endif
58170 main ()
58172 _sqrtf(0);
58174 return 0;
58176 _ACEOF
58177 if ac_fn_cxx_try_compile "$LINENO"; then :
58178 glibcxx_cv_func__sqrtf_use=yes
58179 else
58180 glibcxx_cv_func__sqrtf_use=no
58182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58183 ac_ext=c
58184 ac_cpp='$CPP $CPPFLAGS'
58185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
58194 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
58196 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
58197 for ac_func in _sqrtf
58198 do :
58199 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
58200 if test "x$ac_cv_func__sqrtf" = xyes; then :
58201 cat >>confdefs.h <<_ACEOF
58202 #define HAVE__SQRTF 1
58203 _ACEOF
58206 done
58215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58216 $as_echo_n "checking for sincosf declaration... " >&6; }
58217 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58218 if ${glibcxx_cv_func_sincosf_use+:} false; then :
58219 $as_echo_n "(cached) " >&6
58220 else
58223 ac_ext=cpp
58224 ac_cpp='$CXXCPP $CPPFLAGS'
58225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58230 /* end confdefs.h. */
58231 #include <math.h>
58233 main ()
58235 sincosf(0, 0, 0);
58237 return 0;
58239 _ACEOF
58240 if ac_fn_cxx_try_compile "$LINENO"; then :
58241 glibcxx_cv_func_sincosf_use=yes
58242 else
58243 glibcxx_cv_func_sincosf_use=no
58245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58246 ac_ext=c
58247 ac_cpp='$CPP $CPPFLAGS'
58248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58257 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58259 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58260 for ac_func in sincosf
58261 do :
58262 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58263 if test "x$ac_cv_func_sincosf" = xyes; then :
58264 cat >>confdefs.h <<_ACEOF
58265 #define HAVE_SINCOSF 1
58266 _ACEOF
58269 done
58271 else
58273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58274 $as_echo_n "checking for _sincosf declaration... " >&6; }
58275 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58276 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58277 $as_echo_n "(cached) " >&6
58278 else
58281 ac_ext=cpp
58282 ac_cpp='$CXXCPP $CPPFLAGS'
58283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58288 /* end confdefs.h. */
58289 #include <math.h>
58291 main ()
58293 _sincosf(0, 0, 0);
58295 return 0;
58297 _ACEOF
58298 if ac_fn_cxx_try_compile "$LINENO"; then :
58299 glibcxx_cv_func__sincosf_use=yes
58300 else
58301 glibcxx_cv_func__sincosf_use=no
58303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58304 ac_ext=c
58305 ac_cpp='$CPP $CPPFLAGS'
58306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58315 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58317 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58318 for ac_func in _sincosf
58319 do :
58320 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58321 if test "x$ac_cv_func__sincosf" = xyes; then :
58322 cat >>confdefs.h <<_ACEOF
58323 #define HAVE__SINCOSF 1
58324 _ACEOF
58327 done
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58337 $as_echo_n "checking for finitef declaration... " >&6; }
58338 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58339 if ${glibcxx_cv_func_finitef_use+:} false; then :
58340 $as_echo_n "(cached) " >&6
58341 else
58344 ac_ext=cpp
58345 ac_cpp='$CXXCPP $CPPFLAGS'
58346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58351 /* end confdefs.h. */
58352 #include <math.h>
58353 #ifdef HAVE_IEEEFP_H
58354 #include <ieeefp.h>
58355 #endif
58358 main ()
58360 finitef(0);
58362 return 0;
58364 _ACEOF
58365 if ac_fn_cxx_try_compile "$LINENO"; then :
58366 glibcxx_cv_func_finitef_use=yes
58367 else
58368 glibcxx_cv_func_finitef_use=no
58370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58371 ac_ext=c
58372 ac_cpp='$CPP $CPPFLAGS'
58373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58382 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58384 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58385 for ac_func in finitef
58386 do :
58387 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58388 if test "x$ac_cv_func_finitef" = xyes; then :
58389 cat >>confdefs.h <<_ACEOF
58390 #define HAVE_FINITEF 1
58391 _ACEOF
58394 done
58396 else
58398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58399 $as_echo_n "checking for _finitef declaration... " >&6; }
58400 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58401 if ${glibcxx_cv_func__finitef_use+:} false; then :
58402 $as_echo_n "(cached) " >&6
58403 else
58406 ac_ext=cpp
58407 ac_cpp='$CXXCPP $CPPFLAGS'
58408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58413 /* end confdefs.h. */
58414 #include <math.h>
58415 #ifdef HAVE_IEEEFP_H
58416 #include <ieeefp.h>
58417 #endif
58420 main ()
58422 _finitef(0);
58424 return 0;
58426 _ACEOF
58427 if ac_fn_cxx_try_compile "$LINENO"; then :
58428 glibcxx_cv_func__finitef_use=yes
58429 else
58430 glibcxx_cv_func__finitef_use=no
58432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58433 ac_ext=c
58434 ac_cpp='$CPP $CPPFLAGS'
58435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58444 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58446 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58447 for ac_func in _finitef
58448 do :
58449 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58450 if test "x$ac_cv_func__finitef" = xyes; then :
58451 cat >>confdefs.h <<_ACEOF
58452 #define HAVE__FINITEF 1
58453 _ACEOF
58456 done
58465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58466 $as_echo_n "checking for long double trig functions... " >&6; }
58467 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58468 $as_echo_n "(cached) " >&6
58469 else
58472 ac_ext=cpp
58473 ac_cpp='$CXXCPP $CPPFLAGS'
58474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58479 /* end confdefs.h. */
58480 #include <math.h>
58482 main ()
58484 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58486 return 0;
58488 _ACEOF
58489 if ac_fn_cxx_try_compile "$LINENO"; then :
58490 glibcxx_cv_func_long_double_trig_use=yes
58491 else
58492 glibcxx_cv_func_long_double_trig_use=no
58494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58495 ac_ext=c
58496 ac_cpp='$CPP $CPPFLAGS'
58497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58504 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58505 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58506 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58507 do :
58508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58510 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58511 cat >>confdefs.h <<_ACEOF
58512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58513 _ACEOF
58516 done
58518 else
58519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58520 $as_echo_n "checking for _long double trig functions... " >&6; }
58521 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58522 $as_echo_n "(cached) " >&6
58523 else
58526 ac_ext=cpp
58527 ac_cpp='$CXXCPP $CPPFLAGS'
58528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58533 /* end confdefs.h. */
58534 #include <math.h>
58536 main ()
58538 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58540 return 0;
58542 _ACEOF
58543 if ac_fn_cxx_try_compile "$LINENO"; then :
58544 glibcxx_cv_func__long_double_trig_use=yes
58545 else
58546 glibcxx_cv_func__long_double_trig_use=no
58548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58549 ac_ext=c
58550 ac_cpp='$CPP $CPPFLAGS'
58551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58558 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58559 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58560 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58561 do :
58562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58564 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58565 cat >>confdefs.h <<_ACEOF
58566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58567 _ACEOF
58570 done
58579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58580 $as_echo_n "checking for long double round functions... " >&6; }
58581 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58582 $as_echo_n "(cached) " >&6
58583 else
58586 ac_ext=cpp
58587 ac_cpp='$CXXCPP $CPPFLAGS'
58588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58593 /* end confdefs.h. */
58594 #include <math.h>
58596 main ()
58598 ceill (0); floorl (0);
58600 return 0;
58602 _ACEOF
58603 if ac_fn_cxx_try_compile "$LINENO"; then :
58604 glibcxx_cv_func_long_double_round_use=yes
58605 else
58606 glibcxx_cv_func_long_double_round_use=no
58608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58609 ac_ext=c
58610 ac_cpp='$CPP $CPPFLAGS'
58611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58618 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58619 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58620 for ac_func in ceill floorl
58621 do :
58622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58625 cat >>confdefs.h <<_ACEOF
58626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58627 _ACEOF
58630 done
58632 else
58633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58634 $as_echo_n "checking for _long double round functions... " >&6; }
58635 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58636 $as_echo_n "(cached) " >&6
58637 else
58640 ac_ext=cpp
58641 ac_cpp='$CXXCPP $CPPFLAGS'
58642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58647 /* end confdefs.h. */
58648 #include <math.h>
58650 main ()
58652 _ceill (0); _floorl (0);
58654 return 0;
58656 _ACEOF
58657 if ac_fn_cxx_try_compile "$LINENO"; then :
58658 glibcxx_cv_func__long_double_round_use=yes
58659 else
58660 glibcxx_cv_func__long_double_round_use=no
58662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58663 ac_ext=c
58664 ac_cpp='$CPP $CPPFLAGS'
58665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58672 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58673 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58674 for ac_func in _ceill _floorl
58675 do :
58676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58678 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58679 cat >>confdefs.h <<_ACEOF
58680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58681 _ACEOF
58684 done
58694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58695 $as_echo_n "checking for isnanl declaration... " >&6; }
58696 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58697 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58698 $as_echo_n "(cached) " >&6
58699 else
58702 ac_ext=cpp
58703 ac_cpp='$CXXCPP $CPPFLAGS'
58704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58709 /* end confdefs.h. */
58710 #include <math.h>
58711 #ifdef HAVE_IEEEFP_H
58712 #include <ieeefp.h>
58713 #endif
58716 main ()
58718 isnanl(0);
58720 return 0;
58722 _ACEOF
58723 if ac_fn_cxx_try_compile "$LINENO"; then :
58724 glibcxx_cv_func_isnanl_use=yes
58725 else
58726 glibcxx_cv_func_isnanl_use=no
58728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58729 ac_ext=c
58730 ac_cpp='$CPP $CPPFLAGS'
58731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58740 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58742 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58743 for ac_func in isnanl
58744 do :
58745 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58746 if test "x$ac_cv_func_isnanl" = xyes; then :
58747 cat >>confdefs.h <<_ACEOF
58748 #define HAVE_ISNANL 1
58749 _ACEOF
58752 done
58754 else
58756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58757 $as_echo_n "checking for _isnanl declaration... " >&6; }
58758 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58759 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58760 $as_echo_n "(cached) " >&6
58761 else
58764 ac_ext=cpp
58765 ac_cpp='$CXXCPP $CPPFLAGS'
58766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58771 /* end confdefs.h. */
58772 #include <math.h>
58773 #ifdef HAVE_IEEEFP_H
58774 #include <ieeefp.h>
58775 #endif
58778 main ()
58780 _isnanl(0);
58782 return 0;
58784 _ACEOF
58785 if ac_fn_cxx_try_compile "$LINENO"; then :
58786 glibcxx_cv_func__isnanl_use=yes
58787 else
58788 glibcxx_cv_func__isnanl_use=no
58790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58791 ac_ext=c
58792 ac_cpp='$CPP $CPPFLAGS'
58793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58802 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58804 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58805 for ac_func in _isnanl
58806 do :
58807 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58808 if test "x$ac_cv_func__isnanl" = xyes; then :
58809 cat >>confdefs.h <<_ACEOF
58810 #define HAVE__ISNANL 1
58811 _ACEOF
58814 done
58823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58824 $as_echo_n "checking for isinfl declaration... " >&6; }
58825 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58826 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58827 $as_echo_n "(cached) " >&6
58828 else
58831 ac_ext=cpp
58832 ac_cpp='$CXXCPP $CPPFLAGS'
58833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58838 /* end confdefs.h. */
58839 #include <math.h>
58840 #ifdef HAVE_IEEEFP_H
58841 #include <ieeefp.h>
58842 #endif
58845 main ()
58847 isinfl(0);
58849 return 0;
58851 _ACEOF
58852 if ac_fn_cxx_try_compile "$LINENO"; then :
58853 glibcxx_cv_func_isinfl_use=yes
58854 else
58855 glibcxx_cv_func_isinfl_use=no
58857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58858 ac_ext=c
58859 ac_cpp='$CPP $CPPFLAGS'
58860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58869 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58871 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58872 for ac_func in isinfl
58873 do :
58874 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58875 if test "x$ac_cv_func_isinfl" = xyes; then :
58876 cat >>confdefs.h <<_ACEOF
58877 #define HAVE_ISINFL 1
58878 _ACEOF
58881 done
58883 else
58885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58886 $as_echo_n "checking for _isinfl declaration... " >&6; }
58887 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58888 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58889 $as_echo_n "(cached) " >&6
58890 else
58893 ac_ext=cpp
58894 ac_cpp='$CXXCPP $CPPFLAGS'
58895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58900 /* end confdefs.h. */
58901 #include <math.h>
58902 #ifdef HAVE_IEEEFP_H
58903 #include <ieeefp.h>
58904 #endif
58907 main ()
58909 _isinfl(0);
58911 return 0;
58913 _ACEOF
58914 if ac_fn_cxx_try_compile "$LINENO"; then :
58915 glibcxx_cv_func__isinfl_use=yes
58916 else
58917 glibcxx_cv_func__isinfl_use=no
58919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58920 ac_ext=c
58921 ac_cpp='$CPP $CPPFLAGS'
58922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58931 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58933 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58934 for ac_func in _isinfl
58935 do :
58936 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58937 if test "x$ac_cv_func__isinfl" = xyes; then :
58938 cat >>confdefs.h <<_ACEOF
58939 #define HAVE__ISINFL 1
58940 _ACEOF
58943 done
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58953 $as_echo_n "checking for atan2l declaration... " >&6; }
58954 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58955 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58956 $as_echo_n "(cached) " >&6
58957 else
58960 ac_ext=cpp
58961 ac_cpp='$CXXCPP $CPPFLAGS'
58962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58967 /* end confdefs.h. */
58968 #include <math.h>
58970 main ()
58972 atan2l(0, 0);
58974 return 0;
58976 _ACEOF
58977 if ac_fn_cxx_try_compile "$LINENO"; then :
58978 glibcxx_cv_func_atan2l_use=yes
58979 else
58980 glibcxx_cv_func_atan2l_use=no
58982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58983 ac_ext=c
58984 ac_cpp='$CPP $CPPFLAGS'
58985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58994 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58996 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58997 for ac_func in atan2l
58998 do :
58999 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
59000 if test "x$ac_cv_func_atan2l" = xyes; then :
59001 cat >>confdefs.h <<_ACEOF
59002 #define HAVE_ATAN2L 1
59003 _ACEOF
59006 done
59008 else
59010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
59011 $as_echo_n "checking for _atan2l declaration... " >&6; }
59012 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
59013 if ${glibcxx_cv_func__atan2l_use+:} false; then :
59014 $as_echo_n "(cached) " >&6
59015 else
59018 ac_ext=cpp
59019 ac_cpp='$CXXCPP $CPPFLAGS'
59020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59025 /* end confdefs.h. */
59026 #include <math.h>
59028 main ()
59030 _atan2l(0, 0);
59032 return 0;
59034 _ACEOF
59035 if ac_fn_cxx_try_compile "$LINENO"; then :
59036 glibcxx_cv_func__atan2l_use=yes
59037 else
59038 glibcxx_cv_func__atan2l_use=no
59040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59041 ac_ext=c
59042 ac_cpp='$CPP $CPPFLAGS'
59043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
59052 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
59054 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
59055 for ac_func in _atan2l
59056 do :
59057 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
59058 if test "x$ac_cv_func__atan2l" = xyes; then :
59059 cat >>confdefs.h <<_ACEOF
59060 #define HAVE__ATAN2L 1
59061 _ACEOF
59064 done
59073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
59074 $as_echo_n "checking for expl declaration... " >&6; }
59075 if test x${glibcxx_cv_func_expl_use+set} != xset; then
59076 if ${glibcxx_cv_func_expl_use+:} false; then :
59077 $as_echo_n "(cached) " >&6
59078 else
59081 ac_ext=cpp
59082 ac_cpp='$CXXCPP $CPPFLAGS'
59083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59088 /* end confdefs.h. */
59089 #include <math.h>
59090 #ifdef HAVE_IEEEFP_H
59091 #include <ieeefp.h>
59092 #endif
59095 main ()
59097 expl(0);
59099 return 0;
59101 _ACEOF
59102 if ac_fn_cxx_try_compile "$LINENO"; then :
59103 glibcxx_cv_func_expl_use=yes
59104 else
59105 glibcxx_cv_func_expl_use=no
59107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59108 ac_ext=c
59109 ac_cpp='$CPP $CPPFLAGS'
59110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
59119 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
59121 if test x$glibcxx_cv_func_expl_use = x"yes"; then
59122 for ac_func in expl
59123 do :
59124 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
59125 if test "x$ac_cv_func_expl" = xyes; then :
59126 cat >>confdefs.h <<_ACEOF
59127 #define HAVE_EXPL 1
59128 _ACEOF
59131 done
59133 else
59135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
59136 $as_echo_n "checking for _expl declaration... " >&6; }
59137 if test x${glibcxx_cv_func__expl_use+set} != xset; then
59138 if ${glibcxx_cv_func__expl_use+:} false; then :
59139 $as_echo_n "(cached) " >&6
59140 else
59143 ac_ext=cpp
59144 ac_cpp='$CXXCPP $CPPFLAGS'
59145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59150 /* end confdefs.h. */
59151 #include <math.h>
59152 #ifdef HAVE_IEEEFP_H
59153 #include <ieeefp.h>
59154 #endif
59157 main ()
59159 _expl(0);
59161 return 0;
59163 _ACEOF
59164 if ac_fn_cxx_try_compile "$LINENO"; then :
59165 glibcxx_cv_func__expl_use=yes
59166 else
59167 glibcxx_cv_func__expl_use=no
59169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59170 ac_ext=c
59171 ac_cpp='$CPP $CPPFLAGS'
59172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
59181 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
59183 if test x$glibcxx_cv_func__expl_use = x"yes"; then
59184 for ac_func in _expl
59185 do :
59186 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
59187 if test "x$ac_cv_func__expl" = xyes; then :
59188 cat >>confdefs.h <<_ACEOF
59189 #define HAVE__EXPL 1
59190 _ACEOF
59193 done
59202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59203 $as_echo_n "checking for fabsl declaration... " >&6; }
59204 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59205 if ${glibcxx_cv_func_fabsl_use+:} false; then :
59206 $as_echo_n "(cached) " >&6
59207 else
59210 ac_ext=cpp
59211 ac_cpp='$CXXCPP $CPPFLAGS'
59212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59217 /* end confdefs.h. */
59218 #include <math.h>
59219 #ifdef HAVE_IEEEFP_H
59220 #include <ieeefp.h>
59221 #endif
59224 main ()
59226 fabsl(0);
59228 return 0;
59230 _ACEOF
59231 if ac_fn_cxx_try_compile "$LINENO"; then :
59232 glibcxx_cv_func_fabsl_use=yes
59233 else
59234 glibcxx_cv_func_fabsl_use=no
59236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59237 ac_ext=c
59238 ac_cpp='$CPP $CPPFLAGS'
59239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59248 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59250 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59251 for ac_func in fabsl
59252 do :
59253 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59254 if test "x$ac_cv_func_fabsl" = xyes; then :
59255 cat >>confdefs.h <<_ACEOF
59256 #define HAVE_FABSL 1
59257 _ACEOF
59260 done
59262 else
59264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59265 $as_echo_n "checking for _fabsl declaration... " >&6; }
59266 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59267 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59268 $as_echo_n "(cached) " >&6
59269 else
59272 ac_ext=cpp
59273 ac_cpp='$CXXCPP $CPPFLAGS'
59274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59279 /* end confdefs.h. */
59280 #include <math.h>
59281 #ifdef HAVE_IEEEFP_H
59282 #include <ieeefp.h>
59283 #endif
59286 main ()
59288 _fabsl(0);
59290 return 0;
59292 _ACEOF
59293 if ac_fn_cxx_try_compile "$LINENO"; then :
59294 glibcxx_cv_func__fabsl_use=yes
59295 else
59296 glibcxx_cv_func__fabsl_use=no
59298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59299 ac_ext=c
59300 ac_cpp='$CPP $CPPFLAGS'
59301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59310 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59312 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59313 for ac_func in _fabsl
59314 do :
59315 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59316 if test "x$ac_cv_func__fabsl" = xyes; then :
59317 cat >>confdefs.h <<_ACEOF
59318 #define HAVE__FABSL 1
59319 _ACEOF
59322 done
59331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59332 $as_echo_n "checking for fmodl declaration... " >&6; }
59333 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59334 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59335 $as_echo_n "(cached) " >&6
59336 else
59339 ac_ext=cpp
59340 ac_cpp='$CXXCPP $CPPFLAGS'
59341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59346 /* end confdefs.h. */
59347 #include <math.h>
59349 main ()
59351 fmodl(0, 0);
59353 return 0;
59355 _ACEOF
59356 if ac_fn_cxx_try_compile "$LINENO"; then :
59357 glibcxx_cv_func_fmodl_use=yes
59358 else
59359 glibcxx_cv_func_fmodl_use=no
59361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59362 ac_ext=c
59363 ac_cpp='$CPP $CPPFLAGS'
59364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59373 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59375 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59376 for ac_func in fmodl
59377 do :
59378 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59379 if test "x$ac_cv_func_fmodl" = xyes; then :
59380 cat >>confdefs.h <<_ACEOF
59381 #define HAVE_FMODL 1
59382 _ACEOF
59385 done
59387 else
59389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59390 $as_echo_n "checking for _fmodl declaration... " >&6; }
59391 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59392 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59393 $as_echo_n "(cached) " >&6
59394 else
59397 ac_ext=cpp
59398 ac_cpp='$CXXCPP $CPPFLAGS'
59399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59404 /* end confdefs.h. */
59405 #include <math.h>
59407 main ()
59409 _fmodl(0, 0);
59411 return 0;
59413 _ACEOF
59414 if ac_fn_cxx_try_compile "$LINENO"; then :
59415 glibcxx_cv_func__fmodl_use=yes
59416 else
59417 glibcxx_cv_func__fmodl_use=no
59419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59420 ac_ext=c
59421 ac_cpp='$CPP $CPPFLAGS'
59422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59431 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59433 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59434 for ac_func in _fmodl
59435 do :
59436 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59437 if test "x$ac_cv_func__fmodl" = xyes; then :
59438 cat >>confdefs.h <<_ACEOF
59439 #define HAVE__FMODL 1
59440 _ACEOF
59443 done
59452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59453 $as_echo_n "checking for frexpl declaration... " >&6; }
59454 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59455 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59456 $as_echo_n "(cached) " >&6
59457 else
59460 ac_ext=cpp
59461 ac_cpp='$CXXCPP $CPPFLAGS'
59462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59467 /* end confdefs.h. */
59468 #include <math.h>
59470 main ()
59472 frexpl(0, 0);
59474 return 0;
59476 _ACEOF
59477 if ac_fn_cxx_try_compile "$LINENO"; then :
59478 glibcxx_cv_func_frexpl_use=yes
59479 else
59480 glibcxx_cv_func_frexpl_use=no
59482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59483 ac_ext=c
59484 ac_cpp='$CPP $CPPFLAGS'
59485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59494 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59496 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59497 for ac_func in frexpl
59498 do :
59499 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59500 if test "x$ac_cv_func_frexpl" = xyes; then :
59501 cat >>confdefs.h <<_ACEOF
59502 #define HAVE_FREXPL 1
59503 _ACEOF
59506 done
59508 else
59510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59511 $as_echo_n "checking for _frexpl declaration... " >&6; }
59512 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59513 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59514 $as_echo_n "(cached) " >&6
59515 else
59518 ac_ext=cpp
59519 ac_cpp='$CXXCPP $CPPFLAGS'
59520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59525 /* end confdefs.h. */
59526 #include <math.h>
59528 main ()
59530 _frexpl(0, 0);
59532 return 0;
59534 _ACEOF
59535 if ac_fn_cxx_try_compile "$LINENO"; then :
59536 glibcxx_cv_func__frexpl_use=yes
59537 else
59538 glibcxx_cv_func__frexpl_use=no
59540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59541 ac_ext=c
59542 ac_cpp='$CPP $CPPFLAGS'
59543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59552 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59554 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59555 for ac_func in _frexpl
59556 do :
59557 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59558 if test "x$ac_cv_func__frexpl" = xyes; then :
59559 cat >>confdefs.h <<_ACEOF
59560 #define HAVE__FREXPL 1
59561 _ACEOF
59564 done
59573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59574 $as_echo_n "checking for hypotl declaration... " >&6; }
59575 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59576 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59577 $as_echo_n "(cached) " >&6
59578 else
59581 ac_ext=cpp
59582 ac_cpp='$CXXCPP $CPPFLAGS'
59583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59588 /* end confdefs.h. */
59589 #include <math.h>
59591 main ()
59593 hypotl(0, 0);
59595 return 0;
59597 _ACEOF
59598 if ac_fn_cxx_try_compile "$LINENO"; then :
59599 glibcxx_cv_func_hypotl_use=yes
59600 else
59601 glibcxx_cv_func_hypotl_use=no
59603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59604 ac_ext=c
59605 ac_cpp='$CPP $CPPFLAGS'
59606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59615 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59617 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59618 for ac_func in hypotl
59619 do :
59620 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59621 if test "x$ac_cv_func_hypotl" = xyes; then :
59622 cat >>confdefs.h <<_ACEOF
59623 #define HAVE_HYPOTL 1
59624 _ACEOF
59627 done
59629 else
59631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59632 $as_echo_n "checking for _hypotl declaration... " >&6; }
59633 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59634 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59635 $as_echo_n "(cached) " >&6
59636 else
59639 ac_ext=cpp
59640 ac_cpp='$CXXCPP $CPPFLAGS'
59641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59646 /* end confdefs.h. */
59647 #include <math.h>
59649 main ()
59651 _hypotl(0, 0);
59653 return 0;
59655 _ACEOF
59656 if ac_fn_cxx_try_compile "$LINENO"; then :
59657 glibcxx_cv_func__hypotl_use=yes
59658 else
59659 glibcxx_cv_func__hypotl_use=no
59661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59662 ac_ext=c
59663 ac_cpp='$CPP $CPPFLAGS'
59664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59673 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59675 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59676 for ac_func in _hypotl
59677 do :
59678 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59679 if test "x$ac_cv_func__hypotl" = xyes; then :
59680 cat >>confdefs.h <<_ACEOF
59681 #define HAVE__HYPOTL 1
59682 _ACEOF
59685 done
59694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59695 $as_echo_n "checking for ldexpl declaration... " >&6; }
59696 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59697 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59698 $as_echo_n "(cached) " >&6
59699 else
59702 ac_ext=cpp
59703 ac_cpp='$CXXCPP $CPPFLAGS'
59704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59709 /* end confdefs.h. */
59710 #include <math.h>
59712 main ()
59714 ldexpl(0, 0);
59716 return 0;
59718 _ACEOF
59719 if ac_fn_cxx_try_compile "$LINENO"; then :
59720 glibcxx_cv_func_ldexpl_use=yes
59721 else
59722 glibcxx_cv_func_ldexpl_use=no
59724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59725 ac_ext=c
59726 ac_cpp='$CPP $CPPFLAGS'
59727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59736 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59738 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59739 for ac_func in ldexpl
59740 do :
59741 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59742 if test "x$ac_cv_func_ldexpl" = xyes; then :
59743 cat >>confdefs.h <<_ACEOF
59744 #define HAVE_LDEXPL 1
59745 _ACEOF
59748 done
59750 else
59752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59753 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59754 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59755 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59756 $as_echo_n "(cached) " >&6
59757 else
59760 ac_ext=cpp
59761 ac_cpp='$CXXCPP $CPPFLAGS'
59762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59767 /* end confdefs.h. */
59768 #include <math.h>
59770 main ()
59772 _ldexpl(0, 0);
59774 return 0;
59776 _ACEOF
59777 if ac_fn_cxx_try_compile "$LINENO"; then :
59778 glibcxx_cv_func__ldexpl_use=yes
59779 else
59780 glibcxx_cv_func__ldexpl_use=no
59782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59783 ac_ext=c
59784 ac_cpp='$CPP $CPPFLAGS'
59785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59794 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59796 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59797 for ac_func in _ldexpl
59798 do :
59799 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59800 if test "x$ac_cv_func__ldexpl" = xyes; then :
59801 cat >>confdefs.h <<_ACEOF
59802 #define HAVE__LDEXPL 1
59803 _ACEOF
59806 done
59815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59816 $as_echo_n "checking for logl declaration... " >&6; }
59817 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59818 if ${glibcxx_cv_func_logl_use+:} false; then :
59819 $as_echo_n "(cached) " >&6
59820 else
59823 ac_ext=cpp
59824 ac_cpp='$CXXCPP $CPPFLAGS'
59825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59830 /* end confdefs.h. */
59831 #include <math.h>
59832 #ifdef HAVE_IEEEFP_H
59833 #include <ieeefp.h>
59834 #endif
59837 main ()
59839 logl(0);
59841 return 0;
59843 _ACEOF
59844 if ac_fn_cxx_try_compile "$LINENO"; then :
59845 glibcxx_cv_func_logl_use=yes
59846 else
59847 glibcxx_cv_func_logl_use=no
59849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59850 ac_ext=c
59851 ac_cpp='$CPP $CPPFLAGS'
59852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59861 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59863 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59864 for ac_func in logl
59865 do :
59866 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59867 if test "x$ac_cv_func_logl" = xyes; then :
59868 cat >>confdefs.h <<_ACEOF
59869 #define HAVE_LOGL 1
59870 _ACEOF
59873 done
59875 else
59877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59878 $as_echo_n "checking for _logl declaration... " >&6; }
59879 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59880 if ${glibcxx_cv_func__logl_use+:} false; then :
59881 $as_echo_n "(cached) " >&6
59882 else
59885 ac_ext=cpp
59886 ac_cpp='$CXXCPP $CPPFLAGS'
59887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59892 /* end confdefs.h. */
59893 #include <math.h>
59894 #ifdef HAVE_IEEEFP_H
59895 #include <ieeefp.h>
59896 #endif
59899 main ()
59901 _logl(0);
59903 return 0;
59905 _ACEOF
59906 if ac_fn_cxx_try_compile "$LINENO"; then :
59907 glibcxx_cv_func__logl_use=yes
59908 else
59909 glibcxx_cv_func__logl_use=no
59911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59912 ac_ext=c
59913 ac_cpp='$CPP $CPPFLAGS'
59914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59923 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59925 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59926 for ac_func in _logl
59927 do :
59928 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59929 if test "x$ac_cv_func__logl" = xyes; then :
59930 cat >>confdefs.h <<_ACEOF
59931 #define HAVE__LOGL 1
59932 _ACEOF
59935 done
59944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59945 $as_echo_n "checking for log10l declaration... " >&6; }
59946 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59947 if ${glibcxx_cv_func_log10l_use+:} false; then :
59948 $as_echo_n "(cached) " >&6
59949 else
59952 ac_ext=cpp
59953 ac_cpp='$CXXCPP $CPPFLAGS'
59954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59959 /* end confdefs.h. */
59960 #include <math.h>
59961 #ifdef HAVE_IEEEFP_H
59962 #include <ieeefp.h>
59963 #endif
59966 main ()
59968 log10l(0);
59970 return 0;
59972 _ACEOF
59973 if ac_fn_cxx_try_compile "$LINENO"; then :
59974 glibcxx_cv_func_log10l_use=yes
59975 else
59976 glibcxx_cv_func_log10l_use=no
59978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59979 ac_ext=c
59980 ac_cpp='$CPP $CPPFLAGS'
59981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59990 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59992 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59993 for ac_func in log10l
59994 do :
59995 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59996 if test "x$ac_cv_func_log10l" = xyes; then :
59997 cat >>confdefs.h <<_ACEOF
59998 #define HAVE_LOG10L 1
59999 _ACEOF
60002 done
60004 else
60006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
60007 $as_echo_n "checking for _log10l declaration... " >&6; }
60008 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
60009 if ${glibcxx_cv_func__log10l_use+:} false; then :
60010 $as_echo_n "(cached) " >&6
60011 else
60014 ac_ext=cpp
60015 ac_cpp='$CXXCPP $CPPFLAGS'
60016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60021 /* end confdefs.h. */
60022 #include <math.h>
60023 #ifdef HAVE_IEEEFP_H
60024 #include <ieeefp.h>
60025 #endif
60028 main ()
60030 _log10l(0);
60032 return 0;
60034 _ACEOF
60035 if ac_fn_cxx_try_compile "$LINENO"; then :
60036 glibcxx_cv_func__log10l_use=yes
60037 else
60038 glibcxx_cv_func__log10l_use=no
60040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60041 ac_ext=c
60042 ac_cpp='$CPP $CPPFLAGS'
60043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
60052 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
60054 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
60055 for ac_func in _log10l
60056 do :
60057 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
60058 if test "x$ac_cv_func__log10l" = xyes; then :
60059 cat >>confdefs.h <<_ACEOF
60060 #define HAVE__LOG10L 1
60061 _ACEOF
60064 done
60073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
60074 $as_echo_n "checking for modfl declaration... " >&6; }
60075 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
60076 if ${glibcxx_cv_func_modfl_use+:} false; then :
60077 $as_echo_n "(cached) " >&6
60078 else
60081 ac_ext=cpp
60082 ac_cpp='$CXXCPP $CPPFLAGS'
60083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60088 /* end confdefs.h. */
60089 #include <math.h>
60091 main ()
60093 modfl(0, 0);
60095 return 0;
60097 _ACEOF
60098 if ac_fn_cxx_try_compile "$LINENO"; then :
60099 glibcxx_cv_func_modfl_use=yes
60100 else
60101 glibcxx_cv_func_modfl_use=no
60103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60104 ac_ext=c
60105 ac_cpp='$CPP $CPPFLAGS'
60106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
60115 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
60117 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
60118 for ac_func in modfl
60119 do :
60120 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
60121 if test "x$ac_cv_func_modfl" = xyes; then :
60122 cat >>confdefs.h <<_ACEOF
60123 #define HAVE_MODFL 1
60124 _ACEOF
60127 done
60129 else
60131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
60132 $as_echo_n "checking for _modfl declaration... " >&6; }
60133 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
60134 if ${glibcxx_cv_func__modfl_use+:} false; then :
60135 $as_echo_n "(cached) " >&6
60136 else
60139 ac_ext=cpp
60140 ac_cpp='$CXXCPP $CPPFLAGS'
60141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60146 /* end confdefs.h. */
60147 #include <math.h>
60149 main ()
60151 _modfl(0, 0);
60153 return 0;
60155 _ACEOF
60156 if ac_fn_cxx_try_compile "$LINENO"; then :
60157 glibcxx_cv_func__modfl_use=yes
60158 else
60159 glibcxx_cv_func__modfl_use=no
60161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60162 ac_ext=c
60163 ac_cpp='$CPP $CPPFLAGS'
60164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
60173 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
60175 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60176 for ac_func in _modfl
60177 do :
60178 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
60179 if test "x$ac_cv_func__modfl" = xyes; then :
60180 cat >>confdefs.h <<_ACEOF
60181 #define HAVE__MODFL 1
60182 _ACEOF
60185 done
60194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
60195 $as_echo_n "checking for powl declaration... " >&6; }
60196 if test x${glibcxx_cv_func_powl_use+set} != xset; then
60197 if ${glibcxx_cv_func_powl_use+:} false; then :
60198 $as_echo_n "(cached) " >&6
60199 else
60202 ac_ext=cpp
60203 ac_cpp='$CXXCPP $CPPFLAGS'
60204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60209 /* end confdefs.h. */
60210 #include <math.h>
60212 main ()
60214 powl(0, 0);
60216 return 0;
60218 _ACEOF
60219 if ac_fn_cxx_try_compile "$LINENO"; then :
60220 glibcxx_cv_func_powl_use=yes
60221 else
60222 glibcxx_cv_func_powl_use=no
60224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60225 ac_ext=c
60226 ac_cpp='$CPP $CPPFLAGS'
60227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60236 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
60238 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60239 for ac_func in powl
60240 do :
60241 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60242 if test "x$ac_cv_func_powl" = xyes; then :
60243 cat >>confdefs.h <<_ACEOF
60244 #define HAVE_POWL 1
60245 _ACEOF
60248 done
60250 else
60252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60253 $as_echo_n "checking for _powl declaration... " >&6; }
60254 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60255 if ${glibcxx_cv_func__powl_use+:} false; then :
60256 $as_echo_n "(cached) " >&6
60257 else
60260 ac_ext=cpp
60261 ac_cpp='$CXXCPP $CPPFLAGS'
60262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60267 /* end confdefs.h. */
60268 #include <math.h>
60270 main ()
60272 _powl(0, 0);
60274 return 0;
60276 _ACEOF
60277 if ac_fn_cxx_try_compile "$LINENO"; then :
60278 glibcxx_cv_func__powl_use=yes
60279 else
60280 glibcxx_cv_func__powl_use=no
60282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60283 ac_ext=c
60284 ac_cpp='$CPP $CPPFLAGS'
60285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60294 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60296 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60297 for ac_func in _powl
60298 do :
60299 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60300 if test "x$ac_cv_func__powl" = xyes; then :
60301 cat >>confdefs.h <<_ACEOF
60302 #define HAVE__POWL 1
60303 _ACEOF
60306 done
60315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60316 $as_echo_n "checking for sqrtl declaration... " >&6; }
60317 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60318 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60319 $as_echo_n "(cached) " >&6
60320 else
60323 ac_ext=cpp
60324 ac_cpp='$CXXCPP $CPPFLAGS'
60325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60330 /* end confdefs.h. */
60331 #include <math.h>
60332 #ifdef HAVE_IEEEFP_H
60333 #include <ieeefp.h>
60334 #endif
60337 main ()
60339 sqrtl(0);
60341 return 0;
60343 _ACEOF
60344 if ac_fn_cxx_try_compile "$LINENO"; then :
60345 glibcxx_cv_func_sqrtl_use=yes
60346 else
60347 glibcxx_cv_func_sqrtl_use=no
60349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60350 ac_ext=c
60351 ac_cpp='$CPP $CPPFLAGS'
60352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60361 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60363 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60364 for ac_func in sqrtl
60365 do :
60366 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60367 if test "x$ac_cv_func_sqrtl" = xyes; then :
60368 cat >>confdefs.h <<_ACEOF
60369 #define HAVE_SQRTL 1
60370 _ACEOF
60373 done
60375 else
60377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60378 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60379 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60380 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60381 $as_echo_n "(cached) " >&6
60382 else
60385 ac_ext=cpp
60386 ac_cpp='$CXXCPP $CPPFLAGS'
60387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60392 /* end confdefs.h. */
60393 #include <math.h>
60394 #ifdef HAVE_IEEEFP_H
60395 #include <ieeefp.h>
60396 #endif
60399 main ()
60401 _sqrtl(0);
60403 return 0;
60405 _ACEOF
60406 if ac_fn_cxx_try_compile "$LINENO"; then :
60407 glibcxx_cv_func__sqrtl_use=yes
60408 else
60409 glibcxx_cv_func__sqrtl_use=no
60411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60412 ac_ext=c
60413 ac_cpp='$CPP $CPPFLAGS'
60414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60423 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60425 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60426 for ac_func in _sqrtl
60427 do :
60428 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60429 if test "x$ac_cv_func__sqrtl" = xyes; then :
60430 cat >>confdefs.h <<_ACEOF
60431 #define HAVE__SQRTL 1
60432 _ACEOF
60435 done
60444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60445 $as_echo_n "checking for sincosl declaration... " >&6; }
60446 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60447 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60448 $as_echo_n "(cached) " >&6
60449 else
60452 ac_ext=cpp
60453 ac_cpp='$CXXCPP $CPPFLAGS'
60454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60459 /* end confdefs.h. */
60460 #include <math.h>
60462 main ()
60464 sincosl(0, 0, 0);
60466 return 0;
60468 _ACEOF
60469 if ac_fn_cxx_try_compile "$LINENO"; then :
60470 glibcxx_cv_func_sincosl_use=yes
60471 else
60472 glibcxx_cv_func_sincosl_use=no
60474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60475 ac_ext=c
60476 ac_cpp='$CPP $CPPFLAGS'
60477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60486 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60488 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60489 for ac_func in sincosl
60490 do :
60491 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60492 if test "x$ac_cv_func_sincosl" = xyes; then :
60493 cat >>confdefs.h <<_ACEOF
60494 #define HAVE_SINCOSL 1
60495 _ACEOF
60498 done
60500 else
60502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60503 $as_echo_n "checking for _sincosl declaration... " >&6; }
60504 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60505 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60506 $as_echo_n "(cached) " >&6
60507 else
60510 ac_ext=cpp
60511 ac_cpp='$CXXCPP $CPPFLAGS'
60512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60517 /* end confdefs.h. */
60518 #include <math.h>
60520 main ()
60522 _sincosl(0, 0, 0);
60524 return 0;
60526 _ACEOF
60527 if ac_fn_cxx_try_compile "$LINENO"; then :
60528 glibcxx_cv_func__sincosl_use=yes
60529 else
60530 glibcxx_cv_func__sincosl_use=no
60532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60533 ac_ext=c
60534 ac_cpp='$CPP $CPPFLAGS'
60535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60544 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60546 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60547 for ac_func in _sincosl
60548 do :
60549 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60550 if test "x$ac_cv_func__sincosl" = xyes; then :
60551 cat >>confdefs.h <<_ACEOF
60552 #define HAVE__SINCOSL 1
60553 _ACEOF
60556 done
60565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60566 $as_echo_n "checking for finitel declaration... " >&6; }
60567 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60568 if ${glibcxx_cv_func_finitel_use+:} false; then :
60569 $as_echo_n "(cached) " >&6
60570 else
60573 ac_ext=cpp
60574 ac_cpp='$CXXCPP $CPPFLAGS'
60575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60580 /* end confdefs.h. */
60581 #include <math.h>
60582 #ifdef HAVE_IEEEFP_H
60583 #include <ieeefp.h>
60584 #endif
60587 main ()
60589 finitel(0);
60591 return 0;
60593 _ACEOF
60594 if ac_fn_cxx_try_compile "$LINENO"; then :
60595 glibcxx_cv_func_finitel_use=yes
60596 else
60597 glibcxx_cv_func_finitel_use=no
60599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60600 ac_ext=c
60601 ac_cpp='$CPP $CPPFLAGS'
60602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60611 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60613 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60614 for ac_func in finitel
60615 do :
60616 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60617 if test "x$ac_cv_func_finitel" = xyes; then :
60618 cat >>confdefs.h <<_ACEOF
60619 #define HAVE_FINITEL 1
60620 _ACEOF
60623 done
60625 else
60627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60628 $as_echo_n "checking for _finitel declaration... " >&6; }
60629 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60630 if ${glibcxx_cv_func__finitel_use+:} false; then :
60631 $as_echo_n "(cached) " >&6
60632 else
60635 ac_ext=cpp
60636 ac_cpp='$CXXCPP $CPPFLAGS'
60637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60642 /* end confdefs.h. */
60643 #include <math.h>
60644 #ifdef HAVE_IEEEFP_H
60645 #include <ieeefp.h>
60646 #endif
60649 main ()
60651 _finitel(0);
60653 return 0;
60655 _ACEOF
60656 if ac_fn_cxx_try_compile "$LINENO"; then :
60657 glibcxx_cv_func__finitel_use=yes
60658 else
60659 glibcxx_cv_func__finitel_use=no
60661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60662 ac_ext=c
60663 ac_cpp='$CPP $CPPFLAGS'
60664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60673 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60675 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60676 for ac_func in _finitel
60677 do :
60678 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60679 if test "x$ac_cv_func__finitel" = xyes; then :
60680 cat >>confdefs.h <<_ACEOF
60681 #define HAVE__FINITEL 1
60682 _ACEOF
60685 done
60693 LIBS="$ac_save_LIBS"
60694 CXXFLAGS="$ac_save_CXXFLAGS"
60697 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60698 ac_save_CXXFLAGS="$CXXFLAGS"
60699 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60703 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60704 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60705 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60706 $as_echo_n "(cached) " >&6
60707 else
60710 ac_ext=cpp
60711 ac_cpp='$CXXCPP $CPPFLAGS'
60712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60717 /* end confdefs.h. */
60718 #include <stdlib.h>
60720 main ()
60722 at_quick_exit(0);
60724 return 0;
60726 _ACEOF
60727 if ac_fn_cxx_try_compile "$LINENO"; then :
60728 glibcxx_cv_func_at_quick_exit_use=yes
60729 else
60730 glibcxx_cv_func_at_quick_exit_use=no
60732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60733 ac_ext=c
60734 ac_cpp='$CPP $CPPFLAGS'
60735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60744 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60745 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60746 for ac_func in at_quick_exit
60747 do :
60748 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60749 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60750 cat >>confdefs.h <<_ACEOF
60751 #define HAVE_AT_QUICK_EXIT 1
60752 _ACEOF
60755 done
60760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60761 $as_echo_n "checking for quick_exit declaration... " >&6; }
60762 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60763 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60764 $as_echo_n "(cached) " >&6
60765 else
60768 ac_ext=cpp
60769 ac_cpp='$CXXCPP $CPPFLAGS'
60770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60775 /* end confdefs.h. */
60776 #include <stdlib.h>
60778 main ()
60780 quick_exit(0);
60782 return 0;
60784 _ACEOF
60785 if ac_fn_cxx_try_compile "$LINENO"; then :
60786 glibcxx_cv_func_quick_exit_use=yes
60787 else
60788 glibcxx_cv_func_quick_exit_use=no
60790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60791 ac_ext=c
60792 ac_cpp='$CPP $CPPFLAGS'
60793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60802 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60803 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60804 for ac_func in quick_exit
60805 do :
60806 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60807 if test "x$ac_cv_func_quick_exit" = xyes; then :
60808 cat >>confdefs.h <<_ACEOF
60809 #define HAVE_QUICK_EXIT 1
60810 _ACEOF
60813 done
60818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60819 $as_echo_n "checking for strtold declaration... " >&6; }
60820 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60821 if ${glibcxx_cv_func_strtold_use+:} false; then :
60822 $as_echo_n "(cached) " >&6
60823 else
60826 ac_ext=cpp
60827 ac_cpp='$CXXCPP $CPPFLAGS'
60828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60833 /* end confdefs.h. */
60834 #include <stdlib.h>
60836 main ()
60838 strtold(0, 0);
60840 return 0;
60842 _ACEOF
60843 if ac_fn_cxx_try_compile "$LINENO"; then :
60844 glibcxx_cv_func_strtold_use=yes
60845 else
60846 glibcxx_cv_func_strtold_use=no
60848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60849 ac_ext=c
60850 ac_cpp='$CPP $CPPFLAGS'
60851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60860 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60861 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60862 for ac_func in strtold
60863 do :
60864 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60865 if test "x$ac_cv_func_strtold" = xyes; then :
60866 cat >>confdefs.h <<_ACEOF
60867 #define HAVE_STRTOLD 1
60868 _ACEOF
60871 done
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60879 $as_echo_n "checking for strtof declaration... " >&6; }
60880 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60881 if ${glibcxx_cv_func_strtof_use+:} false; then :
60882 $as_echo_n "(cached) " >&6
60883 else
60886 ac_ext=cpp
60887 ac_cpp='$CXXCPP $CPPFLAGS'
60888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60893 /* end confdefs.h. */
60894 #include <stdlib.h>
60896 main ()
60898 strtof(0, 0);
60900 return 0;
60902 _ACEOF
60903 if ac_fn_cxx_try_compile "$LINENO"; then :
60904 glibcxx_cv_func_strtof_use=yes
60905 else
60906 glibcxx_cv_func_strtof_use=no
60908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60909 ac_ext=c
60910 ac_cpp='$CPP $CPPFLAGS'
60911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60920 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60921 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60922 for ac_func in strtof
60923 do :
60924 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60925 if test "x$ac_cv_func_strtof" = xyes; then :
60926 cat >>confdefs.h <<_ACEOF
60927 #define HAVE_STRTOF 1
60928 _ACEOF
60931 done
60938 CXXFLAGS="$ac_save_CXXFLAGS"
60940 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60941 do :
60942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60945 cat >>confdefs.h <<_ACEOF
60946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60947 _ACEOF
60950 done
60952 for ac_func in _wfopen
60953 do :
60954 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60955 if test "x$ac_cv_func__wfopen" = xyes; then :
60956 cat >>confdefs.h <<_ACEOF
60957 #define HAVE__WFOPEN 1
60958 _ACEOF
60961 done
60964 *-netbsd* | *-openbsd*)
60965 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60968 # If we're not using GNU ld, then there's no point in even trying these
60969 # tests. Check for that first. We should have already tested for gld
60970 # by now (in libtool), but require it now just to be safe...
60971 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60972 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60976 # The name set by libtool depends on the version of libtool. Shame on us
60977 # for depending on an impl detail, but c'est la vie. Older versions used
60978 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60979 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60980 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60981 # set (hence we're using an older libtool), then set it.
60982 if test x${with_gnu_ld+set} != xset; then
60983 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60984 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60985 with_gnu_ld=no
60986 else
60987 with_gnu_ld=$ac_cv_prog_gnu_ld
60991 # Start by getting the version number. I think the libtool test already
60992 # does some of this, but throws away the result.
60993 glibcxx_ld_is_gold=no
60994 if test x"$with_gnu_ld" = x"yes"; then
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60996 $as_echo_n "checking for ld version... " >&6; }
60998 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60999 glibcxx_ld_is_gold=yes
61001 ldver=`$LD --version 2>/dev/null |
61002 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61004 glibcxx_gnu_ld_version=`echo $ldver | \
61005 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61007 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61010 # Set --gc-sections.
61011 glibcxx_have_gc_sections=no
61012 if test "$glibcxx_ld_is_gold" = "yes"; then
61013 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61014 glibcxx_have_gc_sections=yes
61016 else
61017 glibcxx_gcsections_min_ld=21602
61018 if test x"$with_gnu_ld" = x"yes" &&
61019 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61020 glibcxx_have_gc_sections=yes
61023 if test "$glibcxx_have_gc_sections" = "yes"; then
61024 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61025 # NB: This flag only works reliably after 2.16.1. Configure tests
61026 # for this are difficult, so hard wire a value that should work.
61028 ac_test_CFLAGS="${CFLAGS+set}"
61029 ac_save_CFLAGS="$CFLAGS"
61030 CFLAGS='-Wl,--gc-sections'
61032 # Check for -Wl,--gc-sections
61033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61034 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61035 if test x$gcc_no_link = xyes; then
61036 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61039 /* end confdefs.h. */
61040 int one(void) { return 1; }
61041 int two(void) { return 2; }
61044 main ()
61046 two();
61048 return 0;
61050 _ACEOF
61051 if ac_fn_c_try_link "$LINENO"; then :
61052 ac_gcsections=yes
61053 else
61054 ac_gcsections=no
61056 rm -f core conftest.err conftest.$ac_objext \
61057 conftest$ac_exeext conftest.$ac_ext
61058 if test "$ac_gcsections" = "yes"; then
61059 rm -f conftest.c
61060 touch conftest.c
61061 if $CC -c conftest.c; then
61062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61063 grep "Warning: gc-sections option ignored" > /dev/null; then
61064 ac_gcsections=no
61067 rm -f conftest.c conftest.o conftest
61069 if test "$ac_gcsections" = "yes"; then
61070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61073 $as_echo "$ac_gcsections" >&6; }
61075 if test "$ac_test_CFLAGS" = set; then
61076 CFLAGS="$ac_save_CFLAGS"
61077 else
61078 # this is the suspicious part
61079 CFLAGS=''
61083 # Set -z,relro.
61084 # Note this is only for shared objects.
61085 ac_ld_relro=no
61086 if test x"$with_gnu_ld" = x"yes"; then
61087 # cygwin and mingw uses PE, which has no ELF relro support,
61088 # multi target ld may confuse configure machinery
61089 case "$host" in
61090 *-*-cygwin*)
61092 *-*-mingw*)
61095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61096 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61097 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61098 if test -n "$cxx_z_relo"; then
61099 OPT_LDFLAGS="-Wl,-z,relro"
61100 ac_ld_relro=yes
61102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61103 $as_echo "$ac_ld_relro" >&6; }
61104 esac
61107 # Set linker optimization flags.
61108 if test x"$with_gnu_ld" = x"yes"; then
61109 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61115 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61117 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61119 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61121 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61123 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61125 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61127 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61129 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61131 if test x"long_double_math_on_this_cpu" = x"yes"; then
61132 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61134 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61136 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61139 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
61140 do :
61141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61143 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61144 cat >>confdefs.h <<_ACEOF
61145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61146 _ACEOF
61149 done
61151 for ac_func in timespec_get
61152 do :
61153 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61154 if test "x$ac_cv_func_timespec_get" = xyes; then :
61155 cat >>confdefs.h <<_ACEOF
61156 #define HAVE_TIMESPEC_GET 1
61157 _ACEOF
61160 done
61162 for ac_func in sockatmark
61163 do :
61164 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61165 if test "x$ac_cv_func_sockatmark" = xyes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define HAVE_SOCKATMARK 1
61168 _ACEOF
61171 done
61174 *-qnx6.1* | *-qnx6.2*)
61175 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61178 # If we're not using GNU ld, then there's no point in even trying these
61179 # tests. Check for that first. We should have already tested for gld
61180 # by now (in libtool), but require it now just to be safe...
61181 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61182 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61186 # The name set by libtool depends on the version of libtool. Shame on us
61187 # for depending on an impl detail, but c'est la vie. Older versions used
61188 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61189 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61190 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61191 # set (hence we're using an older libtool), then set it.
61192 if test x${with_gnu_ld+set} != xset; then
61193 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61194 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61195 with_gnu_ld=no
61196 else
61197 with_gnu_ld=$ac_cv_prog_gnu_ld
61201 # Start by getting the version number. I think the libtool test already
61202 # does some of this, but throws away the result.
61203 glibcxx_ld_is_gold=no
61204 if test x"$with_gnu_ld" = x"yes"; then
61205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61206 $as_echo_n "checking for ld version... " >&6; }
61208 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61209 glibcxx_ld_is_gold=yes
61211 ldver=`$LD --version 2>/dev/null |
61212 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61214 glibcxx_gnu_ld_version=`echo $ldver | \
61215 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61217 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61220 # Set --gc-sections.
61221 glibcxx_have_gc_sections=no
61222 if test "$glibcxx_ld_is_gold" = "yes"; then
61223 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61224 glibcxx_have_gc_sections=yes
61226 else
61227 glibcxx_gcsections_min_ld=21602
61228 if test x"$with_gnu_ld" = x"yes" &&
61229 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61230 glibcxx_have_gc_sections=yes
61233 if test "$glibcxx_have_gc_sections" = "yes"; then
61234 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61235 # NB: This flag only works reliably after 2.16.1. Configure tests
61236 # for this are difficult, so hard wire a value that should work.
61238 ac_test_CFLAGS="${CFLAGS+set}"
61239 ac_save_CFLAGS="$CFLAGS"
61240 CFLAGS='-Wl,--gc-sections'
61242 # Check for -Wl,--gc-sections
61243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61244 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61245 if test x$gcc_no_link = xyes; then
61246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 int one(void) { return 1; }
61251 int two(void) { return 2; }
61254 main ()
61256 two();
61258 return 0;
61260 _ACEOF
61261 if ac_fn_c_try_link "$LINENO"; then :
61262 ac_gcsections=yes
61263 else
61264 ac_gcsections=no
61266 rm -f core conftest.err conftest.$ac_objext \
61267 conftest$ac_exeext conftest.$ac_ext
61268 if test "$ac_gcsections" = "yes"; then
61269 rm -f conftest.c
61270 touch conftest.c
61271 if $CC -c conftest.c; then
61272 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61273 grep "Warning: gc-sections option ignored" > /dev/null; then
61274 ac_gcsections=no
61277 rm -f conftest.c conftest.o conftest
61279 if test "$ac_gcsections" = "yes"; then
61280 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61283 $as_echo "$ac_gcsections" >&6; }
61285 if test "$ac_test_CFLAGS" = set; then
61286 CFLAGS="$ac_save_CFLAGS"
61287 else
61288 # this is the suspicious part
61289 CFLAGS=''
61293 # Set -z,relro.
61294 # Note this is only for shared objects.
61295 ac_ld_relro=no
61296 if test x"$with_gnu_ld" = x"yes"; then
61297 # cygwin and mingw uses PE, which has no ELF relro support,
61298 # multi target ld may confuse configure machinery
61299 case "$host" in
61300 *-*-cygwin*)
61302 *-*-mingw*)
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61306 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61307 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61308 if test -n "$cxx_z_relo"; then
61309 OPT_LDFLAGS="-Wl,-z,relro"
61310 ac_ld_relro=yes
61312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61313 $as_echo "$ac_ld_relro" >&6; }
61314 esac
61317 # Set linker optimization flags.
61318 if test x"$with_gnu_ld" = x"yes"; then
61319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61325 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61327 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61329 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61331 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61333 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61335 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61337 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61339 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61341 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61343 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61345 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61347 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61350 *-rtems*)
61352 # All these tests are for C++; save the language and the compiler flags.
61353 # The CXXFLAGS thing is suspicious, but based on similar bits previously
61354 # found in GLIBCXX_CONFIGURE.
61356 ac_ext=cpp
61357 ac_cpp='$CXXCPP $CPPFLAGS'
61358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61363 ac_save_CXXFLAGS="$CXXFLAGS"
61365 # Check for -ffunction-sections -fdata-sections
61366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
61367 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
61368 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
61369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61370 /* end confdefs.h. */
61371 int foo; void bar() { };
61373 main ()
61377 return 0;
61379 _ACEOF
61380 if ac_fn_cxx_try_compile "$LINENO"; then :
61381 ac_fdsections=yes
61382 else
61383 ac_fdsections=no
61385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61386 if test "$ac_test_CXXFLAGS" = set; then
61387 CXXFLAGS="$ac_save_CXXFLAGS"
61388 else
61389 # this is the suspicious part
61390 CXXFLAGS=''
61392 if test x"$ac_fdsections" = x"yes"; then
61393 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
61396 $as_echo "$ac_fdsections" >&6; }
61398 ac_ext=c
61399 ac_cpp='$CPP $CPPFLAGS'
61400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61407 # If we're not using GNU ld, then there's no point in even trying these
61408 # tests. Check for that first. We should have already tested for gld
61409 # by now (in libtool), but require it now just to be safe...
61410 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61411 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61415 # The name set by libtool depends on the version of libtool. Shame on us
61416 # for depending on an impl detail, but c'est la vie. Older versions used
61417 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61418 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61419 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61420 # set (hence we're using an older libtool), then set it.
61421 if test x${with_gnu_ld+set} != xset; then
61422 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61423 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61424 with_gnu_ld=no
61425 else
61426 with_gnu_ld=$ac_cv_prog_gnu_ld
61430 # Start by getting the version number. I think the libtool test already
61431 # does some of this, but throws away the result.
61432 glibcxx_ld_is_gold=no
61433 if test x"$with_gnu_ld" = x"yes"; then
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61435 $as_echo_n "checking for ld version... " >&6; }
61437 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61438 glibcxx_ld_is_gold=yes
61440 ldver=`$LD --version 2>/dev/null |
61441 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61443 glibcxx_gnu_ld_version=`echo $ldver | \
61444 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61446 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61449 # Set --gc-sections.
61450 glibcxx_have_gc_sections=no
61451 if test "$glibcxx_ld_is_gold" = "yes"; then
61452 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61453 glibcxx_have_gc_sections=yes
61455 else
61456 glibcxx_gcsections_min_ld=21602
61457 if test x"$with_gnu_ld" = x"yes" &&
61458 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61459 glibcxx_have_gc_sections=yes
61462 if test "$glibcxx_have_gc_sections" = "yes"; then
61463 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61464 # NB: This flag only works reliably after 2.16.1. Configure tests
61465 # for this are difficult, so hard wire a value that should work.
61467 ac_test_CFLAGS="${CFLAGS+set}"
61468 ac_save_CFLAGS="$CFLAGS"
61469 CFLAGS='-Wl,--gc-sections'
61471 # Check for -Wl,--gc-sections
61472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61473 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61474 if test x$gcc_no_link = xyes; then
61475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61478 /* end confdefs.h. */
61479 int one(void) { return 1; }
61480 int two(void) { return 2; }
61483 main ()
61485 two();
61487 return 0;
61489 _ACEOF
61490 if ac_fn_c_try_link "$LINENO"; then :
61491 ac_gcsections=yes
61492 else
61493 ac_gcsections=no
61495 rm -f core conftest.err conftest.$ac_objext \
61496 conftest$ac_exeext conftest.$ac_ext
61497 if test "$ac_gcsections" = "yes"; then
61498 rm -f conftest.c
61499 touch conftest.c
61500 if $CC -c conftest.c; then
61501 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61502 grep "Warning: gc-sections option ignored" > /dev/null; then
61503 ac_gcsections=no
61506 rm -f conftest.c conftest.o conftest
61508 if test "$ac_gcsections" = "yes"; then
61509 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61512 $as_echo "$ac_gcsections" >&6; }
61514 if test "$ac_test_CFLAGS" = set; then
61515 CFLAGS="$ac_save_CFLAGS"
61516 else
61517 # this is the suspicious part
61518 CFLAGS=''
61522 # Set -z,relro.
61523 # Note this is only for shared objects.
61524 ac_ld_relro=no
61525 if test x"$with_gnu_ld" = x"yes"; then
61526 # cygwin and mingw uses PE, which has no ELF relro support,
61527 # multi target ld may confuse configure machinery
61528 case "$host" in
61529 *-*-cygwin*)
61531 *-*-mingw*)
61534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61535 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61536 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61537 if test -n "$cxx_z_relo"; then
61538 OPT_LDFLAGS="-Wl,-z,relro"
61539 ac_ld_relro=yes
61541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61542 $as_echo "$ac_ld_relro" >&6; }
61543 esac
61546 # Set linker optimization flags.
61547 if test x"$with_gnu_ld" = x"yes"; then
61548 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61555 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61556 ac_save_CXXFLAGS="$CXXFLAGS"
61557 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61560 $as_echo_n "checking for sin in -lm... " >&6; }
61561 if ${ac_cv_lib_m_sin+:} false; then :
61562 $as_echo_n "(cached) " >&6
61563 else
61564 ac_check_lib_save_LIBS=$LIBS
61565 LIBS="-lm $LIBS"
61566 if test x$gcc_no_link = xyes; then
61567 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61570 /* end confdefs.h. */
61572 /* Override any GCC internal prototype to avoid an error.
61573 Use char because int might match the return type of a GCC
61574 builtin and then its argument prototype would still apply. */
61575 #ifdef __cplusplus
61576 extern "C"
61577 #endif
61578 char sin ();
61580 main ()
61582 return sin ();
61584 return 0;
61586 _ACEOF
61587 if ac_fn_c_try_link "$LINENO"; then :
61588 ac_cv_lib_m_sin=yes
61589 else
61590 ac_cv_lib_m_sin=no
61592 rm -f core conftest.err conftest.$ac_objext \
61593 conftest$ac_exeext conftest.$ac_ext
61594 LIBS=$ac_check_lib_save_LIBS
61596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61597 $as_echo "$ac_cv_lib_m_sin" >&6; }
61598 if test "x$ac_cv_lib_m_sin" = xyes; then :
61599 libm="-lm"
61602 ac_save_LIBS="$LIBS"
61603 LIBS="$LIBS $libm"
61607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61608 $as_echo_n "checking for isinf declaration... " >&6; }
61609 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61610 if ${glibcxx_cv_func_isinf_use+:} false; then :
61611 $as_echo_n "(cached) " >&6
61612 else
61615 ac_ext=cpp
61616 ac_cpp='$CXXCPP $CPPFLAGS'
61617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61622 /* end confdefs.h. */
61623 #include <math.h>
61624 #ifdef HAVE_IEEEFP_H
61625 #include <ieeefp.h>
61626 #endif
61629 main ()
61631 isinf(0);
61633 return 0;
61635 _ACEOF
61636 if ac_fn_cxx_try_compile "$LINENO"; then :
61637 glibcxx_cv_func_isinf_use=yes
61638 else
61639 glibcxx_cv_func_isinf_use=no
61641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61642 ac_ext=c
61643 ac_cpp='$CPP $CPPFLAGS'
61644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61653 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61655 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61656 for ac_func in isinf
61657 do :
61658 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61659 if test "x$ac_cv_func_isinf" = xyes; then :
61660 cat >>confdefs.h <<_ACEOF
61661 #define HAVE_ISINF 1
61662 _ACEOF
61665 done
61667 else
61669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61670 $as_echo_n "checking for _isinf declaration... " >&6; }
61671 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61672 if ${glibcxx_cv_func__isinf_use+:} false; then :
61673 $as_echo_n "(cached) " >&6
61674 else
61677 ac_ext=cpp
61678 ac_cpp='$CXXCPP $CPPFLAGS'
61679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61684 /* end confdefs.h. */
61685 #include <math.h>
61686 #ifdef HAVE_IEEEFP_H
61687 #include <ieeefp.h>
61688 #endif
61691 main ()
61693 _isinf(0);
61695 return 0;
61697 _ACEOF
61698 if ac_fn_cxx_try_compile "$LINENO"; then :
61699 glibcxx_cv_func__isinf_use=yes
61700 else
61701 glibcxx_cv_func__isinf_use=no
61703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61704 ac_ext=c
61705 ac_cpp='$CPP $CPPFLAGS'
61706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61715 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61717 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61718 for ac_func in _isinf
61719 do :
61720 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61721 if test "x$ac_cv_func__isinf" = xyes; then :
61722 cat >>confdefs.h <<_ACEOF
61723 #define HAVE__ISINF 1
61724 _ACEOF
61727 done
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61737 $as_echo_n "checking for isnan declaration... " >&6; }
61738 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61739 if ${glibcxx_cv_func_isnan_use+:} false; then :
61740 $as_echo_n "(cached) " >&6
61741 else
61744 ac_ext=cpp
61745 ac_cpp='$CXXCPP $CPPFLAGS'
61746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61751 /* end confdefs.h. */
61752 #include <math.h>
61753 #ifdef HAVE_IEEEFP_H
61754 #include <ieeefp.h>
61755 #endif
61758 main ()
61760 isnan(0);
61762 return 0;
61764 _ACEOF
61765 if ac_fn_cxx_try_compile "$LINENO"; then :
61766 glibcxx_cv_func_isnan_use=yes
61767 else
61768 glibcxx_cv_func_isnan_use=no
61770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61771 ac_ext=c
61772 ac_cpp='$CPP $CPPFLAGS'
61773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61782 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61784 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61785 for ac_func in isnan
61786 do :
61787 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61788 if test "x$ac_cv_func_isnan" = xyes; then :
61789 cat >>confdefs.h <<_ACEOF
61790 #define HAVE_ISNAN 1
61791 _ACEOF
61794 done
61796 else
61798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61799 $as_echo_n "checking for _isnan declaration... " >&6; }
61800 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61801 if ${glibcxx_cv_func__isnan_use+:} false; then :
61802 $as_echo_n "(cached) " >&6
61803 else
61806 ac_ext=cpp
61807 ac_cpp='$CXXCPP $CPPFLAGS'
61808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61813 /* end confdefs.h. */
61814 #include <math.h>
61815 #ifdef HAVE_IEEEFP_H
61816 #include <ieeefp.h>
61817 #endif
61820 main ()
61822 _isnan(0);
61824 return 0;
61826 _ACEOF
61827 if ac_fn_cxx_try_compile "$LINENO"; then :
61828 glibcxx_cv_func__isnan_use=yes
61829 else
61830 glibcxx_cv_func__isnan_use=no
61832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61833 ac_ext=c
61834 ac_cpp='$CPP $CPPFLAGS'
61835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61844 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61846 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61847 for ac_func in _isnan
61848 do :
61849 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61850 if test "x$ac_cv_func__isnan" = xyes; then :
61851 cat >>confdefs.h <<_ACEOF
61852 #define HAVE__ISNAN 1
61853 _ACEOF
61856 done
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61866 $as_echo_n "checking for finite declaration... " >&6; }
61867 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61868 if ${glibcxx_cv_func_finite_use+:} false; then :
61869 $as_echo_n "(cached) " >&6
61870 else
61873 ac_ext=cpp
61874 ac_cpp='$CXXCPP $CPPFLAGS'
61875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61880 /* end confdefs.h. */
61881 #include <math.h>
61882 #ifdef HAVE_IEEEFP_H
61883 #include <ieeefp.h>
61884 #endif
61887 main ()
61889 finite(0);
61891 return 0;
61893 _ACEOF
61894 if ac_fn_cxx_try_compile "$LINENO"; then :
61895 glibcxx_cv_func_finite_use=yes
61896 else
61897 glibcxx_cv_func_finite_use=no
61899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61900 ac_ext=c
61901 ac_cpp='$CPP $CPPFLAGS'
61902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61911 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61913 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61914 for ac_func in finite
61915 do :
61916 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61917 if test "x$ac_cv_func_finite" = xyes; then :
61918 cat >>confdefs.h <<_ACEOF
61919 #define HAVE_FINITE 1
61920 _ACEOF
61923 done
61925 else
61927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61928 $as_echo_n "checking for _finite declaration... " >&6; }
61929 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61930 if ${glibcxx_cv_func__finite_use+:} false; then :
61931 $as_echo_n "(cached) " >&6
61932 else
61935 ac_ext=cpp
61936 ac_cpp='$CXXCPP $CPPFLAGS'
61937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61942 /* end confdefs.h. */
61943 #include <math.h>
61944 #ifdef HAVE_IEEEFP_H
61945 #include <ieeefp.h>
61946 #endif
61949 main ()
61951 _finite(0);
61953 return 0;
61955 _ACEOF
61956 if ac_fn_cxx_try_compile "$LINENO"; then :
61957 glibcxx_cv_func__finite_use=yes
61958 else
61959 glibcxx_cv_func__finite_use=no
61961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61962 ac_ext=c
61963 ac_cpp='$CPP $CPPFLAGS'
61964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61973 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61975 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61976 for ac_func in _finite
61977 do :
61978 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61979 if test "x$ac_cv_func__finite" = xyes; then :
61980 cat >>confdefs.h <<_ACEOF
61981 #define HAVE__FINITE 1
61982 _ACEOF
61985 done
61994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61995 $as_echo_n "checking for sincos declaration... " >&6; }
61996 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61997 if ${glibcxx_cv_func_sincos_use+:} false; then :
61998 $as_echo_n "(cached) " >&6
61999 else
62002 ac_ext=cpp
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62009 /* end confdefs.h. */
62010 #include <math.h>
62012 main ()
62014 sincos(0, 0, 0);
62016 return 0;
62018 _ACEOF
62019 if ac_fn_cxx_try_compile "$LINENO"; then :
62020 glibcxx_cv_func_sincos_use=yes
62021 else
62022 glibcxx_cv_func_sincos_use=no
62024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62025 ac_ext=c
62026 ac_cpp='$CPP $CPPFLAGS'
62027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
62036 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
62038 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
62039 for ac_func in sincos
62040 do :
62041 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
62042 if test "x$ac_cv_func_sincos" = xyes; then :
62043 cat >>confdefs.h <<_ACEOF
62044 #define HAVE_SINCOS 1
62045 _ACEOF
62048 done
62050 else
62052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
62053 $as_echo_n "checking for _sincos declaration... " >&6; }
62054 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
62055 if ${glibcxx_cv_func__sincos_use+:} false; then :
62056 $as_echo_n "(cached) " >&6
62057 else
62060 ac_ext=cpp
62061 ac_cpp='$CXXCPP $CPPFLAGS'
62062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62067 /* end confdefs.h. */
62068 #include <math.h>
62070 main ()
62072 _sincos(0, 0, 0);
62074 return 0;
62076 _ACEOF
62077 if ac_fn_cxx_try_compile "$LINENO"; then :
62078 glibcxx_cv_func__sincos_use=yes
62079 else
62080 glibcxx_cv_func__sincos_use=no
62082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62083 ac_ext=c
62084 ac_cpp='$CPP $CPPFLAGS'
62085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
62094 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
62096 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
62097 for ac_func in _sincos
62098 do :
62099 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
62100 if test "x$ac_cv_func__sincos" = xyes; then :
62101 cat >>confdefs.h <<_ACEOF
62102 #define HAVE__SINCOS 1
62103 _ACEOF
62106 done
62115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
62116 $as_echo_n "checking for fpclass declaration... " >&6; }
62117 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
62118 if ${glibcxx_cv_func_fpclass_use+:} false; then :
62119 $as_echo_n "(cached) " >&6
62120 else
62123 ac_ext=cpp
62124 ac_cpp='$CXXCPP $CPPFLAGS'
62125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62130 /* end confdefs.h. */
62131 #include <math.h>
62132 #ifdef HAVE_IEEEFP_H
62133 #include <ieeefp.h>
62134 #endif
62137 main ()
62139 fpclass(0);
62141 return 0;
62143 _ACEOF
62144 if ac_fn_cxx_try_compile "$LINENO"; then :
62145 glibcxx_cv_func_fpclass_use=yes
62146 else
62147 glibcxx_cv_func_fpclass_use=no
62149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62150 ac_ext=c
62151 ac_cpp='$CPP $CPPFLAGS'
62152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
62161 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
62163 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
62164 for ac_func in fpclass
62165 do :
62166 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
62167 if test "x$ac_cv_func_fpclass" = xyes; then :
62168 cat >>confdefs.h <<_ACEOF
62169 #define HAVE_FPCLASS 1
62170 _ACEOF
62173 done
62175 else
62177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
62178 $as_echo_n "checking for _fpclass declaration... " >&6; }
62179 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62180 if ${glibcxx_cv_func__fpclass_use+:} false; then :
62181 $as_echo_n "(cached) " >&6
62182 else
62185 ac_ext=cpp
62186 ac_cpp='$CXXCPP $CPPFLAGS'
62187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62192 /* end confdefs.h. */
62193 #include <math.h>
62194 #ifdef HAVE_IEEEFP_H
62195 #include <ieeefp.h>
62196 #endif
62199 main ()
62201 _fpclass(0);
62203 return 0;
62205 _ACEOF
62206 if ac_fn_cxx_try_compile "$LINENO"; then :
62207 glibcxx_cv_func__fpclass_use=yes
62208 else
62209 glibcxx_cv_func__fpclass_use=no
62211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62212 ac_ext=c
62213 ac_cpp='$CPP $CPPFLAGS'
62214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62223 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62225 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62226 for ac_func in _fpclass
62227 do :
62228 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62229 if test "x$ac_cv_func__fpclass" = xyes; then :
62230 cat >>confdefs.h <<_ACEOF
62231 #define HAVE__FPCLASS 1
62232 _ACEOF
62235 done
62244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62245 $as_echo_n "checking for qfpclass declaration... " >&6; }
62246 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62247 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62248 $as_echo_n "(cached) " >&6
62249 else
62252 ac_ext=cpp
62253 ac_cpp='$CXXCPP $CPPFLAGS'
62254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62259 /* end confdefs.h. */
62260 #include <math.h>
62261 #ifdef HAVE_IEEEFP_H
62262 #include <ieeefp.h>
62263 #endif
62266 main ()
62268 qfpclass(0);
62270 return 0;
62272 _ACEOF
62273 if ac_fn_cxx_try_compile "$LINENO"; then :
62274 glibcxx_cv_func_qfpclass_use=yes
62275 else
62276 glibcxx_cv_func_qfpclass_use=no
62278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62279 ac_ext=c
62280 ac_cpp='$CPP $CPPFLAGS'
62281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62290 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62292 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62293 for ac_func in qfpclass
62294 do :
62295 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62296 if test "x$ac_cv_func_qfpclass" = xyes; then :
62297 cat >>confdefs.h <<_ACEOF
62298 #define HAVE_QFPCLASS 1
62299 _ACEOF
62302 done
62304 else
62306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62307 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62308 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62309 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62310 $as_echo_n "(cached) " >&6
62311 else
62314 ac_ext=cpp
62315 ac_cpp='$CXXCPP $CPPFLAGS'
62316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62321 /* end confdefs.h. */
62322 #include <math.h>
62323 #ifdef HAVE_IEEEFP_H
62324 #include <ieeefp.h>
62325 #endif
62328 main ()
62330 _qfpclass(0);
62332 return 0;
62334 _ACEOF
62335 if ac_fn_cxx_try_compile "$LINENO"; then :
62336 glibcxx_cv_func__qfpclass_use=yes
62337 else
62338 glibcxx_cv_func__qfpclass_use=no
62340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62341 ac_ext=c
62342 ac_cpp='$CPP $CPPFLAGS'
62343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62352 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62354 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62355 for ac_func in _qfpclass
62356 do :
62357 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62358 if test "x$ac_cv_func__qfpclass" = xyes; then :
62359 cat >>confdefs.h <<_ACEOF
62360 #define HAVE__QFPCLASS 1
62361 _ACEOF
62364 done
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62374 $as_echo_n "checking for hypot declaration... " >&6; }
62375 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62376 if ${glibcxx_cv_func_hypot_use+:} false; then :
62377 $as_echo_n "(cached) " >&6
62378 else
62381 ac_ext=cpp
62382 ac_cpp='$CXXCPP $CPPFLAGS'
62383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62388 /* end confdefs.h. */
62389 #include <math.h>
62391 main ()
62393 hypot(0, 0);
62395 return 0;
62397 _ACEOF
62398 if ac_fn_cxx_try_compile "$LINENO"; then :
62399 glibcxx_cv_func_hypot_use=yes
62400 else
62401 glibcxx_cv_func_hypot_use=no
62403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62404 ac_ext=c
62405 ac_cpp='$CPP $CPPFLAGS'
62406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62415 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62417 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62418 for ac_func in hypot
62419 do :
62420 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62421 if test "x$ac_cv_func_hypot" = xyes; then :
62422 cat >>confdefs.h <<_ACEOF
62423 #define HAVE_HYPOT 1
62424 _ACEOF
62427 done
62429 else
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62432 $as_echo_n "checking for _hypot declaration... " >&6; }
62433 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62434 if ${glibcxx_cv_func__hypot_use+:} false; then :
62435 $as_echo_n "(cached) " >&6
62436 else
62439 ac_ext=cpp
62440 ac_cpp='$CXXCPP $CPPFLAGS'
62441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62446 /* end confdefs.h. */
62447 #include <math.h>
62449 main ()
62451 _hypot(0, 0);
62453 return 0;
62455 _ACEOF
62456 if ac_fn_cxx_try_compile "$LINENO"; then :
62457 glibcxx_cv_func__hypot_use=yes
62458 else
62459 glibcxx_cv_func__hypot_use=no
62461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62462 ac_ext=c
62463 ac_cpp='$CPP $CPPFLAGS'
62464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62473 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62475 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62476 for ac_func in _hypot
62477 do :
62478 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62479 if test "x$ac_cv_func__hypot" = xyes; then :
62480 cat >>confdefs.h <<_ACEOF
62481 #define HAVE__HYPOT 1
62482 _ACEOF
62485 done
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62495 $as_echo_n "checking for float trig functions... " >&6; }
62496 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62497 $as_echo_n "(cached) " >&6
62498 else
62501 ac_ext=cpp
62502 ac_cpp='$CXXCPP $CPPFLAGS'
62503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62508 /* end confdefs.h. */
62509 #include <math.h>
62511 main ()
62513 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62515 return 0;
62517 _ACEOF
62518 if ac_fn_cxx_try_compile "$LINENO"; then :
62519 glibcxx_cv_func_float_trig_use=yes
62520 else
62521 glibcxx_cv_func_float_trig_use=no
62523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62524 ac_ext=c
62525 ac_cpp='$CPP $CPPFLAGS'
62526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62533 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62534 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62535 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62536 do :
62537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62540 cat >>confdefs.h <<_ACEOF
62541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62542 _ACEOF
62545 done
62547 else
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62549 $as_echo_n "checking for _float trig functions... " >&6; }
62550 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62551 $as_echo_n "(cached) " >&6
62552 else
62555 ac_ext=cpp
62556 ac_cpp='$CXXCPP $CPPFLAGS'
62557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62562 /* end confdefs.h. */
62563 #include <math.h>
62565 main ()
62567 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62569 return 0;
62571 _ACEOF
62572 if ac_fn_cxx_try_compile "$LINENO"; then :
62573 glibcxx_cv_func__float_trig_use=yes
62574 else
62575 glibcxx_cv_func__float_trig_use=no
62577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62578 ac_ext=c
62579 ac_cpp='$CPP $CPPFLAGS'
62580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62587 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62588 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62589 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62590 do :
62591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62593 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62594 cat >>confdefs.h <<_ACEOF
62595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62596 _ACEOF
62599 done
62608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62609 $as_echo_n "checking for float round functions... " >&6; }
62610 if ${glibcxx_cv_func_float_round_use+:} false; then :
62611 $as_echo_n "(cached) " >&6
62612 else
62615 ac_ext=cpp
62616 ac_cpp='$CXXCPP $CPPFLAGS'
62617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62622 /* end confdefs.h. */
62623 #include <math.h>
62625 main ()
62627 ceilf (0); floorf (0);
62629 return 0;
62631 _ACEOF
62632 if ac_fn_cxx_try_compile "$LINENO"; then :
62633 glibcxx_cv_func_float_round_use=yes
62634 else
62635 glibcxx_cv_func_float_round_use=no
62637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62638 ac_ext=c
62639 ac_cpp='$CPP $CPPFLAGS'
62640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62647 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62648 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62649 for ac_func in ceilf floorf
62650 do :
62651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62653 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62654 cat >>confdefs.h <<_ACEOF
62655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62656 _ACEOF
62659 done
62661 else
62662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62663 $as_echo_n "checking for _float round functions... " >&6; }
62664 if ${glibcxx_cv_func__float_round_use+:} false; then :
62665 $as_echo_n "(cached) " >&6
62666 else
62669 ac_ext=cpp
62670 ac_cpp='$CXXCPP $CPPFLAGS'
62671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62676 /* end confdefs.h. */
62677 #include <math.h>
62679 main ()
62681 _ceilf (0); _floorf (0);
62683 return 0;
62685 _ACEOF
62686 if ac_fn_cxx_try_compile "$LINENO"; then :
62687 glibcxx_cv_func__float_round_use=yes
62688 else
62689 glibcxx_cv_func__float_round_use=no
62691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62692 ac_ext=c
62693 ac_cpp='$CPP $CPPFLAGS'
62694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62701 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62702 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62703 for ac_func in _ceilf _floorf
62704 do :
62705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62708 cat >>confdefs.h <<_ACEOF
62709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62710 _ACEOF
62713 done
62723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62724 $as_echo_n "checking for expf declaration... " >&6; }
62725 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62726 if ${glibcxx_cv_func_expf_use+:} false; then :
62727 $as_echo_n "(cached) " >&6
62728 else
62731 ac_ext=cpp
62732 ac_cpp='$CXXCPP $CPPFLAGS'
62733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62738 /* end confdefs.h. */
62739 #include <math.h>
62740 #ifdef HAVE_IEEEFP_H
62741 #include <ieeefp.h>
62742 #endif
62745 main ()
62747 expf(0);
62749 return 0;
62751 _ACEOF
62752 if ac_fn_cxx_try_compile "$LINENO"; then :
62753 glibcxx_cv_func_expf_use=yes
62754 else
62755 glibcxx_cv_func_expf_use=no
62757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62758 ac_ext=c
62759 ac_cpp='$CPP $CPPFLAGS'
62760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62769 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62771 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62772 for ac_func in expf
62773 do :
62774 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62775 if test "x$ac_cv_func_expf" = xyes; then :
62776 cat >>confdefs.h <<_ACEOF
62777 #define HAVE_EXPF 1
62778 _ACEOF
62781 done
62783 else
62785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62786 $as_echo_n "checking for _expf declaration... " >&6; }
62787 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62788 if ${glibcxx_cv_func__expf_use+:} false; then :
62789 $as_echo_n "(cached) " >&6
62790 else
62793 ac_ext=cpp
62794 ac_cpp='$CXXCPP $CPPFLAGS'
62795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62800 /* end confdefs.h. */
62801 #include <math.h>
62802 #ifdef HAVE_IEEEFP_H
62803 #include <ieeefp.h>
62804 #endif
62807 main ()
62809 _expf(0);
62811 return 0;
62813 _ACEOF
62814 if ac_fn_cxx_try_compile "$LINENO"; then :
62815 glibcxx_cv_func__expf_use=yes
62816 else
62817 glibcxx_cv_func__expf_use=no
62819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62820 ac_ext=c
62821 ac_cpp='$CPP $CPPFLAGS'
62822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62831 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62833 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62834 for ac_func in _expf
62835 do :
62836 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62837 if test "x$ac_cv_func__expf" = xyes; then :
62838 cat >>confdefs.h <<_ACEOF
62839 #define HAVE__EXPF 1
62840 _ACEOF
62843 done
62852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62853 $as_echo_n "checking for isnanf declaration... " >&6; }
62854 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62855 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62856 $as_echo_n "(cached) " >&6
62857 else
62860 ac_ext=cpp
62861 ac_cpp='$CXXCPP $CPPFLAGS'
62862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62867 /* end confdefs.h. */
62868 #include <math.h>
62869 #ifdef HAVE_IEEEFP_H
62870 #include <ieeefp.h>
62871 #endif
62874 main ()
62876 isnanf(0);
62878 return 0;
62880 _ACEOF
62881 if ac_fn_cxx_try_compile "$LINENO"; then :
62882 glibcxx_cv_func_isnanf_use=yes
62883 else
62884 glibcxx_cv_func_isnanf_use=no
62886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62887 ac_ext=c
62888 ac_cpp='$CPP $CPPFLAGS'
62889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62898 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62900 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62901 for ac_func in isnanf
62902 do :
62903 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62904 if test "x$ac_cv_func_isnanf" = xyes; then :
62905 cat >>confdefs.h <<_ACEOF
62906 #define HAVE_ISNANF 1
62907 _ACEOF
62910 done
62912 else
62914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62915 $as_echo_n "checking for _isnanf declaration... " >&6; }
62916 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62917 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62918 $as_echo_n "(cached) " >&6
62919 else
62922 ac_ext=cpp
62923 ac_cpp='$CXXCPP $CPPFLAGS'
62924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62929 /* end confdefs.h. */
62930 #include <math.h>
62931 #ifdef HAVE_IEEEFP_H
62932 #include <ieeefp.h>
62933 #endif
62936 main ()
62938 _isnanf(0);
62940 return 0;
62942 _ACEOF
62943 if ac_fn_cxx_try_compile "$LINENO"; then :
62944 glibcxx_cv_func__isnanf_use=yes
62945 else
62946 glibcxx_cv_func__isnanf_use=no
62948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62949 ac_ext=c
62950 ac_cpp='$CPP $CPPFLAGS'
62951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62960 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62962 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62963 for ac_func in _isnanf
62964 do :
62965 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62966 if test "x$ac_cv_func__isnanf" = xyes; then :
62967 cat >>confdefs.h <<_ACEOF
62968 #define HAVE__ISNANF 1
62969 _ACEOF
62972 done
62981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62982 $as_echo_n "checking for isinff declaration... " >&6; }
62983 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62984 if ${glibcxx_cv_func_isinff_use+:} false; then :
62985 $as_echo_n "(cached) " >&6
62986 else
62989 ac_ext=cpp
62990 ac_cpp='$CXXCPP $CPPFLAGS'
62991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62996 /* end confdefs.h. */
62997 #include <math.h>
62998 #ifdef HAVE_IEEEFP_H
62999 #include <ieeefp.h>
63000 #endif
63003 main ()
63005 isinff(0);
63007 return 0;
63009 _ACEOF
63010 if ac_fn_cxx_try_compile "$LINENO"; then :
63011 glibcxx_cv_func_isinff_use=yes
63012 else
63013 glibcxx_cv_func_isinff_use=no
63015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63016 ac_ext=c
63017 ac_cpp='$CPP $CPPFLAGS'
63018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
63027 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
63029 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
63030 for ac_func in isinff
63031 do :
63032 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
63033 if test "x$ac_cv_func_isinff" = xyes; then :
63034 cat >>confdefs.h <<_ACEOF
63035 #define HAVE_ISINFF 1
63036 _ACEOF
63039 done
63041 else
63043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
63044 $as_echo_n "checking for _isinff declaration... " >&6; }
63045 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
63046 if ${glibcxx_cv_func__isinff_use+:} false; then :
63047 $as_echo_n "(cached) " >&6
63048 else
63051 ac_ext=cpp
63052 ac_cpp='$CXXCPP $CPPFLAGS'
63053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63058 /* end confdefs.h. */
63059 #include <math.h>
63060 #ifdef HAVE_IEEEFP_H
63061 #include <ieeefp.h>
63062 #endif
63065 main ()
63067 _isinff(0);
63069 return 0;
63071 _ACEOF
63072 if ac_fn_cxx_try_compile "$LINENO"; then :
63073 glibcxx_cv_func__isinff_use=yes
63074 else
63075 glibcxx_cv_func__isinff_use=no
63077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63078 ac_ext=c
63079 ac_cpp='$CPP $CPPFLAGS'
63080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
63089 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
63091 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
63092 for ac_func in _isinff
63093 do :
63094 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
63095 if test "x$ac_cv_func__isinff" = xyes; then :
63096 cat >>confdefs.h <<_ACEOF
63097 #define HAVE__ISINFF 1
63098 _ACEOF
63101 done
63110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
63111 $as_echo_n "checking for atan2f declaration... " >&6; }
63112 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
63113 if ${glibcxx_cv_func_atan2f_use+:} false; then :
63114 $as_echo_n "(cached) " >&6
63115 else
63118 ac_ext=cpp
63119 ac_cpp='$CXXCPP $CPPFLAGS'
63120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63125 /* end confdefs.h. */
63126 #include <math.h>
63128 main ()
63130 atan2f(0, 0);
63132 return 0;
63134 _ACEOF
63135 if ac_fn_cxx_try_compile "$LINENO"; then :
63136 glibcxx_cv_func_atan2f_use=yes
63137 else
63138 glibcxx_cv_func_atan2f_use=no
63140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63141 ac_ext=c
63142 ac_cpp='$CPP $CPPFLAGS'
63143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
63152 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
63154 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
63155 for ac_func in atan2f
63156 do :
63157 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
63158 if test "x$ac_cv_func_atan2f" = xyes; then :
63159 cat >>confdefs.h <<_ACEOF
63160 #define HAVE_ATAN2F 1
63161 _ACEOF
63164 done
63166 else
63168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
63169 $as_echo_n "checking for _atan2f declaration... " >&6; }
63170 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
63171 if ${glibcxx_cv_func__atan2f_use+:} false; then :
63172 $as_echo_n "(cached) " >&6
63173 else
63176 ac_ext=cpp
63177 ac_cpp='$CXXCPP $CPPFLAGS'
63178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63183 /* end confdefs.h. */
63184 #include <math.h>
63186 main ()
63188 _atan2f(0, 0);
63190 return 0;
63192 _ACEOF
63193 if ac_fn_cxx_try_compile "$LINENO"; then :
63194 glibcxx_cv_func__atan2f_use=yes
63195 else
63196 glibcxx_cv_func__atan2f_use=no
63198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63199 ac_ext=c
63200 ac_cpp='$CPP $CPPFLAGS'
63201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63210 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63212 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63213 for ac_func in _atan2f
63214 do :
63215 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63216 if test "x$ac_cv_func__atan2f" = xyes; then :
63217 cat >>confdefs.h <<_ACEOF
63218 #define HAVE__ATAN2F 1
63219 _ACEOF
63222 done
63231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63232 $as_echo_n "checking for fabsf declaration... " >&6; }
63233 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63234 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63235 $as_echo_n "(cached) " >&6
63236 else
63239 ac_ext=cpp
63240 ac_cpp='$CXXCPP $CPPFLAGS'
63241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63246 /* end confdefs.h. */
63247 #include <math.h>
63248 #ifdef HAVE_IEEEFP_H
63249 #include <ieeefp.h>
63250 #endif
63253 main ()
63255 fabsf(0);
63257 return 0;
63259 _ACEOF
63260 if ac_fn_cxx_try_compile "$LINENO"; then :
63261 glibcxx_cv_func_fabsf_use=yes
63262 else
63263 glibcxx_cv_func_fabsf_use=no
63265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63266 ac_ext=c
63267 ac_cpp='$CPP $CPPFLAGS'
63268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63277 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63279 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63280 for ac_func in fabsf
63281 do :
63282 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63283 if test "x$ac_cv_func_fabsf" = xyes; then :
63284 cat >>confdefs.h <<_ACEOF
63285 #define HAVE_FABSF 1
63286 _ACEOF
63289 done
63291 else
63293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63294 $as_echo_n "checking for _fabsf declaration... " >&6; }
63295 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63296 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63297 $as_echo_n "(cached) " >&6
63298 else
63301 ac_ext=cpp
63302 ac_cpp='$CXXCPP $CPPFLAGS'
63303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63308 /* end confdefs.h. */
63309 #include <math.h>
63310 #ifdef HAVE_IEEEFP_H
63311 #include <ieeefp.h>
63312 #endif
63315 main ()
63317 _fabsf(0);
63319 return 0;
63321 _ACEOF
63322 if ac_fn_cxx_try_compile "$LINENO"; then :
63323 glibcxx_cv_func__fabsf_use=yes
63324 else
63325 glibcxx_cv_func__fabsf_use=no
63327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63328 ac_ext=c
63329 ac_cpp='$CPP $CPPFLAGS'
63330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63339 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63341 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63342 for ac_func in _fabsf
63343 do :
63344 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63345 if test "x$ac_cv_func__fabsf" = xyes; then :
63346 cat >>confdefs.h <<_ACEOF
63347 #define HAVE__FABSF 1
63348 _ACEOF
63351 done
63360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63361 $as_echo_n "checking for fmodf declaration... " >&6; }
63362 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63363 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63364 $as_echo_n "(cached) " >&6
63365 else
63368 ac_ext=cpp
63369 ac_cpp='$CXXCPP $CPPFLAGS'
63370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63375 /* end confdefs.h. */
63376 #include <math.h>
63378 main ()
63380 fmodf(0, 0);
63382 return 0;
63384 _ACEOF
63385 if ac_fn_cxx_try_compile "$LINENO"; then :
63386 glibcxx_cv_func_fmodf_use=yes
63387 else
63388 glibcxx_cv_func_fmodf_use=no
63390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63391 ac_ext=c
63392 ac_cpp='$CPP $CPPFLAGS'
63393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63402 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63404 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63405 for ac_func in fmodf
63406 do :
63407 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63408 if test "x$ac_cv_func_fmodf" = xyes; then :
63409 cat >>confdefs.h <<_ACEOF
63410 #define HAVE_FMODF 1
63411 _ACEOF
63414 done
63416 else
63418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63419 $as_echo_n "checking for _fmodf declaration... " >&6; }
63420 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63421 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63422 $as_echo_n "(cached) " >&6
63423 else
63426 ac_ext=cpp
63427 ac_cpp='$CXXCPP $CPPFLAGS'
63428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63433 /* end confdefs.h. */
63434 #include <math.h>
63436 main ()
63438 _fmodf(0, 0);
63440 return 0;
63442 _ACEOF
63443 if ac_fn_cxx_try_compile "$LINENO"; then :
63444 glibcxx_cv_func__fmodf_use=yes
63445 else
63446 glibcxx_cv_func__fmodf_use=no
63448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63449 ac_ext=c
63450 ac_cpp='$CPP $CPPFLAGS'
63451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63460 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63462 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63463 for ac_func in _fmodf
63464 do :
63465 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63466 if test "x$ac_cv_func__fmodf" = xyes; then :
63467 cat >>confdefs.h <<_ACEOF
63468 #define HAVE__FMODF 1
63469 _ACEOF
63472 done
63481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63482 $as_echo_n "checking for frexpf declaration... " >&6; }
63483 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63484 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63485 $as_echo_n "(cached) " >&6
63486 else
63489 ac_ext=cpp
63490 ac_cpp='$CXXCPP $CPPFLAGS'
63491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63496 /* end confdefs.h. */
63497 #include <math.h>
63499 main ()
63501 frexpf(0, 0);
63503 return 0;
63505 _ACEOF
63506 if ac_fn_cxx_try_compile "$LINENO"; then :
63507 glibcxx_cv_func_frexpf_use=yes
63508 else
63509 glibcxx_cv_func_frexpf_use=no
63511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63512 ac_ext=c
63513 ac_cpp='$CPP $CPPFLAGS'
63514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63523 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63525 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63526 for ac_func in frexpf
63527 do :
63528 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63529 if test "x$ac_cv_func_frexpf" = xyes; then :
63530 cat >>confdefs.h <<_ACEOF
63531 #define HAVE_FREXPF 1
63532 _ACEOF
63535 done
63537 else
63539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63540 $as_echo_n "checking for _frexpf declaration... " >&6; }
63541 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63542 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63543 $as_echo_n "(cached) " >&6
63544 else
63547 ac_ext=cpp
63548 ac_cpp='$CXXCPP $CPPFLAGS'
63549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63554 /* end confdefs.h. */
63555 #include <math.h>
63557 main ()
63559 _frexpf(0, 0);
63561 return 0;
63563 _ACEOF
63564 if ac_fn_cxx_try_compile "$LINENO"; then :
63565 glibcxx_cv_func__frexpf_use=yes
63566 else
63567 glibcxx_cv_func__frexpf_use=no
63569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63570 ac_ext=c
63571 ac_cpp='$CPP $CPPFLAGS'
63572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63581 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63583 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63584 for ac_func in _frexpf
63585 do :
63586 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63587 if test "x$ac_cv_func__frexpf" = xyes; then :
63588 cat >>confdefs.h <<_ACEOF
63589 #define HAVE__FREXPF 1
63590 _ACEOF
63593 done
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63603 $as_echo_n "checking for hypotf declaration... " >&6; }
63604 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63605 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63606 $as_echo_n "(cached) " >&6
63607 else
63610 ac_ext=cpp
63611 ac_cpp='$CXXCPP $CPPFLAGS'
63612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63617 /* end confdefs.h. */
63618 #include <math.h>
63620 main ()
63622 hypotf(0, 0);
63624 return 0;
63626 _ACEOF
63627 if ac_fn_cxx_try_compile "$LINENO"; then :
63628 glibcxx_cv_func_hypotf_use=yes
63629 else
63630 glibcxx_cv_func_hypotf_use=no
63632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63633 ac_ext=c
63634 ac_cpp='$CPP $CPPFLAGS'
63635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63644 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63646 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63647 for ac_func in hypotf
63648 do :
63649 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63650 if test "x$ac_cv_func_hypotf" = xyes; then :
63651 cat >>confdefs.h <<_ACEOF
63652 #define HAVE_HYPOTF 1
63653 _ACEOF
63656 done
63658 else
63660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63661 $as_echo_n "checking for _hypotf declaration... " >&6; }
63662 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63663 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63664 $as_echo_n "(cached) " >&6
63665 else
63668 ac_ext=cpp
63669 ac_cpp='$CXXCPP $CPPFLAGS'
63670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63675 /* end confdefs.h. */
63676 #include <math.h>
63678 main ()
63680 _hypotf(0, 0);
63682 return 0;
63684 _ACEOF
63685 if ac_fn_cxx_try_compile "$LINENO"; then :
63686 glibcxx_cv_func__hypotf_use=yes
63687 else
63688 glibcxx_cv_func__hypotf_use=no
63690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63691 ac_ext=c
63692 ac_cpp='$CPP $CPPFLAGS'
63693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63702 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63704 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63705 for ac_func in _hypotf
63706 do :
63707 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63708 if test "x$ac_cv_func__hypotf" = xyes; then :
63709 cat >>confdefs.h <<_ACEOF
63710 #define HAVE__HYPOTF 1
63711 _ACEOF
63714 done
63723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63724 $as_echo_n "checking for ldexpf declaration... " >&6; }
63725 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63726 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63727 $as_echo_n "(cached) " >&6
63728 else
63731 ac_ext=cpp
63732 ac_cpp='$CXXCPP $CPPFLAGS'
63733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63738 /* end confdefs.h. */
63739 #include <math.h>
63741 main ()
63743 ldexpf(0, 0);
63745 return 0;
63747 _ACEOF
63748 if ac_fn_cxx_try_compile "$LINENO"; then :
63749 glibcxx_cv_func_ldexpf_use=yes
63750 else
63751 glibcxx_cv_func_ldexpf_use=no
63753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63754 ac_ext=c
63755 ac_cpp='$CPP $CPPFLAGS'
63756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63765 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63767 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63768 for ac_func in ldexpf
63769 do :
63770 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63771 if test "x$ac_cv_func_ldexpf" = xyes; then :
63772 cat >>confdefs.h <<_ACEOF
63773 #define HAVE_LDEXPF 1
63774 _ACEOF
63777 done
63779 else
63781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63782 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63783 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63784 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63785 $as_echo_n "(cached) " >&6
63786 else
63789 ac_ext=cpp
63790 ac_cpp='$CXXCPP $CPPFLAGS'
63791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63796 /* end confdefs.h. */
63797 #include <math.h>
63799 main ()
63801 _ldexpf(0, 0);
63803 return 0;
63805 _ACEOF
63806 if ac_fn_cxx_try_compile "$LINENO"; then :
63807 glibcxx_cv_func__ldexpf_use=yes
63808 else
63809 glibcxx_cv_func__ldexpf_use=no
63811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63812 ac_ext=c
63813 ac_cpp='$CPP $CPPFLAGS'
63814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63823 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63825 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63826 for ac_func in _ldexpf
63827 do :
63828 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63829 if test "x$ac_cv_func__ldexpf" = xyes; then :
63830 cat >>confdefs.h <<_ACEOF
63831 #define HAVE__LDEXPF 1
63832 _ACEOF
63835 done
63844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63845 $as_echo_n "checking for logf declaration... " >&6; }
63846 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63847 if ${glibcxx_cv_func_logf_use+:} false; then :
63848 $as_echo_n "(cached) " >&6
63849 else
63852 ac_ext=cpp
63853 ac_cpp='$CXXCPP $CPPFLAGS'
63854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63859 /* end confdefs.h. */
63860 #include <math.h>
63861 #ifdef HAVE_IEEEFP_H
63862 #include <ieeefp.h>
63863 #endif
63866 main ()
63868 logf(0);
63870 return 0;
63872 _ACEOF
63873 if ac_fn_cxx_try_compile "$LINENO"; then :
63874 glibcxx_cv_func_logf_use=yes
63875 else
63876 glibcxx_cv_func_logf_use=no
63878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63879 ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63890 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63892 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63893 for ac_func in logf
63894 do :
63895 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63896 if test "x$ac_cv_func_logf" = xyes; then :
63897 cat >>confdefs.h <<_ACEOF
63898 #define HAVE_LOGF 1
63899 _ACEOF
63902 done
63904 else
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63907 $as_echo_n "checking for _logf declaration... " >&6; }
63908 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63909 if ${glibcxx_cv_func__logf_use+:} false; then :
63910 $as_echo_n "(cached) " >&6
63911 else
63914 ac_ext=cpp
63915 ac_cpp='$CXXCPP $CPPFLAGS'
63916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921 /* end confdefs.h. */
63922 #include <math.h>
63923 #ifdef HAVE_IEEEFP_H
63924 #include <ieeefp.h>
63925 #endif
63928 main ()
63930 _logf(0);
63932 return 0;
63934 _ACEOF
63935 if ac_fn_cxx_try_compile "$LINENO"; then :
63936 glibcxx_cv_func__logf_use=yes
63937 else
63938 glibcxx_cv_func__logf_use=no
63940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63941 ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63952 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63954 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63955 for ac_func in _logf
63956 do :
63957 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63958 if test "x$ac_cv_func__logf" = xyes; then :
63959 cat >>confdefs.h <<_ACEOF
63960 #define HAVE__LOGF 1
63961 _ACEOF
63964 done
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63974 $as_echo_n "checking for log10f declaration... " >&6; }
63975 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63976 if ${glibcxx_cv_func_log10f_use+:} false; then :
63977 $as_echo_n "(cached) " >&6
63978 else
63981 ac_ext=cpp
63982 ac_cpp='$CXXCPP $CPPFLAGS'
63983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63988 /* end confdefs.h. */
63989 #include <math.h>
63990 #ifdef HAVE_IEEEFP_H
63991 #include <ieeefp.h>
63992 #endif
63995 main ()
63997 log10f(0);
63999 return 0;
64001 _ACEOF
64002 if ac_fn_cxx_try_compile "$LINENO"; then :
64003 glibcxx_cv_func_log10f_use=yes
64004 else
64005 glibcxx_cv_func_log10f_use=no
64007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64008 ac_ext=c
64009 ac_cpp='$CPP $CPPFLAGS'
64010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
64019 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
64021 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
64022 for ac_func in log10f
64023 do :
64024 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
64025 if test "x$ac_cv_func_log10f" = xyes; then :
64026 cat >>confdefs.h <<_ACEOF
64027 #define HAVE_LOG10F 1
64028 _ACEOF
64031 done
64033 else
64035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
64036 $as_echo_n "checking for _log10f declaration... " >&6; }
64037 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
64038 if ${glibcxx_cv_func__log10f_use+:} false; then :
64039 $as_echo_n "(cached) " >&6
64040 else
64043 ac_ext=cpp
64044 ac_cpp='$CXXCPP $CPPFLAGS'
64045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64050 /* end confdefs.h. */
64051 #include <math.h>
64052 #ifdef HAVE_IEEEFP_H
64053 #include <ieeefp.h>
64054 #endif
64057 main ()
64059 _log10f(0);
64061 return 0;
64063 _ACEOF
64064 if ac_fn_cxx_try_compile "$LINENO"; then :
64065 glibcxx_cv_func__log10f_use=yes
64066 else
64067 glibcxx_cv_func__log10f_use=no
64069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64070 ac_ext=c
64071 ac_cpp='$CPP $CPPFLAGS'
64072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
64081 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
64083 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
64084 for ac_func in _log10f
64085 do :
64086 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
64087 if test "x$ac_cv_func__log10f" = xyes; then :
64088 cat >>confdefs.h <<_ACEOF
64089 #define HAVE__LOG10F 1
64090 _ACEOF
64093 done
64102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
64103 $as_echo_n "checking for modff declaration... " >&6; }
64104 if test x${glibcxx_cv_func_modff_use+set} != xset; then
64105 if ${glibcxx_cv_func_modff_use+:} false; then :
64106 $as_echo_n "(cached) " >&6
64107 else
64110 ac_ext=cpp
64111 ac_cpp='$CXXCPP $CPPFLAGS'
64112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64117 /* end confdefs.h. */
64118 #include <math.h>
64120 main ()
64122 modff(0, 0);
64124 return 0;
64126 _ACEOF
64127 if ac_fn_cxx_try_compile "$LINENO"; then :
64128 glibcxx_cv_func_modff_use=yes
64129 else
64130 glibcxx_cv_func_modff_use=no
64132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64133 ac_ext=c
64134 ac_cpp='$CPP $CPPFLAGS'
64135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
64144 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
64146 if test x$glibcxx_cv_func_modff_use = x"yes"; then
64147 for ac_func in modff
64148 do :
64149 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
64150 if test "x$ac_cv_func_modff" = xyes; then :
64151 cat >>confdefs.h <<_ACEOF
64152 #define HAVE_MODFF 1
64153 _ACEOF
64156 done
64158 else
64160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
64161 $as_echo_n "checking for _modff declaration... " >&6; }
64162 if test x${glibcxx_cv_func__modff_use+set} != xset; then
64163 if ${glibcxx_cv_func__modff_use+:} false; then :
64164 $as_echo_n "(cached) " >&6
64165 else
64168 ac_ext=cpp
64169 ac_cpp='$CXXCPP $CPPFLAGS'
64170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64175 /* end confdefs.h. */
64176 #include <math.h>
64178 main ()
64180 _modff(0, 0);
64182 return 0;
64184 _ACEOF
64185 if ac_fn_cxx_try_compile "$LINENO"; then :
64186 glibcxx_cv_func__modff_use=yes
64187 else
64188 glibcxx_cv_func__modff_use=no
64190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191 ac_ext=c
64192 ac_cpp='$CPP $CPPFLAGS'
64193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64202 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
64204 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64205 for ac_func in _modff
64206 do :
64207 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64208 if test "x$ac_cv_func__modff" = xyes; then :
64209 cat >>confdefs.h <<_ACEOF
64210 #define HAVE__MODFF 1
64211 _ACEOF
64214 done
64223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64224 $as_echo_n "checking for modf declaration... " >&6; }
64225 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64226 if ${glibcxx_cv_func_modf_use+:} false; then :
64227 $as_echo_n "(cached) " >&6
64228 else
64231 ac_ext=cpp
64232 ac_cpp='$CXXCPP $CPPFLAGS'
64233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64238 /* end confdefs.h. */
64239 #include <math.h>
64241 main ()
64243 modf(0, 0);
64245 return 0;
64247 _ACEOF
64248 if ac_fn_cxx_try_compile "$LINENO"; then :
64249 glibcxx_cv_func_modf_use=yes
64250 else
64251 glibcxx_cv_func_modf_use=no
64253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64254 ac_ext=c
64255 ac_cpp='$CPP $CPPFLAGS'
64256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64265 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64267 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64268 for ac_func in modf
64269 do :
64270 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64271 if test "x$ac_cv_func_modf" = xyes; then :
64272 cat >>confdefs.h <<_ACEOF
64273 #define HAVE_MODF 1
64274 _ACEOF
64277 done
64279 else
64281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64282 $as_echo_n "checking for _modf declaration... " >&6; }
64283 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64284 if ${glibcxx_cv_func__modf_use+:} false; then :
64285 $as_echo_n "(cached) " >&6
64286 else
64289 ac_ext=cpp
64290 ac_cpp='$CXXCPP $CPPFLAGS'
64291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64296 /* end confdefs.h. */
64297 #include <math.h>
64299 main ()
64301 _modf(0, 0);
64303 return 0;
64305 _ACEOF
64306 if ac_fn_cxx_try_compile "$LINENO"; then :
64307 glibcxx_cv_func__modf_use=yes
64308 else
64309 glibcxx_cv_func__modf_use=no
64311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64312 ac_ext=c
64313 ac_cpp='$CPP $CPPFLAGS'
64314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64323 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64325 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64326 for ac_func in _modf
64327 do :
64328 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64329 if test "x$ac_cv_func__modf" = xyes; then :
64330 cat >>confdefs.h <<_ACEOF
64331 #define HAVE__MODF 1
64332 _ACEOF
64335 done
64344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64345 $as_echo_n "checking for powf declaration... " >&6; }
64346 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64347 if ${glibcxx_cv_func_powf_use+:} false; then :
64348 $as_echo_n "(cached) " >&6
64349 else
64352 ac_ext=cpp
64353 ac_cpp='$CXXCPP $CPPFLAGS'
64354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64359 /* end confdefs.h. */
64360 #include <math.h>
64362 main ()
64364 powf(0, 0);
64366 return 0;
64368 _ACEOF
64369 if ac_fn_cxx_try_compile "$LINENO"; then :
64370 glibcxx_cv_func_powf_use=yes
64371 else
64372 glibcxx_cv_func_powf_use=no
64374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64375 ac_ext=c
64376 ac_cpp='$CPP $CPPFLAGS'
64377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64386 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64388 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64389 for ac_func in powf
64390 do :
64391 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64392 if test "x$ac_cv_func_powf" = xyes; then :
64393 cat >>confdefs.h <<_ACEOF
64394 #define HAVE_POWF 1
64395 _ACEOF
64398 done
64400 else
64402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64403 $as_echo_n "checking for _powf declaration... " >&6; }
64404 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64405 if ${glibcxx_cv_func__powf_use+:} false; then :
64406 $as_echo_n "(cached) " >&6
64407 else
64410 ac_ext=cpp
64411 ac_cpp='$CXXCPP $CPPFLAGS'
64412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64417 /* end confdefs.h. */
64418 #include <math.h>
64420 main ()
64422 _powf(0, 0);
64424 return 0;
64426 _ACEOF
64427 if ac_fn_cxx_try_compile "$LINENO"; then :
64428 glibcxx_cv_func__powf_use=yes
64429 else
64430 glibcxx_cv_func__powf_use=no
64432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64433 ac_ext=c
64434 ac_cpp='$CPP $CPPFLAGS'
64435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64444 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64446 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64447 for ac_func in _powf
64448 do :
64449 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64450 if test "x$ac_cv_func__powf" = xyes; then :
64451 cat >>confdefs.h <<_ACEOF
64452 #define HAVE__POWF 1
64453 _ACEOF
64456 done
64465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64466 $as_echo_n "checking for sqrtf declaration... " >&6; }
64467 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64468 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64469 $as_echo_n "(cached) " >&6
64470 else
64473 ac_ext=cpp
64474 ac_cpp='$CXXCPP $CPPFLAGS'
64475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64480 /* end confdefs.h. */
64481 #include <math.h>
64482 #ifdef HAVE_IEEEFP_H
64483 #include <ieeefp.h>
64484 #endif
64487 main ()
64489 sqrtf(0);
64491 return 0;
64493 _ACEOF
64494 if ac_fn_cxx_try_compile "$LINENO"; then :
64495 glibcxx_cv_func_sqrtf_use=yes
64496 else
64497 glibcxx_cv_func_sqrtf_use=no
64499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64500 ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64511 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64513 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64514 for ac_func in sqrtf
64515 do :
64516 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64517 if test "x$ac_cv_func_sqrtf" = xyes; then :
64518 cat >>confdefs.h <<_ACEOF
64519 #define HAVE_SQRTF 1
64520 _ACEOF
64523 done
64525 else
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64528 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64529 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64530 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <math.h>
64544 #ifdef HAVE_IEEEFP_H
64545 #include <ieeefp.h>
64546 #endif
64549 main ()
64551 _sqrtf(0);
64553 return 0;
64555 _ACEOF
64556 if ac_fn_cxx_try_compile "$LINENO"; then :
64557 glibcxx_cv_func__sqrtf_use=yes
64558 else
64559 glibcxx_cv_func__sqrtf_use=no
64561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64562 ac_ext=c
64563 ac_cpp='$CPP $CPPFLAGS'
64564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64573 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64575 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64576 for ac_func in _sqrtf
64577 do :
64578 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64579 if test "x$ac_cv_func__sqrtf" = xyes; then :
64580 cat >>confdefs.h <<_ACEOF
64581 #define HAVE__SQRTF 1
64582 _ACEOF
64585 done
64594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64595 $as_echo_n "checking for sincosf declaration... " >&6; }
64596 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64597 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64598 $as_echo_n "(cached) " >&6
64599 else
64602 ac_ext=cpp
64603 ac_cpp='$CXXCPP $CPPFLAGS'
64604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64609 /* end confdefs.h. */
64610 #include <math.h>
64612 main ()
64614 sincosf(0, 0, 0);
64616 return 0;
64618 _ACEOF
64619 if ac_fn_cxx_try_compile "$LINENO"; then :
64620 glibcxx_cv_func_sincosf_use=yes
64621 else
64622 glibcxx_cv_func_sincosf_use=no
64624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64625 ac_ext=c
64626 ac_cpp='$CPP $CPPFLAGS'
64627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64636 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64638 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64639 for ac_func in sincosf
64640 do :
64641 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64642 if test "x$ac_cv_func_sincosf" = xyes; then :
64643 cat >>confdefs.h <<_ACEOF
64644 #define HAVE_SINCOSF 1
64645 _ACEOF
64648 done
64650 else
64652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64653 $as_echo_n "checking for _sincosf declaration... " >&6; }
64654 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64655 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64656 $as_echo_n "(cached) " >&6
64657 else
64660 ac_ext=cpp
64661 ac_cpp='$CXXCPP $CPPFLAGS'
64662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64667 /* end confdefs.h. */
64668 #include <math.h>
64670 main ()
64672 _sincosf(0, 0, 0);
64674 return 0;
64676 _ACEOF
64677 if ac_fn_cxx_try_compile "$LINENO"; then :
64678 glibcxx_cv_func__sincosf_use=yes
64679 else
64680 glibcxx_cv_func__sincosf_use=no
64682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64683 ac_ext=c
64684 ac_cpp='$CPP $CPPFLAGS'
64685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64694 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64696 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64697 for ac_func in _sincosf
64698 do :
64699 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64700 if test "x$ac_cv_func__sincosf" = xyes; then :
64701 cat >>confdefs.h <<_ACEOF
64702 #define HAVE__SINCOSF 1
64703 _ACEOF
64706 done
64715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64716 $as_echo_n "checking for finitef declaration... " >&6; }
64717 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64718 if ${glibcxx_cv_func_finitef_use+:} false; then :
64719 $as_echo_n "(cached) " >&6
64720 else
64723 ac_ext=cpp
64724 ac_cpp='$CXXCPP $CPPFLAGS'
64725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64730 /* end confdefs.h. */
64731 #include <math.h>
64732 #ifdef HAVE_IEEEFP_H
64733 #include <ieeefp.h>
64734 #endif
64737 main ()
64739 finitef(0);
64741 return 0;
64743 _ACEOF
64744 if ac_fn_cxx_try_compile "$LINENO"; then :
64745 glibcxx_cv_func_finitef_use=yes
64746 else
64747 glibcxx_cv_func_finitef_use=no
64749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64750 ac_ext=c
64751 ac_cpp='$CPP $CPPFLAGS'
64752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64761 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64763 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64764 for ac_func in finitef
64765 do :
64766 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64767 if test "x$ac_cv_func_finitef" = xyes; then :
64768 cat >>confdefs.h <<_ACEOF
64769 #define HAVE_FINITEF 1
64770 _ACEOF
64773 done
64775 else
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64778 $as_echo_n "checking for _finitef declaration... " >&6; }
64779 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64780 if ${glibcxx_cv_func__finitef_use+:} false; then :
64781 $as_echo_n "(cached) " >&6
64782 else
64785 ac_ext=cpp
64786 ac_cpp='$CXXCPP $CPPFLAGS'
64787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64792 /* end confdefs.h. */
64793 #include <math.h>
64794 #ifdef HAVE_IEEEFP_H
64795 #include <ieeefp.h>
64796 #endif
64799 main ()
64801 _finitef(0);
64803 return 0;
64805 _ACEOF
64806 if ac_fn_cxx_try_compile "$LINENO"; then :
64807 glibcxx_cv_func__finitef_use=yes
64808 else
64809 glibcxx_cv_func__finitef_use=no
64811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64812 ac_ext=c
64813 ac_cpp='$CPP $CPPFLAGS'
64814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64823 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64825 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64826 for ac_func in _finitef
64827 do :
64828 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64829 if test "x$ac_cv_func__finitef" = xyes; then :
64830 cat >>confdefs.h <<_ACEOF
64831 #define HAVE__FINITEF 1
64832 _ACEOF
64835 done
64844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64845 $as_echo_n "checking for long double trig functions... " >&6; }
64846 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64847 $as_echo_n "(cached) " >&6
64848 else
64851 ac_ext=cpp
64852 ac_cpp='$CXXCPP $CPPFLAGS'
64853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64858 /* end confdefs.h. */
64859 #include <math.h>
64861 main ()
64863 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64865 return 0;
64867 _ACEOF
64868 if ac_fn_cxx_try_compile "$LINENO"; then :
64869 glibcxx_cv_func_long_double_trig_use=yes
64870 else
64871 glibcxx_cv_func_long_double_trig_use=no
64873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64874 ac_ext=c
64875 ac_cpp='$CPP $CPPFLAGS'
64876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64883 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64884 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64885 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64886 do :
64887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64890 cat >>confdefs.h <<_ACEOF
64891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64892 _ACEOF
64895 done
64897 else
64898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64899 $as_echo_n "checking for _long double trig functions... " >&6; }
64900 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64901 $as_echo_n "(cached) " >&6
64902 else
64905 ac_ext=cpp
64906 ac_cpp='$CXXCPP $CPPFLAGS'
64907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64912 /* end confdefs.h. */
64913 #include <math.h>
64915 main ()
64917 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64919 return 0;
64921 _ACEOF
64922 if ac_fn_cxx_try_compile "$LINENO"; then :
64923 glibcxx_cv_func__long_double_trig_use=yes
64924 else
64925 glibcxx_cv_func__long_double_trig_use=no
64927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64928 ac_ext=c
64929 ac_cpp='$CPP $CPPFLAGS'
64930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64937 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64938 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64939 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64940 do :
64941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64944 cat >>confdefs.h <<_ACEOF
64945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64946 _ACEOF
64949 done
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64959 $as_echo_n "checking for long double round functions... " >&6; }
64960 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64961 $as_echo_n "(cached) " >&6
64962 else
64965 ac_ext=cpp
64966 ac_cpp='$CXXCPP $CPPFLAGS'
64967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64972 /* end confdefs.h. */
64973 #include <math.h>
64975 main ()
64977 ceill (0); floorl (0);
64979 return 0;
64981 _ACEOF
64982 if ac_fn_cxx_try_compile "$LINENO"; then :
64983 glibcxx_cv_func_long_double_round_use=yes
64984 else
64985 glibcxx_cv_func_long_double_round_use=no
64987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64988 ac_ext=c
64989 ac_cpp='$CPP $CPPFLAGS'
64990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64997 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64998 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64999 for ac_func in ceill floorl
65000 do :
65001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65003 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
65004 cat >>confdefs.h <<_ACEOF
65005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65006 _ACEOF
65009 done
65011 else
65012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
65013 $as_echo_n "checking for _long double round functions... " >&6; }
65014 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
65015 $as_echo_n "(cached) " >&6
65016 else
65019 ac_ext=cpp
65020 ac_cpp='$CXXCPP $CPPFLAGS'
65021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65026 /* end confdefs.h. */
65027 #include <math.h>
65029 main ()
65031 _ceill (0); _floorl (0);
65033 return 0;
65035 _ACEOF
65036 if ac_fn_cxx_try_compile "$LINENO"; then :
65037 glibcxx_cv_func__long_double_round_use=yes
65038 else
65039 glibcxx_cv_func__long_double_round_use=no
65041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65042 ac_ext=c
65043 ac_cpp='$CPP $CPPFLAGS'
65044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
65051 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
65052 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65053 for ac_func in _ceill _floorl
65054 do :
65055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
65058 cat >>confdefs.h <<_ACEOF
65059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65060 _ACEOF
65063 done
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
65074 $as_echo_n "checking for isnanl declaration... " >&6; }
65075 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65076 if ${glibcxx_cv_func_isnanl_use+:} false; then :
65077 $as_echo_n "(cached) " >&6
65078 else
65081 ac_ext=cpp
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65088 /* end confdefs.h. */
65089 #include <math.h>
65090 #ifdef HAVE_IEEEFP_H
65091 #include <ieeefp.h>
65092 #endif
65095 main ()
65097 isnanl(0);
65099 return 0;
65101 _ACEOF
65102 if ac_fn_cxx_try_compile "$LINENO"; then :
65103 glibcxx_cv_func_isnanl_use=yes
65104 else
65105 glibcxx_cv_func_isnanl_use=no
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 ac_ext=c
65109 ac_cpp='$CPP $CPPFLAGS'
65110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
65119 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
65121 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65122 for ac_func in isnanl
65123 do :
65124 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
65125 if test "x$ac_cv_func_isnanl" = xyes; then :
65126 cat >>confdefs.h <<_ACEOF
65127 #define HAVE_ISNANL 1
65128 _ACEOF
65131 done
65133 else
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
65136 $as_echo_n "checking for _isnanl declaration... " >&6; }
65137 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65138 if ${glibcxx_cv_func__isnanl_use+:} false; then :
65139 $as_echo_n "(cached) " >&6
65140 else
65143 ac_ext=cpp
65144 ac_cpp='$CXXCPP $CPPFLAGS'
65145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65150 /* end confdefs.h. */
65151 #include <math.h>
65152 #ifdef HAVE_IEEEFP_H
65153 #include <ieeefp.h>
65154 #endif
65157 main ()
65159 _isnanl(0);
65161 return 0;
65163 _ACEOF
65164 if ac_fn_cxx_try_compile "$LINENO"; then :
65165 glibcxx_cv_func__isnanl_use=yes
65166 else
65167 glibcxx_cv_func__isnanl_use=no
65169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65170 ac_ext=c
65171 ac_cpp='$CPP $CPPFLAGS'
65172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
65181 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
65183 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65184 for ac_func in _isnanl
65185 do :
65186 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
65187 if test "x$ac_cv_func__isnanl" = xyes; then :
65188 cat >>confdefs.h <<_ACEOF
65189 #define HAVE__ISNANL 1
65190 _ACEOF
65193 done
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65203 $as_echo_n "checking for isinfl declaration... " >&6; }
65204 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65205 if ${glibcxx_cv_func_isinfl_use+:} false; then :
65206 $as_echo_n "(cached) " >&6
65207 else
65210 ac_ext=cpp
65211 ac_cpp='$CXXCPP $CPPFLAGS'
65212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65217 /* end confdefs.h. */
65218 #include <math.h>
65219 #ifdef HAVE_IEEEFP_H
65220 #include <ieeefp.h>
65221 #endif
65224 main ()
65226 isinfl(0);
65228 return 0;
65230 _ACEOF
65231 if ac_fn_cxx_try_compile "$LINENO"; then :
65232 glibcxx_cv_func_isinfl_use=yes
65233 else
65234 glibcxx_cv_func_isinfl_use=no
65236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65237 ac_ext=c
65238 ac_cpp='$CPP $CPPFLAGS'
65239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65248 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65250 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65251 for ac_func in isinfl
65252 do :
65253 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65254 if test "x$ac_cv_func_isinfl" = xyes; then :
65255 cat >>confdefs.h <<_ACEOF
65256 #define HAVE_ISINFL 1
65257 _ACEOF
65260 done
65262 else
65264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65265 $as_echo_n "checking for _isinfl declaration... " >&6; }
65266 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65267 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65268 $as_echo_n "(cached) " >&6
65269 else
65272 ac_ext=cpp
65273 ac_cpp='$CXXCPP $CPPFLAGS'
65274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65279 /* end confdefs.h. */
65280 #include <math.h>
65281 #ifdef HAVE_IEEEFP_H
65282 #include <ieeefp.h>
65283 #endif
65286 main ()
65288 _isinfl(0);
65290 return 0;
65292 _ACEOF
65293 if ac_fn_cxx_try_compile "$LINENO"; then :
65294 glibcxx_cv_func__isinfl_use=yes
65295 else
65296 glibcxx_cv_func__isinfl_use=no
65298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65299 ac_ext=c
65300 ac_cpp='$CPP $CPPFLAGS'
65301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65310 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65312 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65313 for ac_func in _isinfl
65314 do :
65315 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65316 if test "x$ac_cv_func__isinfl" = xyes; then :
65317 cat >>confdefs.h <<_ACEOF
65318 #define HAVE__ISINFL 1
65319 _ACEOF
65322 done
65331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65332 $as_echo_n "checking for atan2l declaration... " >&6; }
65333 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65334 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65335 $as_echo_n "(cached) " >&6
65336 else
65339 ac_ext=cpp
65340 ac_cpp='$CXXCPP $CPPFLAGS'
65341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65346 /* end confdefs.h. */
65347 #include <math.h>
65349 main ()
65351 atan2l(0, 0);
65353 return 0;
65355 _ACEOF
65356 if ac_fn_cxx_try_compile "$LINENO"; then :
65357 glibcxx_cv_func_atan2l_use=yes
65358 else
65359 glibcxx_cv_func_atan2l_use=no
65361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65362 ac_ext=c
65363 ac_cpp='$CPP $CPPFLAGS'
65364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65373 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65375 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65376 for ac_func in atan2l
65377 do :
65378 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65379 if test "x$ac_cv_func_atan2l" = xyes; then :
65380 cat >>confdefs.h <<_ACEOF
65381 #define HAVE_ATAN2L 1
65382 _ACEOF
65385 done
65387 else
65389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65390 $as_echo_n "checking for _atan2l declaration... " >&6; }
65391 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65392 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65393 $as_echo_n "(cached) " >&6
65394 else
65397 ac_ext=cpp
65398 ac_cpp='$CXXCPP $CPPFLAGS'
65399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65404 /* end confdefs.h. */
65405 #include <math.h>
65407 main ()
65409 _atan2l(0, 0);
65411 return 0;
65413 _ACEOF
65414 if ac_fn_cxx_try_compile "$LINENO"; then :
65415 glibcxx_cv_func__atan2l_use=yes
65416 else
65417 glibcxx_cv_func__atan2l_use=no
65419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65420 ac_ext=c
65421 ac_cpp='$CPP $CPPFLAGS'
65422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65431 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65433 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65434 for ac_func in _atan2l
65435 do :
65436 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65437 if test "x$ac_cv_func__atan2l" = xyes; then :
65438 cat >>confdefs.h <<_ACEOF
65439 #define HAVE__ATAN2L 1
65440 _ACEOF
65443 done
65452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65453 $as_echo_n "checking for expl declaration... " >&6; }
65454 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65455 if ${glibcxx_cv_func_expl_use+:} false; then :
65456 $as_echo_n "(cached) " >&6
65457 else
65460 ac_ext=cpp
65461 ac_cpp='$CXXCPP $CPPFLAGS'
65462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65467 /* end confdefs.h. */
65468 #include <math.h>
65469 #ifdef HAVE_IEEEFP_H
65470 #include <ieeefp.h>
65471 #endif
65474 main ()
65476 expl(0);
65478 return 0;
65480 _ACEOF
65481 if ac_fn_cxx_try_compile "$LINENO"; then :
65482 glibcxx_cv_func_expl_use=yes
65483 else
65484 glibcxx_cv_func_expl_use=no
65486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65487 ac_ext=c
65488 ac_cpp='$CPP $CPPFLAGS'
65489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65498 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65500 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65501 for ac_func in expl
65502 do :
65503 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65504 if test "x$ac_cv_func_expl" = xyes; then :
65505 cat >>confdefs.h <<_ACEOF
65506 #define HAVE_EXPL 1
65507 _ACEOF
65510 done
65512 else
65514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65515 $as_echo_n "checking for _expl declaration... " >&6; }
65516 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65517 if ${glibcxx_cv_func__expl_use+:} false; then :
65518 $as_echo_n "(cached) " >&6
65519 else
65522 ac_ext=cpp
65523 ac_cpp='$CXXCPP $CPPFLAGS'
65524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65529 /* end confdefs.h. */
65530 #include <math.h>
65531 #ifdef HAVE_IEEEFP_H
65532 #include <ieeefp.h>
65533 #endif
65536 main ()
65538 _expl(0);
65540 return 0;
65542 _ACEOF
65543 if ac_fn_cxx_try_compile "$LINENO"; then :
65544 glibcxx_cv_func__expl_use=yes
65545 else
65546 glibcxx_cv_func__expl_use=no
65548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65549 ac_ext=c
65550 ac_cpp='$CPP $CPPFLAGS'
65551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65560 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65562 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65563 for ac_func in _expl
65564 do :
65565 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65566 if test "x$ac_cv_func__expl" = xyes; then :
65567 cat >>confdefs.h <<_ACEOF
65568 #define HAVE__EXPL 1
65569 _ACEOF
65572 done
65581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65582 $as_echo_n "checking for fabsl declaration... " >&6; }
65583 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65584 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65585 $as_echo_n "(cached) " >&6
65586 else
65589 ac_ext=cpp
65590 ac_cpp='$CXXCPP $CPPFLAGS'
65591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65596 /* end confdefs.h. */
65597 #include <math.h>
65598 #ifdef HAVE_IEEEFP_H
65599 #include <ieeefp.h>
65600 #endif
65603 main ()
65605 fabsl(0);
65607 return 0;
65609 _ACEOF
65610 if ac_fn_cxx_try_compile "$LINENO"; then :
65611 glibcxx_cv_func_fabsl_use=yes
65612 else
65613 glibcxx_cv_func_fabsl_use=no
65615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65616 ac_ext=c
65617 ac_cpp='$CPP $CPPFLAGS'
65618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65627 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65629 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65630 for ac_func in fabsl
65631 do :
65632 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65633 if test "x$ac_cv_func_fabsl" = xyes; then :
65634 cat >>confdefs.h <<_ACEOF
65635 #define HAVE_FABSL 1
65636 _ACEOF
65639 done
65641 else
65643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65644 $as_echo_n "checking for _fabsl declaration... " >&6; }
65645 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65646 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65647 $as_echo_n "(cached) " >&6
65648 else
65651 ac_ext=cpp
65652 ac_cpp='$CXXCPP $CPPFLAGS'
65653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65658 /* end confdefs.h. */
65659 #include <math.h>
65660 #ifdef HAVE_IEEEFP_H
65661 #include <ieeefp.h>
65662 #endif
65665 main ()
65667 _fabsl(0);
65669 return 0;
65671 _ACEOF
65672 if ac_fn_cxx_try_compile "$LINENO"; then :
65673 glibcxx_cv_func__fabsl_use=yes
65674 else
65675 glibcxx_cv_func__fabsl_use=no
65677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65678 ac_ext=c
65679 ac_cpp='$CPP $CPPFLAGS'
65680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65689 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65691 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65692 for ac_func in _fabsl
65693 do :
65694 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65695 if test "x$ac_cv_func__fabsl" = xyes; then :
65696 cat >>confdefs.h <<_ACEOF
65697 #define HAVE__FABSL 1
65698 _ACEOF
65701 done
65710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65711 $as_echo_n "checking for fmodl declaration... " >&6; }
65712 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65713 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65714 $as_echo_n "(cached) " >&6
65715 else
65718 ac_ext=cpp
65719 ac_cpp='$CXXCPP $CPPFLAGS'
65720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65725 /* end confdefs.h. */
65726 #include <math.h>
65728 main ()
65730 fmodl(0, 0);
65732 return 0;
65734 _ACEOF
65735 if ac_fn_cxx_try_compile "$LINENO"; then :
65736 glibcxx_cv_func_fmodl_use=yes
65737 else
65738 glibcxx_cv_func_fmodl_use=no
65740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65741 ac_ext=c
65742 ac_cpp='$CPP $CPPFLAGS'
65743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65752 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65754 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65755 for ac_func in fmodl
65756 do :
65757 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65758 if test "x$ac_cv_func_fmodl" = xyes; then :
65759 cat >>confdefs.h <<_ACEOF
65760 #define HAVE_FMODL 1
65761 _ACEOF
65764 done
65766 else
65768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65769 $as_echo_n "checking for _fmodl declaration... " >&6; }
65770 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65771 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65772 $as_echo_n "(cached) " >&6
65773 else
65776 ac_ext=cpp
65777 ac_cpp='$CXXCPP $CPPFLAGS'
65778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65783 /* end confdefs.h. */
65784 #include <math.h>
65786 main ()
65788 _fmodl(0, 0);
65790 return 0;
65792 _ACEOF
65793 if ac_fn_cxx_try_compile "$LINENO"; then :
65794 glibcxx_cv_func__fmodl_use=yes
65795 else
65796 glibcxx_cv_func__fmodl_use=no
65798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65799 ac_ext=c
65800 ac_cpp='$CPP $CPPFLAGS'
65801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65810 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65812 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65813 for ac_func in _fmodl
65814 do :
65815 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65816 if test "x$ac_cv_func__fmodl" = xyes; then :
65817 cat >>confdefs.h <<_ACEOF
65818 #define HAVE__FMODL 1
65819 _ACEOF
65822 done
65831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65832 $as_echo_n "checking for frexpl declaration... " >&6; }
65833 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65834 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65835 $as_echo_n "(cached) " >&6
65836 else
65839 ac_ext=cpp
65840 ac_cpp='$CXXCPP $CPPFLAGS'
65841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65846 /* end confdefs.h. */
65847 #include <math.h>
65849 main ()
65851 frexpl(0, 0);
65853 return 0;
65855 _ACEOF
65856 if ac_fn_cxx_try_compile "$LINENO"; then :
65857 glibcxx_cv_func_frexpl_use=yes
65858 else
65859 glibcxx_cv_func_frexpl_use=no
65861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65862 ac_ext=c
65863 ac_cpp='$CPP $CPPFLAGS'
65864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65873 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65875 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65876 for ac_func in frexpl
65877 do :
65878 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65879 if test "x$ac_cv_func_frexpl" = xyes; then :
65880 cat >>confdefs.h <<_ACEOF
65881 #define HAVE_FREXPL 1
65882 _ACEOF
65885 done
65887 else
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65890 $as_echo_n "checking for _frexpl declaration... " >&6; }
65891 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65892 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65893 $as_echo_n "(cached) " >&6
65894 else
65897 ac_ext=cpp
65898 ac_cpp='$CXXCPP $CPPFLAGS'
65899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65904 /* end confdefs.h. */
65905 #include <math.h>
65907 main ()
65909 _frexpl(0, 0);
65911 return 0;
65913 _ACEOF
65914 if ac_fn_cxx_try_compile "$LINENO"; then :
65915 glibcxx_cv_func__frexpl_use=yes
65916 else
65917 glibcxx_cv_func__frexpl_use=no
65919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65920 ac_ext=c
65921 ac_cpp='$CPP $CPPFLAGS'
65922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65931 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65933 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65934 for ac_func in _frexpl
65935 do :
65936 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65937 if test "x$ac_cv_func__frexpl" = xyes; then :
65938 cat >>confdefs.h <<_ACEOF
65939 #define HAVE__FREXPL 1
65940 _ACEOF
65943 done
65952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65953 $as_echo_n "checking for hypotl declaration... " >&6; }
65954 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65955 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65956 $as_echo_n "(cached) " >&6
65957 else
65960 ac_ext=cpp
65961 ac_cpp='$CXXCPP $CPPFLAGS'
65962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65967 /* end confdefs.h. */
65968 #include <math.h>
65970 main ()
65972 hypotl(0, 0);
65974 return 0;
65976 _ACEOF
65977 if ac_fn_cxx_try_compile "$LINENO"; then :
65978 glibcxx_cv_func_hypotl_use=yes
65979 else
65980 glibcxx_cv_func_hypotl_use=no
65982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65983 ac_ext=c
65984 ac_cpp='$CPP $CPPFLAGS'
65985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65994 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65996 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65997 for ac_func in hypotl
65998 do :
65999 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
66000 if test "x$ac_cv_func_hypotl" = xyes; then :
66001 cat >>confdefs.h <<_ACEOF
66002 #define HAVE_HYPOTL 1
66003 _ACEOF
66006 done
66008 else
66010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
66011 $as_echo_n "checking for _hypotl declaration... " >&6; }
66012 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66013 if ${glibcxx_cv_func__hypotl_use+:} false; then :
66014 $as_echo_n "(cached) " >&6
66015 else
66018 ac_ext=cpp
66019 ac_cpp='$CXXCPP $CPPFLAGS'
66020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66025 /* end confdefs.h. */
66026 #include <math.h>
66028 main ()
66030 _hypotl(0, 0);
66032 return 0;
66034 _ACEOF
66035 if ac_fn_cxx_try_compile "$LINENO"; then :
66036 glibcxx_cv_func__hypotl_use=yes
66037 else
66038 glibcxx_cv_func__hypotl_use=no
66040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66041 ac_ext=c
66042 ac_cpp='$CPP $CPPFLAGS'
66043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
66052 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
66054 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66055 for ac_func in _hypotl
66056 do :
66057 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
66058 if test "x$ac_cv_func__hypotl" = xyes; then :
66059 cat >>confdefs.h <<_ACEOF
66060 #define HAVE__HYPOTL 1
66061 _ACEOF
66064 done
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
66074 $as_echo_n "checking for ldexpl declaration... " >&6; }
66075 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66076 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
66077 $as_echo_n "(cached) " >&6
66078 else
66081 ac_ext=cpp
66082 ac_cpp='$CXXCPP $CPPFLAGS'
66083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66088 /* end confdefs.h. */
66089 #include <math.h>
66091 main ()
66093 ldexpl(0, 0);
66095 return 0;
66097 _ACEOF
66098 if ac_fn_cxx_try_compile "$LINENO"; then :
66099 glibcxx_cv_func_ldexpl_use=yes
66100 else
66101 glibcxx_cv_func_ldexpl_use=no
66103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66104 ac_ext=c
66105 ac_cpp='$CPP $CPPFLAGS'
66106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
66115 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
66117 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66118 for ac_func in ldexpl
66119 do :
66120 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
66121 if test "x$ac_cv_func_ldexpl" = xyes; then :
66122 cat >>confdefs.h <<_ACEOF
66123 #define HAVE_LDEXPL 1
66124 _ACEOF
66127 done
66129 else
66131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
66132 $as_echo_n "checking for _ldexpl declaration... " >&6; }
66133 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66134 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
66135 $as_echo_n "(cached) " >&6
66136 else
66139 ac_ext=cpp
66140 ac_cpp='$CXXCPP $CPPFLAGS'
66141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66146 /* end confdefs.h. */
66147 #include <math.h>
66149 main ()
66151 _ldexpl(0, 0);
66153 return 0;
66155 _ACEOF
66156 if ac_fn_cxx_try_compile "$LINENO"; then :
66157 glibcxx_cv_func__ldexpl_use=yes
66158 else
66159 glibcxx_cv_func__ldexpl_use=no
66161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66162 ac_ext=c
66163 ac_cpp='$CPP $CPPFLAGS'
66164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
66173 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
66175 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66176 for ac_func in _ldexpl
66177 do :
66178 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
66179 if test "x$ac_cv_func__ldexpl" = xyes; then :
66180 cat >>confdefs.h <<_ACEOF
66181 #define HAVE__LDEXPL 1
66182 _ACEOF
66185 done
66194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
66195 $as_echo_n "checking for logl declaration... " >&6; }
66196 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66197 if ${glibcxx_cv_func_logl_use+:} false; then :
66198 $as_echo_n "(cached) " >&6
66199 else
66202 ac_ext=cpp
66203 ac_cpp='$CXXCPP $CPPFLAGS'
66204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66209 /* end confdefs.h. */
66210 #include <math.h>
66211 #ifdef HAVE_IEEEFP_H
66212 #include <ieeefp.h>
66213 #endif
66216 main ()
66218 logl(0);
66220 return 0;
66222 _ACEOF
66223 if ac_fn_cxx_try_compile "$LINENO"; then :
66224 glibcxx_cv_func_logl_use=yes
66225 else
66226 glibcxx_cv_func_logl_use=no
66228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66229 ac_ext=c
66230 ac_cpp='$CPP $CPPFLAGS'
66231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66240 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66242 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66243 for ac_func in logl
66244 do :
66245 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66246 if test "x$ac_cv_func_logl" = xyes; then :
66247 cat >>confdefs.h <<_ACEOF
66248 #define HAVE_LOGL 1
66249 _ACEOF
66252 done
66254 else
66256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66257 $as_echo_n "checking for _logl declaration... " >&6; }
66258 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66259 if ${glibcxx_cv_func__logl_use+:} false; then :
66260 $as_echo_n "(cached) " >&6
66261 else
66264 ac_ext=cpp
66265 ac_cpp='$CXXCPP $CPPFLAGS'
66266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66271 /* end confdefs.h. */
66272 #include <math.h>
66273 #ifdef HAVE_IEEEFP_H
66274 #include <ieeefp.h>
66275 #endif
66278 main ()
66280 _logl(0);
66282 return 0;
66284 _ACEOF
66285 if ac_fn_cxx_try_compile "$LINENO"; then :
66286 glibcxx_cv_func__logl_use=yes
66287 else
66288 glibcxx_cv_func__logl_use=no
66290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66291 ac_ext=c
66292 ac_cpp='$CPP $CPPFLAGS'
66293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66302 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66304 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66305 for ac_func in _logl
66306 do :
66307 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66308 if test "x$ac_cv_func__logl" = xyes; then :
66309 cat >>confdefs.h <<_ACEOF
66310 #define HAVE__LOGL 1
66311 _ACEOF
66314 done
66323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66324 $as_echo_n "checking for log10l declaration... " >&6; }
66325 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66326 if ${glibcxx_cv_func_log10l_use+:} false; then :
66327 $as_echo_n "(cached) " >&6
66328 else
66331 ac_ext=cpp
66332 ac_cpp='$CXXCPP $CPPFLAGS'
66333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66338 /* end confdefs.h. */
66339 #include <math.h>
66340 #ifdef HAVE_IEEEFP_H
66341 #include <ieeefp.h>
66342 #endif
66345 main ()
66347 log10l(0);
66349 return 0;
66351 _ACEOF
66352 if ac_fn_cxx_try_compile "$LINENO"; then :
66353 glibcxx_cv_func_log10l_use=yes
66354 else
66355 glibcxx_cv_func_log10l_use=no
66357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66358 ac_ext=c
66359 ac_cpp='$CPP $CPPFLAGS'
66360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66369 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66371 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66372 for ac_func in log10l
66373 do :
66374 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66375 if test "x$ac_cv_func_log10l" = xyes; then :
66376 cat >>confdefs.h <<_ACEOF
66377 #define HAVE_LOG10L 1
66378 _ACEOF
66381 done
66383 else
66385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66386 $as_echo_n "checking for _log10l declaration... " >&6; }
66387 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66388 if ${glibcxx_cv_func__log10l_use+:} false; then :
66389 $as_echo_n "(cached) " >&6
66390 else
66393 ac_ext=cpp
66394 ac_cpp='$CXXCPP $CPPFLAGS'
66395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66400 /* end confdefs.h. */
66401 #include <math.h>
66402 #ifdef HAVE_IEEEFP_H
66403 #include <ieeefp.h>
66404 #endif
66407 main ()
66409 _log10l(0);
66411 return 0;
66413 _ACEOF
66414 if ac_fn_cxx_try_compile "$LINENO"; then :
66415 glibcxx_cv_func__log10l_use=yes
66416 else
66417 glibcxx_cv_func__log10l_use=no
66419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66420 ac_ext=c
66421 ac_cpp='$CPP $CPPFLAGS'
66422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66431 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66433 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66434 for ac_func in _log10l
66435 do :
66436 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66437 if test "x$ac_cv_func__log10l" = xyes; then :
66438 cat >>confdefs.h <<_ACEOF
66439 #define HAVE__LOG10L 1
66440 _ACEOF
66443 done
66452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66453 $as_echo_n "checking for modfl declaration... " >&6; }
66454 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66455 if ${glibcxx_cv_func_modfl_use+:} false; then :
66456 $as_echo_n "(cached) " >&6
66457 else
66460 ac_ext=cpp
66461 ac_cpp='$CXXCPP $CPPFLAGS'
66462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66467 /* end confdefs.h. */
66468 #include <math.h>
66470 main ()
66472 modfl(0, 0);
66474 return 0;
66476 _ACEOF
66477 if ac_fn_cxx_try_compile "$LINENO"; then :
66478 glibcxx_cv_func_modfl_use=yes
66479 else
66480 glibcxx_cv_func_modfl_use=no
66482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66483 ac_ext=c
66484 ac_cpp='$CPP $CPPFLAGS'
66485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66494 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66496 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66497 for ac_func in modfl
66498 do :
66499 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66500 if test "x$ac_cv_func_modfl" = xyes; then :
66501 cat >>confdefs.h <<_ACEOF
66502 #define HAVE_MODFL 1
66503 _ACEOF
66506 done
66508 else
66510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66511 $as_echo_n "checking for _modfl declaration... " >&6; }
66512 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66513 if ${glibcxx_cv_func__modfl_use+:} false; then :
66514 $as_echo_n "(cached) " >&6
66515 else
66518 ac_ext=cpp
66519 ac_cpp='$CXXCPP $CPPFLAGS'
66520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66525 /* end confdefs.h. */
66526 #include <math.h>
66528 main ()
66530 _modfl(0, 0);
66532 return 0;
66534 _ACEOF
66535 if ac_fn_cxx_try_compile "$LINENO"; then :
66536 glibcxx_cv_func__modfl_use=yes
66537 else
66538 glibcxx_cv_func__modfl_use=no
66540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66541 ac_ext=c
66542 ac_cpp='$CPP $CPPFLAGS'
66543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66552 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66554 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66555 for ac_func in _modfl
66556 do :
66557 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66558 if test "x$ac_cv_func__modfl" = xyes; then :
66559 cat >>confdefs.h <<_ACEOF
66560 #define HAVE__MODFL 1
66561 _ACEOF
66564 done
66573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66574 $as_echo_n "checking for powl declaration... " >&6; }
66575 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66576 if ${glibcxx_cv_func_powl_use+:} false; then :
66577 $as_echo_n "(cached) " >&6
66578 else
66581 ac_ext=cpp
66582 ac_cpp='$CXXCPP $CPPFLAGS'
66583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66588 /* end confdefs.h. */
66589 #include <math.h>
66591 main ()
66593 powl(0, 0);
66595 return 0;
66597 _ACEOF
66598 if ac_fn_cxx_try_compile "$LINENO"; then :
66599 glibcxx_cv_func_powl_use=yes
66600 else
66601 glibcxx_cv_func_powl_use=no
66603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66604 ac_ext=c
66605 ac_cpp='$CPP $CPPFLAGS'
66606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66615 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66617 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66618 for ac_func in powl
66619 do :
66620 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66621 if test "x$ac_cv_func_powl" = xyes; then :
66622 cat >>confdefs.h <<_ACEOF
66623 #define HAVE_POWL 1
66624 _ACEOF
66627 done
66629 else
66631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66632 $as_echo_n "checking for _powl declaration... " >&6; }
66633 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66634 if ${glibcxx_cv_func__powl_use+:} false; then :
66635 $as_echo_n "(cached) " >&6
66636 else
66639 ac_ext=cpp
66640 ac_cpp='$CXXCPP $CPPFLAGS'
66641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66646 /* end confdefs.h. */
66647 #include <math.h>
66649 main ()
66651 _powl(0, 0);
66653 return 0;
66655 _ACEOF
66656 if ac_fn_cxx_try_compile "$LINENO"; then :
66657 glibcxx_cv_func__powl_use=yes
66658 else
66659 glibcxx_cv_func__powl_use=no
66661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66662 ac_ext=c
66663 ac_cpp='$CPP $CPPFLAGS'
66664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66673 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66675 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66676 for ac_func in _powl
66677 do :
66678 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66679 if test "x$ac_cv_func__powl" = xyes; then :
66680 cat >>confdefs.h <<_ACEOF
66681 #define HAVE__POWL 1
66682 _ACEOF
66685 done
66694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66695 $as_echo_n "checking for sqrtl declaration... " >&6; }
66696 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66697 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66698 $as_echo_n "(cached) " >&6
66699 else
66702 ac_ext=cpp
66703 ac_cpp='$CXXCPP $CPPFLAGS'
66704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66709 /* end confdefs.h. */
66710 #include <math.h>
66711 #ifdef HAVE_IEEEFP_H
66712 #include <ieeefp.h>
66713 #endif
66716 main ()
66718 sqrtl(0);
66720 return 0;
66722 _ACEOF
66723 if ac_fn_cxx_try_compile "$LINENO"; then :
66724 glibcxx_cv_func_sqrtl_use=yes
66725 else
66726 glibcxx_cv_func_sqrtl_use=no
66728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66729 ac_ext=c
66730 ac_cpp='$CPP $CPPFLAGS'
66731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66740 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66742 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66743 for ac_func in sqrtl
66744 do :
66745 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66746 if test "x$ac_cv_func_sqrtl" = xyes; then :
66747 cat >>confdefs.h <<_ACEOF
66748 #define HAVE_SQRTL 1
66749 _ACEOF
66752 done
66754 else
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66757 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66758 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66759 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66760 $as_echo_n "(cached) " >&6
66761 else
66764 ac_ext=cpp
66765 ac_cpp='$CXXCPP $CPPFLAGS'
66766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66771 /* end confdefs.h. */
66772 #include <math.h>
66773 #ifdef HAVE_IEEEFP_H
66774 #include <ieeefp.h>
66775 #endif
66778 main ()
66780 _sqrtl(0);
66782 return 0;
66784 _ACEOF
66785 if ac_fn_cxx_try_compile "$LINENO"; then :
66786 glibcxx_cv_func__sqrtl_use=yes
66787 else
66788 glibcxx_cv_func__sqrtl_use=no
66790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66791 ac_ext=c
66792 ac_cpp='$CPP $CPPFLAGS'
66793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66802 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66804 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66805 for ac_func in _sqrtl
66806 do :
66807 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66808 if test "x$ac_cv_func__sqrtl" = xyes; then :
66809 cat >>confdefs.h <<_ACEOF
66810 #define HAVE__SQRTL 1
66811 _ACEOF
66814 done
66823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66824 $as_echo_n "checking for sincosl declaration... " >&6; }
66825 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66826 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66827 $as_echo_n "(cached) " >&6
66828 else
66831 ac_ext=cpp
66832 ac_cpp='$CXXCPP $CPPFLAGS'
66833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66838 /* end confdefs.h. */
66839 #include <math.h>
66841 main ()
66843 sincosl(0, 0, 0);
66845 return 0;
66847 _ACEOF
66848 if ac_fn_cxx_try_compile "$LINENO"; then :
66849 glibcxx_cv_func_sincosl_use=yes
66850 else
66851 glibcxx_cv_func_sincosl_use=no
66853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66854 ac_ext=c
66855 ac_cpp='$CPP $CPPFLAGS'
66856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66865 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66867 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66868 for ac_func in sincosl
66869 do :
66870 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66871 if test "x$ac_cv_func_sincosl" = xyes; then :
66872 cat >>confdefs.h <<_ACEOF
66873 #define HAVE_SINCOSL 1
66874 _ACEOF
66877 done
66879 else
66881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66882 $as_echo_n "checking for _sincosl declaration... " >&6; }
66883 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66884 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66885 $as_echo_n "(cached) " >&6
66886 else
66889 ac_ext=cpp
66890 ac_cpp='$CXXCPP $CPPFLAGS'
66891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66896 /* end confdefs.h. */
66897 #include <math.h>
66899 main ()
66901 _sincosl(0, 0, 0);
66903 return 0;
66905 _ACEOF
66906 if ac_fn_cxx_try_compile "$LINENO"; then :
66907 glibcxx_cv_func__sincosl_use=yes
66908 else
66909 glibcxx_cv_func__sincosl_use=no
66911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66912 ac_ext=c
66913 ac_cpp='$CPP $CPPFLAGS'
66914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66923 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66925 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66926 for ac_func in _sincosl
66927 do :
66928 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66929 if test "x$ac_cv_func__sincosl" = xyes; then :
66930 cat >>confdefs.h <<_ACEOF
66931 #define HAVE__SINCOSL 1
66932 _ACEOF
66935 done
66944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66945 $as_echo_n "checking for finitel declaration... " >&6; }
66946 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66947 if ${glibcxx_cv_func_finitel_use+:} false; then :
66948 $as_echo_n "(cached) " >&6
66949 else
66952 ac_ext=cpp
66953 ac_cpp='$CXXCPP $CPPFLAGS'
66954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66959 /* end confdefs.h. */
66960 #include <math.h>
66961 #ifdef HAVE_IEEEFP_H
66962 #include <ieeefp.h>
66963 #endif
66966 main ()
66968 finitel(0);
66970 return 0;
66972 _ACEOF
66973 if ac_fn_cxx_try_compile "$LINENO"; then :
66974 glibcxx_cv_func_finitel_use=yes
66975 else
66976 glibcxx_cv_func_finitel_use=no
66978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66979 ac_ext=c
66980 ac_cpp='$CPP $CPPFLAGS'
66981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66990 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66992 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66993 for ac_func in finitel
66994 do :
66995 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66996 if test "x$ac_cv_func_finitel" = xyes; then :
66997 cat >>confdefs.h <<_ACEOF
66998 #define HAVE_FINITEL 1
66999 _ACEOF
67002 done
67004 else
67006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
67007 $as_echo_n "checking for _finitel declaration... " >&6; }
67008 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
67009 if ${glibcxx_cv_func__finitel_use+:} false; then :
67010 $as_echo_n "(cached) " >&6
67011 else
67014 ac_ext=cpp
67015 ac_cpp='$CXXCPP $CPPFLAGS'
67016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67021 /* end confdefs.h. */
67022 #include <math.h>
67023 #ifdef HAVE_IEEEFP_H
67024 #include <ieeefp.h>
67025 #endif
67028 main ()
67030 _finitel(0);
67032 return 0;
67034 _ACEOF
67035 if ac_fn_cxx_try_compile "$LINENO"; then :
67036 glibcxx_cv_func__finitel_use=yes
67037 else
67038 glibcxx_cv_func__finitel_use=no
67040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67041 ac_ext=c
67042 ac_cpp='$CPP $CPPFLAGS'
67043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
67052 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
67054 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
67055 for ac_func in _finitel
67056 do :
67057 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
67058 if test "x$ac_cv_func__finitel" = xyes; then :
67059 cat >>confdefs.h <<_ACEOF
67060 #define HAVE__FINITEL 1
67061 _ACEOF
67064 done
67072 LIBS="$ac_save_LIBS"
67073 CXXFLAGS="$ac_save_CXXFLAGS"
67076 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67077 ac_save_CXXFLAGS="$CXXFLAGS"
67078 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
67082 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
67083 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
67084 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
67085 $as_echo_n "(cached) " >&6
67086 else
67089 ac_ext=cpp
67090 ac_cpp='$CXXCPP $CPPFLAGS'
67091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67096 /* end confdefs.h. */
67097 #include <stdlib.h>
67099 main ()
67101 at_quick_exit(0);
67103 return 0;
67105 _ACEOF
67106 if ac_fn_cxx_try_compile "$LINENO"; then :
67107 glibcxx_cv_func_at_quick_exit_use=yes
67108 else
67109 glibcxx_cv_func_at_quick_exit_use=no
67111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67112 ac_ext=c
67113 ac_cpp='$CPP $CPPFLAGS'
67114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
67123 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
67124 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
67125 for ac_func in at_quick_exit
67126 do :
67127 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
67128 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
67129 cat >>confdefs.h <<_ACEOF
67130 #define HAVE_AT_QUICK_EXIT 1
67131 _ACEOF
67134 done
67139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
67140 $as_echo_n "checking for quick_exit declaration... " >&6; }
67141 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
67142 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
67143 $as_echo_n "(cached) " >&6
67144 else
67147 ac_ext=cpp
67148 ac_cpp='$CXXCPP $CPPFLAGS'
67149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67154 /* end confdefs.h. */
67155 #include <stdlib.h>
67157 main ()
67159 quick_exit(0);
67161 return 0;
67163 _ACEOF
67164 if ac_fn_cxx_try_compile "$LINENO"; then :
67165 glibcxx_cv_func_quick_exit_use=yes
67166 else
67167 glibcxx_cv_func_quick_exit_use=no
67169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67170 ac_ext=c
67171 ac_cpp='$CPP $CPPFLAGS'
67172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
67181 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
67182 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
67183 for ac_func in quick_exit
67184 do :
67185 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
67186 if test "x$ac_cv_func_quick_exit" = xyes; then :
67187 cat >>confdefs.h <<_ACEOF
67188 #define HAVE_QUICK_EXIT 1
67189 _ACEOF
67192 done
67197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
67198 $as_echo_n "checking for strtold declaration... " >&6; }
67199 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67200 if ${glibcxx_cv_func_strtold_use+:} false; then :
67201 $as_echo_n "(cached) " >&6
67202 else
67205 ac_ext=cpp
67206 ac_cpp='$CXXCPP $CPPFLAGS'
67207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67212 /* end confdefs.h. */
67213 #include <stdlib.h>
67215 main ()
67217 strtold(0, 0);
67219 return 0;
67221 _ACEOF
67222 if ac_fn_cxx_try_compile "$LINENO"; then :
67223 glibcxx_cv_func_strtold_use=yes
67224 else
67225 glibcxx_cv_func_strtold_use=no
67227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67228 ac_ext=c
67229 ac_cpp='$CPP $CPPFLAGS'
67230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67239 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67240 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67241 for ac_func in strtold
67242 do :
67243 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67244 if test "x$ac_cv_func_strtold" = xyes; then :
67245 cat >>confdefs.h <<_ACEOF
67246 #define HAVE_STRTOLD 1
67247 _ACEOF
67250 done
67257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67258 $as_echo_n "checking for strtof declaration... " >&6; }
67259 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67260 if ${glibcxx_cv_func_strtof_use+:} false; then :
67261 $as_echo_n "(cached) " >&6
67262 else
67265 ac_ext=cpp
67266 ac_cpp='$CXXCPP $CPPFLAGS'
67267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67272 /* end confdefs.h. */
67273 #include <stdlib.h>
67275 main ()
67277 strtof(0, 0);
67279 return 0;
67281 _ACEOF
67282 if ac_fn_cxx_try_compile "$LINENO"; then :
67283 glibcxx_cv_func_strtof_use=yes
67284 else
67285 glibcxx_cv_func_strtof_use=no
67287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67288 ac_ext=c
67289 ac_cpp='$CPP $CPPFLAGS'
67290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67299 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67300 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67301 for ac_func in strtof
67302 do :
67303 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67304 if test "x$ac_cv_func_strtof" = xyes; then :
67305 cat >>confdefs.h <<_ACEOF
67306 #define HAVE_STRTOF 1
67307 _ACEOF
67310 done
67317 CXXFLAGS="$ac_save_CXXFLAGS"
67320 *-tpf)
67321 SECTION_FLAGS='-ffunction-sections -fdata-sections'
67322 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
67324 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
67326 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
67328 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
67330 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
67332 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
67334 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
67336 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
67338 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
67340 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
67342 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
67344 if test x"long_double_math_on_this_cpu" = x"yes"; then
67345 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
67347 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
67349 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
67351 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
67355 *-*vms*)
67356 # Check for available headers.
67357 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
67359 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67360 ac_save_CXXFLAGS="$CXXFLAGS"
67361 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67364 $as_echo_n "checking for sin in -lm... " >&6; }
67365 if ${ac_cv_lib_m_sin+:} false; then :
67366 $as_echo_n "(cached) " >&6
67367 else
67368 ac_check_lib_save_LIBS=$LIBS
67369 LIBS="-lm $LIBS"
67370 if test x$gcc_no_link = xyes; then
67371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67374 /* end confdefs.h. */
67376 /* Override any GCC internal prototype to avoid an error.
67377 Use char because int might match the return type of a GCC
67378 builtin and then its argument prototype would still apply. */
67379 #ifdef __cplusplus
67380 extern "C"
67381 #endif
67382 char sin ();
67384 main ()
67386 return sin ();
67388 return 0;
67390 _ACEOF
67391 if ac_fn_c_try_link "$LINENO"; then :
67392 ac_cv_lib_m_sin=yes
67393 else
67394 ac_cv_lib_m_sin=no
67396 rm -f core conftest.err conftest.$ac_objext \
67397 conftest$ac_exeext conftest.$ac_ext
67398 LIBS=$ac_check_lib_save_LIBS
67400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67401 $as_echo "$ac_cv_lib_m_sin" >&6; }
67402 if test "x$ac_cv_lib_m_sin" = xyes; then :
67403 libm="-lm"
67406 ac_save_LIBS="$LIBS"
67407 LIBS="$LIBS $libm"
67411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67412 $as_echo_n "checking for isinf declaration... " >&6; }
67413 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67414 if ${glibcxx_cv_func_isinf_use+:} false; then :
67415 $as_echo_n "(cached) " >&6
67416 else
67419 ac_ext=cpp
67420 ac_cpp='$CXXCPP $CPPFLAGS'
67421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67426 /* end confdefs.h. */
67427 #include <math.h>
67428 #ifdef HAVE_IEEEFP_H
67429 #include <ieeefp.h>
67430 #endif
67433 main ()
67435 isinf(0);
67437 return 0;
67439 _ACEOF
67440 if ac_fn_cxx_try_compile "$LINENO"; then :
67441 glibcxx_cv_func_isinf_use=yes
67442 else
67443 glibcxx_cv_func_isinf_use=no
67445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67446 ac_ext=c
67447 ac_cpp='$CPP $CPPFLAGS'
67448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67457 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67459 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67460 for ac_func in isinf
67461 do :
67462 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67463 if test "x$ac_cv_func_isinf" = xyes; then :
67464 cat >>confdefs.h <<_ACEOF
67465 #define HAVE_ISINF 1
67466 _ACEOF
67469 done
67471 else
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67474 $as_echo_n "checking for _isinf declaration... " >&6; }
67475 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67476 if ${glibcxx_cv_func__isinf_use+:} false; then :
67477 $as_echo_n "(cached) " >&6
67478 else
67481 ac_ext=cpp
67482 ac_cpp='$CXXCPP $CPPFLAGS'
67483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67488 /* end confdefs.h. */
67489 #include <math.h>
67490 #ifdef HAVE_IEEEFP_H
67491 #include <ieeefp.h>
67492 #endif
67495 main ()
67497 _isinf(0);
67499 return 0;
67501 _ACEOF
67502 if ac_fn_cxx_try_compile "$LINENO"; then :
67503 glibcxx_cv_func__isinf_use=yes
67504 else
67505 glibcxx_cv_func__isinf_use=no
67507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67508 ac_ext=c
67509 ac_cpp='$CPP $CPPFLAGS'
67510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67519 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67521 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67522 for ac_func in _isinf
67523 do :
67524 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67525 if test "x$ac_cv_func__isinf" = xyes; then :
67526 cat >>confdefs.h <<_ACEOF
67527 #define HAVE__ISINF 1
67528 _ACEOF
67531 done
67540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67541 $as_echo_n "checking for isnan declaration... " >&6; }
67542 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67543 if ${glibcxx_cv_func_isnan_use+:} false; then :
67544 $as_echo_n "(cached) " >&6
67545 else
67548 ac_ext=cpp
67549 ac_cpp='$CXXCPP $CPPFLAGS'
67550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67555 /* end confdefs.h. */
67556 #include <math.h>
67557 #ifdef HAVE_IEEEFP_H
67558 #include <ieeefp.h>
67559 #endif
67562 main ()
67564 isnan(0);
67566 return 0;
67568 _ACEOF
67569 if ac_fn_cxx_try_compile "$LINENO"; then :
67570 glibcxx_cv_func_isnan_use=yes
67571 else
67572 glibcxx_cv_func_isnan_use=no
67574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67575 ac_ext=c
67576 ac_cpp='$CPP $CPPFLAGS'
67577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67586 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67588 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67589 for ac_func in isnan
67590 do :
67591 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67592 if test "x$ac_cv_func_isnan" = xyes; then :
67593 cat >>confdefs.h <<_ACEOF
67594 #define HAVE_ISNAN 1
67595 _ACEOF
67598 done
67600 else
67602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67603 $as_echo_n "checking for _isnan declaration... " >&6; }
67604 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67605 if ${glibcxx_cv_func__isnan_use+:} false; then :
67606 $as_echo_n "(cached) " >&6
67607 else
67610 ac_ext=cpp
67611 ac_cpp='$CXXCPP $CPPFLAGS'
67612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67617 /* end confdefs.h. */
67618 #include <math.h>
67619 #ifdef HAVE_IEEEFP_H
67620 #include <ieeefp.h>
67621 #endif
67624 main ()
67626 _isnan(0);
67628 return 0;
67630 _ACEOF
67631 if ac_fn_cxx_try_compile "$LINENO"; then :
67632 glibcxx_cv_func__isnan_use=yes
67633 else
67634 glibcxx_cv_func__isnan_use=no
67636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67637 ac_ext=c
67638 ac_cpp='$CPP $CPPFLAGS'
67639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67648 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67650 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67651 for ac_func in _isnan
67652 do :
67653 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67654 if test "x$ac_cv_func__isnan" = xyes; then :
67655 cat >>confdefs.h <<_ACEOF
67656 #define HAVE__ISNAN 1
67657 _ACEOF
67660 done
67669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67670 $as_echo_n "checking for finite declaration... " >&6; }
67671 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67672 if ${glibcxx_cv_func_finite_use+:} false; then :
67673 $as_echo_n "(cached) " >&6
67674 else
67677 ac_ext=cpp
67678 ac_cpp='$CXXCPP $CPPFLAGS'
67679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67684 /* end confdefs.h. */
67685 #include <math.h>
67686 #ifdef HAVE_IEEEFP_H
67687 #include <ieeefp.h>
67688 #endif
67691 main ()
67693 finite(0);
67695 return 0;
67697 _ACEOF
67698 if ac_fn_cxx_try_compile "$LINENO"; then :
67699 glibcxx_cv_func_finite_use=yes
67700 else
67701 glibcxx_cv_func_finite_use=no
67703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67704 ac_ext=c
67705 ac_cpp='$CPP $CPPFLAGS'
67706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67715 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67717 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67718 for ac_func in finite
67719 do :
67720 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67721 if test "x$ac_cv_func_finite" = xyes; then :
67722 cat >>confdefs.h <<_ACEOF
67723 #define HAVE_FINITE 1
67724 _ACEOF
67727 done
67729 else
67731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67732 $as_echo_n "checking for _finite declaration... " >&6; }
67733 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67734 if ${glibcxx_cv_func__finite_use+:} false; then :
67735 $as_echo_n "(cached) " >&6
67736 else
67739 ac_ext=cpp
67740 ac_cpp='$CXXCPP $CPPFLAGS'
67741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67746 /* end confdefs.h. */
67747 #include <math.h>
67748 #ifdef HAVE_IEEEFP_H
67749 #include <ieeefp.h>
67750 #endif
67753 main ()
67755 _finite(0);
67757 return 0;
67759 _ACEOF
67760 if ac_fn_cxx_try_compile "$LINENO"; then :
67761 glibcxx_cv_func__finite_use=yes
67762 else
67763 glibcxx_cv_func__finite_use=no
67765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67766 ac_ext=c
67767 ac_cpp='$CPP $CPPFLAGS'
67768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67777 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67779 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67780 for ac_func in _finite
67781 do :
67782 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67783 if test "x$ac_cv_func__finite" = xyes; then :
67784 cat >>confdefs.h <<_ACEOF
67785 #define HAVE__FINITE 1
67786 _ACEOF
67789 done
67798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67799 $as_echo_n "checking for sincos declaration... " >&6; }
67800 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67801 if ${glibcxx_cv_func_sincos_use+:} false; then :
67802 $as_echo_n "(cached) " >&6
67803 else
67806 ac_ext=cpp
67807 ac_cpp='$CXXCPP $CPPFLAGS'
67808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67813 /* end confdefs.h. */
67814 #include <math.h>
67816 main ()
67818 sincos(0, 0, 0);
67820 return 0;
67822 _ACEOF
67823 if ac_fn_cxx_try_compile "$LINENO"; then :
67824 glibcxx_cv_func_sincos_use=yes
67825 else
67826 glibcxx_cv_func_sincos_use=no
67828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67829 ac_ext=c
67830 ac_cpp='$CPP $CPPFLAGS'
67831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67840 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67842 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67843 for ac_func in sincos
67844 do :
67845 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67846 if test "x$ac_cv_func_sincos" = xyes; then :
67847 cat >>confdefs.h <<_ACEOF
67848 #define HAVE_SINCOS 1
67849 _ACEOF
67852 done
67854 else
67856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67857 $as_echo_n "checking for _sincos declaration... " >&6; }
67858 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67859 if ${glibcxx_cv_func__sincos_use+:} false; then :
67860 $as_echo_n "(cached) " >&6
67861 else
67864 ac_ext=cpp
67865 ac_cpp='$CXXCPP $CPPFLAGS'
67866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67871 /* end confdefs.h. */
67872 #include <math.h>
67874 main ()
67876 _sincos(0, 0, 0);
67878 return 0;
67880 _ACEOF
67881 if ac_fn_cxx_try_compile "$LINENO"; then :
67882 glibcxx_cv_func__sincos_use=yes
67883 else
67884 glibcxx_cv_func__sincos_use=no
67886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67887 ac_ext=c
67888 ac_cpp='$CPP $CPPFLAGS'
67889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67898 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67900 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67901 for ac_func in _sincos
67902 do :
67903 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67904 if test "x$ac_cv_func__sincos" = xyes; then :
67905 cat >>confdefs.h <<_ACEOF
67906 #define HAVE__SINCOS 1
67907 _ACEOF
67910 done
67919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67920 $as_echo_n "checking for fpclass declaration... " >&6; }
67921 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67922 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67923 $as_echo_n "(cached) " >&6
67924 else
67927 ac_ext=cpp
67928 ac_cpp='$CXXCPP $CPPFLAGS'
67929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67934 /* end confdefs.h. */
67935 #include <math.h>
67936 #ifdef HAVE_IEEEFP_H
67937 #include <ieeefp.h>
67938 #endif
67941 main ()
67943 fpclass(0);
67945 return 0;
67947 _ACEOF
67948 if ac_fn_cxx_try_compile "$LINENO"; then :
67949 glibcxx_cv_func_fpclass_use=yes
67950 else
67951 glibcxx_cv_func_fpclass_use=no
67953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67954 ac_ext=c
67955 ac_cpp='$CPP $CPPFLAGS'
67956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67965 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67967 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67968 for ac_func in fpclass
67969 do :
67970 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67971 if test "x$ac_cv_func_fpclass" = xyes; then :
67972 cat >>confdefs.h <<_ACEOF
67973 #define HAVE_FPCLASS 1
67974 _ACEOF
67977 done
67979 else
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67982 $as_echo_n "checking for _fpclass declaration... " >&6; }
67983 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67984 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67985 $as_echo_n "(cached) " >&6
67986 else
67989 ac_ext=cpp
67990 ac_cpp='$CXXCPP $CPPFLAGS'
67991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67996 /* end confdefs.h. */
67997 #include <math.h>
67998 #ifdef HAVE_IEEEFP_H
67999 #include <ieeefp.h>
68000 #endif
68003 main ()
68005 _fpclass(0);
68007 return 0;
68009 _ACEOF
68010 if ac_fn_cxx_try_compile "$LINENO"; then :
68011 glibcxx_cv_func__fpclass_use=yes
68012 else
68013 glibcxx_cv_func__fpclass_use=no
68015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68016 ac_ext=c
68017 ac_cpp='$CPP $CPPFLAGS'
68018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
68027 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
68029 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
68030 for ac_func in _fpclass
68031 do :
68032 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
68033 if test "x$ac_cv_func__fpclass" = xyes; then :
68034 cat >>confdefs.h <<_ACEOF
68035 #define HAVE__FPCLASS 1
68036 _ACEOF
68039 done
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
68049 $as_echo_n "checking for qfpclass declaration... " >&6; }
68050 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
68051 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
68052 $as_echo_n "(cached) " >&6
68053 else
68056 ac_ext=cpp
68057 ac_cpp='$CXXCPP $CPPFLAGS'
68058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68063 /* end confdefs.h. */
68064 #include <math.h>
68065 #ifdef HAVE_IEEEFP_H
68066 #include <ieeefp.h>
68067 #endif
68070 main ()
68072 qfpclass(0);
68074 return 0;
68076 _ACEOF
68077 if ac_fn_cxx_try_compile "$LINENO"; then :
68078 glibcxx_cv_func_qfpclass_use=yes
68079 else
68080 glibcxx_cv_func_qfpclass_use=no
68082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68083 ac_ext=c
68084 ac_cpp='$CPP $CPPFLAGS'
68085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
68094 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
68096 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
68097 for ac_func in qfpclass
68098 do :
68099 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
68100 if test "x$ac_cv_func_qfpclass" = xyes; then :
68101 cat >>confdefs.h <<_ACEOF
68102 #define HAVE_QFPCLASS 1
68103 _ACEOF
68106 done
68108 else
68110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
68111 $as_echo_n "checking for _qfpclass declaration... " >&6; }
68112 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
68113 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
68114 $as_echo_n "(cached) " >&6
68115 else
68118 ac_ext=cpp
68119 ac_cpp='$CXXCPP $CPPFLAGS'
68120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68125 /* end confdefs.h. */
68126 #include <math.h>
68127 #ifdef HAVE_IEEEFP_H
68128 #include <ieeefp.h>
68129 #endif
68132 main ()
68134 _qfpclass(0);
68136 return 0;
68138 _ACEOF
68139 if ac_fn_cxx_try_compile "$LINENO"; then :
68140 glibcxx_cv_func__qfpclass_use=yes
68141 else
68142 glibcxx_cv_func__qfpclass_use=no
68144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68145 ac_ext=c
68146 ac_cpp='$CPP $CPPFLAGS'
68147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
68156 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
68158 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
68159 for ac_func in _qfpclass
68160 do :
68161 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
68162 if test "x$ac_cv_func__qfpclass" = xyes; then :
68163 cat >>confdefs.h <<_ACEOF
68164 #define HAVE__QFPCLASS 1
68165 _ACEOF
68168 done
68177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
68178 $as_echo_n "checking for hypot declaration... " >&6; }
68179 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68180 if ${glibcxx_cv_func_hypot_use+:} false; then :
68181 $as_echo_n "(cached) " >&6
68182 else
68185 ac_ext=cpp
68186 ac_cpp='$CXXCPP $CPPFLAGS'
68187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68192 /* end confdefs.h. */
68193 #include <math.h>
68195 main ()
68197 hypot(0, 0);
68199 return 0;
68201 _ACEOF
68202 if ac_fn_cxx_try_compile "$LINENO"; then :
68203 glibcxx_cv_func_hypot_use=yes
68204 else
68205 glibcxx_cv_func_hypot_use=no
68207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68208 ac_ext=c
68209 ac_cpp='$CPP $CPPFLAGS'
68210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
68219 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
68221 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68222 for ac_func in hypot
68223 do :
68224 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
68225 if test "x$ac_cv_func_hypot" = xyes; then :
68226 cat >>confdefs.h <<_ACEOF
68227 #define HAVE_HYPOT 1
68228 _ACEOF
68231 done
68233 else
68235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68236 $as_echo_n "checking for _hypot declaration... " >&6; }
68237 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68238 if ${glibcxx_cv_func__hypot_use+:} false; then :
68239 $as_echo_n "(cached) " >&6
68240 else
68243 ac_ext=cpp
68244 ac_cpp='$CXXCPP $CPPFLAGS'
68245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68250 /* end confdefs.h. */
68251 #include <math.h>
68253 main ()
68255 _hypot(0, 0);
68257 return 0;
68259 _ACEOF
68260 if ac_fn_cxx_try_compile "$LINENO"; then :
68261 glibcxx_cv_func__hypot_use=yes
68262 else
68263 glibcxx_cv_func__hypot_use=no
68265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68266 ac_ext=c
68267 ac_cpp='$CPP $CPPFLAGS'
68268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68277 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68279 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68280 for ac_func in _hypot
68281 do :
68282 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68283 if test "x$ac_cv_func__hypot" = xyes; then :
68284 cat >>confdefs.h <<_ACEOF
68285 #define HAVE__HYPOT 1
68286 _ACEOF
68289 done
68298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68299 $as_echo_n "checking for float trig functions... " >&6; }
68300 if ${glibcxx_cv_func_float_trig_use+:} false; then :
68301 $as_echo_n "(cached) " >&6
68302 else
68305 ac_ext=cpp
68306 ac_cpp='$CXXCPP $CPPFLAGS'
68307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68312 /* end confdefs.h. */
68313 #include <math.h>
68315 main ()
68317 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68319 return 0;
68321 _ACEOF
68322 if ac_fn_cxx_try_compile "$LINENO"; then :
68323 glibcxx_cv_func_float_trig_use=yes
68324 else
68325 glibcxx_cv_func_float_trig_use=no
68327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68328 ac_ext=c
68329 ac_cpp='$CPP $CPPFLAGS'
68330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68337 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68338 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68339 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68340 do :
68341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68344 cat >>confdefs.h <<_ACEOF
68345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68346 _ACEOF
68349 done
68351 else
68352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68353 $as_echo_n "checking for _float trig functions... " >&6; }
68354 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68355 $as_echo_n "(cached) " >&6
68356 else
68359 ac_ext=cpp
68360 ac_cpp='$CXXCPP $CPPFLAGS'
68361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68366 /* end confdefs.h. */
68367 #include <math.h>
68369 main ()
68371 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68373 return 0;
68375 _ACEOF
68376 if ac_fn_cxx_try_compile "$LINENO"; then :
68377 glibcxx_cv_func__float_trig_use=yes
68378 else
68379 glibcxx_cv_func__float_trig_use=no
68381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68382 ac_ext=c
68383 ac_cpp='$CPP $CPPFLAGS'
68384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68391 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68392 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68393 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68394 do :
68395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68398 cat >>confdefs.h <<_ACEOF
68399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68400 _ACEOF
68403 done
68412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68413 $as_echo_n "checking for float round functions... " >&6; }
68414 if ${glibcxx_cv_func_float_round_use+:} false; then :
68415 $as_echo_n "(cached) " >&6
68416 else
68419 ac_ext=cpp
68420 ac_cpp='$CXXCPP $CPPFLAGS'
68421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68426 /* end confdefs.h. */
68427 #include <math.h>
68429 main ()
68431 ceilf (0); floorf (0);
68433 return 0;
68435 _ACEOF
68436 if ac_fn_cxx_try_compile "$LINENO"; then :
68437 glibcxx_cv_func_float_round_use=yes
68438 else
68439 glibcxx_cv_func_float_round_use=no
68441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68442 ac_ext=c
68443 ac_cpp='$CPP $CPPFLAGS'
68444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68451 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68452 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68453 for ac_func in ceilf floorf
68454 do :
68455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68458 cat >>confdefs.h <<_ACEOF
68459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68460 _ACEOF
68463 done
68465 else
68466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68467 $as_echo_n "checking for _float round functions... " >&6; }
68468 if ${glibcxx_cv_func__float_round_use+:} false; then :
68469 $as_echo_n "(cached) " >&6
68470 else
68473 ac_ext=cpp
68474 ac_cpp='$CXXCPP $CPPFLAGS'
68475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68480 /* end confdefs.h. */
68481 #include <math.h>
68483 main ()
68485 _ceilf (0); _floorf (0);
68487 return 0;
68489 _ACEOF
68490 if ac_fn_cxx_try_compile "$LINENO"; then :
68491 glibcxx_cv_func__float_round_use=yes
68492 else
68493 glibcxx_cv_func__float_round_use=no
68495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68496 ac_ext=c
68497 ac_cpp='$CPP $CPPFLAGS'
68498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68505 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68506 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68507 for ac_func in _ceilf _floorf
68508 do :
68509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68512 cat >>confdefs.h <<_ACEOF
68513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68514 _ACEOF
68517 done
68527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68528 $as_echo_n "checking for expf declaration... " >&6; }
68529 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68530 if ${glibcxx_cv_func_expf_use+:} false; then :
68531 $as_echo_n "(cached) " >&6
68532 else
68535 ac_ext=cpp
68536 ac_cpp='$CXXCPP $CPPFLAGS'
68537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68542 /* end confdefs.h. */
68543 #include <math.h>
68544 #ifdef HAVE_IEEEFP_H
68545 #include <ieeefp.h>
68546 #endif
68549 main ()
68551 expf(0);
68553 return 0;
68555 _ACEOF
68556 if ac_fn_cxx_try_compile "$LINENO"; then :
68557 glibcxx_cv_func_expf_use=yes
68558 else
68559 glibcxx_cv_func_expf_use=no
68561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68562 ac_ext=c
68563 ac_cpp='$CPP $CPPFLAGS'
68564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68573 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68575 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68576 for ac_func in expf
68577 do :
68578 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68579 if test "x$ac_cv_func_expf" = xyes; then :
68580 cat >>confdefs.h <<_ACEOF
68581 #define HAVE_EXPF 1
68582 _ACEOF
68585 done
68587 else
68589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68590 $as_echo_n "checking for _expf declaration... " >&6; }
68591 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68592 if ${glibcxx_cv_func__expf_use+:} false; then :
68593 $as_echo_n "(cached) " >&6
68594 else
68597 ac_ext=cpp
68598 ac_cpp='$CXXCPP $CPPFLAGS'
68599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68604 /* end confdefs.h. */
68605 #include <math.h>
68606 #ifdef HAVE_IEEEFP_H
68607 #include <ieeefp.h>
68608 #endif
68611 main ()
68613 _expf(0);
68615 return 0;
68617 _ACEOF
68618 if ac_fn_cxx_try_compile "$LINENO"; then :
68619 glibcxx_cv_func__expf_use=yes
68620 else
68621 glibcxx_cv_func__expf_use=no
68623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68624 ac_ext=c
68625 ac_cpp='$CPP $CPPFLAGS'
68626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68635 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68637 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68638 for ac_func in _expf
68639 do :
68640 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68641 if test "x$ac_cv_func__expf" = xyes; then :
68642 cat >>confdefs.h <<_ACEOF
68643 #define HAVE__EXPF 1
68644 _ACEOF
68647 done
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68657 $as_echo_n "checking for isnanf declaration... " >&6; }
68658 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68659 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68660 $as_echo_n "(cached) " >&6
68661 else
68664 ac_ext=cpp
68665 ac_cpp='$CXXCPP $CPPFLAGS'
68666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68671 /* end confdefs.h. */
68672 #include <math.h>
68673 #ifdef HAVE_IEEEFP_H
68674 #include <ieeefp.h>
68675 #endif
68678 main ()
68680 isnanf(0);
68682 return 0;
68684 _ACEOF
68685 if ac_fn_cxx_try_compile "$LINENO"; then :
68686 glibcxx_cv_func_isnanf_use=yes
68687 else
68688 glibcxx_cv_func_isnanf_use=no
68690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68691 ac_ext=c
68692 ac_cpp='$CPP $CPPFLAGS'
68693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68702 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68704 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68705 for ac_func in isnanf
68706 do :
68707 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68708 if test "x$ac_cv_func_isnanf" = xyes; then :
68709 cat >>confdefs.h <<_ACEOF
68710 #define HAVE_ISNANF 1
68711 _ACEOF
68714 done
68716 else
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68719 $as_echo_n "checking for _isnanf declaration... " >&6; }
68720 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68721 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68726 ac_ext=cpp
68727 ac_cpp='$CXXCPP $CPPFLAGS'
68728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68733 /* end confdefs.h. */
68734 #include <math.h>
68735 #ifdef HAVE_IEEEFP_H
68736 #include <ieeefp.h>
68737 #endif
68740 main ()
68742 _isnanf(0);
68744 return 0;
68746 _ACEOF
68747 if ac_fn_cxx_try_compile "$LINENO"; then :
68748 glibcxx_cv_func__isnanf_use=yes
68749 else
68750 glibcxx_cv_func__isnanf_use=no
68752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68753 ac_ext=c
68754 ac_cpp='$CPP $CPPFLAGS'
68755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68764 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68766 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68767 for ac_func in _isnanf
68768 do :
68769 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68770 if test "x$ac_cv_func__isnanf" = xyes; then :
68771 cat >>confdefs.h <<_ACEOF
68772 #define HAVE__ISNANF 1
68773 _ACEOF
68776 done
68785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68786 $as_echo_n "checking for isinff declaration... " >&6; }
68787 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68788 if ${glibcxx_cv_func_isinff_use+:} false; then :
68789 $as_echo_n "(cached) " >&6
68790 else
68793 ac_ext=cpp
68794 ac_cpp='$CXXCPP $CPPFLAGS'
68795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68800 /* end confdefs.h. */
68801 #include <math.h>
68802 #ifdef HAVE_IEEEFP_H
68803 #include <ieeefp.h>
68804 #endif
68807 main ()
68809 isinff(0);
68811 return 0;
68813 _ACEOF
68814 if ac_fn_cxx_try_compile "$LINENO"; then :
68815 glibcxx_cv_func_isinff_use=yes
68816 else
68817 glibcxx_cv_func_isinff_use=no
68819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68820 ac_ext=c
68821 ac_cpp='$CPP $CPPFLAGS'
68822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68831 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68833 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68834 for ac_func in isinff
68835 do :
68836 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68837 if test "x$ac_cv_func_isinff" = xyes; then :
68838 cat >>confdefs.h <<_ACEOF
68839 #define HAVE_ISINFF 1
68840 _ACEOF
68843 done
68845 else
68847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68848 $as_echo_n "checking for _isinff declaration... " >&6; }
68849 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68850 if ${glibcxx_cv_func__isinff_use+:} false; then :
68851 $as_echo_n "(cached) " >&6
68852 else
68855 ac_ext=cpp
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862 /* end confdefs.h. */
68863 #include <math.h>
68864 #ifdef HAVE_IEEEFP_H
68865 #include <ieeefp.h>
68866 #endif
68869 main ()
68871 _isinff(0);
68873 return 0;
68875 _ACEOF
68876 if ac_fn_cxx_try_compile "$LINENO"; then :
68877 glibcxx_cv_func__isinff_use=yes
68878 else
68879 glibcxx_cv_func__isinff_use=no
68881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68882 ac_ext=c
68883 ac_cpp='$CPP $CPPFLAGS'
68884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68893 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68895 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68896 for ac_func in _isinff
68897 do :
68898 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68899 if test "x$ac_cv_func__isinff" = xyes; then :
68900 cat >>confdefs.h <<_ACEOF
68901 #define HAVE__ISINFF 1
68902 _ACEOF
68905 done
68914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68915 $as_echo_n "checking for atan2f declaration... " >&6; }
68916 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68917 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68918 $as_echo_n "(cached) " >&6
68919 else
68922 ac_ext=cpp
68923 ac_cpp='$CXXCPP $CPPFLAGS'
68924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68929 /* end confdefs.h. */
68930 #include <math.h>
68932 main ()
68934 atan2f(0, 0);
68936 return 0;
68938 _ACEOF
68939 if ac_fn_cxx_try_compile "$LINENO"; then :
68940 glibcxx_cv_func_atan2f_use=yes
68941 else
68942 glibcxx_cv_func_atan2f_use=no
68944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68945 ac_ext=c
68946 ac_cpp='$CPP $CPPFLAGS'
68947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68956 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68958 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68959 for ac_func in atan2f
68960 do :
68961 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68962 if test "x$ac_cv_func_atan2f" = xyes; then :
68963 cat >>confdefs.h <<_ACEOF
68964 #define HAVE_ATAN2F 1
68965 _ACEOF
68968 done
68970 else
68972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68973 $as_echo_n "checking for _atan2f declaration... " >&6; }
68974 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68975 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68976 $as_echo_n "(cached) " >&6
68977 else
68980 ac_ext=cpp
68981 ac_cpp='$CXXCPP $CPPFLAGS'
68982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68987 /* end confdefs.h. */
68988 #include <math.h>
68990 main ()
68992 _atan2f(0, 0);
68994 return 0;
68996 _ACEOF
68997 if ac_fn_cxx_try_compile "$LINENO"; then :
68998 glibcxx_cv_func__atan2f_use=yes
68999 else
69000 glibcxx_cv_func__atan2f_use=no
69002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69003 ac_ext=c
69004 ac_cpp='$CPP $CPPFLAGS'
69005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
69014 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
69016 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69017 for ac_func in _atan2f
69018 do :
69019 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
69020 if test "x$ac_cv_func__atan2f" = xyes; then :
69021 cat >>confdefs.h <<_ACEOF
69022 #define HAVE__ATAN2F 1
69023 _ACEOF
69026 done
69035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
69036 $as_echo_n "checking for fabsf declaration... " >&6; }
69037 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69038 if ${glibcxx_cv_func_fabsf_use+:} false; then :
69039 $as_echo_n "(cached) " >&6
69040 else
69043 ac_ext=cpp
69044 ac_cpp='$CXXCPP $CPPFLAGS'
69045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69050 /* end confdefs.h. */
69051 #include <math.h>
69052 #ifdef HAVE_IEEEFP_H
69053 #include <ieeefp.h>
69054 #endif
69057 main ()
69059 fabsf(0);
69061 return 0;
69063 _ACEOF
69064 if ac_fn_cxx_try_compile "$LINENO"; then :
69065 glibcxx_cv_func_fabsf_use=yes
69066 else
69067 glibcxx_cv_func_fabsf_use=no
69069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69070 ac_ext=c
69071 ac_cpp='$CPP $CPPFLAGS'
69072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
69081 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
69083 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69084 for ac_func in fabsf
69085 do :
69086 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
69087 if test "x$ac_cv_func_fabsf" = xyes; then :
69088 cat >>confdefs.h <<_ACEOF
69089 #define HAVE_FABSF 1
69090 _ACEOF
69093 done
69095 else
69097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
69098 $as_echo_n "checking for _fabsf declaration... " >&6; }
69099 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69100 if ${glibcxx_cv_func__fabsf_use+:} false; then :
69101 $as_echo_n "(cached) " >&6
69102 else
69105 ac_ext=cpp
69106 ac_cpp='$CXXCPP $CPPFLAGS'
69107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69112 /* end confdefs.h. */
69113 #include <math.h>
69114 #ifdef HAVE_IEEEFP_H
69115 #include <ieeefp.h>
69116 #endif
69119 main ()
69121 _fabsf(0);
69123 return 0;
69125 _ACEOF
69126 if ac_fn_cxx_try_compile "$LINENO"; then :
69127 glibcxx_cv_func__fabsf_use=yes
69128 else
69129 glibcxx_cv_func__fabsf_use=no
69131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69132 ac_ext=c
69133 ac_cpp='$CPP $CPPFLAGS'
69134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
69143 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
69145 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69146 for ac_func in _fabsf
69147 do :
69148 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
69149 if test "x$ac_cv_func__fabsf" = xyes; then :
69150 cat >>confdefs.h <<_ACEOF
69151 #define HAVE__FABSF 1
69152 _ACEOF
69155 done
69164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
69165 $as_echo_n "checking for fmodf declaration... " >&6; }
69166 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69167 if ${glibcxx_cv_func_fmodf_use+:} false; then :
69168 $as_echo_n "(cached) " >&6
69169 else
69172 ac_ext=cpp
69173 ac_cpp='$CXXCPP $CPPFLAGS'
69174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69179 /* end confdefs.h. */
69180 #include <math.h>
69182 main ()
69184 fmodf(0, 0);
69186 return 0;
69188 _ACEOF
69189 if ac_fn_cxx_try_compile "$LINENO"; then :
69190 glibcxx_cv_func_fmodf_use=yes
69191 else
69192 glibcxx_cv_func_fmodf_use=no
69194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69195 ac_ext=c
69196 ac_cpp='$CPP $CPPFLAGS'
69197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
69206 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
69208 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69209 for ac_func in fmodf
69210 do :
69211 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
69212 if test "x$ac_cv_func_fmodf" = xyes; then :
69213 cat >>confdefs.h <<_ACEOF
69214 #define HAVE_FMODF 1
69215 _ACEOF
69218 done
69220 else
69222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
69223 $as_echo_n "checking for _fmodf declaration... " >&6; }
69224 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69225 if ${glibcxx_cv_func__fmodf_use+:} false; then :
69226 $as_echo_n "(cached) " >&6
69227 else
69230 ac_ext=cpp
69231 ac_cpp='$CXXCPP $CPPFLAGS'
69232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69237 /* end confdefs.h. */
69238 #include <math.h>
69240 main ()
69242 _fmodf(0, 0);
69244 return 0;
69246 _ACEOF
69247 if ac_fn_cxx_try_compile "$LINENO"; then :
69248 glibcxx_cv_func__fmodf_use=yes
69249 else
69250 glibcxx_cv_func__fmodf_use=no
69252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253 ac_ext=c
69254 ac_cpp='$CPP $CPPFLAGS'
69255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69264 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69266 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69267 for ac_func in _fmodf
69268 do :
69269 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69270 if test "x$ac_cv_func__fmodf" = xyes; then :
69271 cat >>confdefs.h <<_ACEOF
69272 #define HAVE__FMODF 1
69273 _ACEOF
69276 done
69285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69286 $as_echo_n "checking for frexpf declaration... " >&6; }
69287 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69288 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69289 $as_echo_n "(cached) " >&6
69290 else
69293 ac_ext=cpp
69294 ac_cpp='$CXXCPP $CPPFLAGS'
69295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69300 /* end confdefs.h. */
69301 #include <math.h>
69303 main ()
69305 frexpf(0, 0);
69307 return 0;
69309 _ACEOF
69310 if ac_fn_cxx_try_compile "$LINENO"; then :
69311 glibcxx_cv_func_frexpf_use=yes
69312 else
69313 glibcxx_cv_func_frexpf_use=no
69315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69316 ac_ext=c
69317 ac_cpp='$CPP $CPPFLAGS'
69318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69327 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69329 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69330 for ac_func in frexpf
69331 do :
69332 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69333 if test "x$ac_cv_func_frexpf" = xyes; then :
69334 cat >>confdefs.h <<_ACEOF
69335 #define HAVE_FREXPF 1
69336 _ACEOF
69339 done
69341 else
69343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69344 $as_echo_n "checking for _frexpf declaration... " >&6; }
69345 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69346 if ${glibcxx_cv_func__frexpf_use+:} false; then :
69347 $as_echo_n "(cached) " >&6
69348 else
69351 ac_ext=cpp
69352 ac_cpp='$CXXCPP $CPPFLAGS'
69353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69358 /* end confdefs.h. */
69359 #include <math.h>
69361 main ()
69363 _frexpf(0, 0);
69365 return 0;
69367 _ACEOF
69368 if ac_fn_cxx_try_compile "$LINENO"; then :
69369 glibcxx_cv_func__frexpf_use=yes
69370 else
69371 glibcxx_cv_func__frexpf_use=no
69373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69374 ac_ext=c
69375 ac_cpp='$CPP $CPPFLAGS'
69376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69385 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69387 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69388 for ac_func in _frexpf
69389 do :
69390 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69391 if test "x$ac_cv_func__frexpf" = xyes; then :
69392 cat >>confdefs.h <<_ACEOF
69393 #define HAVE__FREXPF 1
69394 _ACEOF
69397 done
69406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69407 $as_echo_n "checking for hypotf declaration... " >&6; }
69408 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69409 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69410 $as_echo_n "(cached) " >&6
69411 else
69414 ac_ext=cpp
69415 ac_cpp='$CXXCPP $CPPFLAGS'
69416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69421 /* end confdefs.h. */
69422 #include <math.h>
69424 main ()
69426 hypotf(0, 0);
69428 return 0;
69430 _ACEOF
69431 if ac_fn_cxx_try_compile "$LINENO"; then :
69432 glibcxx_cv_func_hypotf_use=yes
69433 else
69434 glibcxx_cv_func_hypotf_use=no
69436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69437 ac_ext=c
69438 ac_cpp='$CPP $CPPFLAGS'
69439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69448 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69450 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69451 for ac_func in hypotf
69452 do :
69453 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69454 if test "x$ac_cv_func_hypotf" = xyes; then :
69455 cat >>confdefs.h <<_ACEOF
69456 #define HAVE_HYPOTF 1
69457 _ACEOF
69460 done
69462 else
69464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69465 $as_echo_n "checking for _hypotf declaration... " >&6; }
69466 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69467 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69468 $as_echo_n "(cached) " >&6
69469 else
69472 ac_ext=cpp
69473 ac_cpp='$CXXCPP $CPPFLAGS'
69474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69479 /* end confdefs.h. */
69480 #include <math.h>
69482 main ()
69484 _hypotf(0, 0);
69486 return 0;
69488 _ACEOF
69489 if ac_fn_cxx_try_compile "$LINENO"; then :
69490 glibcxx_cv_func__hypotf_use=yes
69491 else
69492 glibcxx_cv_func__hypotf_use=no
69494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69495 ac_ext=c
69496 ac_cpp='$CPP $CPPFLAGS'
69497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69506 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69508 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69509 for ac_func in _hypotf
69510 do :
69511 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69512 if test "x$ac_cv_func__hypotf" = xyes; then :
69513 cat >>confdefs.h <<_ACEOF
69514 #define HAVE__HYPOTF 1
69515 _ACEOF
69518 done
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69528 $as_echo_n "checking for ldexpf declaration... " >&6; }
69529 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69530 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69531 $as_echo_n "(cached) " >&6
69532 else
69535 ac_ext=cpp
69536 ac_cpp='$CXXCPP $CPPFLAGS'
69537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69542 /* end confdefs.h. */
69543 #include <math.h>
69545 main ()
69547 ldexpf(0, 0);
69549 return 0;
69551 _ACEOF
69552 if ac_fn_cxx_try_compile "$LINENO"; then :
69553 glibcxx_cv_func_ldexpf_use=yes
69554 else
69555 glibcxx_cv_func_ldexpf_use=no
69557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69558 ac_ext=c
69559 ac_cpp='$CPP $CPPFLAGS'
69560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69569 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69571 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69572 for ac_func in ldexpf
69573 do :
69574 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69575 if test "x$ac_cv_func_ldexpf" = xyes; then :
69576 cat >>confdefs.h <<_ACEOF
69577 #define HAVE_LDEXPF 1
69578 _ACEOF
69581 done
69583 else
69585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69586 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69587 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69588 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69589 $as_echo_n "(cached) " >&6
69590 else
69593 ac_ext=cpp
69594 ac_cpp='$CXXCPP $CPPFLAGS'
69595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69600 /* end confdefs.h. */
69601 #include <math.h>
69603 main ()
69605 _ldexpf(0, 0);
69607 return 0;
69609 _ACEOF
69610 if ac_fn_cxx_try_compile "$LINENO"; then :
69611 glibcxx_cv_func__ldexpf_use=yes
69612 else
69613 glibcxx_cv_func__ldexpf_use=no
69615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69616 ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69627 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69629 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69630 for ac_func in _ldexpf
69631 do :
69632 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69633 if test "x$ac_cv_func__ldexpf" = xyes; then :
69634 cat >>confdefs.h <<_ACEOF
69635 #define HAVE__LDEXPF 1
69636 _ACEOF
69639 done
69648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69649 $as_echo_n "checking for logf declaration... " >&6; }
69650 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69651 if ${glibcxx_cv_func_logf_use+:} false; then :
69652 $as_echo_n "(cached) " >&6
69653 else
69656 ac_ext=cpp
69657 ac_cpp='$CXXCPP $CPPFLAGS'
69658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69663 /* end confdefs.h. */
69664 #include <math.h>
69665 #ifdef HAVE_IEEEFP_H
69666 #include <ieeefp.h>
69667 #endif
69670 main ()
69672 logf(0);
69674 return 0;
69676 _ACEOF
69677 if ac_fn_cxx_try_compile "$LINENO"; then :
69678 glibcxx_cv_func_logf_use=yes
69679 else
69680 glibcxx_cv_func_logf_use=no
69682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69683 ac_ext=c
69684 ac_cpp='$CPP $CPPFLAGS'
69685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69694 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69696 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69697 for ac_func in logf
69698 do :
69699 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69700 if test "x$ac_cv_func_logf" = xyes; then :
69701 cat >>confdefs.h <<_ACEOF
69702 #define HAVE_LOGF 1
69703 _ACEOF
69706 done
69708 else
69710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69711 $as_echo_n "checking for _logf declaration... " >&6; }
69712 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69713 if ${glibcxx_cv_func__logf_use+:} false; then :
69714 $as_echo_n "(cached) " >&6
69715 else
69718 ac_ext=cpp
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69725 /* end confdefs.h. */
69726 #include <math.h>
69727 #ifdef HAVE_IEEEFP_H
69728 #include <ieeefp.h>
69729 #endif
69732 main ()
69734 _logf(0);
69736 return 0;
69738 _ACEOF
69739 if ac_fn_cxx_try_compile "$LINENO"; then :
69740 glibcxx_cv_func__logf_use=yes
69741 else
69742 glibcxx_cv_func__logf_use=no
69744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69745 ac_ext=c
69746 ac_cpp='$CPP $CPPFLAGS'
69747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69756 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69758 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69759 for ac_func in _logf
69760 do :
69761 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69762 if test "x$ac_cv_func__logf" = xyes; then :
69763 cat >>confdefs.h <<_ACEOF
69764 #define HAVE__LOGF 1
69765 _ACEOF
69768 done
69777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69778 $as_echo_n "checking for log10f declaration... " >&6; }
69779 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69780 if ${glibcxx_cv_func_log10f_use+:} false; then :
69781 $as_echo_n "(cached) " >&6
69782 else
69785 ac_ext=cpp
69786 ac_cpp='$CXXCPP $CPPFLAGS'
69787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69792 /* end confdefs.h. */
69793 #include <math.h>
69794 #ifdef HAVE_IEEEFP_H
69795 #include <ieeefp.h>
69796 #endif
69799 main ()
69801 log10f(0);
69803 return 0;
69805 _ACEOF
69806 if ac_fn_cxx_try_compile "$LINENO"; then :
69807 glibcxx_cv_func_log10f_use=yes
69808 else
69809 glibcxx_cv_func_log10f_use=no
69811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69812 ac_ext=c
69813 ac_cpp='$CPP $CPPFLAGS'
69814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69823 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69825 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69826 for ac_func in log10f
69827 do :
69828 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69829 if test "x$ac_cv_func_log10f" = xyes; then :
69830 cat >>confdefs.h <<_ACEOF
69831 #define HAVE_LOG10F 1
69832 _ACEOF
69835 done
69837 else
69839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69840 $as_echo_n "checking for _log10f declaration... " >&6; }
69841 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69842 if ${glibcxx_cv_func__log10f_use+:} false; then :
69843 $as_echo_n "(cached) " >&6
69844 else
69847 ac_ext=cpp
69848 ac_cpp='$CXXCPP $CPPFLAGS'
69849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69854 /* end confdefs.h. */
69855 #include <math.h>
69856 #ifdef HAVE_IEEEFP_H
69857 #include <ieeefp.h>
69858 #endif
69861 main ()
69863 _log10f(0);
69865 return 0;
69867 _ACEOF
69868 if ac_fn_cxx_try_compile "$LINENO"; then :
69869 glibcxx_cv_func__log10f_use=yes
69870 else
69871 glibcxx_cv_func__log10f_use=no
69873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69874 ac_ext=c
69875 ac_cpp='$CPP $CPPFLAGS'
69876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69885 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69887 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69888 for ac_func in _log10f
69889 do :
69890 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69891 if test "x$ac_cv_func__log10f" = xyes; then :
69892 cat >>confdefs.h <<_ACEOF
69893 #define HAVE__LOG10F 1
69894 _ACEOF
69897 done
69906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69907 $as_echo_n "checking for modff declaration... " >&6; }
69908 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69909 if ${glibcxx_cv_func_modff_use+:} false; then :
69910 $as_echo_n "(cached) " >&6
69911 else
69914 ac_ext=cpp
69915 ac_cpp='$CXXCPP $CPPFLAGS'
69916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69921 /* end confdefs.h. */
69922 #include <math.h>
69924 main ()
69926 modff(0, 0);
69928 return 0;
69930 _ACEOF
69931 if ac_fn_cxx_try_compile "$LINENO"; then :
69932 glibcxx_cv_func_modff_use=yes
69933 else
69934 glibcxx_cv_func_modff_use=no
69936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69937 ac_ext=c
69938 ac_cpp='$CPP $CPPFLAGS'
69939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69948 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69950 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69951 for ac_func in modff
69952 do :
69953 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69954 if test "x$ac_cv_func_modff" = xyes; then :
69955 cat >>confdefs.h <<_ACEOF
69956 #define HAVE_MODFF 1
69957 _ACEOF
69960 done
69962 else
69964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69965 $as_echo_n "checking for _modff declaration... " >&6; }
69966 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69967 if ${glibcxx_cv_func__modff_use+:} false; then :
69968 $as_echo_n "(cached) " >&6
69969 else
69972 ac_ext=cpp
69973 ac_cpp='$CXXCPP $CPPFLAGS'
69974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69979 /* end confdefs.h. */
69980 #include <math.h>
69982 main ()
69984 _modff(0, 0);
69986 return 0;
69988 _ACEOF
69989 if ac_fn_cxx_try_compile "$LINENO"; then :
69990 glibcxx_cv_func__modff_use=yes
69991 else
69992 glibcxx_cv_func__modff_use=no
69994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69995 ac_ext=c
69996 ac_cpp='$CPP $CPPFLAGS'
69997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
70006 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
70008 if test x$glibcxx_cv_func__modff_use = x"yes"; then
70009 for ac_func in _modff
70010 do :
70011 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
70012 if test "x$ac_cv_func__modff" = xyes; then :
70013 cat >>confdefs.h <<_ACEOF
70014 #define HAVE__MODFF 1
70015 _ACEOF
70018 done
70027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
70028 $as_echo_n "checking for modf declaration... " >&6; }
70029 if test x${glibcxx_cv_func_modf_use+set} != xset; then
70030 if ${glibcxx_cv_func_modf_use+:} false; then :
70031 $as_echo_n "(cached) " >&6
70032 else
70035 ac_ext=cpp
70036 ac_cpp='$CXXCPP $CPPFLAGS'
70037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70042 /* end confdefs.h. */
70043 #include <math.h>
70045 main ()
70047 modf(0, 0);
70049 return 0;
70051 _ACEOF
70052 if ac_fn_cxx_try_compile "$LINENO"; then :
70053 glibcxx_cv_func_modf_use=yes
70054 else
70055 glibcxx_cv_func_modf_use=no
70057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70058 ac_ext=c
70059 ac_cpp='$CPP $CPPFLAGS'
70060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
70069 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
70071 if test x$glibcxx_cv_func_modf_use = x"yes"; then
70072 for ac_func in modf
70073 do :
70074 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
70075 if test "x$ac_cv_func_modf" = xyes; then :
70076 cat >>confdefs.h <<_ACEOF
70077 #define HAVE_MODF 1
70078 _ACEOF
70081 done
70083 else
70085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
70086 $as_echo_n "checking for _modf declaration... " >&6; }
70087 if test x${glibcxx_cv_func__modf_use+set} != xset; then
70088 if ${glibcxx_cv_func__modf_use+:} false; then :
70089 $as_echo_n "(cached) " >&6
70090 else
70093 ac_ext=cpp
70094 ac_cpp='$CXXCPP $CPPFLAGS'
70095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70100 /* end confdefs.h. */
70101 #include <math.h>
70103 main ()
70105 _modf(0, 0);
70107 return 0;
70109 _ACEOF
70110 if ac_fn_cxx_try_compile "$LINENO"; then :
70111 glibcxx_cv_func__modf_use=yes
70112 else
70113 glibcxx_cv_func__modf_use=no
70115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70116 ac_ext=c
70117 ac_cpp='$CPP $CPPFLAGS'
70118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
70127 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
70129 if test x$glibcxx_cv_func__modf_use = x"yes"; then
70130 for ac_func in _modf
70131 do :
70132 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
70133 if test "x$ac_cv_func__modf" = xyes; then :
70134 cat >>confdefs.h <<_ACEOF
70135 #define HAVE__MODF 1
70136 _ACEOF
70139 done
70148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
70149 $as_echo_n "checking for powf declaration... " >&6; }
70150 if test x${glibcxx_cv_func_powf_use+set} != xset; then
70151 if ${glibcxx_cv_func_powf_use+:} false; then :
70152 $as_echo_n "(cached) " >&6
70153 else
70156 ac_ext=cpp
70157 ac_cpp='$CXXCPP $CPPFLAGS'
70158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70163 /* end confdefs.h. */
70164 #include <math.h>
70166 main ()
70168 powf(0, 0);
70170 return 0;
70172 _ACEOF
70173 if ac_fn_cxx_try_compile "$LINENO"; then :
70174 glibcxx_cv_func_powf_use=yes
70175 else
70176 glibcxx_cv_func_powf_use=no
70178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70179 ac_ext=c
70180 ac_cpp='$CPP $CPPFLAGS'
70181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
70190 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
70192 if test x$glibcxx_cv_func_powf_use = x"yes"; then
70193 for ac_func in powf
70194 do :
70195 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
70196 if test "x$ac_cv_func_powf" = xyes; then :
70197 cat >>confdefs.h <<_ACEOF
70198 #define HAVE_POWF 1
70199 _ACEOF
70202 done
70204 else
70206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
70207 $as_echo_n "checking for _powf declaration... " >&6; }
70208 if test x${glibcxx_cv_func__powf_use+set} != xset; then
70209 if ${glibcxx_cv_func__powf_use+:} false; then :
70210 $as_echo_n "(cached) " >&6
70211 else
70214 ac_ext=cpp
70215 ac_cpp='$CXXCPP $CPPFLAGS'
70216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70221 /* end confdefs.h. */
70222 #include <math.h>
70224 main ()
70226 _powf(0, 0);
70228 return 0;
70230 _ACEOF
70231 if ac_fn_cxx_try_compile "$LINENO"; then :
70232 glibcxx_cv_func__powf_use=yes
70233 else
70234 glibcxx_cv_func__powf_use=no
70236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70237 ac_ext=c
70238 ac_cpp='$CPP $CPPFLAGS'
70239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70248 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
70250 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70251 for ac_func in _powf
70252 do :
70253 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70254 if test "x$ac_cv_func__powf" = xyes; then :
70255 cat >>confdefs.h <<_ACEOF
70256 #define HAVE__POWF 1
70257 _ACEOF
70260 done
70269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70270 $as_echo_n "checking for sqrtf declaration... " >&6; }
70271 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70272 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70273 $as_echo_n "(cached) " >&6
70274 else
70277 ac_ext=cpp
70278 ac_cpp='$CXXCPP $CPPFLAGS'
70279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70284 /* end confdefs.h. */
70285 #include <math.h>
70286 #ifdef HAVE_IEEEFP_H
70287 #include <ieeefp.h>
70288 #endif
70291 main ()
70293 sqrtf(0);
70295 return 0;
70297 _ACEOF
70298 if ac_fn_cxx_try_compile "$LINENO"; then :
70299 glibcxx_cv_func_sqrtf_use=yes
70300 else
70301 glibcxx_cv_func_sqrtf_use=no
70303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70304 ac_ext=c
70305 ac_cpp='$CPP $CPPFLAGS'
70306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70315 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70317 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70318 for ac_func in sqrtf
70319 do :
70320 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70321 if test "x$ac_cv_func_sqrtf" = xyes; then :
70322 cat >>confdefs.h <<_ACEOF
70323 #define HAVE_SQRTF 1
70324 _ACEOF
70327 done
70329 else
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70332 $as_echo_n "checking for _sqrtf declaration... " >&6; }
70333 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70334 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70335 $as_echo_n "(cached) " >&6
70336 else
70339 ac_ext=cpp
70340 ac_cpp='$CXXCPP $CPPFLAGS'
70341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70346 /* end confdefs.h. */
70347 #include <math.h>
70348 #ifdef HAVE_IEEEFP_H
70349 #include <ieeefp.h>
70350 #endif
70353 main ()
70355 _sqrtf(0);
70357 return 0;
70359 _ACEOF
70360 if ac_fn_cxx_try_compile "$LINENO"; then :
70361 glibcxx_cv_func__sqrtf_use=yes
70362 else
70363 glibcxx_cv_func__sqrtf_use=no
70365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70366 ac_ext=c
70367 ac_cpp='$CPP $CPPFLAGS'
70368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70377 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70379 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70380 for ac_func in _sqrtf
70381 do :
70382 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70383 if test "x$ac_cv_func__sqrtf" = xyes; then :
70384 cat >>confdefs.h <<_ACEOF
70385 #define HAVE__SQRTF 1
70386 _ACEOF
70389 done
70398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70399 $as_echo_n "checking for sincosf declaration... " >&6; }
70400 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70401 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70402 $as_echo_n "(cached) " >&6
70403 else
70406 ac_ext=cpp
70407 ac_cpp='$CXXCPP $CPPFLAGS'
70408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70413 /* end confdefs.h. */
70414 #include <math.h>
70416 main ()
70418 sincosf(0, 0, 0);
70420 return 0;
70422 _ACEOF
70423 if ac_fn_cxx_try_compile "$LINENO"; then :
70424 glibcxx_cv_func_sincosf_use=yes
70425 else
70426 glibcxx_cv_func_sincosf_use=no
70428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70429 ac_ext=c
70430 ac_cpp='$CPP $CPPFLAGS'
70431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70440 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70442 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70443 for ac_func in sincosf
70444 do :
70445 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70446 if test "x$ac_cv_func_sincosf" = xyes; then :
70447 cat >>confdefs.h <<_ACEOF
70448 #define HAVE_SINCOSF 1
70449 _ACEOF
70452 done
70454 else
70456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70457 $as_echo_n "checking for _sincosf declaration... " >&6; }
70458 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70459 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70460 $as_echo_n "(cached) " >&6
70461 else
70464 ac_ext=cpp
70465 ac_cpp='$CXXCPP $CPPFLAGS'
70466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70471 /* end confdefs.h. */
70472 #include <math.h>
70474 main ()
70476 _sincosf(0, 0, 0);
70478 return 0;
70480 _ACEOF
70481 if ac_fn_cxx_try_compile "$LINENO"; then :
70482 glibcxx_cv_func__sincosf_use=yes
70483 else
70484 glibcxx_cv_func__sincosf_use=no
70486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70487 ac_ext=c
70488 ac_cpp='$CPP $CPPFLAGS'
70489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70498 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70500 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70501 for ac_func in _sincosf
70502 do :
70503 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70504 if test "x$ac_cv_func__sincosf" = xyes; then :
70505 cat >>confdefs.h <<_ACEOF
70506 #define HAVE__SINCOSF 1
70507 _ACEOF
70510 done
70519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70520 $as_echo_n "checking for finitef declaration... " >&6; }
70521 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70522 if ${glibcxx_cv_func_finitef_use+:} false; then :
70523 $as_echo_n "(cached) " >&6
70524 else
70527 ac_ext=cpp
70528 ac_cpp='$CXXCPP $CPPFLAGS'
70529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70534 /* end confdefs.h. */
70535 #include <math.h>
70536 #ifdef HAVE_IEEEFP_H
70537 #include <ieeefp.h>
70538 #endif
70541 main ()
70543 finitef(0);
70545 return 0;
70547 _ACEOF
70548 if ac_fn_cxx_try_compile "$LINENO"; then :
70549 glibcxx_cv_func_finitef_use=yes
70550 else
70551 glibcxx_cv_func_finitef_use=no
70553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70554 ac_ext=c
70555 ac_cpp='$CPP $CPPFLAGS'
70556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70565 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70567 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70568 for ac_func in finitef
70569 do :
70570 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70571 if test "x$ac_cv_func_finitef" = xyes; then :
70572 cat >>confdefs.h <<_ACEOF
70573 #define HAVE_FINITEF 1
70574 _ACEOF
70577 done
70579 else
70581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70582 $as_echo_n "checking for _finitef declaration... " >&6; }
70583 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70584 if ${glibcxx_cv_func__finitef_use+:} false; then :
70585 $as_echo_n "(cached) " >&6
70586 else
70589 ac_ext=cpp
70590 ac_cpp='$CXXCPP $CPPFLAGS'
70591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70596 /* end confdefs.h. */
70597 #include <math.h>
70598 #ifdef HAVE_IEEEFP_H
70599 #include <ieeefp.h>
70600 #endif
70603 main ()
70605 _finitef(0);
70607 return 0;
70609 _ACEOF
70610 if ac_fn_cxx_try_compile "$LINENO"; then :
70611 glibcxx_cv_func__finitef_use=yes
70612 else
70613 glibcxx_cv_func__finitef_use=no
70615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70616 ac_ext=c
70617 ac_cpp='$CPP $CPPFLAGS'
70618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70627 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70629 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70630 for ac_func in _finitef
70631 do :
70632 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70633 if test "x$ac_cv_func__finitef" = xyes; then :
70634 cat >>confdefs.h <<_ACEOF
70635 #define HAVE__FINITEF 1
70636 _ACEOF
70639 done
70648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70649 $as_echo_n "checking for long double trig functions... " >&6; }
70650 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70651 $as_echo_n "(cached) " >&6
70652 else
70655 ac_ext=cpp
70656 ac_cpp='$CXXCPP $CPPFLAGS'
70657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70662 /* end confdefs.h. */
70663 #include <math.h>
70665 main ()
70667 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70669 return 0;
70671 _ACEOF
70672 if ac_fn_cxx_try_compile "$LINENO"; then :
70673 glibcxx_cv_func_long_double_trig_use=yes
70674 else
70675 glibcxx_cv_func_long_double_trig_use=no
70677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70678 ac_ext=c
70679 ac_cpp='$CPP $CPPFLAGS'
70680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70687 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70688 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70689 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70690 do :
70691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70693 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70694 cat >>confdefs.h <<_ACEOF
70695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70696 _ACEOF
70699 done
70701 else
70702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70703 $as_echo_n "checking for _long double trig functions... " >&6; }
70704 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70719 main ()
70721 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70723 return 0;
70725 _ACEOF
70726 if ac_fn_cxx_try_compile "$LINENO"; then :
70727 glibcxx_cv_func__long_double_trig_use=yes
70728 else
70729 glibcxx_cv_func__long_double_trig_use=no
70731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732 ac_ext=c
70733 ac_cpp='$CPP $CPPFLAGS'
70734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70741 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70742 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70743 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70744 do :
70745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70747 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70748 cat >>confdefs.h <<_ACEOF
70749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70750 _ACEOF
70753 done
70762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70763 $as_echo_n "checking for long double round functions... " >&6; }
70764 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70765 $as_echo_n "(cached) " >&6
70766 else
70769 ac_ext=cpp
70770 ac_cpp='$CXXCPP $CPPFLAGS'
70771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70776 /* end confdefs.h. */
70777 #include <math.h>
70779 main ()
70781 ceill (0); floorl (0);
70783 return 0;
70785 _ACEOF
70786 if ac_fn_cxx_try_compile "$LINENO"; then :
70787 glibcxx_cv_func_long_double_round_use=yes
70788 else
70789 glibcxx_cv_func_long_double_round_use=no
70791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792 ac_ext=c
70793 ac_cpp='$CPP $CPPFLAGS'
70794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70801 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70802 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70803 for ac_func in ceill floorl
70804 do :
70805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70807 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70808 cat >>confdefs.h <<_ACEOF
70809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70810 _ACEOF
70813 done
70815 else
70816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70817 $as_echo_n "checking for _long double round functions... " >&6; }
70818 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70819 $as_echo_n "(cached) " >&6
70820 else
70823 ac_ext=cpp
70824 ac_cpp='$CXXCPP $CPPFLAGS'
70825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70830 /* end confdefs.h. */
70831 #include <math.h>
70833 main ()
70835 _ceill (0); _floorl (0);
70837 return 0;
70839 _ACEOF
70840 if ac_fn_cxx_try_compile "$LINENO"; then :
70841 glibcxx_cv_func__long_double_round_use=yes
70842 else
70843 glibcxx_cv_func__long_double_round_use=no
70845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70846 ac_ext=c
70847 ac_cpp='$CPP $CPPFLAGS'
70848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70855 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70856 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70857 for ac_func in _ceill _floorl
70858 do :
70859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70862 cat >>confdefs.h <<_ACEOF
70863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70864 _ACEOF
70867 done
70877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70878 $as_echo_n "checking for isnanl declaration... " >&6; }
70879 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70880 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70881 $as_echo_n "(cached) " >&6
70882 else
70885 ac_ext=cpp
70886 ac_cpp='$CXXCPP $CPPFLAGS'
70887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70892 /* end confdefs.h. */
70893 #include <math.h>
70894 #ifdef HAVE_IEEEFP_H
70895 #include <ieeefp.h>
70896 #endif
70899 main ()
70901 isnanl(0);
70903 return 0;
70905 _ACEOF
70906 if ac_fn_cxx_try_compile "$LINENO"; then :
70907 glibcxx_cv_func_isnanl_use=yes
70908 else
70909 glibcxx_cv_func_isnanl_use=no
70911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70912 ac_ext=c
70913 ac_cpp='$CPP $CPPFLAGS'
70914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70923 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70925 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70926 for ac_func in isnanl
70927 do :
70928 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70929 if test "x$ac_cv_func_isnanl" = xyes; then :
70930 cat >>confdefs.h <<_ACEOF
70931 #define HAVE_ISNANL 1
70932 _ACEOF
70935 done
70937 else
70939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70940 $as_echo_n "checking for _isnanl declaration... " >&6; }
70941 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70942 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70943 $as_echo_n "(cached) " >&6
70944 else
70947 ac_ext=cpp
70948 ac_cpp='$CXXCPP $CPPFLAGS'
70949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70954 /* end confdefs.h. */
70955 #include <math.h>
70956 #ifdef HAVE_IEEEFP_H
70957 #include <ieeefp.h>
70958 #endif
70961 main ()
70963 _isnanl(0);
70965 return 0;
70967 _ACEOF
70968 if ac_fn_cxx_try_compile "$LINENO"; then :
70969 glibcxx_cv_func__isnanl_use=yes
70970 else
70971 glibcxx_cv_func__isnanl_use=no
70973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70974 ac_ext=c
70975 ac_cpp='$CPP $CPPFLAGS'
70976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70985 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70987 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70988 for ac_func in _isnanl
70989 do :
70990 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70991 if test "x$ac_cv_func__isnanl" = xyes; then :
70992 cat >>confdefs.h <<_ACEOF
70993 #define HAVE__ISNANL 1
70994 _ACEOF
70997 done
71006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
71007 $as_echo_n "checking for isinfl declaration... " >&6; }
71008 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
71009 if ${glibcxx_cv_func_isinfl_use+:} false; then :
71010 $as_echo_n "(cached) " >&6
71011 else
71014 ac_ext=cpp
71015 ac_cpp='$CXXCPP $CPPFLAGS'
71016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71021 /* end confdefs.h. */
71022 #include <math.h>
71023 #ifdef HAVE_IEEEFP_H
71024 #include <ieeefp.h>
71025 #endif
71028 main ()
71030 isinfl(0);
71032 return 0;
71034 _ACEOF
71035 if ac_fn_cxx_try_compile "$LINENO"; then :
71036 glibcxx_cv_func_isinfl_use=yes
71037 else
71038 glibcxx_cv_func_isinfl_use=no
71040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71041 ac_ext=c
71042 ac_cpp='$CPP $CPPFLAGS'
71043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
71052 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
71054 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
71055 for ac_func in isinfl
71056 do :
71057 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
71058 if test "x$ac_cv_func_isinfl" = xyes; then :
71059 cat >>confdefs.h <<_ACEOF
71060 #define HAVE_ISINFL 1
71061 _ACEOF
71064 done
71066 else
71068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
71069 $as_echo_n "checking for _isinfl declaration... " >&6; }
71070 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
71071 if ${glibcxx_cv_func__isinfl_use+:} false; then :
71072 $as_echo_n "(cached) " >&6
71073 else
71076 ac_ext=cpp
71077 ac_cpp='$CXXCPP $CPPFLAGS'
71078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71083 /* end confdefs.h. */
71084 #include <math.h>
71085 #ifdef HAVE_IEEEFP_H
71086 #include <ieeefp.h>
71087 #endif
71090 main ()
71092 _isinfl(0);
71094 return 0;
71096 _ACEOF
71097 if ac_fn_cxx_try_compile "$LINENO"; then :
71098 glibcxx_cv_func__isinfl_use=yes
71099 else
71100 glibcxx_cv_func__isinfl_use=no
71102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71103 ac_ext=c
71104 ac_cpp='$CPP $CPPFLAGS'
71105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
71114 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
71116 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
71117 for ac_func in _isinfl
71118 do :
71119 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
71120 if test "x$ac_cv_func__isinfl" = xyes; then :
71121 cat >>confdefs.h <<_ACEOF
71122 #define HAVE__ISINFL 1
71123 _ACEOF
71126 done
71135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
71136 $as_echo_n "checking for atan2l declaration... " >&6; }
71137 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
71138 if ${glibcxx_cv_func_atan2l_use+:} false; then :
71139 $as_echo_n "(cached) " >&6
71140 else
71143 ac_ext=cpp
71144 ac_cpp='$CXXCPP $CPPFLAGS'
71145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71150 /* end confdefs.h. */
71151 #include <math.h>
71153 main ()
71155 atan2l(0, 0);
71157 return 0;
71159 _ACEOF
71160 if ac_fn_cxx_try_compile "$LINENO"; then :
71161 glibcxx_cv_func_atan2l_use=yes
71162 else
71163 glibcxx_cv_func_atan2l_use=no
71165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71166 ac_ext=c
71167 ac_cpp='$CPP $CPPFLAGS'
71168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
71177 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
71179 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71180 for ac_func in atan2l
71181 do :
71182 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
71183 if test "x$ac_cv_func_atan2l" = xyes; then :
71184 cat >>confdefs.h <<_ACEOF
71185 #define HAVE_ATAN2L 1
71186 _ACEOF
71189 done
71191 else
71193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
71194 $as_echo_n "checking for _atan2l declaration... " >&6; }
71195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71196 if ${glibcxx_cv_func__atan2l_use+:} false; then :
71197 $as_echo_n "(cached) " >&6
71198 else
71201 ac_ext=cpp
71202 ac_cpp='$CXXCPP $CPPFLAGS'
71203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71208 /* end confdefs.h. */
71209 #include <math.h>
71211 main ()
71213 _atan2l(0, 0);
71215 return 0;
71217 _ACEOF
71218 if ac_fn_cxx_try_compile "$LINENO"; then :
71219 glibcxx_cv_func__atan2l_use=yes
71220 else
71221 glibcxx_cv_func__atan2l_use=no
71223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71224 ac_ext=c
71225 ac_cpp='$CPP $CPPFLAGS'
71226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71235 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71237 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71238 for ac_func in _atan2l
71239 do :
71240 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71241 if test "x$ac_cv_func__atan2l" = xyes; then :
71242 cat >>confdefs.h <<_ACEOF
71243 #define HAVE__ATAN2L 1
71244 _ACEOF
71247 done
71256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71257 $as_echo_n "checking for expl declaration... " >&6; }
71258 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71259 if ${glibcxx_cv_func_expl_use+:} false; then :
71260 $as_echo_n "(cached) " >&6
71261 else
71264 ac_ext=cpp
71265 ac_cpp='$CXXCPP $CPPFLAGS'
71266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71271 /* end confdefs.h. */
71272 #include <math.h>
71273 #ifdef HAVE_IEEEFP_H
71274 #include <ieeefp.h>
71275 #endif
71278 main ()
71280 expl(0);
71282 return 0;
71284 _ACEOF
71285 if ac_fn_cxx_try_compile "$LINENO"; then :
71286 glibcxx_cv_func_expl_use=yes
71287 else
71288 glibcxx_cv_func_expl_use=no
71290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71291 ac_ext=c
71292 ac_cpp='$CPP $CPPFLAGS'
71293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71302 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
71304 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71305 for ac_func in expl
71306 do :
71307 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71308 if test "x$ac_cv_func_expl" = xyes; then :
71309 cat >>confdefs.h <<_ACEOF
71310 #define HAVE_EXPL 1
71311 _ACEOF
71314 done
71316 else
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71319 $as_echo_n "checking for _expl declaration... " >&6; }
71320 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71321 if ${glibcxx_cv_func__expl_use+:} false; then :
71322 $as_echo_n "(cached) " >&6
71323 else
71326 ac_ext=cpp
71327 ac_cpp='$CXXCPP $CPPFLAGS'
71328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71333 /* end confdefs.h. */
71334 #include <math.h>
71335 #ifdef HAVE_IEEEFP_H
71336 #include <ieeefp.h>
71337 #endif
71340 main ()
71342 _expl(0);
71344 return 0;
71346 _ACEOF
71347 if ac_fn_cxx_try_compile "$LINENO"; then :
71348 glibcxx_cv_func__expl_use=yes
71349 else
71350 glibcxx_cv_func__expl_use=no
71352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71353 ac_ext=c
71354 ac_cpp='$CPP $CPPFLAGS'
71355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71364 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71366 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71367 for ac_func in _expl
71368 do :
71369 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71370 if test "x$ac_cv_func__expl" = xyes; then :
71371 cat >>confdefs.h <<_ACEOF
71372 #define HAVE__EXPL 1
71373 _ACEOF
71376 done
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71386 $as_echo_n "checking for fabsl declaration... " >&6; }
71387 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71388 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71389 $as_echo_n "(cached) " >&6
71390 else
71393 ac_ext=cpp
71394 ac_cpp='$CXXCPP $CPPFLAGS'
71395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 #include <math.h>
71402 #ifdef HAVE_IEEEFP_H
71403 #include <ieeefp.h>
71404 #endif
71407 main ()
71409 fabsl(0);
71411 return 0;
71413 _ACEOF
71414 if ac_fn_cxx_try_compile "$LINENO"; then :
71415 glibcxx_cv_func_fabsl_use=yes
71416 else
71417 glibcxx_cv_func_fabsl_use=no
71419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71420 ac_ext=c
71421 ac_cpp='$CPP $CPPFLAGS'
71422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71431 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71433 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71434 for ac_func in fabsl
71435 do :
71436 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71437 if test "x$ac_cv_func_fabsl" = xyes; then :
71438 cat >>confdefs.h <<_ACEOF
71439 #define HAVE_FABSL 1
71440 _ACEOF
71443 done
71445 else
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71448 $as_echo_n "checking for _fabsl declaration... " >&6; }
71449 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71450 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71451 $as_echo_n "(cached) " >&6
71452 else
71455 ac_ext=cpp
71456 ac_cpp='$CXXCPP $CPPFLAGS'
71457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71462 /* end confdefs.h. */
71463 #include <math.h>
71464 #ifdef HAVE_IEEEFP_H
71465 #include <ieeefp.h>
71466 #endif
71469 main ()
71471 _fabsl(0);
71473 return 0;
71475 _ACEOF
71476 if ac_fn_cxx_try_compile "$LINENO"; then :
71477 glibcxx_cv_func__fabsl_use=yes
71478 else
71479 glibcxx_cv_func__fabsl_use=no
71481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71482 ac_ext=c
71483 ac_cpp='$CPP $CPPFLAGS'
71484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71493 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71495 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71496 for ac_func in _fabsl
71497 do :
71498 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71499 if test "x$ac_cv_func__fabsl" = xyes; then :
71500 cat >>confdefs.h <<_ACEOF
71501 #define HAVE__FABSL 1
71502 _ACEOF
71505 done
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71515 $as_echo_n "checking for fmodl declaration... " >&6; }
71516 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71517 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71518 $as_echo_n "(cached) " >&6
71519 else
71522 ac_ext=cpp
71523 ac_cpp='$CXXCPP $CPPFLAGS'
71524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71529 /* end confdefs.h. */
71530 #include <math.h>
71532 main ()
71534 fmodl(0, 0);
71536 return 0;
71538 _ACEOF
71539 if ac_fn_cxx_try_compile "$LINENO"; then :
71540 glibcxx_cv_func_fmodl_use=yes
71541 else
71542 glibcxx_cv_func_fmodl_use=no
71544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71545 ac_ext=c
71546 ac_cpp='$CPP $CPPFLAGS'
71547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71556 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71558 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71559 for ac_func in fmodl
71560 do :
71561 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71562 if test "x$ac_cv_func_fmodl" = xyes; then :
71563 cat >>confdefs.h <<_ACEOF
71564 #define HAVE_FMODL 1
71565 _ACEOF
71568 done
71570 else
71572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71573 $as_echo_n "checking for _fmodl declaration... " >&6; }
71574 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71575 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71576 $as_echo_n "(cached) " >&6
71577 else
71580 ac_ext=cpp
71581 ac_cpp='$CXXCPP $CPPFLAGS'
71582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71587 /* end confdefs.h. */
71588 #include <math.h>
71590 main ()
71592 _fmodl(0, 0);
71594 return 0;
71596 _ACEOF
71597 if ac_fn_cxx_try_compile "$LINENO"; then :
71598 glibcxx_cv_func__fmodl_use=yes
71599 else
71600 glibcxx_cv_func__fmodl_use=no
71602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71603 ac_ext=c
71604 ac_cpp='$CPP $CPPFLAGS'
71605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71614 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71616 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71617 for ac_func in _fmodl
71618 do :
71619 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71620 if test "x$ac_cv_func__fmodl" = xyes; then :
71621 cat >>confdefs.h <<_ACEOF
71622 #define HAVE__FMODL 1
71623 _ACEOF
71626 done
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71636 $as_echo_n "checking for frexpl declaration... " >&6; }
71637 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71638 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71639 $as_echo_n "(cached) " >&6
71640 else
71643 ac_ext=cpp
71644 ac_cpp='$CXXCPP $CPPFLAGS'
71645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71650 /* end confdefs.h. */
71651 #include <math.h>
71653 main ()
71655 frexpl(0, 0);
71657 return 0;
71659 _ACEOF
71660 if ac_fn_cxx_try_compile "$LINENO"; then :
71661 glibcxx_cv_func_frexpl_use=yes
71662 else
71663 glibcxx_cv_func_frexpl_use=no
71665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71666 ac_ext=c
71667 ac_cpp='$CPP $CPPFLAGS'
71668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71677 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71679 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71680 for ac_func in frexpl
71681 do :
71682 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71683 if test "x$ac_cv_func_frexpl" = xyes; then :
71684 cat >>confdefs.h <<_ACEOF
71685 #define HAVE_FREXPL 1
71686 _ACEOF
71689 done
71691 else
71693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71694 $as_echo_n "checking for _frexpl declaration... " >&6; }
71695 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71696 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71697 $as_echo_n "(cached) " >&6
71698 else
71701 ac_ext=cpp
71702 ac_cpp='$CXXCPP $CPPFLAGS'
71703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71708 /* end confdefs.h. */
71709 #include <math.h>
71711 main ()
71713 _frexpl(0, 0);
71715 return 0;
71717 _ACEOF
71718 if ac_fn_cxx_try_compile "$LINENO"; then :
71719 glibcxx_cv_func__frexpl_use=yes
71720 else
71721 glibcxx_cv_func__frexpl_use=no
71723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71724 ac_ext=c
71725 ac_cpp='$CPP $CPPFLAGS'
71726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71735 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71737 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71738 for ac_func in _frexpl
71739 do :
71740 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71741 if test "x$ac_cv_func__frexpl" = xyes; then :
71742 cat >>confdefs.h <<_ACEOF
71743 #define HAVE__FREXPL 1
71744 _ACEOF
71747 done
71756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71757 $as_echo_n "checking for hypotl declaration... " >&6; }
71758 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71759 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71760 $as_echo_n "(cached) " >&6
71761 else
71764 ac_ext=cpp
71765 ac_cpp='$CXXCPP $CPPFLAGS'
71766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71771 /* end confdefs.h. */
71772 #include <math.h>
71774 main ()
71776 hypotl(0, 0);
71778 return 0;
71780 _ACEOF
71781 if ac_fn_cxx_try_compile "$LINENO"; then :
71782 glibcxx_cv_func_hypotl_use=yes
71783 else
71784 glibcxx_cv_func_hypotl_use=no
71786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71787 ac_ext=c
71788 ac_cpp='$CPP $CPPFLAGS'
71789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71798 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71800 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71801 for ac_func in hypotl
71802 do :
71803 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71804 if test "x$ac_cv_func_hypotl" = xyes; then :
71805 cat >>confdefs.h <<_ACEOF
71806 #define HAVE_HYPOTL 1
71807 _ACEOF
71810 done
71812 else
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71815 $as_echo_n "checking for _hypotl declaration... " >&6; }
71816 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71817 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71818 $as_echo_n "(cached) " >&6
71819 else
71822 ac_ext=cpp
71823 ac_cpp='$CXXCPP $CPPFLAGS'
71824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71829 /* end confdefs.h. */
71830 #include <math.h>
71832 main ()
71834 _hypotl(0, 0);
71836 return 0;
71838 _ACEOF
71839 if ac_fn_cxx_try_compile "$LINENO"; then :
71840 glibcxx_cv_func__hypotl_use=yes
71841 else
71842 glibcxx_cv_func__hypotl_use=no
71844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71845 ac_ext=c
71846 ac_cpp='$CPP $CPPFLAGS'
71847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71856 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71858 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71859 for ac_func in _hypotl
71860 do :
71861 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71862 if test "x$ac_cv_func__hypotl" = xyes; then :
71863 cat >>confdefs.h <<_ACEOF
71864 #define HAVE__HYPOTL 1
71865 _ACEOF
71868 done
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71878 $as_echo_n "checking for ldexpl declaration... " >&6; }
71879 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71880 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71881 $as_echo_n "(cached) " >&6
71882 else
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71893 #include <math.h>
71895 main ()
71897 ldexpl(0, 0);
71899 return 0;
71901 _ACEOF
71902 if ac_fn_cxx_try_compile "$LINENO"; then :
71903 glibcxx_cv_func_ldexpl_use=yes
71904 else
71905 glibcxx_cv_func_ldexpl_use=no
71907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71908 ac_ext=c
71909 ac_cpp='$CPP $CPPFLAGS'
71910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71919 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71921 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71922 for ac_func in ldexpl
71923 do :
71924 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71925 if test "x$ac_cv_func_ldexpl" = xyes; then :
71926 cat >>confdefs.h <<_ACEOF
71927 #define HAVE_LDEXPL 1
71928 _ACEOF
71931 done
71933 else
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71936 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71937 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71938 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71939 $as_echo_n "(cached) " >&6
71940 else
71943 ac_ext=cpp
71944 ac_cpp='$CXXCPP $CPPFLAGS'
71945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71950 /* end confdefs.h. */
71951 #include <math.h>
71953 main ()
71955 _ldexpl(0, 0);
71957 return 0;
71959 _ACEOF
71960 if ac_fn_cxx_try_compile "$LINENO"; then :
71961 glibcxx_cv_func__ldexpl_use=yes
71962 else
71963 glibcxx_cv_func__ldexpl_use=no
71965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71966 ac_ext=c
71967 ac_cpp='$CPP $CPPFLAGS'
71968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71977 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71979 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71980 for ac_func in _ldexpl
71981 do :
71982 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71983 if test "x$ac_cv_func__ldexpl" = xyes; then :
71984 cat >>confdefs.h <<_ACEOF
71985 #define HAVE__LDEXPL 1
71986 _ACEOF
71989 done
71998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71999 $as_echo_n "checking for logl declaration... " >&6; }
72000 if test x${glibcxx_cv_func_logl_use+set} != xset; then
72001 if ${glibcxx_cv_func_logl_use+:} false; then :
72002 $as_echo_n "(cached) " >&6
72003 else
72006 ac_ext=cpp
72007 ac_cpp='$CXXCPP $CPPFLAGS'
72008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72013 /* end confdefs.h. */
72014 #include <math.h>
72015 #ifdef HAVE_IEEEFP_H
72016 #include <ieeefp.h>
72017 #endif
72020 main ()
72022 logl(0);
72024 return 0;
72026 _ACEOF
72027 if ac_fn_cxx_try_compile "$LINENO"; then :
72028 glibcxx_cv_func_logl_use=yes
72029 else
72030 glibcxx_cv_func_logl_use=no
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033 ac_ext=c
72034 ac_cpp='$CPP $CPPFLAGS'
72035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
72044 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
72046 if test x$glibcxx_cv_func_logl_use = x"yes"; then
72047 for ac_func in logl
72048 do :
72049 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
72050 if test "x$ac_cv_func_logl" = xyes; then :
72051 cat >>confdefs.h <<_ACEOF
72052 #define HAVE_LOGL 1
72053 _ACEOF
72056 done
72058 else
72060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
72061 $as_echo_n "checking for _logl declaration... " >&6; }
72062 if test x${glibcxx_cv_func__logl_use+set} != xset; then
72063 if ${glibcxx_cv_func__logl_use+:} false; then :
72064 $as_echo_n "(cached) " >&6
72065 else
72068 ac_ext=cpp
72069 ac_cpp='$CXXCPP $CPPFLAGS'
72070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72075 /* end confdefs.h. */
72076 #include <math.h>
72077 #ifdef HAVE_IEEEFP_H
72078 #include <ieeefp.h>
72079 #endif
72082 main ()
72084 _logl(0);
72086 return 0;
72088 _ACEOF
72089 if ac_fn_cxx_try_compile "$LINENO"; then :
72090 glibcxx_cv_func__logl_use=yes
72091 else
72092 glibcxx_cv_func__logl_use=no
72094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72095 ac_ext=c
72096 ac_cpp='$CPP $CPPFLAGS'
72097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
72106 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
72108 if test x$glibcxx_cv_func__logl_use = x"yes"; then
72109 for ac_func in _logl
72110 do :
72111 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
72112 if test "x$ac_cv_func__logl" = xyes; then :
72113 cat >>confdefs.h <<_ACEOF
72114 #define HAVE__LOGL 1
72115 _ACEOF
72118 done
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
72128 $as_echo_n "checking for log10l declaration... " >&6; }
72129 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
72130 if ${glibcxx_cv_func_log10l_use+:} false; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72144 #ifdef HAVE_IEEEFP_H
72145 #include <ieeefp.h>
72146 #endif
72149 main ()
72151 log10l(0);
72153 return 0;
72155 _ACEOF
72156 if ac_fn_cxx_try_compile "$LINENO"; then :
72157 glibcxx_cv_func_log10l_use=yes
72158 else
72159 glibcxx_cv_func_log10l_use=no
72161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72162 ac_ext=c
72163 ac_cpp='$CPP $CPPFLAGS'
72164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
72173 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
72175 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72176 for ac_func in log10l
72177 do :
72178 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
72179 if test "x$ac_cv_func_log10l" = xyes; then :
72180 cat >>confdefs.h <<_ACEOF
72181 #define HAVE_LOG10L 1
72182 _ACEOF
72185 done
72187 else
72189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
72190 $as_echo_n "checking for _log10l declaration... " >&6; }
72191 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72192 if ${glibcxx_cv_func__log10l_use+:} false; then :
72193 $as_echo_n "(cached) " >&6
72194 else
72197 ac_ext=cpp
72198 ac_cpp='$CXXCPP $CPPFLAGS'
72199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72204 /* end confdefs.h. */
72205 #include <math.h>
72206 #ifdef HAVE_IEEEFP_H
72207 #include <ieeefp.h>
72208 #endif
72211 main ()
72213 _log10l(0);
72215 return 0;
72217 _ACEOF
72218 if ac_fn_cxx_try_compile "$LINENO"; then :
72219 glibcxx_cv_func__log10l_use=yes
72220 else
72221 glibcxx_cv_func__log10l_use=no
72223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72224 ac_ext=c
72225 ac_cpp='$CPP $CPPFLAGS'
72226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72235 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72237 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72238 for ac_func in _log10l
72239 do :
72240 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72241 if test "x$ac_cv_func__log10l" = xyes; then :
72242 cat >>confdefs.h <<_ACEOF
72243 #define HAVE__LOG10L 1
72244 _ACEOF
72247 done
72256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72257 $as_echo_n "checking for modfl declaration... " >&6; }
72258 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72259 if ${glibcxx_cv_func_modfl_use+:} false; then :
72260 $as_echo_n "(cached) " >&6
72261 else
72264 ac_ext=cpp
72265 ac_cpp='$CXXCPP $CPPFLAGS'
72266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72271 /* end confdefs.h. */
72272 #include <math.h>
72274 main ()
72276 modfl(0, 0);
72278 return 0;
72280 _ACEOF
72281 if ac_fn_cxx_try_compile "$LINENO"; then :
72282 glibcxx_cv_func_modfl_use=yes
72283 else
72284 glibcxx_cv_func_modfl_use=no
72286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72287 ac_ext=c
72288 ac_cpp='$CPP $CPPFLAGS'
72289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72298 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72300 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72301 for ac_func in modfl
72302 do :
72303 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72304 if test "x$ac_cv_func_modfl" = xyes; then :
72305 cat >>confdefs.h <<_ACEOF
72306 #define HAVE_MODFL 1
72307 _ACEOF
72310 done
72312 else
72314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72315 $as_echo_n "checking for _modfl declaration... " >&6; }
72316 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72317 if ${glibcxx_cv_func__modfl_use+:} false; then :
72318 $as_echo_n "(cached) " >&6
72319 else
72322 ac_ext=cpp
72323 ac_cpp='$CXXCPP $CPPFLAGS'
72324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72329 /* end confdefs.h. */
72330 #include <math.h>
72332 main ()
72334 _modfl(0, 0);
72336 return 0;
72338 _ACEOF
72339 if ac_fn_cxx_try_compile "$LINENO"; then :
72340 glibcxx_cv_func__modfl_use=yes
72341 else
72342 glibcxx_cv_func__modfl_use=no
72344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72345 ac_ext=c
72346 ac_cpp='$CPP $CPPFLAGS'
72347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72356 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72358 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72359 for ac_func in _modfl
72360 do :
72361 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72362 if test "x$ac_cv_func__modfl" = xyes; then :
72363 cat >>confdefs.h <<_ACEOF
72364 #define HAVE__MODFL 1
72365 _ACEOF
72368 done
72377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72378 $as_echo_n "checking for powl declaration... " >&6; }
72379 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72380 if ${glibcxx_cv_func_powl_use+:} false; then :
72381 $as_echo_n "(cached) " >&6
72382 else
72385 ac_ext=cpp
72386 ac_cpp='$CXXCPP $CPPFLAGS'
72387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72393 #include <math.h>
72395 main ()
72397 powl(0, 0);
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func_powl_use=yes
72404 else
72405 glibcxx_cv_func_powl_use=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72419 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72421 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72422 for ac_func in powl
72423 do :
72424 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72425 if test "x$ac_cv_func_powl" = xyes; then :
72426 cat >>confdefs.h <<_ACEOF
72427 #define HAVE_POWL 1
72428 _ACEOF
72431 done
72433 else
72435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72436 $as_echo_n "checking for _powl declaration... " >&6; }
72437 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72438 if ${glibcxx_cv_func__powl_use+:} false; then :
72439 $as_echo_n "(cached) " >&6
72440 else
72443 ac_ext=cpp
72444 ac_cpp='$CXXCPP $CPPFLAGS'
72445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72450 /* end confdefs.h. */
72451 #include <math.h>
72453 main ()
72455 _powl(0, 0);
72457 return 0;
72459 _ACEOF
72460 if ac_fn_cxx_try_compile "$LINENO"; then :
72461 glibcxx_cv_func__powl_use=yes
72462 else
72463 glibcxx_cv_func__powl_use=no
72465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72466 ac_ext=c
72467 ac_cpp='$CPP $CPPFLAGS'
72468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72477 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72479 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72480 for ac_func in _powl
72481 do :
72482 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72483 if test "x$ac_cv_func__powl" = xyes; then :
72484 cat >>confdefs.h <<_ACEOF
72485 #define HAVE__POWL 1
72486 _ACEOF
72489 done
72498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72499 $as_echo_n "checking for sqrtl declaration... " >&6; }
72500 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72501 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72502 $as_echo_n "(cached) " >&6
72503 else
72506 ac_ext=cpp
72507 ac_cpp='$CXXCPP $CPPFLAGS'
72508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72513 /* end confdefs.h. */
72514 #include <math.h>
72515 #ifdef HAVE_IEEEFP_H
72516 #include <ieeefp.h>
72517 #endif
72520 main ()
72522 sqrtl(0);
72524 return 0;
72526 _ACEOF
72527 if ac_fn_cxx_try_compile "$LINENO"; then :
72528 glibcxx_cv_func_sqrtl_use=yes
72529 else
72530 glibcxx_cv_func_sqrtl_use=no
72532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72533 ac_ext=c
72534 ac_cpp='$CPP $CPPFLAGS'
72535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72544 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72546 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72547 for ac_func in sqrtl
72548 do :
72549 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72550 if test "x$ac_cv_func_sqrtl" = xyes; then :
72551 cat >>confdefs.h <<_ACEOF
72552 #define HAVE_SQRTL 1
72553 _ACEOF
72556 done
72558 else
72560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72561 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72562 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72563 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72564 $as_echo_n "(cached) " >&6
72565 else
72568 ac_ext=cpp
72569 ac_cpp='$CXXCPP $CPPFLAGS'
72570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72575 /* end confdefs.h. */
72576 #include <math.h>
72577 #ifdef HAVE_IEEEFP_H
72578 #include <ieeefp.h>
72579 #endif
72582 main ()
72584 _sqrtl(0);
72586 return 0;
72588 _ACEOF
72589 if ac_fn_cxx_try_compile "$LINENO"; then :
72590 glibcxx_cv_func__sqrtl_use=yes
72591 else
72592 glibcxx_cv_func__sqrtl_use=no
72594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72595 ac_ext=c
72596 ac_cpp='$CPP $CPPFLAGS'
72597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72606 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72608 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72609 for ac_func in _sqrtl
72610 do :
72611 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72612 if test "x$ac_cv_func__sqrtl" = xyes; then :
72613 cat >>confdefs.h <<_ACEOF
72614 #define HAVE__SQRTL 1
72615 _ACEOF
72618 done
72627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72628 $as_echo_n "checking for sincosl declaration... " >&6; }
72629 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72630 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72631 $as_echo_n "(cached) " >&6
72632 else
72635 ac_ext=cpp
72636 ac_cpp='$CXXCPP $CPPFLAGS'
72637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72642 /* end confdefs.h. */
72643 #include <math.h>
72645 main ()
72647 sincosl(0, 0, 0);
72649 return 0;
72651 _ACEOF
72652 if ac_fn_cxx_try_compile "$LINENO"; then :
72653 glibcxx_cv_func_sincosl_use=yes
72654 else
72655 glibcxx_cv_func_sincosl_use=no
72657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72658 ac_ext=c
72659 ac_cpp='$CPP $CPPFLAGS'
72660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72669 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72671 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72672 for ac_func in sincosl
72673 do :
72674 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72675 if test "x$ac_cv_func_sincosl" = xyes; then :
72676 cat >>confdefs.h <<_ACEOF
72677 #define HAVE_SINCOSL 1
72678 _ACEOF
72681 done
72683 else
72685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72686 $as_echo_n "checking for _sincosl declaration... " >&6; }
72687 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72688 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72689 $as_echo_n "(cached) " >&6
72690 else
72693 ac_ext=cpp
72694 ac_cpp='$CXXCPP $CPPFLAGS'
72695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72700 /* end confdefs.h. */
72701 #include <math.h>
72703 main ()
72705 _sincosl(0, 0, 0);
72707 return 0;
72709 _ACEOF
72710 if ac_fn_cxx_try_compile "$LINENO"; then :
72711 glibcxx_cv_func__sincosl_use=yes
72712 else
72713 glibcxx_cv_func__sincosl_use=no
72715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72716 ac_ext=c
72717 ac_cpp='$CPP $CPPFLAGS'
72718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72727 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72729 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72730 for ac_func in _sincosl
72731 do :
72732 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72733 if test "x$ac_cv_func__sincosl" = xyes; then :
72734 cat >>confdefs.h <<_ACEOF
72735 #define HAVE__SINCOSL 1
72736 _ACEOF
72739 done
72748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72749 $as_echo_n "checking for finitel declaration... " >&6; }
72750 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72751 if ${glibcxx_cv_func_finitel_use+:} false; then :
72752 $as_echo_n "(cached) " >&6
72753 else
72756 ac_ext=cpp
72757 ac_cpp='$CXXCPP $CPPFLAGS'
72758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72763 /* end confdefs.h. */
72764 #include <math.h>
72765 #ifdef HAVE_IEEEFP_H
72766 #include <ieeefp.h>
72767 #endif
72770 main ()
72772 finitel(0);
72774 return 0;
72776 _ACEOF
72777 if ac_fn_cxx_try_compile "$LINENO"; then :
72778 glibcxx_cv_func_finitel_use=yes
72779 else
72780 glibcxx_cv_func_finitel_use=no
72782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72783 ac_ext=c
72784 ac_cpp='$CPP $CPPFLAGS'
72785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72794 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72796 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72797 for ac_func in finitel
72798 do :
72799 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72800 if test "x$ac_cv_func_finitel" = xyes; then :
72801 cat >>confdefs.h <<_ACEOF
72802 #define HAVE_FINITEL 1
72803 _ACEOF
72806 done
72808 else
72810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72811 $as_echo_n "checking for _finitel declaration... " >&6; }
72812 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72813 if ${glibcxx_cv_func__finitel_use+:} false; then :
72814 $as_echo_n "(cached) " >&6
72815 else
72818 ac_ext=cpp
72819 ac_cpp='$CXXCPP $CPPFLAGS'
72820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72825 /* end confdefs.h. */
72826 #include <math.h>
72827 #ifdef HAVE_IEEEFP_H
72828 #include <ieeefp.h>
72829 #endif
72832 main ()
72834 _finitel(0);
72836 return 0;
72838 _ACEOF
72839 if ac_fn_cxx_try_compile "$LINENO"; then :
72840 glibcxx_cv_func__finitel_use=yes
72841 else
72842 glibcxx_cv_func__finitel_use=no
72844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72845 ac_ext=c
72846 ac_cpp='$CPP $CPPFLAGS'
72847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72856 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72858 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72859 for ac_func in _finitel
72860 do :
72861 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72862 if test "x$ac_cv_func__finitel" = xyes; then :
72863 cat >>confdefs.h <<_ACEOF
72864 #define HAVE__FINITEL 1
72865 _ACEOF
72868 done
72876 LIBS="$ac_save_LIBS"
72877 CXXFLAGS="$ac_save_CXXFLAGS"
72880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72881 ac_save_CXXFLAGS="$CXXFLAGS"
72882 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72886 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72887 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72888 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72889 $as_echo_n "(cached) " >&6
72890 else
72893 ac_ext=cpp
72894 ac_cpp='$CXXCPP $CPPFLAGS'
72895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72900 /* end confdefs.h. */
72901 #include <stdlib.h>
72903 main ()
72905 at_quick_exit(0);
72907 return 0;
72909 _ACEOF
72910 if ac_fn_cxx_try_compile "$LINENO"; then :
72911 glibcxx_cv_func_at_quick_exit_use=yes
72912 else
72913 glibcxx_cv_func_at_quick_exit_use=no
72915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72916 ac_ext=c
72917 ac_cpp='$CPP $CPPFLAGS'
72918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72927 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72928 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72929 for ac_func in at_quick_exit
72930 do :
72931 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72932 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72933 cat >>confdefs.h <<_ACEOF
72934 #define HAVE_AT_QUICK_EXIT 1
72935 _ACEOF
72938 done
72943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72944 $as_echo_n "checking for quick_exit declaration... " >&6; }
72945 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72946 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72947 $as_echo_n "(cached) " >&6
72948 else
72951 ac_ext=cpp
72952 ac_cpp='$CXXCPP $CPPFLAGS'
72953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72958 /* end confdefs.h. */
72959 #include <stdlib.h>
72961 main ()
72963 quick_exit(0);
72965 return 0;
72967 _ACEOF
72968 if ac_fn_cxx_try_compile "$LINENO"; then :
72969 glibcxx_cv_func_quick_exit_use=yes
72970 else
72971 glibcxx_cv_func_quick_exit_use=no
72973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72974 ac_ext=c
72975 ac_cpp='$CPP $CPPFLAGS'
72976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72985 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72986 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72987 for ac_func in quick_exit
72988 do :
72989 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72990 if test "x$ac_cv_func_quick_exit" = xyes; then :
72991 cat >>confdefs.h <<_ACEOF
72992 #define HAVE_QUICK_EXIT 1
72993 _ACEOF
72996 done
73001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
73002 $as_echo_n "checking for strtold declaration... " >&6; }
73003 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73004 if ${glibcxx_cv_func_strtold_use+:} false; then :
73005 $as_echo_n "(cached) " >&6
73006 else
73009 ac_ext=cpp
73010 ac_cpp='$CXXCPP $CPPFLAGS'
73011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73016 /* end confdefs.h. */
73017 #include <stdlib.h>
73019 main ()
73021 strtold(0, 0);
73023 return 0;
73025 _ACEOF
73026 if ac_fn_cxx_try_compile "$LINENO"; then :
73027 glibcxx_cv_func_strtold_use=yes
73028 else
73029 glibcxx_cv_func_strtold_use=no
73031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73032 ac_ext=c
73033 ac_cpp='$CPP $CPPFLAGS'
73034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
73043 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
73044 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73045 for ac_func in strtold
73046 do :
73047 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
73048 if test "x$ac_cv_func_strtold" = xyes; then :
73049 cat >>confdefs.h <<_ACEOF
73050 #define HAVE_STRTOLD 1
73051 _ACEOF
73054 done
73061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
73062 $as_echo_n "checking for strtof declaration... " >&6; }
73063 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73064 if ${glibcxx_cv_func_strtof_use+:} false; then :
73065 $as_echo_n "(cached) " >&6
73066 else
73069 ac_ext=cpp
73070 ac_cpp='$CXXCPP $CPPFLAGS'
73071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73076 /* end confdefs.h. */
73077 #include <stdlib.h>
73079 main ()
73081 strtof(0, 0);
73083 return 0;
73085 _ACEOF
73086 if ac_fn_cxx_try_compile "$LINENO"; then :
73087 glibcxx_cv_func_strtof_use=yes
73088 else
73089 glibcxx_cv_func_strtof_use=no
73091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73092 ac_ext=c
73093 ac_cpp='$CPP $CPPFLAGS'
73094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
73103 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
73104 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73105 for ac_func in strtof
73106 do :
73107 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
73108 if test "x$ac_cv_func_strtof" = xyes; then :
73109 cat >>confdefs.h <<_ACEOF
73110 #define HAVE_STRTOF 1
73111 _ACEOF
73114 done
73121 CXXFLAGS="$ac_save_CXXFLAGS"
73124 *-vxworks*)
73125 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
73127 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
73129 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
73131 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
73133 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
73135 $as_echo "#define HAVE_COSF 1" >>confdefs.h
73137 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
73139 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
73141 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
73143 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
73145 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
73147 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
73149 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
73151 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
73153 $as_echo "#define HAVE_POWF 1" >>confdefs.h
73155 $as_echo "#define HAVE_SINF 1" >>confdefs.h
73157 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
73159 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
73161 $as_echo "#define HAVE_TANF 1" >>confdefs.h
73163 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
73170 $as_echo_n "checking for acosl declaration... " >&6; }
73171 if ${glibcxx_cv_func_acosl_use+:} false; then :
73172 $as_echo_n "(cached) " >&6
73173 else
73176 ac_ext=c
73177 ac_cpp='$CPP $CPPFLAGS'
73178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73183 /* end confdefs.h. */
73185 #include <math.h>
73186 #ifdef HAVE_IEEEFP_H
73187 # include <ieeefp.h>
73188 #endif
73189 #undef acosl
73192 main ()
73195 void (*f)(void) = (void (*)(void))acosl;
73198 return 0;
73200 _ACEOF
73201 if ac_fn_c_try_compile "$LINENO"; then :
73202 glibcxx_cv_func_acosl_use=yes
73204 else
73205 glibcxx_cv_func_acosl_use=no
73207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
73210 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
73211 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
73212 cat >>confdefs.h <<_ACEOF
73213 #define HAVE_ACOSL 1
73214 _ACEOF
73220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
73221 $as_echo_n "checking for asinl declaration... " >&6; }
73222 if ${glibcxx_cv_func_asinl_use+:} false; then :
73223 $as_echo_n "(cached) " >&6
73224 else
73227 ac_ext=c
73228 ac_cpp='$CPP $CPPFLAGS'
73229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73234 /* end confdefs.h. */
73236 #include <math.h>
73237 #ifdef HAVE_IEEEFP_H
73238 # include <ieeefp.h>
73239 #endif
73240 #undef asinl
73243 main ()
73246 void (*f)(void) = (void (*)(void))asinl;
73249 return 0;
73251 _ACEOF
73252 if ac_fn_c_try_compile "$LINENO"; then :
73253 glibcxx_cv_func_asinl_use=yes
73255 else
73256 glibcxx_cv_func_asinl_use=no
73258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
73261 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
73262 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
73263 cat >>confdefs.h <<_ACEOF
73264 #define HAVE_ASINL 1
73265 _ACEOF
73271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
73272 $as_echo_n "checking for atan2l declaration... " >&6; }
73273 if ${glibcxx_cv_func_atan2l_use+:} false; then :
73274 $as_echo_n "(cached) " >&6
73275 else
73278 ac_ext=c
73279 ac_cpp='$CPP $CPPFLAGS'
73280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73285 /* end confdefs.h. */
73287 #include <math.h>
73288 #ifdef HAVE_IEEEFP_H
73289 # include <ieeefp.h>
73290 #endif
73291 #undef atan2l
73294 main ()
73297 void (*f)(void) = (void (*)(void))atan2l;
73300 return 0;
73302 _ACEOF
73303 if ac_fn_c_try_compile "$LINENO"; then :
73304 glibcxx_cv_func_atan2l_use=yes
73306 else
73307 glibcxx_cv_func_atan2l_use=no
73309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
73312 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
73313 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
73314 cat >>confdefs.h <<_ACEOF
73315 #define HAVE_ATAN2L 1
73316 _ACEOF
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
73323 $as_echo_n "checking for atanl declaration... " >&6; }
73324 if ${glibcxx_cv_func_atanl_use+:} false; then :
73325 $as_echo_n "(cached) " >&6
73326 else
73329 ac_ext=c
73330 ac_cpp='$CPP $CPPFLAGS'
73331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73336 /* end confdefs.h. */
73338 #include <math.h>
73339 #ifdef HAVE_IEEEFP_H
73340 # include <ieeefp.h>
73341 #endif
73342 #undef atanl
73345 main ()
73348 void (*f)(void) = (void (*)(void))atanl;
73351 return 0;
73353 _ACEOF
73354 if ac_fn_c_try_compile "$LINENO"; then :
73355 glibcxx_cv_func_atanl_use=yes
73357 else
73358 glibcxx_cv_func_atanl_use=no
73360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
73363 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
73364 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
73365 cat >>confdefs.h <<_ACEOF
73366 #define HAVE_ATANL 1
73367 _ACEOF
73373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
73374 $as_echo_n "checking for ceill declaration... " >&6; }
73375 if ${glibcxx_cv_func_ceill_use+:} false; then :
73376 $as_echo_n "(cached) " >&6
73377 else
73380 ac_ext=c
73381 ac_cpp='$CPP $CPPFLAGS'
73382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73387 /* end confdefs.h. */
73389 #include <math.h>
73390 #ifdef HAVE_IEEEFP_H
73391 # include <ieeefp.h>
73392 #endif
73393 #undef ceill
73396 main ()
73399 void (*f)(void) = (void (*)(void))ceill;
73402 return 0;
73404 _ACEOF
73405 if ac_fn_c_try_compile "$LINENO"; then :
73406 glibcxx_cv_func_ceill_use=yes
73408 else
73409 glibcxx_cv_func_ceill_use=no
73411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
73414 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
73415 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
73416 cat >>confdefs.h <<_ACEOF
73417 #define HAVE_CEILL 1
73418 _ACEOF
73424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73425 $as_echo_n "checking for cosl declaration... " >&6; }
73426 if ${glibcxx_cv_func_cosl_use+:} false; then :
73427 $as_echo_n "(cached) " >&6
73428 else
73431 ac_ext=c
73432 ac_cpp='$CPP $CPPFLAGS'
73433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73438 /* end confdefs.h. */
73440 #include <math.h>
73441 #ifdef HAVE_IEEEFP_H
73442 # include <ieeefp.h>
73443 #endif
73444 #undef cosl
73447 main ()
73450 void (*f)(void) = (void (*)(void))cosl;
73453 return 0;
73455 _ACEOF
73456 if ac_fn_c_try_compile "$LINENO"; then :
73457 glibcxx_cv_func_cosl_use=yes
73459 else
73460 glibcxx_cv_func_cosl_use=no
73462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73465 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73466 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73467 cat >>confdefs.h <<_ACEOF
73468 #define HAVE_COSL 1
73469 _ACEOF
73475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73476 $as_echo_n "checking for coshl declaration... " >&6; }
73477 if ${glibcxx_cv_func_coshl_use+:} false; then :
73478 $as_echo_n "(cached) " >&6
73479 else
73482 ac_ext=c
73483 ac_cpp='$CPP $CPPFLAGS'
73484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73489 /* end confdefs.h. */
73491 #include <math.h>
73492 #ifdef HAVE_IEEEFP_H
73493 # include <ieeefp.h>
73494 #endif
73495 #undef coshl
73498 main ()
73501 void (*f)(void) = (void (*)(void))coshl;
73504 return 0;
73506 _ACEOF
73507 if ac_fn_c_try_compile "$LINENO"; then :
73508 glibcxx_cv_func_coshl_use=yes
73510 else
73511 glibcxx_cv_func_coshl_use=no
73513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73516 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73517 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73518 cat >>confdefs.h <<_ACEOF
73519 #define HAVE_COSHL 1
73520 _ACEOF
73526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73527 $as_echo_n "checking for expl declaration... " >&6; }
73528 if ${glibcxx_cv_func_expl_use+:} false; then :
73529 $as_echo_n "(cached) " >&6
73530 else
73533 ac_ext=c
73534 ac_cpp='$CPP $CPPFLAGS'
73535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73540 /* end confdefs.h. */
73542 #include <math.h>
73543 #ifdef HAVE_IEEEFP_H
73544 # include <ieeefp.h>
73545 #endif
73546 #undef expl
73549 main ()
73552 void (*f)(void) = (void (*)(void))expl;
73555 return 0;
73557 _ACEOF
73558 if ac_fn_c_try_compile "$LINENO"; then :
73559 glibcxx_cv_func_expl_use=yes
73561 else
73562 glibcxx_cv_func_expl_use=no
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73567 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73568 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73569 cat >>confdefs.h <<_ACEOF
73570 #define HAVE_EXPL 1
73571 _ACEOF
73577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73578 $as_echo_n "checking for fabsl declaration... " >&6; }
73579 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73580 $as_echo_n "(cached) " >&6
73581 else
73584 ac_ext=c
73585 ac_cpp='$CPP $CPPFLAGS'
73586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73591 /* end confdefs.h. */
73593 #include <math.h>
73594 #ifdef HAVE_IEEEFP_H
73595 # include <ieeefp.h>
73596 #endif
73597 #undef fabsl
73600 main ()
73603 void (*f)(void) = (void (*)(void))fabsl;
73606 return 0;
73608 _ACEOF
73609 if ac_fn_c_try_compile "$LINENO"; then :
73610 glibcxx_cv_func_fabsl_use=yes
73612 else
73613 glibcxx_cv_func_fabsl_use=no
73615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73618 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73619 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73620 cat >>confdefs.h <<_ACEOF
73621 #define HAVE_FABSL 1
73622 _ACEOF
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73629 $as_echo_n "checking for floorl declaration... " >&6; }
73630 if ${glibcxx_cv_func_floorl_use+:} false; then :
73631 $as_echo_n "(cached) " >&6
73632 else
73635 ac_ext=c
73636 ac_cpp='$CPP $CPPFLAGS'
73637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73642 /* end confdefs.h. */
73644 #include <math.h>
73645 #ifdef HAVE_IEEEFP_H
73646 # include <ieeefp.h>
73647 #endif
73648 #undef floorl
73651 main ()
73654 void (*f)(void) = (void (*)(void))floorl;
73657 return 0;
73659 _ACEOF
73660 if ac_fn_c_try_compile "$LINENO"; then :
73661 glibcxx_cv_func_floorl_use=yes
73663 else
73664 glibcxx_cv_func_floorl_use=no
73666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73669 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73670 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73671 cat >>confdefs.h <<_ACEOF
73672 #define HAVE_FLOORL 1
73673 _ACEOF
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73680 $as_echo_n "checking for fmodl declaration... " >&6; }
73681 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73682 $as_echo_n "(cached) " >&6
73683 else
73686 ac_ext=c
73687 ac_cpp='$CPP $CPPFLAGS'
73688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73693 /* end confdefs.h. */
73695 #include <math.h>
73696 #ifdef HAVE_IEEEFP_H
73697 # include <ieeefp.h>
73698 #endif
73699 #undef fmodl
73702 main ()
73705 void (*f)(void) = (void (*)(void))fmodl;
73708 return 0;
73710 _ACEOF
73711 if ac_fn_c_try_compile "$LINENO"; then :
73712 glibcxx_cv_func_fmodl_use=yes
73714 else
73715 glibcxx_cv_func_fmodl_use=no
73717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73720 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73721 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73722 cat >>confdefs.h <<_ACEOF
73723 #define HAVE_FMODL 1
73724 _ACEOF
73730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73731 $as_echo_n "checking for frexpl declaration... " >&6; }
73732 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73733 $as_echo_n "(cached) " >&6
73734 else
73737 ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73744 /* end confdefs.h. */
73746 #include <math.h>
73747 #ifdef HAVE_IEEEFP_H
73748 # include <ieeefp.h>
73749 #endif
73750 #undef frexpl
73753 main ()
73756 void (*f)(void) = (void (*)(void))frexpl;
73759 return 0;
73761 _ACEOF
73762 if ac_fn_c_try_compile "$LINENO"; then :
73763 glibcxx_cv_func_frexpl_use=yes
73765 else
73766 glibcxx_cv_func_frexpl_use=no
73768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73771 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73772 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73773 cat >>confdefs.h <<_ACEOF
73774 #define HAVE_FREXPL 1
73775 _ACEOF
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73782 $as_echo_n "checking for ldexpl declaration... " >&6; }
73783 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73784 $as_echo_n "(cached) " >&6
73785 else
73788 ac_ext=c
73789 ac_cpp='$CPP $CPPFLAGS'
73790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73795 /* end confdefs.h. */
73797 #include <math.h>
73798 #ifdef HAVE_IEEEFP_H
73799 # include <ieeefp.h>
73800 #endif
73801 #undef ldexpl
73804 main ()
73807 void (*f)(void) = (void (*)(void))ldexpl;
73810 return 0;
73812 _ACEOF
73813 if ac_fn_c_try_compile "$LINENO"; then :
73814 glibcxx_cv_func_ldexpl_use=yes
73816 else
73817 glibcxx_cv_func_ldexpl_use=no
73819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73822 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73823 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73824 cat >>confdefs.h <<_ACEOF
73825 #define HAVE_LDEXPL 1
73826 _ACEOF
73832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73833 $as_echo_n "checking for log10l declaration... " >&6; }
73834 if ${glibcxx_cv_func_log10l_use+:} false; then :
73835 $as_echo_n "(cached) " >&6
73836 else
73839 ac_ext=c
73840 ac_cpp='$CPP $CPPFLAGS'
73841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73846 /* end confdefs.h. */
73848 #include <math.h>
73849 #ifdef HAVE_IEEEFP_H
73850 # include <ieeefp.h>
73851 #endif
73852 #undef log10l
73855 main ()
73858 void (*f)(void) = (void (*)(void))log10l;
73861 return 0;
73863 _ACEOF
73864 if ac_fn_c_try_compile "$LINENO"; then :
73865 glibcxx_cv_func_log10l_use=yes
73867 else
73868 glibcxx_cv_func_log10l_use=no
73870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73873 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73874 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73875 cat >>confdefs.h <<_ACEOF
73876 #define HAVE_LOG10L 1
73877 _ACEOF
73883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73884 $as_echo_n "checking for logl declaration... " >&6; }
73885 if ${glibcxx_cv_func_logl_use+:} false; then :
73886 $as_echo_n "(cached) " >&6
73887 else
73890 ac_ext=c
73891 ac_cpp='$CPP $CPPFLAGS'
73892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73897 /* end confdefs.h. */
73899 #include <math.h>
73900 #ifdef HAVE_IEEEFP_H
73901 # include <ieeefp.h>
73902 #endif
73903 #undef logl
73906 main ()
73909 void (*f)(void) = (void (*)(void))logl;
73912 return 0;
73914 _ACEOF
73915 if ac_fn_c_try_compile "$LINENO"; then :
73916 glibcxx_cv_func_logl_use=yes
73918 else
73919 glibcxx_cv_func_logl_use=no
73921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73924 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73925 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE_LOGL 1
73928 _ACEOF
73934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73935 $as_echo_n "checking for modfl declaration... " >&6; }
73936 if ${glibcxx_cv_func_modfl_use+:} false; then :
73937 $as_echo_n "(cached) " >&6
73938 else
73941 ac_ext=c
73942 ac_cpp='$CPP $CPPFLAGS'
73943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73948 /* end confdefs.h. */
73950 #include <math.h>
73951 #ifdef HAVE_IEEEFP_H
73952 # include <ieeefp.h>
73953 #endif
73954 #undef modfl
73957 main ()
73960 void (*f)(void) = (void (*)(void))modfl;
73963 return 0;
73965 _ACEOF
73966 if ac_fn_c_try_compile "$LINENO"; then :
73967 glibcxx_cv_func_modfl_use=yes
73969 else
73970 glibcxx_cv_func_modfl_use=no
73972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73975 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73976 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73977 cat >>confdefs.h <<_ACEOF
73978 #define HAVE_MODFL 1
73979 _ACEOF
73985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73986 $as_echo_n "checking for powl declaration... " >&6; }
73987 if ${glibcxx_cv_func_powl_use+:} false; then :
73988 $as_echo_n "(cached) " >&6
73989 else
73992 ac_ext=c
73993 ac_cpp='$CPP $CPPFLAGS'
73994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73999 /* end confdefs.h. */
74001 #include <math.h>
74002 #ifdef HAVE_IEEEFP_H
74003 # include <ieeefp.h>
74004 #endif
74005 #undef powl
74008 main ()
74011 void (*f)(void) = (void (*)(void))powl;
74014 return 0;
74016 _ACEOF
74017 if ac_fn_c_try_compile "$LINENO"; then :
74018 glibcxx_cv_func_powl_use=yes
74020 else
74021 glibcxx_cv_func_powl_use=no
74023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
74026 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
74027 if test "x$glibcxx_cv_func_powl_use" = xyes; then
74028 cat >>confdefs.h <<_ACEOF
74029 #define HAVE_POWL 1
74030 _ACEOF
74036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
74037 $as_echo_n "checking for sinl declaration... " >&6; }
74038 if ${glibcxx_cv_func_sinl_use+:} false; then :
74039 $as_echo_n "(cached) " >&6
74040 else
74043 ac_ext=c
74044 ac_cpp='$CPP $CPPFLAGS'
74045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74050 /* end confdefs.h. */
74052 #include <math.h>
74053 #ifdef HAVE_IEEEFP_H
74054 # include <ieeefp.h>
74055 #endif
74056 #undef sinl
74059 main ()
74062 void (*f)(void) = (void (*)(void))sinl;
74065 return 0;
74067 _ACEOF
74068 if ac_fn_c_try_compile "$LINENO"; then :
74069 glibcxx_cv_func_sinl_use=yes
74071 else
74072 glibcxx_cv_func_sinl_use=no
74074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
74077 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
74078 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
74079 cat >>confdefs.h <<_ACEOF
74080 #define HAVE_SINL 1
74081 _ACEOF
74087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
74088 $as_echo_n "checking for sinhl declaration... " >&6; }
74089 if ${glibcxx_cv_func_sinhl_use+:} false; then :
74090 $as_echo_n "(cached) " >&6
74091 else
74094 ac_ext=c
74095 ac_cpp='$CPP $CPPFLAGS'
74096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74101 /* end confdefs.h. */
74103 #include <math.h>
74104 #ifdef HAVE_IEEEFP_H
74105 # include <ieeefp.h>
74106 #endif
74107 #undef sinhl
74110 main ()
74113 void (*f)(void) = (void (*)(void))sinhl;
74116 return 0;
74118 _ACEOF
74119 if ac_fn_c_try_compile "$LINENO"; then :
74120 glibcxx_cv_func_sinhl_use=yes
74122 else
74123 glibcxx_cv_func_sinhl_use=no
74125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
74128 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
74129 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
74130 cat >>confdefs.h <<_ACEOF
74131 #define HAVE_SINHL 1
74132 _ACEOF
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
74139 $as_echo_n "checking for sqrtl declaration... " >&6; }
74140 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
74141 $as_echo_n "(cached) " >&6
74142 else
74145 ac_ext=c
74146 ac_cpp='$CPP $CPPFLAGS'
74147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74152 /* end confdefs.h. */
74154 #include <math.h>
74155 #ifdef HAVE_IEEEFP_H
74156 # include <ieeefp.h>
74157 #endif
74158 #undef sqrtl
74161 main ()
74164 void (*f)(void) = (void (*)(void))sqrtl;
74167 return 0;
74169 _ACEOF
74170 if ac_fn_c_try_compile "$LINENO"; then :
74171 glibcxx_cv_func_sqrtl_use=yes
74173 else
74174 glibcxx_cv_func_sqrtl_use=no
74176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
74179 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
74180 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
74181 cat >>confdefs.h <<_ACEOF
74182 #define HAVE_SQRTL 1
74183 _ACEOF
74189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
74190 $as_echo_n "checking for tanl declaration... " >&6; }
74191 if ${glibcxx_cv_func_tanl_use+:} false; then :
74192 $as_echo_n "(cached) " >&6
74193 else
74196 ac_ext=c
74197 ac_cpp='$CPP $CPPFLAGS'
74198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74203 /* end confdefs.h. */
74205 #include <math.h>
74206 #ifdef HAVE_IEEEFP_H
74207 # include <ieeefp.h>
74208 #endif
74209 #undef tanl
74212 main ()
74215 void (*f)(void) = (void (*)(void))tanl;
74218 return 0;
74220 _ACEOF
74221 if ac_fn_c_try_compile "$LINENO"; then :
74222 glibcxx_cv_func_tanl_use=yes
74224 else
74225 glibcxx_cv_func_tanl_use=no
74227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
74230 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
74231 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
74232 cat >>confdefs.h <<_ACEOF
74233 #define HAVE_TANL 1
74234 _ACEOF
74240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
74241 $as_echo_n "checking for tanhl declaration... " >&6; }
74242 if ${glibcxx_cv_func_tanhl_use+:} false; then :
74243 $as_echo_n "(cached) " >&6
74244 else
74247 ac_ext=c
74248 ac_cpp='$CPP $CPPFLAGS'
74249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74254 /* end confdefs.h. */
74256 #include <math.h>
74257 #ifdef HAVE_IEEEFP_H
74258 # include <ieeefp.h>
74259 #endif
74260 #undef tanhl
74263 main ()
74266 void (*f)(void) = (void (*)(void))tanhl;
74269 return 0;
74271 _ACEOF
74272 if ac_fn_c_try_compile "$LINENO"; then :
74273 glibcxx_cv_func_tanhl_use=yes
74275 else
74276 glibcxx_cv_func_tanhl_use=no
74278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
74281 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
74282 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
74283 cat >>confdefs.h <<_ACEOF
74284 #define HAVE_TANHL 1
74285 _ACEOF
74291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
74292 $as_echo_n "checking for hypotl declaration... " >&6; }
74293 if ${glibcxx_cv_func_hypotl_use+:} false; then :
74294 $as_echo_n "(cached) " >&6
74295 else
74298 ac_ext=c
74299 ac_cpp='$CPP $CPPFLAGS'
74300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74305 /* end confdefs.h. */
74307 #include <math.h>
74308 #ifdef HAVE_IEEEFP_H
74309 # include <ieeefp.h>
74310 #endif
74311 #undef hypotl
74314 main ()
74317 void (*f)(void) = (void (*)(void))hypotl;
74320 return 0;
74322 _ACEOF
74323 if ac_fn_c_try_compile "$LINENO"; then :
74324 glibcxx_cv_func_hypotl_use=yes
74326 else
74327 glibcxx_cv_func_hypotl_use=no
74329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
74332 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
74333 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
74334 cat >>confdefs.h <<_ACEOF
74335 #define HAVE_HYPOTL 1
74336 _ACEOF
74342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74343 $as_echo_n "checking for ldexpf declaration... " >&6; }
74344 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74345 $as_echo_n "(cached) " >&6
74346 else
74349 ac_ext=c
74350 ac_cpp='$CPP $CPPFLAGS'
74351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74356 /* end confdefs.h. */
74358 #include <math.h>
74359 #ifdef HAVE_IEEEFP_H
74360 # include <ieeefp.h>
74361 #endif
74362 #undef ldexpf
74365 main ()
74368 void (*f)(void) = (void (*)(void))ldexpf;
74371 return 0;
74373 _ACEOF
74374 if ac_fn_c_try_compile "$LINENO"; then :
74375 glibcxx_cv_func_ldexpf_use=yes
74377 else
74378 glibcxx_cv_func_ldexpf_use=no
74380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74383 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74384 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
74385 cat >>confdefs.h <<_ACEOF
74386 #define HAVE_LDEXPF 1
74387 _ACEOF
74393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74394 $as_echo_n "checking for modff declaration... " >&6; }
74395 if ${glibcxx_cv_func_modff_use+:} false; then :
74396 $as_echo_n "(cached) " >&6
74397 else
74400 ac_ext=c
74401 ac_cpp='$CPP $CPPFLAGS'
74402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74407 /* end confdefs.h. */
74409 #include <math.h>
74410 #ifdef HAVE_IEEEFP_H
74411 # include <ieeefp.h>
74412 #endif
74413 #undef modff
74416 main ()
74419 void (*f)(void) = (void (*)(void))modff;
74422 return 0;
74424 _ACEOF
74425 if ac_fn_c_try_compile "$LINENO"; then :
74426 glibcxx_cv_func_modff_use=yes
74428 else
74429 glibcxx_cv_func_modff_use=no
74431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74434 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74435 if test "x$glibcxx_cv_func_modff_use" = xyes; then
74436 cat >>confdefs.h <<_ACEOF
74437 #define HAVE_MODFF 1
74438 _ACEOF
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74445 $as_echo_n "checking for hypotf declaration... " >&6; }
74446 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74447 $as_echo_n "(cached) " >&6
74448 else
74451 ac_ext=c
74452 ac_cpp='$CPP $CPPFLAGS'
74453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74458 /* end confdefs.h. */
74460 #include <math.h>
74461 #ifdef HAVE_IEEEFP_H
74462 # include <ieeefp.h>
74463 #endif
74464 #undef hypotf
74467 main ()
74470 void (*f)(void) = (void (*)(void))hypotf;
74473 return 0;
74475 _ACEOF
74476 if ac_fn_c_try_compile "$LINENO"; then :
74477 glibcxx_cv_func_hypotf_use=yes
74479 else
74480 glibcxx_cv_func_hypotf_use=no
74482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74485 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74486 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
74487 cat >>confdefs.h <<_ACEOF
74488 #define HAVE_HYPOTF 1
74489 _ACEOF
74495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74496 $as_echo_n "checking for frexpf declaration... " >&6; }
74497 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74498 $as_echo_n "(cached) " >&6
74499 else
74502 ac_ext=c
74503 ac_cpp='$CPP $CPPFLAGS'
74504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74509 /* end confdefs.h. */
74511 #include <math.h>
74512 #ifdef HAVE_IEEEFP_H
74513 # include <ieeefp.h>
74514 #endif
74515 #undef frexpf
74518 main ()
74521 void (*f)(void) = (void (*)(void))frexpf;
74524 return 0;
74526 _ACEOF
74527 if ac_fn_c_try_compile "$LINENO"; then :
74528 glibcxx_cv_func_frexpf_use=yes
74530 else
74531 glibcxx_cv_func_frexpf_use=no
74533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74536 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74537 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74538 cat >>confdefs.h <<_ACEOF
74539 #define HAVE_FREXPF 1
74540 _ACEOF
74548 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74550 esac
74554 # At some point, we should differentiate between architectures
74555 # like x86, which have long double versions, and alpha/powerpc/etc.,
74556 # which don't. For the time being, punt.
74557 if test x"long_double_math_on_this_cpu" = x"yes"; then
74558 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74560 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74562 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74564 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74566 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74568 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74570 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74572 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74574 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74576 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74578 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74580 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74582 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74584 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74586 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74588 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74590 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74592 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74594 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74596 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74598 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74600 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74602 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74607 # Check for _Unwind_GetIPInfo.
74610 # Check whether --with-system-libunwind was given.
74611 if test "${with_system_libunwind+set}" = set; then :
74612 withval=$with_system_libunwind;
74615 # If system-libunwind was not specifically set, pick a default setting.
74616 if test x$with_system_libunwind = x; then
74617 case ${target} in
74618 ia64-*-hpux*) with_system_libunwind=yes ;;
74619 *) with_system_libunwind=no ;;
74620 esac
74622 # Based on system-libunwind and target, do we have ipinfo?
74623 if test x$with_system_libunwind = xyes; then
74624 case ${target} in
74625 ia64-*-*) have_unwind_getipinfo=no ;;
74626 *) have_unwind_getipinfo=yes ;;
74627 esac
74628 else
74629 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74631 case ${target} in
74632 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74633 *) have_unwind_getipinfo=yes ;;
74634 esac
74638 if test x$have_unwind_getipinfo = xyes; then
74640 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74645 # Check whether --enable-linux-futex was given.
74646 if test "${enable_linux_futex+set}" = set; then :
74647 enableval=$enable_linux_futex;
74648 case "$enableval" in
74649 yes|no|default) ;;
74650 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74651 esac
74653 else
74654 enable_linux_futex=default
74658 case "$target" in
74659 *-linux* | *-uclinux*)
74660 case "$enable_linux_futex" in
74661 default)
74662 # If headers don't have gettid/futex syscalls definition, then
74663 # default to no, otherwise there will be compile time failures.
74664 # Otherwise, default to yes. If we don't detect we are
74665 # compiled/linked against NPTL and not cross-compiling, check
74666 # if programs are run by default against NPTL and if not, issue
74667 # a warning.
74668 enable_linux_futex=no
74669 if test x$gcc_no_link = xyes; then
74670 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74673 /* end confdefs.h. */
74674 #include <sys/syscall.h>
74675 #include <unistd.h>
74676 int lk;
74678 main ()
74680 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74682 return 0;
74684 _ACEOF
74685 if ac_fn_c_try_link "$LINENO"; then :
74686 save_LIBS="$LIBS"
74687 LIBS="-lpthread $LIBS"
74688 if test x$gcc_no_link = xyes; then
74689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74692 /* end confdefs.h. */
74693 #ifndef _GNU_SOURCE
74694 #define _GNU_SOURCE 1
74695 #endif
74696 #include <pthread.h>
74697 pthread_t th; void *status;
74699 main ()
74701 pthread_tryjoin_np (th, &status);
74703 return 0;
74705 _ACEOF
74706 if ac_fn_c_try_link "$LINENO"; then :
74707 enable_linux_futex=yes
74708 else
74709 if test x$cross_compiling = xno; then
74710 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74711 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74713 If so, please configure with --disable-linux-futex" >&5
74714 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74715 If so, please configure with --disable-linux-futex" >&2;}
74718 enable_linux_futex=yes
74720 rm -f core conftest.err conftest.$ac_objext \
74721 conftest$ac_exeext conftest.$ac_ext
74722 LIBS="$save_LIBS"
74724 rm -f core conftest.err conftest.$ac_objext \
74725 conftest$ac_exeext conftest.$ac_ext
74727 yes)
74728 if test x$gcc_no_link = xyes; then
74729 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74732 /* end confdefs.h. */
74733 #include <sys/syscall.h>
74734 #include <unistd.h>
74735 int lk;
74737 main ()
74739 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74741 return 0;
74743 _ACEOF
74744 if ac_fn_c_try_link "$LINENO"; then :
74746 else
74747 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74749 rm -f core conftest.err conftest.$ac_objext \
74750 conftest$ac_exeext conftest.$ac_ext
74752 esac
74755 enable_linux_futex=no
74757 esac
74758 if test x$enable_linux_futex = xyes; then
74760 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74767 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74769 acx_cv_header_stdint=stddef.h
74770 acx_cv_header_stdint_kind="(already complete)"
74771 for i in stdint.h $inttype_headers; do
74772 unset ac_cv_type_uintptr_t
74773 unset ac_cv_type_uintmax_t
74774 unset ac_cv_type_int_least32_t
74775 unset ac_cv_type_int_fast32_t
74776 unset ac_cv_type_uint64_t
74777 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74778 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74779 #include <$i>
74781 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74782 acx_cv_header_stdint=$i
74783 else
74784 continue
74787 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74788 #include <$i>
74790 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74792 else
74793 acx_cv_header_stdint_kind="(mostly complete)"
74796 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74797 #include <$i>
74799 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74801 else
74802 acx_cv_header_stdint_kind="(mostly complete)"
74805 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74806 #include <$i>
74808 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74810 else
74811 acx_cv_header_stdint_kind="(mostly complete)"
74814 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74815 #include <$i>
74817 if test "x$ac_cv_type_uint64_t" = xyes; then :
74819 else
74820 acx_cv_header_stdint_kind="(lacks uint64_t)"
74823 break
74824 done
74825 if test "$acx_cv_header_stdint" = stddef.h; then
74826 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74827 for i in stdint.h $inttype_headers; do
74828 unset ac_cv_type_uintptr_t
74829 unset ac_cv_type_uint32_t
74830 unset ac_cv_type_uint64_t
74831 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74832 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74833 #include <$i>
74835 if test "x$ac_cv_type_uint32_t" = xyes; then :
74836 acx_cv_header_stdint=$i
74837 else
74838 continue
74841 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74842 #include <$i>
74844 if test "x$ac_cv_type_uint64_t" = xyes; then :
74848 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74849 #include <$i>
74851 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74855 break
74856 done
74858 if test "$acx_cv_header_stdint" = stddef.h; then
74859 acx_cv_header_stdint_kind="(u_intXX_t style)"
74860 for i in sys/types.h $inttype_headers; do
74861 unset ac_cv_type_u_int32_t
74862 unset ac_cv_type_u_int64_t
74863 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74864 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74865 #include <$i>
74867 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74868 acx_cv_header_stdint=$i
74869 else
74870 continue
74873 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74874 #include <$i>
74876 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74880 break
74881 done
74883 if test "$acx_cv_header_stdint" = stddef.h; then
74884 acx_cv_header_stdint_kind="(using manual detection)"
74887 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74888 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74889 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74890 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74891 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74893 # ----------------- Summarize what we found so far
74895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74896 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74898 case `$as_basename -- include/gstdint.h ||
74899 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74900 Xinclude/gstdint.h : 'X\(//\)$' \| \
74901 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74902 $as_echo X/include/gstdint.h |
74903 sed '/^.*\/\([^/][^/]*\)\/*$/{
74904 s//\1/
74907 /^X\/\(\/\/\)$/{
74908 s//\1/
74911 /^X\/\(\/\).*/{
74912 s//\1/
74915 s/.*/./; q'` in
74916 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74917 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74918 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74919 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74920 *) ;;
74921 esac
74923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74924 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74926 # ----------------- done included file, check C basic types --------
74928 # Lacking an uintptr_t? Test size of void *
74929 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74930 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74933 # This bug is HP SR number 8606223364.
74934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74935 $as_echo_n "checking size of void *... " >&6; }
74936 if ${ac_cv_sizeof_void_p+:} false; then :
74937 $as_echo_n "(cached) " >&6
74938 else
74939 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74941 else
74942 if test "$ac_cv_type_void_p" = yes; then
74943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74945 as_fn_error 77 "cannot compute sizeof (void *)
74946 See \`config.log' for more details" "$LINENO" 5; }
74947 else
74948 ac_cv_sizeof_void_p=0
74953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74954 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74958 cat >>confdefs.h <<_ACEOF
74959 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74960 _ACEOF
74963 esac
74965 # Lacking an uint64_t? Test size of long
74966 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74967 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74970 # This bug is HP SR number 8606223364.
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74972 $as_echo_n "checking size of long... " >&6; }
74973 if ${ac_cv_sizeof_long+:} false; then :
74974 $as_echo_n "(cached) " >&6
74975 else
74976 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74978 else
74979 if test "$ac_cv_type_long" = yes; then
74980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74982 as_fn_error 77 "cannot compute sizeof (long)
74983 See \`config.log' for more details" "$LINENO" 5; }
74984 else
74985 ac_cv_sizeof_long=0
74990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74991 $as_echo "$ac_cv_sizeof_long" >&6; }
74995 cat >>confdefs.h <<_ACEOF
74996 #define SIZEOF_LONG $ac_cv_sizeof_long
74997 _ACEOF
75000 esac
75002 if test $acx_cv_header_stdint = stddef.h; then
75003 # Lacking a good header? Test size of everything and deduce all types.
75004 # The cast to long int works around a bug in the HP C Compiler
75005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
75006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
75007 # This bug is HP SR number 8606223364.
75008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
75009 $as_echo_n "checking size of int... " >&6; }
75010 if ${ac_cv_sizeof_int+:} false; then :
75011 $as_echo_n "(cached) " >&6
75012 else
75013 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
75015 else
75016 if test "$ac_cv_type_int" = yes; then
75017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
75018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
75019 as_fn_error 77 "cannot compute sizeof (int)
75020 See \`config.log' for more details" "$LINENO" 5; }
75021 else
75022 ac_cv_sizeof_int=0
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
75028 $as_echo "$ac_cv_sizeof_int" >&6; }
75032 cat >>confdefs.h <<_ACEOF
75033 #define SIZEOF_INT $ac_cv_sizeof_int
75034 _ACEOF
75037 # The cast to long int works around a bug in the HP C Compiler
75038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
75039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
75040 # This bug is HP SR number 8606223364.
75041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
75042 $as_echo_n "checking size of short... " >&6; }
75043 if ${ac_cv_sizeof_short+:} false; then :
75044 $as_echo_n "(cached) " >&6
75045 else
75046 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
75048 else
75049 if test "$ac_cv_type_short" = yes; then
75050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
75051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
75052 as_fn_error 77 "cannot compute sizeof (short)
75053 See \`config.log' for more details" "$LINENO" 5; }
75054 else
75055 ac_cv_sizeof_short=0
75060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
75061 $as_echo "$ac_cv_sizeof_short" >&6; }
75065 cat >>confdefs.h <<_ACEOF
75066 #define SIZEOF_SHORT $ac_cv_sizeof_short
75067 _ACEOF
75070 # The cast to long int works around a bug in the HP C Compiler
75071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
75072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
75073 # This bug is HP SR number 8606223364.
75074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
75075 $as_echo_n "checking size of char... " >&6; }
75076 if ${ac_cv_sizeof_char+:} false; then :
75077 $as_echo_n "(cached) " >&6
75078 else
75079 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
75081 else
75082 if test "$ac_cv_type_char" = yes; then
75083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
75084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
75085 as_fn_error 77 "cannot compute sizeof (char)
75086 See \`config.log' for more details" "$LINENO" 5; }
75087 else
75088 ac_cv_sizeof_char=0
75093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
75094 $as_echo "$ac_cv_sizeof_char" >&6; }
75098 cat >>confdefs.h <<_ACEOF
75099 #define SIZEOF_CHAR $ac_cv_sizeof_char
75100 _ACEOF
75104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
75105 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
75106 case "$ac_cv_sizeof_char" in
75107 1) acx_cv_type_int8_t=char ;;
75108 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
75109 esac
75110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
75111 $as_echo "$acx_cv_type_int8_t" >&6; }
75113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
75114 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
75115 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
75116 2:*) acx_cv_type_int16_t=int ;;
75117 *:2) acx_cv_type_int16_t=short ;;
75118 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
75119 esac
75120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
75121 $as_echo "$acx_cv_type_int16_t" >&6; }
75123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
75124 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
75125 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
75126 4:*) acx_cv_type_int32_t=int ;;
75127 *:4) acx_cv_type_int32_t=long ;;
75128 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
75129 esac
75130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
75131 $as_echo "$acx_cv_type_int32_t" >&6; }
75134 # These tests are here to make the output prettier
75136 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
75137 case "$ac_cv_sizeof_long" in
75138 8) acx_cv_type_int64_t=long ;;
75139 esac
75140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
75141 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
75142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
75143 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
75146 # Now we can use the above types
75148 if test "$ac_cv_type_uintptr_t" != yes; then
75149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
75150 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
75151 case $ac_cv_sizeof_void_p in
75152 2) acx_cv_type_intptr_t=int16_t ;;
75153 4) acx_cv_type_intptr_t=int32_t ;;
75154 8) acx_cv_type_intptr_t=int64_t ;;
75155 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
75156 esac
75157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
75158 $as_echo "$acx_cv_type_intptr_t" >&6; }
75161 # ----------------- done all checks, emit header -------------
75162 ac_config_commands="$ac_config_commands include/gstdint.h"
75168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
75169 $as_echo_n "checking for GNU c++filt... " >&6; }
75170 if ${ac_cv_path_CXXFILT+:} false; then :
75171 $as_echo_n "(cached) " >&6
75172 else
75173 if test -z "$CXXFILT"; then
75174 ac_path_CXXFILT_found=false
75175 # Loop through the user's path and test for each of PROGNAME-LIST
75176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75177 for as_dir in $PATH
75179 IFS=$as_save_IFS
75180 test -z "$as_dir" && as_dir=.
75181 for ac_prog in c++filt gc++filt; do
75182 for ac_exec_ext in '' $ac_executable_extensions; do
75183 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
75184 as_fn_executable_p "$ac_path_CXXFILT" || continue
75185 # Check for GNU $ac_path_CXXFILT
75186 case `"$ac_path_CXXFILT" --version 2>&1` in
75187 *GNU*)
75188 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
75189 esac
75191 $ac_path_CXXFILT_found && break 3
75192 done
75193 done
75194 done
75195 IFS=$as_save_IFS
75196 if test -z "$ac_cv_path_CXXFILT"; then
75199 else
75200 ac_cv_path_CXXFILT=$CXXFILT
75204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
75205 $as_echo "$ac_cv_path_CXXFILT" >&6; }
75206 CXXFILT=$ac_cv_path_CXXFILT
75210 # Check whether --enable-symvers was given.
75211 if test "${enable_symvers+set}" = set; then :
75212 enableval=$enable_symvers;
75213 case "$enableval" in
75214 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
75215 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
75216 esac
75218 else
75219 enable_symvers=yes
75224 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
75225 # don't know enough about $LD to do tricks...
75227 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
75228 # with extern "C++" in version scripts.
75231 # Turn a 'yes' into a suitable default.
75232 if test x$enable_symvers = xyes ; then
75233 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
75234 enable_symvers=no
75235 else
75236 if test $with_gnu_ld = yes ; then
75237 case ${target_os} in
75238 hpux*)
75239 enable_symvers=no ;;
75241 enable_symvers=gnu ;;
75242 esac
75243 else
75244 case ${target_os} in
75245 darwin*)
75246 enable_symvers=darwin ;;
75247 # Sun symbol versioning exists since Solaris 2.5.
75248 solaris2.[5-9]* | solaris2.1[0-9]*)
75249 # make_sunver.pl needs GNU c++filt to support extern "C++" in
75250 # version scripts, so disable symbol versioning if none can be
75251 # found.
75252 if test -z "$ac_cv_path_CXXFILT"; then
75253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
75254 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
75255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
75256 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
75257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75258 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75259 enable_symvers=no
75260 else
75261 enable_symvers=sun
75265 enable_symvers=no ;;
75266 esac
75271 # Check to see if 'darwin' or 'darwin-export' can win.
75272 if test x$enable_symvers = xdarwin-export ; then
75273 enable_symvers=darwin
75276 # Check if 'sun' was requested on non-Solaris 2 platforms.
75277 if test x$enable_symvers = xsun ; then
75278 case ${target_os} in
75279 solaris2*)
75280 # All fine.
75283 # Unlikely to work.
75284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
75285 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
75287 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
75288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75289 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75290 enable_symvers=no
75292 esac
75295 # Check to see if 'gnu' can win.
75296 if test $enable_symvers = gnu ||
75297 test $enable_symvers = gnu-versioned-namespace ||
75298 test $enable_symvers = sun; then
75299 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
75300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
75301 $as_echo_n "checking for shared libgcc... " >&6; }
75302 ac_save_CFLAGS="$CFLAGS"
75303 CFLAGS=' -lgcc_s'
75304 if test x$gcc_no_link = xyes; then
75305 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75308 /* end confdefs.h. */
75311 main ()
75313 return 0;
75315 return 0;
75317 _ACEOF
75318 if ac_fn_c_try_link "$LINENO"; then :
75319 glibcxx_shared_libgcc=yes
75320 else
75321 glibcxx_shared_libgcc=no
75323 rm -f core conftest.err conftest.$ac_objext \
75324 conftest$ac_exeext conftest.$ac_ext
75325 CFLAGS="$ac_save_CFLAGS"
75326 if test $glibcxx_shared_libgcc = no; then
75327 cat > conftest.c <<EOF
75328 int main (void) { return 0; }
75330 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
75331 -shared -shared-libgcc -o conftest.so \
75332 conftest.c -v 2>&1 >/dev/null \
75333 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
75334 rm -f conftest.c conftest.so
75335 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
75336 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
75337 if test x$gcc_no_link = xyes; then
75338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75341 /* end confdefs.h. */
75344 main ()
75346 return 0;
75348 return 0;
75350 _ACEOF
75351 if ac_fn_c_try_link "$LINENO"; then :
75352 glibcxx_shared_libgcc=yes
75354 rm -f core conftest.err conftest.$ac_objext \
75355 conftest$ac_exeext conftest.$ac_ext
75356 CFLAGS="$ac_save_CFLAGS"
75359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
75360 $as_echo "$glibcxx_shared_libgcc" >&6; }
75362 # For GNU ld, we need at least this version. The format is described in
75363 # GLIBCXX_CHECK_LINKER_FEATURES above.
75364 glibcxx_min_gnu_ld_version=21400
75366 # If no shared libgcc, can't win.
75367 if test $glibcxx_shared_libgcc != yes; then
75368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
75369 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
75370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
75371 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75373 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75374 enable_symvers=no
75375 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
75376 : All interesting versions of Sun ld support sun style symbol versioning.
75377 elif test $with_gnu_ld != yes ; then
75378 # just fail for now
75379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
75380 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
75381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
75382 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
75383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75384 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75385 enable_symvers=no
75386 elif test $glibcxx_ld_is_gold = yes ; then
75387 : All versions of gold support symbol versioning.
75388 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
75389 # The right tools, the right setup, but too old. Fallbacks?
75390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
75391 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
75392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
75393 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
75394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
75395 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
75396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
75397 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
75398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75399 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75400 enable_symvers=no
75404 # For libtool versioning info, format is CURRENT:REVISION:AGE
75405 libtool_VERSION=6:29:0
75407 # Everything parsed; figure out what files and settings to use.
75408 case $enable_symvers in
75410 SYMVER_FILE=config/abi/pre/none.ver
75412 gnu)
75413 SYMVER_FILE=config/abi/pre/gnu.ver
75415 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
75418 gnu-versioned-namespace)
75419 libtool_VERSION=8:0:0
75420 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
75422 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
75425 darwin)
75426 SYMVER_FILE=config/abi/pre/gnu.ver
75428 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75431 sun)
75432 SYMVER_FILE=config/abi/pre/gnu.ver
75434 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75437 esac
75439 if test x$enable_symvers != xno ; then
75441 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75446 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75447 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75448 $as_echo_n "(cached) " >&6
75449 else
75451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75452 /* end confdefs.h. */
75453 void foo (void); __asm (".symver foo, bar@SYMVER");
75455 main ()
75459 return 0;
75461 _ACEOF
75462 if ac_fn_c_try_compile "$LINENO"; then :
75463 glibcxx_cv_have_as_symver_directive=yes
75464 else
75465 glibcxx_cv_have_as_symver_directive=no
75467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75470 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75471 if test $glibcxx_cv_have_as_symver_directive = yes; then
75473 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75484 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75485 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75487 if test $enable_symvers != no ; then
75488 case ${target_os} in
75489 # The Solaris 2 runtime linker doesn't support the GNU extension of
75490 # binding the same symbol to different versions
75491 solaris2*)
75493 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75496 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75499 esac
75502 # Now, set up compatibility support, if any.
75503 # In addition, need this to deal with std::size_t mangling in
75504 # src/compatibility.cc. In a perfect world, could use
75505 # typeid(std::size_t).name()[0] to do direct substitution.
75506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75507 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75508 ac_save_CFLAGS="$CFLAGS"
75509 CFLAGS="-Werror"
75510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75511 /* end confdefs.h. */
75514 main ()
75516 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75518 return 0;
75520 _ACEOF
75521 if ac_fn_c_try_compile "$LINENO"; then :
75522 glibcxx_size_t_is_i=yes
75523 else
75524 glibcxx_size_t_is_i=no
75526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75527 CFLAGS=$ac_save_CFLAGS
75528 if test "$glibcxx_size_t_is_i" = yes; then
75530 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75534 $as_echo "$glibcxx_size_t_is_i" >&6; }
75536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75537 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75538 ac_save_CFLAGS="$CFLAGS"
75539 CFLAGS="-Werror"
75540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75541 /* end confdefs.h. */
75544 main ()
75546 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75548 return 0;
75550 _ACEOF
75551 if ac_fn_c_try_compile "$LINENO"; then :
75552 glibcxx_ptrdiff_t_is_i=yes
75553 else
75554 glibcxx_ptrdiff_t_is_i=no
75556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75557 CFLAGS=$ac_save_CFLAGS
75558 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75560 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75564 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75569 # Check whether --enable-libstdcxx-visibility was given.
75570 if test "${enable_libstdcxx_visibility+set}" = set; then :
75571 enableval=$enable_libstdcxx_visibility;
75572 case "$enableval" in
75573 yes|no) ;;
75574 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75575 esac
75577 else
75578 enable_libstdcxx_visibility=yes
75583 if test x$enable_libstdcxx_visibility = xyes ; then
75584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75585 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75586 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75587 $as_echo_n "(cached) " >&6
75588 else
75590 save_CFLAGS="$CFLAGS"
75591 CFLAGS="$CFLAGS -Werror"
75592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75593 /* end confdefs.h. */
75594 void __attribute__((visibility("hidden"))) foo(void) { }
75596 main ()
75600 return 0;
75602 _ACEOF
75603 if ac_fn_c_try_compile "$LINENO"; then :
75604 glibcxx_cv_have_attribute_visibility=yes
75605 else
75606 glibcxx_cv_have_attribute_visibility=no
75608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75609 CFLAGS="$save_CFLAGS"
75611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75612 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75613 if test $glibcxx_cv_have_attribute_visibility = no; then
75614 enable_libstdcxx_visibility=no
75619 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75620 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75624 # Check whether --enable-libstdcxx-dual-abi was given.
75625 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75626 enableval=$enable_libstdcxx_dual_abi;
75627 case "$enableval" in
75628 yes|no) ;;
75629 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75630 esac
75632 else
75633 enable_libstdcxx_dual_abi=yes
75637 if test x$enable_symvers = xgnu-versioned-namespace; then
75638 # gnu-versioned-namespace is incompatible with the dual ABI.
75639 enable_libstdcxx_dual_abi="no"
75641 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75642 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75643 $as_echo "$as_me: dual ABI is disabled" >&6;}
75644 default_libstdcxx_abi="gcc4-compatible"
75649 if test x$enable_libstdcxx_dual_abi = xyes; then
75650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75651 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75653 # Check whether --with-default-libstdcxx-abi was given.
75654 if test "${with_default_libstdcxx_abi+set}" = set; then :
75655 withval=$with_default_libstdcxx_abi; case "$withval" in
75656 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75657 new|cxx11) default_libstdcxx_abi="new" ;;
75658 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75659 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75660 esac
75662 else
75663 default_libstdcxx_abi="new"
75666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75667 $as_echo "${default_libstdcxx_abi}" >&6; }
75669 if test $default_libstdcxx_abi = "new"; then
75670 glibcxx_cxx11_abi=1
75671 glibcxx_cxx98_abi=0
75672 else
75673 glibcxx_cxx11_abi=0
75674 glibcxx_cxx98_abi=1
75680 ac_ldbl_compat=no
75681 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75682 case "$target" in
75683 powerpc*-*-linux* | \
75684 sparc*-*-linux* | \
75685 s390*-*-linux* | \
75686 alpha*-*-linux*)
75687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75688 /* end confdefs.h. */
75691 main ()
75694 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75695 #error no need for long double compatibility
75696 #endif
75699 return 0;
75701 _ACEOF
75702 if ac_fn_c_try_compile "$LINENO"; then :
75703 ac_ldbl_compat=yes
75704 else
75705 ac_ldbl_compat=no
75707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75708 if test "$ac_ldbl_compat" = yes; then
75710 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75712 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75713 case "$target" in
75714 powerpc*-*-linux*)
75715 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
75716 esac
75718 esac
75722 # Check if assembler supports disabling hardware capability support.
75724 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75726 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75727 # with a different meaning.
75728 case ${target_os} in
75729 solaris2*)
75730 ac_save_CFLAGS="$CFLAGS"
75731 CFLAGS="$CFLAGS -Wa,-nH"
75733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75734 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75736 /* end confdefs.h. */
75739 main ()
75741 return 0;
75743 return 0;
75745 _ACEOF
75746 if ac_fn_c_try_compile "$LINENO"; then :
75747 ac_hwcap_flags=yes
75748 else
75749 ac_hwcap_flags=no
75751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75752 if test "$ac_hwcap_flags" = "yes"; then
75753 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75756 $as_echo "$ac_hwcap_flags" >&6; }
75758 CFLAGS="$ac_save_CFLAGS"
75760 esac
75765 # Check if assembler supports rdrand opcode.
75767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75768 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75769 if ${ac_cv_x86_rdrand+:} false; then :
75770 $as_echo_n "(cached) " >&6
75771 else
75773 ac_cv_x86_rdrand=no
75774 case "$target" in
75775 i?86-*-* | \
75776 x86_64-*-*)
75777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75778 /* end confdefs.h. */
75781 main ()
75783 asm("rdrand %eax");
75785 return 0;
75787 _ACEOF
75788 if ac_fn_c_try_compile "$LINENO"; then :
75789 ac_cv_x86_rdrand=yes
75790 else
75791 ac_cv_x86_rdrand=no
75793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75794 esac
75798 if test $ac_cv_x86_rdrand = yes; then
75800 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75804 $as_echo "$ac_cv_x86_rdrand" >&6; }
75806 # Check if assembler supports rdseed opcode.
75808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75809 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75810 if ${ac_cv_x86_rdseed+:} false; then :
75811 $as_echo_n "(cached) " >&6
75812 else
75814 ac_cv_x86_rdseed=no
75815 case "$target" in
75816 i?86-*-* | \
75817 x86_64-*-*)
75818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75819 /* end confdefs.h. */
75822 main ()
75824 asm("rdseed %eax");
75826 return 0;
75828 _ACEOF
75829 if ac_fn_c_try_compile "$LINENO"; then :
75830 ac_cv_x86_rdseed=yes
75831 else
75832 ac_cv_x86_rdseed=no
75834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75835 esac
75839 if test $ac_cv_x86_rdseed = yes; then
75841 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75845 $as_echo "$ac_cv_x86_rdseed" >&6; }
75848 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75850 # Do checks for resource limit functions.
75853 ac_ext=cpp
75854 ac_cpp='$CXXCPP $CPPFLAGS'
75855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75859 setrlimit_have_headers=yes
75860 for ac_header in unistd.h sys/time.h sys/resource.h
75861 do :
75862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75863 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75865 cat >>confdefs.h <<_ACEOF
75866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75867 _ACEOF
75869 else
75870 setrlimit_have_headers=no
75873 done
75875 # If don't have the headers, then we can't run the tests now, and we
75876 # won't be seeing any of these during testsuite compilation.
75877 if test $setrlimit_have_headers = yes; then
75878 # Can't do these in a loop, else the resulting syntax is wrong.
75880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75881 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75883 /* end confdefs.h. */
75884 #include <unistd.h>
75885 #include <sys/time.h>
75886 #include <sys/resource.h>
75889 main ()
75891 int f = RLIMIT_DATA ;
75893 return 0;
75895 _ACEOF
75896 if ac_fn_cxx_try_compile "$LINENO"; then :
75897 glibcxx_mresult=1
75898 else
75899 glibcxx_mresult=0
75901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75903 cat >>confdefs.h <<_ACEOF
75904 #define HAVE_LIMIT_DATA $glibcxx_mresult
75905 _ACEOF
75907 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75909 $as_echo "$res" >&6; }
75912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75913 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75915 /* end confdefs.h. */
75916 #include <unistd.h>
75917 #include <sys/time.h>
75918 #include <sys/resource.h>
75921 main ()
75923 int f = RLIMIT_RSS ;
75925 return 0;
75927 _ACEOF
75928 if ac_fn_cxx_try_compile "$LINENO"; then :
75929 glibcxx_mresult=1
75930 else
75931 glibcxx_mresult=0
75933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75935 cat >>confdefs.h <<_ACEOF
75936 #define HAVE_LIMIT_RSS $glibcxx_mresult
75937 _ACEOF
75939 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75941 $as_echo "$res" >&6; }
75944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75945 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75947 /* end confdefs.h. */
75948 #include <unistd.h>
75949 #include <sys/time.h>
75950 #include <sys/resource.h>
75953 main ()
75955 int f = RLIMIT_VMEM ;
75957 return 0;
75959 _ACEOF
75960 if ac_fn_cxx_try_compile "$LINENO"; then :
75961 glibcxx_mresult=1
75962 else
75963 glibcxx_mresult=0
75965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75967 cat >>confdefs.h <<_ACEOF
75968 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75969 _ACEOF
75971 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75973 $as_echo "$res" >&6; }
75976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75977 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75979 /* end confdefs.h. */
75980 #include <unistd.h>
75981 #include <sys/time.h>
75982 #include <sys/resource.h>
75985 main ()
75987 int f = RLIMIT_AS ;
75989 return 0;
75991 _ACEOF
75992 if ac_fn_cxx_try_compile "$LINENO"; then :
75993 glibcxx_mresult=1
75994 else
75995 glibcxx_mresult=0
75997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75999 cat >>confdefs.h <<_ACEOF
76000 #define HAVE_LIMIT_AS $glibcxx_mresult
76001 _ACEOF
76003 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
76004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
76005 $as_echo "$res" >&6; }
76008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
76009 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
76010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76011 /* end confdefs.h. */
76012 #include <unistd.h>
76013 #include <sys/time.h>
76014 #include <sys/resource.h>
76017 main ()
76019 int f = RLIMIT_FSIZE ;
76021 return 0;
76023 _ACEOF
76024 if ac_fn_cxx_try_compile "$LINENO"; then :
76025 glibcxx_mresult=1
76026 else
76027 glibcxx_mresult=0
76029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76031 cat >>confdefs.h <<_ACEOF
76032 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
76033 _ACEOF
76035 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
76036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
76037 $as_echo "$res" >&6; }
76040 # Check for rlimit, setrlimit.
76041 if ${glibcxx_cv_setrlimit+:} false; then :
76042 $as_echo_n "(cached) " >&6
76043 else
76045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76046 /* end confdefs.h. */
76047 #include <unistd.h>
76048 #include <sys/time.h>
76049 #include <sys/resource.h>
76052 main ()
76054 struct rlimit r;
76055 setrlimit(0, &r);
76057 return 0;
76059 _ACEOF
76060 if ac_fn_cxx_try_compile "$LINENO"; then :
76061 glibcxx_cv_setrlimit=yes
76062 else
76063 glibcxx_cv_setrlimit=no
76065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
76072 $as_echo_n "checking for testsuite resource limits support... " >&6; }
76073 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
76074 ac_res_limits=yes
76076 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
76078 else
76079 ac_res_limits=no
76081 ac_ext=c
76082 ac_cpp='$CPP $CPPFLAGS'
76083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
76088 $as_echo "$ac_res_limits" >&6; }
76091 if $GLIBCXX_IS_NATIVE ; then
76092 # Look for setenv, so that extended locale tests can be performed.
76094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
76095 $as_echo_n "checking for setenv declaration... " >&6; }
76096 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
76097 if ${glibcxx_cv_func_setenv_use+:} false; then :
76098 $as_echo_n "(cached) " >&6
76099 else
76102 ac_ext=cpp
76103 ac_cpp='$CXXCPP $CPPFLAGS'
76104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76109 /* end confdefs.h. */
76110 #include <stdlib.h>
76112 main ()
76114 setenv(0, 0, 0);
76116 return 0;
76118 _ACEOF
76119 if ac_fn_cxx_try_compile "$LINENO"; then :
76120 glibcxx_cv_func_setenv_use=yes
76121 else
76122 glibcxx_cv_func_setenv_use=no
76124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76125 ac_ext=c
76126 ac_cpp='$CPP $CPPFLAGS'
76127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
76136 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
76137 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
76138 for ac_func in setenv
76139 do :
76140 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
76141 if test "x$ac_cv_func_setenv" = xyes; then :
76142 cat >>confdefs.h <<_ACEOF
76143 #define HAVE_SETENV 1
76144 _ACEOF
76147 done
76153 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
76154 test $enable_symvers != no; then
76155 case "$host" in
76156 *-*-cygwin*)
76157 enable_abi_check=no ;;
76159 enable_abi_check=yes ;;
76160 esac
76161 else
76162 # Only build this as native, since automake does not understand
76163 # CXX_FOR_BUILD.
76164 enable_abi_check=no
76167 # Export file names for ABI checking.
76168 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
76170 baseline_subdir_switch="$abi_baseline_subdir_switch"
76174 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
76176 # Check whether --enable-libstdcxx-threads was given.
76177 if test "${enable_libstdcxx_threads+set}" = set; then :
76178 enableval=$enable_libstdcxx_threads;
76179 case "$enableval" in
76180 yes|no) ;;
76181 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
76182 esac
76184 else
76185 enable_libstdcxx_threads=auto
76190 if test x$enable_libstdcxx_threads = xauto ||
76191 test x$enable_libstdcxx_threads = xyes; then
76194 ac_ext=cpp
76195 ac_cpp='$CXXCPP $CPPFLAGS'
76196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76201 ac_save_CXXFLAGS="$CXXFLAGS"
76202 CXXFLAGS="$CXXFLAGS -fno-exceptions \
76203 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
76205 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
76206 case $target_thread_file in
76207 posix)
76208 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
76209 esac
76211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
76212 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
76214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76215 /* end confdefs.h. */
76216 #include <unistd.h>
76218 main ()
76221 // In case of POSIX threads check _POSIX_TIMEOUTS.
76222 #if (defined(_PTHREADS) \
76223 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
76224 #error
76225 #endif
76228 return 0;
76230 _ACEOF
76231 if ac_fn_cxx_try_compile "$LINENO"; then :
76232 ac_gthread_use_mutex_timedlock=1
76233 else
76234 ac_gthread_use_mutex_timedlock=0
76236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76239 cat >>confdefs.h <<_ACEOF
76240 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
76241 _ACEOF
76244 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
76245 else res_mutex_timedlock=no ; fi
76246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
76247 $as_echo "$res_mutex_timedlock" >&6; }
76249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
76250 $as_echo_n "checking for gthreads library... " >&6; }
76252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76253 /* end confdefs.h. */
76254 #include "gthr.h"
76256 main ()
76259 #ifndef __GTHREADS_CXX0X
76260 #error
76261 #endif
76264 return 0;
76266 _ACEOF
76267 if ac_fn_cxx_try_compile "$LINENO"; then :
76268 ac_has_gthreads=yes
76269 else
76270 ac_has_gthreads=no
76272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76273 else
76274 ac_has_gthreads=no
76277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
76278 $as_echo "$ac_has_gthreads" >&6; }
76280 if test x"$ac_has_gthreads" = x"yes"; then
76282 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
76285 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
76286 # but only do so if we're using pthread in the gthread library.
76287 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
76288 # but the pthread library is not there by default and the gthread library
76289 # does not use it.
76290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76291 /* end confdefs.h. */
76292 #include "gthr.h"
76294 main ()
76297 #if (!defined(_PTHREADS))
76298 #error
76299 #endif
76302 return 0;
76304 _ACEOF
76305 if ac_fn_cxx_try_compile "$LINENO"; then :
76306 ac_gthread_use_pthreads=yes
76307 else
76308 ac_gthread_use_pthreads=no
76310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76311 if test x"$ac_gthread_use_pthreads" = x"yes"; then
76312 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
76314 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
76316 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76323 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
76324 if test "x$ac_cv_header_semaphore_h" = xyes; then :
76326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
76327 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
76328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76329 /* end confdefs.h. */
76331 #include <unistd.h>
76332 #include <semaphore.h>
76333 #include <limits.h>
76336 main ()
76339 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
76340 # error "POSIX Timeouts option not supported"
76341 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
76342 # error "POSIX Semaphores option not supported"
76343 #else
76344 #if defined SEM_VALUE_MAX
76345 constexpr int sem_value_max = SEM_VALUE_MAX;
76346 #elif defined _POSIX_SEM_VALUE_MAX
76347 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
76348 #else
76349 # error "SEM_VALUE_MAX not available"
76350 #endif
76351 sem_t sem;
76352 sem_init(&sem, 0, sem_value_max);
76353 struct timespec ts = { 0 };
76354 sem_timedwait(&sem, &ts);
76355 #endif
76358 return 0;
76360 _ACEOF
76361 if ac_fn_cxx_try_compile "$LINENO"; then :
76362 ac_have_posix_semaphore=yes
76363 else
76364 ac_have_posix_semaphore=no
76366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76367 else
76368 ac_have_posix_semaphore=no
76373 if test $ac_have_posix_semaphore = yes ; then
76375 $as_echo "#define _GLIBCXX_HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
76378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
76379 $as_echo "$ac_have_posix_semaphore" >&6; }
76381 CXXFLAGS="$ac_save_CXXFLAGS"
76382 ac_ext=c
76383 ac_cpp='$CPP $CPPFLAGS'
76384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76390 # For Filesystem TS.
76391 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76392 do :
76393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76394 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76396 cat >>confdefs.h <<_ACEOF
76397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76398 _ACEOF
76402 done
76405 # Check whether --enable-libstdcxx-filesystem-ts was given.
76406 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76407 enableval=$enable_libstdcxx_filesystem_ts;
76408 case "$enableval" in
76409 yes|no|auto) ;;
76410 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76411 esac
76413 else
76414 enable_libstdcxx_filesystem_ts=auto
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76420 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76421 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76422 enable_libstdcxx_filesystem_ts=no
76424 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76425 case "${target_os}" in
76426 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76427 enable_libstdcxx_filesystem_ts=yes
76429 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76430 enable_libstdcxx_filesystem_ts=yes
76432 rtems*)
76433 enable_libstdcxx_filesystem_ts=yes
76435 solaris*)
76436 enable_libstdcxx_filesystem_ts=yes
76438 mingw*)
76439 enable_libstdcxx_filesystem_ts=yes
76442 enable_libstdcxx_filesystem_ts=no
76444 esac
76446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76447 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76451 ac_ext=cpp
76452 ac_cpp='$CXXCPP $CPPFLAGS'
76453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76457 ac_save_CXXFLAGS="$CXXFLAGS"
76458 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76460 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76461 if ${glibcxx_cv_dirent_d_type+:} false; then :
76462 $as_echo_n "(cached) " >&6
76463 else
76464 if test x$gcc_no_link = xyes; then
76465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76466 /* end confdefs.h. */
76467 #include <dirent.h>
76469 main ()
76472 struct dirent d;
76473 if (sizeof d.d_type) return 0;
76476 return 0;
76478 _ACEOF
76479 if ac_fn_cxx_try_compile "$LINENO"; then :
76480 glibcxx_cv_dirent_d_type=yes
76481 else
76482 glibcxx_cv_dirent_d_type=no
76484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76485 else
76486 if test x$gcc_no_link = xyes; then
76487 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76490 /* end confdefs.h. */
76491 #include <dirent.h>
76493 main ()
76496 struct dirent d;
76497 if (sizeof d.d_type) return 0;
76500 return 0;
76502 _ACEOF
76503 if ac_fn_cxx_try_link "$LINENO"; then :
76504 glibcxx_cv_dirent_d_type=yes
76505 else
76506 glibcxx_cv_dirent_d_type=no
76508 rm -f core conftest.err conftest.$ac_objext \
76509 conftest$ac_exeext conftest.$ac_ext
76514 if test $glibcxx_cv_dirent_d_type = yes; then
76516 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76520 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76522 $as_echo_n "checking for realpath... " >&6; }
76523 if ${glibcxx_cv_realpath+:} false; then :
76524 $as_echo_n "(cached) " >&6
76525 else
76526 if test x$gcc_no_link = xyes; then
76527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76528 /* end confdefs.h. */
76530 #include <limits.h>
76531 #include <stdlib.h>
76532 #include <unistd.h>
76535 main ()
76538 #if _XOPEN_VERSION < 500
76539 #error
76540 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76541 char *tmp = realpath((const char*)NULL, (char*)NULL);
76542 #else
76543 #error
76544 #endif
76547 return 0;
76549 _ACEOF
76550 if ac_fn_cxx_try_compile "$LINENO"; then :
76551 glibcxx_cv_realpath=yes
76552 else
76553 glibcxx_cv_realpath=no
76555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76556 else
76557 if test x$gcc_no_link = xyes; then
76558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76561 /* end confdefs.h. */
76563 #include <limits.h>
76564 #include <stdlib.h>
76565 #include <unistd.h>
76568 main ()
76571 #if _XOPEN_VERSION < 500
76572 #error
76573 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76574 char *tmp = realpath((const char*)NULL, (char*)NULL);
76575 #else
76576 #error
76577 #endif
76580 return 0;
76582 _ACEOF
76583 if ac_fn_cxx_try_link "$LINENO"; then :
76584 glibcxx_cv_realpath=yes
76585 else
76586 glibcxx_cv_realpath=no
76588 rm -f core conftest.err conftest.$ac_objext \
76589 conftest$ac_exeext conftest.$ac_ext
76594 if test $glibcxx_cv_realpath = yes; then
76596 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76600 $as_echo "$glibcxx_cv_realpath" >&6; }
76601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76602 $as_echo_n "checking for utimensat... " >&6; }
76603 if ${glibcxx_cv_utimensat+:} false; then :
76604 $as_echo_n "(cached) " >&6
76605 else
76606 if test x$gcc_no_link = xyes; then
76607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76608 /* end confdefs.h. */
76610 #include <fcntl.h>
76611 #include <sys/stat.h>
76614 main ()
76617 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76618 int i = utimensat(AT_FDCWD, "path", ts, 0);
76621 return 0;
76623 _ACEOF
76624 if ac_fn_cxx_try_compile "$LINENO"; then :
76625 glibcxx_cv_utimensat=yes
76626 else
76627 glibcxx_cv_utimensat=no
76629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76630 else
76631 if test x$gcc_no_link = xyes; then
76632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76635 /* end confdefs.h. */
76637 #include <fcntl.h>
76638 #include <sys/stat.h>
76641 main ()
76644 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76645 int i = utimensat(AT_FDCWD, "path", ts, 0);
76648 return 0;
76650 _ACEOF
76651 if ac_fn_cxx_try_link "$LINENO"; then :
76652 glibcxx_cv_utimensat=yes
76653 else
76654 glibcxx_cv_utimensat=no
76656 rm -f core conftest.err conftest.$ac_objext \
76657 conftest$ac_exeext conftest.$ac_ext
76662 if test $glibcxx_cv_utimensat = yes; then
76664 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76668 $as_echo "$glibcxx_cv_utimensat" >&6; }
76669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76670 $as_echo_n "checking for utime... " >&6; }
76671 if ${glibcxx_cv_utime+:} false; then :
76672 $as_echo_n "(cached) " >&6
76673 else
76674 if test x$gcc_no_link = xyes; then
76675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76676 /* end confdefs.h. */
76678 #include <utime.h>
76681 main ()
76684 struct utimbuf t = { 1, 1 };
76685 int i = utime("path", &t);
76688 return 0;
76690 _ACEOF
76691 if ac_fn_cxx_try_compile "$LINENO"; then :
76692 glibcxx_cv_utime=yes
76693 else
76694 glibcxx_cv_utime=no
76696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76697 else
76698 if test x$gcc_no_link = xyes; then
76699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76702 /* end confdefs.h. */
76704 #include <utime.h>
76707 main ()
76710 struct utimbuf t = { 1, 1 };
76711 int i = utime("path", &t);
76714 return 0;
76716 _ACEOF
76717 if ac_fn_cxx_try_link "$LINENO"; then :
76718 glibcxx_cv_utime=yes
76719 else
76720 glibcxx_cv_utime=no
76722 rm -f core conftest.err conftest.$ac_objext \
76723 conftest$ac_exeext conftest.$ac_ext
76728 if test $glibcxx_cv_utime = yes; then
76730 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76734 $as_echo "$glibcxx_cv_utime" >&6; }
76735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76736 $as_echo_n "checking for lstat... " >&6; }
76737 if ${glibcxx_cv_lstat+:} false; then :
76738 $as_echo_n "(cached) " >&6
76739 else
76740 if test x$gcc_no_link = xyes; then
76741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76742 /* end confdefs.h. */
76743 #include <sys/stat.h>
76745 main ()
76748 struct stat st;
76749 int i = lstat("path", &st);
76752 return 0;
76754 _ACEOF
76755 if ac_fn_cxx_try_compile "$LINENO"; then :
76756 glibcxx_cv_lstat=yes
76757 else
76758 glibcxx_cv_lstat=no
76760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76761 else
76762 if test x$gcc_no_link = xyes; then
76763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76766 /* end confdefs.h. */
76767 #include <sys/stat.h>
76769 main ()
76772 struct stat st;
76773 int i = lstat("path", &st);
76776 return 0;
76778 _ACEOF
76779 if ac_fn_cxx_try_link "$LINENO"; then :
76780 glibcxx_cv_lstat=yes
76781 else
76782 glibcxx_cv_lstat=no
76784 rm -f core conftest.err conftest.$ac_objext \
76785 conftest$ac_exeext conftest.$ac_ext
76790 if test $glibcxx_cv_lstat = yes; then
76792 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76796 $as_echo "$glibcxx_cv_lstat" >&6; }
76797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76798 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76799 if ${glibcxx_cv_st_mtim+:} false; then :
76800 $as_echo_n "(cached) " >&6
76801 else
76802 if test x$gcc_no_link = xyes; then
76803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76804 /* end confdefs.h. */
76805 #include <sys/stat.h>
76807 main ()
76810 struct stat st;
76811 return st.st_mtim.tv_nsec;
76814 return 0;
76816 _ACEOF
76817 if ac_fn_cxx_try_compile "$LINENO"; then :
76818 glibcxx_cv_st_mtim=yes
76819 else
76820 glibcxx_cv_st_mtim=no
76822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76823 else
76824 if test x$gcc_no_link = xyes; then
76825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76828 /* end confdefs.h. */
76829 #include <sys/stat.h>
76831 main ()
76834 struct stat st;
76835 return st.st_mtim.tv_nsec;
76838 return 0;
76840 _ACEOF
76841 if ac_fn_cxx_try_link "$LINENO"; then :
76842 glibcxx_cv_st_mtim=yes
76843 else
76844 glibcxx_cv_st_mtim=no
76846 rm -f core conftest.err conftest.$ac_objext \
76847 conftest$ac_exeext conftest.$ac_ext
76852 if test $glibcxx_cv_st_mtim = yes; then
76854 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76858 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76860 $as_echo_n "checking for fchmod... " >&6; }
76861 if ${glibcxx_cv_fchmod+:} false; then :
76862 $as_echo_n "(cached) " >&6
76863 else
76864 if test x$gcc_no_link = xyes; then
76865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76866 /* end confdefs.h. */
76867 #include <sys/stat.h>
76869 main ()
76871 fchmod(1, S_IWUSR);
76873 return 0;
76875 _ACEOF
76876 if ac_fn_cxx_try_compile "$LINENO"; then :
76877 glibcxx_cv_fchmod=yes
76878 else
76879 glibcxx_cv_fchmod=no
76881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76882 else
76883 if test x$gcc_no_link = xyes; then
76884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887 /* end confdefs.h. */
76888 #include <sys/stat.h>
76890 main ()
76892 fchmod(1, S_IWUSR);
76894 return 0;
76896 _ACEOF
76897 if ac_fn_cxx_try_link "$LINENO"; then :
76898 glibcxx_cv_fchmod=yes
76899 else
76900 glibcxx_cv_fchmod=no
76902 rm -f core conftest.err conftest.$ac_objext \
76903 conftest$ac_exeext conftest.$ac_ext
76908 if test $glibcxx_cv_fchmod = yes; then
76910 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76914 $as_echo "$glibcxx_cv_fchmod" >&6; }
76915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76916 $as_echo_n "checking for fchmodat... " >&6; }
76917 if ${glibcxx_cv_fchmodat+:} false; then :
76918 $as_echo_n "(cached) " >&6
76919 else
76920 if test x$gcc_no_link = xyes; then
76921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76922 /* end confdefs.h. */
76924 #include <fcntl.h>
76925 #include <sys/stat.h>
76928 main ()
76930 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76932 return 0;
76934 _ACEOF
76935 if ac_fn_cxx_try_compile "$LINENO"; then :
76936 glibcxx_cv_fchmodat=yes
76937 else
76938 glibcxx_cv_fchmodat=no
76940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76941 else
76942 if test x$gcc_no_link = xyes; then
76943 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76946 /* end confdefs.h. */
76948 #include <fcntl.h>
76949 #include <sys/stat.h>
76952 main ()
76954 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76956 return 0;
76958 _ACEOF
76959 if ac_fn_cxx_try_link "$LINENO"; then :
76960 glibcxx_cv_fchmodat=yes
76961 else
76962 glibcxx_cv_fchmodat=no
76964 rm -f core conftest.err conftest.$ac_objext \
76965 conftest$ac_exeext conftest.$ac_ext
76970 if test $glibcxx_cv_fchmodat = yes; then
76972 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76976 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76978 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76979 if ${glibcxx_cv_sendfile+:} false; then :
76980 $as_echo_n "(cached) " >&6
76981 else
76982 case "${target_os}" in
76983 gnu* | linux* | solaris* | uclinux*)
76984 if test x$gcc_no_link = xyes; then
76985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76986 /* end confdefs.h. */
76987 #include <sys/sendfile.h>
76989 main ()
76991 sendfile(1, 2, (off_t*)0, sizeof 1);
76993 return 0;
76995 _ACEOF
76996 if ac_fn_cxx_try_compile "$LINENO"; then :
76997 glibcxx_cv_sendfile=yes
76998 else
76999 glibcxx_cv_sendfile=no
77001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77002 else
77003 if test x$gcc_no_link = xyes; then
77004 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77007 /* end confdefs.h. */
77008 #include <sys/sendfile.h>
77010 main ()
77012 sendfile(1, 2, (off_t*)0, sizeof 1);
77014 return 0;
77016 _ACEOF
77017 if ac_fn_cxx_try_link "$LINENO"; then :
77018 glibcxx_cv_sendfile=yes
77019 else
77020 glibcxx_cv_sendfile=no
77022 rm -f core conftest.err conftest.$ac_objext \
77023 conftest$ac_exeext conftest.$ac_ext
77027 glibcxx_cv_sendfile=no
77029 esac
77033 if test $glibcxx_cv_sendfile = yes; then
77035 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
77038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
77039 $as_echo "$glibcxx_cv_sendfile" >&6; }
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
77041 $as_echo_n "checking for link... " >&6; }
77042 if ${glibcxx_cv_link+:} false; then :
77043 $as_echo_n "(cached) " >&6
77044 else
77045 if test x$gcc_no_link = xyes; then
77046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77047 /* end confdefs.h. */
77048 #include <unistd.h>
77050 main ()
77052 link("", "");
77054 return 0;
77056 _ACEOF
77057 if ac_fn_cxx_try_compile "$LINENO"; then :
77058 glibcxx_cv_link=yes
77059 else
77060 glibcxx_cv_link=no
77062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77063 else
77064 if test x$gcc_no_link = xyes; then
77065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77068 /* end confdefs.h. */
77069 #include <unistd.h>
77071 main ()
77073 link("", "");
77075 return 0;
77077 _ACEOF
77078 if ac_fn_cxx_try_link "$LINENO"; then :
77079 glibcxx_cv_link=yes
77080 else
77081 glibcxx_cv_link=no
77083 rm -f core conftest.err conftest.$ac_objext \
77084 conftest$ac_exeext conftest.$ac_ext
77089 if test $glibcxx_cv_link = yes; then
77091 $as_echo "#define HAVE_LINK 1" >>confdefs.h
77094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
77095 $as_echo "$glibcxx_cv_link" >&6; }
77096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
77097 $as_echo_n "checking for readlink... " >&6; }
77098 if ${glibcxx_cv_readlink+:} false; then :
77099 $as_echo_n "(cached) " >&6
77100 else
77101 if test x$gcc_no_link = xyes; then
77102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77103 /* end confdefs.h. */
77104 #include <unistd.h>
77106 main ()
77108 char buf[32]; readlink("", buf, sizeof(buf));
77110 return 0;
77112 _ACEOF
77113 if ac_fn_cxx_try_compile "$LINENO"; then :
77114 glibcxx_cv_readlink=yes
77115 else
77116 glibcxx_cv_readlink=no
77118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77119 else
77120 if test x$gcc_no_link = xyes; then
77121 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77124 /* end confdefs.h. */
77125 #include <unistd.h>
77127 main ()
77129 char buf[32]; readlink("", buf, sizeof(buf));
77131 return 0;
77133 _ACEOF
77134 if ac_fn_cxx_try_link "$LINENO"; then :
77135 glibcxx_cv_readlink=yes
77136 else
77137 glibcxx_cv_readlink=no
77139 rm -f core conftest.err conftest.$ac_objext \
77140 conftest$ac_exeext conftest.$ac_ext
77145 if test $glibcxx_cv_readlink = yes; then
77147 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
77150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
77151 $as_echo "$glibcxx_cv_readlink" >&6; }
77152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
77153 $as_echo_n "checking for symlink... " >&6; }
77154 if ${glibcxx_cv_symlink+:} false; then :
77155 $as_echo_n "(cached) " >&6
77156 else
77157 if test x$gcc_no_link = xyes; then
77158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77159 /* end confdefs.h. */
77160 #include <unistd.h>
77162 main ()
77164 symlink("", "");
77166 return 0;
77168 _ACEOF
77169 if ac_fn_cxx_try_compile "$LINENO"; then :
77170 glibcxx_cv_symlink=yes
77171 else
77172 glibcxx_cv_symlink=no
77174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77175 else
77176 if test x$gcc_no_link = xyes; then
77177 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77180 /* end confdefs.h. */
77181 #include <unistd.h>
77183 main ()
77185 symlink("", "");
77187 return 0;
77189 _ACEOF
77190 if ac_fn_cxx_try_link "$LINENO"; then :
77191 glibcxx_cv_symlink=yes
77192 else
77193 glibcxx_cv_symlink=no
77195 rm -f core conftest.err conftest.$ac_objext \
77196 conftest$ac_exeext conftest.$ac_ext
77201 if test $glibcxx_cv_symlink = yes; then
77203 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
77206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
77207 $as_echo "$glibcxx_cv_symlink" >&6; }
77208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
77209 $as_echo_n "checking for truncate... " >&6; }
77210 if ${glibcxx_cv_truncate+:} false; then :
77211 $as_echo_n "(cached) " >&6
77212 else
77213 if test x$gcc_no_link = xyes; then
77214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77215 /* end confdefs.h. */
77216 #include <unistd.h>
77218 main ()
77220 truncate("", 99);
77222 return 0;
77224 _ACEOF
77225 if ac_fn_cxx_try_compile "$LINENO"; then :
77226 glibcxx_cv_truncate=yes
77227 else
77228 glibcxx_cv_truncate=no
77230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77231 else
77232 if test x$gcc_no_link = xyes; then
77233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77236 /* end confdefs.h. */
77237 #include <unistd.h>
77239 main ()
77241 truncate("", 99);
77243 return 0;
77245 _ACEOF
77246 if ac_fn_cxx_try_link "$LINENO"; then :
77247 glibcxx_cv_truncate=yes
77248 else
77249 glibcxx_cv_truncate=no
77251 rm -f core conftest.err conftest.$ac_objext \
77252 conftest$ac_exeext conftest.$ac_ext
77257 if test $glibcxx_cv_truncate = yes; then
77259 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
77262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
77263 $as_echo "$glibcxx_cv_truncate" >&6; }
77264 CXXFLAGS="$ac_save_CXXFLAGS"
77265 ac_ext=c
77266 ac_cpp='$CPP $CPPFLAGS'
77267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77273 # For Networking TS.
77274 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
77275 do :
77276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77277 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
77278 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
77279 cat >>confdefs.h <<_ACEOF
77280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77281 _ACEOF
77285 done
77288 # For Transactional Memory TS
77290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
77291 $as_echo_n "checking how size_t is mangled... " >&6; }
77292 if ${glibcxx_cv_size_t_mangling+:} false; then :
77293 $as_echo_n "(cached) " >&6
77294 else
77296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77297 /* end confdefs.h. */
77300 main ()
77302 extern __SIZE_TYPE__ x; extern unsigned long x;
77304 return 0;
77306 _ACEOF
77307 if ac_fn_c_try_compile "$LINENO"; then :
77308 glibcxx_cv_size_t_mangling=m
77309 else
77311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77312 /* end confdefs.h. */
77315 main ()
77317 extern __SIZE_TYPE__ x; extern unsigned int x;
77319 return 0;
77321 _ACEOF
77322 if ac_fn_c_try_compile "$LINENO"; then :
77323 glibcxx_cv_size_t_mangling=j
77324 else
77326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77327 /* end confdefs.h. */
77330 main ()
77332 extern __SIZE_TYPE__ x; extern unsigned long long x;
77334 return 0;
77336 _ACEOF
77337 if ac_fn_c_try_compile "$LINENO"; then :
77338 glibcxx_cv_size_t_mangling=y
77339 else
77341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77342 /* end confdefs.h. */
77345 main ()
77347 extern __SIZE_TYPE__ x; extern unsigned short x;
77349 return 0;
77351 _ACEOF
77352 if ac_fn_c_try_compile "$LINENO"; then :
77353 glibcxx_cv_size_t_mangling=t
77354 else
77356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77357 /* end confdefs.h. */
77360 main ()
77362 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77364 return 0;
77366 _ACEOF
77367 if ac_fn_c_try_compile "$LINENO"; then :
77368 glibcxx_cv_size_t_mangling=u6uint20
77369 else
77370 glibcxx_cv_size_t_mangling=x
77372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77388 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77389 if test $glibcxx_cv_size_t_mangling = x; then
77390 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77393 cat >>confdefs.h <<_ACEOF
77394 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77395 _ACEOF
77399 # Check which release added std::exception_ptr for the target
77401 if test $enable_symvers != no; then
77402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77403 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77404 case ${target} in
77405 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77406 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77407 ac_exception_ptr_since_gcc46=yes
77410 # If the value of this macro changes then we will need to hardcode
77411 # yes/no here for additional targets based on the original value.
77412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77413 /* end confdefs.h. */
77416 main ()
77419 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77420 # error atomic int not always lock free
77421 #endif
77424 return 0;
77426 _ACEOF
77427 if ac_fn_c_try_compile "$LINENO"; then :
77428 ac_exception_ptr_since_gcc46=yes
77429 else
77430 ac_exception_ptr_since_gcc46=no
77432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77434 esac
77435 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77437 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77440 $as_echo "4.6.0" >&6; }
77441 else
77442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77443 $as_echo "7.1.0" >&6; }
77448 # Define documentation rules conditionally.
77450 # See if makeinfo has been installed and is modern enough
77451 # that we can use it.
77453 # Extract the first word of "makeinfo", so it can be a program name with args.
77454 set dummy makeinfo; ac_word=$2
77455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77456 $as_echo_n "checking for $ac_word... " >&6; }
77457 if ${ac_cv_prog_MAKEINFO+:} false; then :
77458 $as_echo_n "(cached) " >&6
77459 else
77460 if test -n "$MAKEINFO"; then
77461 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77462 else
77463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77464 for as_dir in $PATH
77466 IFS=$as_save_IFS
77467 test -z "$as_dir" && as_dir=.
77468 for ac_exec_ext in '' $ac_executable_extensions; do
77469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77470 ac_cv_prog_MAKEINFO="makeinfo"
77471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77472 break 2
77474 done
77475 done
77476 IFS=$as_save_IFS
77480 MAKEINFO=$ac_cv_prog_MAKEINFO
77481 if test -n "$MAKEINFO"; then
77482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77483 $as_echo "$MAKEINFO" >&6; }
77484 else
77485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77486 $as_echo "no" >&6; }
77490 if test -n "$MAKEINFO"; then
77491 # Found it, now check the version.
77492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77493 $as_echo_n "checking for modern makeinfo... " >&6; }
77494 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77495 $as_echo_n "(cached) " >&6
77496 else
77497 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77498 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77500 case $ac_prog_version in
77501 '') gcc_cv_prog_makeinfo_modern=no;;
77502 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77503 *) gcc_cv_prog_makeinfo_modern=no;;
77504 esac
77507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77508 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77509 else
77510 gcc_cv_prog_makeinfo_modern=no
77512 if test $gcc_cv_prog_makeinfo_modern = no; then
77513 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77516 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77517 BUILD_INFO_TRUE=
77518 BUILD_INFO_FALSE='#'
77519 else
77520 BUILD_INFO_TRUE='#'
77521 BUILD_INFO_FALSE=
77525 # Check for doxygen
77526 # Extract the first word of "doxygen", so it can be a program name with args.
77527 set dummy doxygen; ac_word=$2
77528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77529 $as_echo_n "checking for $ac_word... " >&6; }
77530 if ${ac_cv_prog_DOXYGEN+:} false; then :
77531 $as_echo_n "(cached) " >&6
77532 else
77533 if test -n "$DOXYGEN"; then
77534 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77535 else
77536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77537 for as_dir in $PATH
77539 IFS=$as_save_IFS
77540 test -z "$as_dir" && as_dir=.
77541 for ac_exec_ext in '' $ac_executable_extensions; do
77542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77543 ac_cv_prog_DOXYGEN="yes"
77544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77545 break 2
77547 done
77548 done
77549 IFS=$as_save_IFS
77551 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77554 DOXYGEN=$ac_cv_prog_DOXYGEN
77555 if test -n "$DOXYGEN"; then
77556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77557 $as_echo "$DOXYGEN" >&6; }
77558 else
77559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77560 $as_echo "no" >&6; }
77564 # Extract the first word of "dot", so it can be a program name with args.
77565 set dummy dot; ac_word=$2
77566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77567 $as_echo_n "checking for $ac_word... " >&6; }
77568 if ${ac_cv_prog_DOT+:} false; then :
77569 $as_echo_n "(cached) " >&6
77570 else
77571 if test -n "$DOT"; then
77572 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77573 else
77574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77575 for as_dir in $PATH
77577 IFS=$as_save_IFS
77578 test -z "$as_dir" && as_dir=.
77579 for ac_exec_ext in '' $ac_executable_extensions; do
77580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77581 ac_cv_prog_DOT="yes"
77582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77583 break 2
77585 done
77586 done
77587 IFS=$as_save_IFS
77589 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77592 DOT=$ac_cv_prog_DOT
77593 if test -n "$DOT"; then
77594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77595 $as_echo "$DOT" >&6; }
77596 else
77597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77598 $as_echo "no" >&6; }
77603 # Check for docbook
77604 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77605 set dummy xmlcatalog; ac_word=$2
77606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77607 $as_echo_n "checking for $ac_word... " >&6; }
77608 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77609 $as_echo_n "(cached) " >&6
77610 else
77611 if test -n "$XMLCATALOG"; then
77612 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77613 else
77614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77615 for as_dir in $PATH
77617 IFS=$as_save_IFS
77618 test -z "$as_dir" && as_dir=.
77619 for ac_exec_ext in '' $ac_executable_extensions; do
77620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77621 ac_cv_prog_XMLCATALOG="yes"
77622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77623 break 2
77625 done
77626 done
77627 IFS=$as_save_IFS
77629 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77632 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77633 if test -n "$XMLCATALOG"; then
77634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77635 $as_echo "$XMLCATALOG" >&6; }
77636 else
77637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77638 $as_echo "no" >&6; }
77642 # Extract the first word of "xsltproc", so it can be a program name with args.
77643 set dummy xsltproc; ac_word=$2
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77645 $as_echo_n "checking for $ac_word... " >&6; }
77646 if ${ac_cv_prog_XSLTPROC+:} false; then :
77647 $as_echo_n "(cached) " >&6
77648 else
77649 if test -n "$XSLTPROC"; then
77650 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77651 else
77652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77653 for as_dir in $PATH
77655 IFS=$as_save_IFS
77656 test -z "$as_dir" && as_dir=.
77657 for ac_exec_ext in '' $ac_executable_extensions; do
77658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77659 ac_cv_prog_XSLTPROC="yes"
77660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77661 break 2
77663 done
77664 done
77665 IFS=$as_save_IFS
77667 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77670 XSLTPROC=$ac_cv_prog_XSLTPROC
77671 if test -n "$XSLTPROC"; then
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77673 $as_echo "$XSLTPROC" >&6; }
77674 else
77675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77676 $as_echo "no" >&6; }
77680 # Extract the first word of "xmllint", so it can be a program name with args.
77681 set dummy xmllint; ac_word=$2
77682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77683 $as_echo_n "checking for $ac_word... " >&6; }
77684 if ${ac_cv_prog_XMLLINT+:} false; then :
77685 $as_echo_n "(cached) " >&6
77686 else
77687 if test -n "$XMLLINT"; then
77688 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77689 else
77690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77691 for as_dir in $PATH
77693 IFS=$as_save_IFS
77694 test -z "$as_dir" && as_dir=.
77695 for ac_exec_ext in '' $ac_executable_extensions; do
77696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77697 ac_cv_prog_XMLLINT="yes"
77698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77699 break 2
77701 done
77702 done
77703 IFS=$as_save_IFS
77705 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77708 XMLLINT=$ac_cv_prog_XMLLINT
77709 if test -n "$XMLLINT"; then
77710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77711 $as_echo "$XMLLINT" >&6; }
77712 else
77713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77714 $as_echo "no" >&6; }
77720 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77723 $as_echo_n "checking for local stylesheet directory... " >&6; }
77724 glibcxx_local_stylesheets=no
77725 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77726 then
77727 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77728 glibcxx_local_stylesheets=yes
77729 else
77730 for dir in \
77731 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77732 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77733 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77734 /usr/share/xml/docbook/stylesheet/nwalsh/current
77736 if test -d $dir; then
77737 glibcxx_local_stylesheets=yes
77738 XSL_STYLE_DIR=$dir
77739 break
77741 done
77743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77744 $as_echo "$glibcxx_local_stylesheets" >&6; }
77746 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77748 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77749 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77752 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77753 glibcxx_stylesheets=no
77754 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77755 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77756 glibcxx_stylesheets=yes
77759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77760 $as_echo "$glibcxx_stylesheets" >&6; }
77762 else
77763 glibcxx_stylesheets=no
77766 # Check for epub3 dependencies.
77767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77768 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77769 glibcxx_epub_stylesheets=no
77770 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77771 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77772 glibcxx_epub_stylesheets=yes
77775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77776 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77777 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77778 BUILD_EPUB_TRUE=
77779 BUILD_EPUB_FALSE='#'
77780 else
77781 BUILD_EPUB_TRUE='#'
77782 BUILD_EPUB_FALSE=
77788 # Check for xml/html dependencies.
77789 if test $ac_cv_prog_DOXYGEN = "yes" &&
77790 test $ac_cv_prog_DOT = "yes" &&
77791 test $ac_cv_prog_XSLTPROC = "yes" &&
77792 test $ac_cv_prog_XMLLINT = "yes" &&
77793 test $glibcxx_stylesheets = "yes"; then
77794 BUILD_XML_TRUE=
77795 BUILD_XML_FALSE='#'
77796 else
77797 BUILD_XML_TRUE='#'
77798 BUILD_XML_FALSE=
77802 if test $ac_cv_prog_DOXYGEN = "yes" &&
77803 test $ac_cv_prog_DOT = "yes" &&
77804 test $ac_cv_prog_XSLTPROC = "yes" &&
77805 test $ac_cv_prog_XMLLINT = "yes" &&
77806 test $glibcxx_stylesheets = "yes"; then
77807 BUILD_HTML_TRUE=
77808 BUILD_HTML_FALSE='#'
77809 else
77810 BUILD_HTML_TRUE='#'
77811 BUILD_HTML_FALSE=
77815 # Check for man dependencies.
77816 if test $ac_cv_prog_DOXYGEN = "yes" &&
77817 test $ac_cv_prog_DOT = "yes"; then
77818 BUILD_MAN_TRUE=
77819 BUILD_MAN_FALSE='#'
77820 else
77821 BUILD_MAN_TRUE='#'
77822 BUILD_MAN_FALSE=
77826 # Check for pdf dependencies.
77827 # Extract the first word of "dblatex", so it can be a program name with args.
77828 set dummy dblatex; ac_word=$2
77829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77830 $as_echo_n "checking for $ac_word... " >&6; }
77831 if ${ac_cv_prog_DBLATEX+:} false; then :
77832 $as_echo_n "(cached) " >&6
77833 else
77834 if test -n "$DBLATEX"; then
77835 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77836 else
77837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77838 for as_dir in $PATH
77840 IFS=$as_save_IFS
77841 test -z "$as_dir" && as_dir=.
77842 for ac_exec_ext in '' $ac_executable_extensions; do
77843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77844 ac_cv_prog_DBLATEX="yes"
77845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77846 break 2
77848 done
77849 done
77850 IFS=$as_save_IFS
77852 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77855 DBLATEX=$ac_cv_prog_DBLATEX
77856 if test -n "$DBLATEX"; then
77857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77858 $as_echo "$DBLATEX" >&6; }
77859 else
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77861 $as_echo "no" >&6; }
77865 # Extract the first word of "pdflatex", so it can be a program name with args.
77866 set dummy pdflatex; ac_word=$2
77867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77868 $as_echo_n "checking for $ac_word... " >&6; }
77869 if ${ac_cv_prog_PDFLATEX+:} false; then :
77870 $as_echo_n "(cached) " >&6
77871 else
77872 if test -n "$PDFLATEX"; then
77873 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77874 else
77875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77876 for as_dir in $PATH
77878 IFS=$as_save_IFS
77879 test -z "$as_dir" && as_dir=.
77880 for ac_exec_ext in '' $ac_executable_extensions; do
77881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77882 ac_cv_prog_PDFLATEX="yes"
77883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77884 break 2
77886 done
77887 done
77888 IFS=$as_save_IFS
77890 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77893 PDFLATEX=$ac_cv_prog_PDFLATEX
77894 if test -n "$PDFLATEX"; then
77895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77896 $as_echo "$PDFLATEX" >&6; }
77897 else
77898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77899 $as_echo "no" >&6; }
77903 if test $ac_cv_prog_DOXYGEN = "yes" &&
77904 test $ac_cv_prog_DOT = "yes" &&
77905 test $ac_cv_prog_XSLTPROC = "yes" &&
77906 test $ac_cv_prog_XMLLINT = "yes" &&
77907 test $ac_cv_prog_DBLATEX = "yes" &&
77908 test $ac_cv_prog_PDFLATEX = "yes"; then
77909 BUILD_PDF_TRUE=
77910 BUILD_PDF_FALSE='#'
77911 else
77912 BUILD_PDF_TRUE='#'
77913 BUILD_PDF_FALSE=
77917 case "$build" in
77918 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77919 * ) glibcxx_include_dir_notparallel=no ;;
77920 esac
77921 if test $glibcxx_include_dir_notparallel = "yes"; then
77922 INCLUDE_DIR_NOTPARALLEL_TRUE=
77923 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77924 else
77925 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77926 INCLUDE_DIR_NOTPARALLEL_FALSE=
77930 # Propagate the target-specific source directories through the build chain.
77931 ATOMICITY_SRCDIR=config/${atomicity_dir}
77932 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77933 ATOMIC_FLAGS=${atomic_flags}
77934 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77935 OS_INC_SRCDIR=config/${os_include_dir}
77936 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77937 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77938 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77939 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77950 # Conditionalize the makefile for this target machine.
77951 tmake_file_=
77952 for f in ${tmake_file}
77954 if test -f ${srcdir}/config/$f
77955 then
77956 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77958 done
77959 tmake_file="${tmake_file_}"
77962 # Add CET specific flags if Intel CET is enabled.
77963 # Check whether --enable-cet was given.
77964 if test "${enable_cet+set}" = set; then :
77965 enableval=$enable_cet;
77966 case "$enableval" in
77967 yes|no|auto) ;;
77968 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77969 esac
77971 else
77972 enable_cet=auto
77976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77977 $as_echo_n "checking for CET support... " >&6; }
77979 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77980 case "$host" in
77981 i[34567]86-*-linux* | x86_64-*-linux*)
77982 case "$enable_cet" in
77983 auto)
77984 # Check if target supports multi-byte NOPs
77985 # and if compiler and assembler support CET insn.
77986 cet_save_CFLAGS="$CFLAGS"
77987 CFLAGS="$CFLAGS -fcf-protection"
77988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77989 /* end confdefs.h. */
77992 main ()
77995 #if !defined(__SSE2__)
77996 #error target does not support multi-byte NOPs
77997 #else
77998 asm ("setssbsy");
77999 #endif
78002 return 0;
78004 _ACEOF
78005 if ac_fn_c_try_compile "$LINENO"; then :
78006 enable_cet=yes
78007 else
78008 enable_cet=no
78010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78011 CFLAGS="$cet_save_CFLAGS"
78013 yes)
78014 # Check if assembler supports CET.
78015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78016 /* end confdefs.h. */
78019 main ()
78021 asm ("setssbsy");
78023 return 0;
78025 _ACEOF
78026 if ac_fn_c_try_compile "$LINENO"; then :
78028 else
78029 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
78031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78033 esac
78036 enable_cet=no
78038 esac
78039 if test x$enable_cet = xyes; then
78040 CET_FLAGS="-fcf-protection -mshstk"
78041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
78042 $as_echo "yes" >&6; }
78043 else
78044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78045 $as_echo "no" >&6; }
78048 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
78049 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
78053 # Determine cross-compile flags and AM_CONDITIONALs.
78054 #AC_SUBST(GLIBCXX_IS_NATIVE)
78055 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
78056 if test $is_hosted = yes; then
78057 GLIBCXX_HOSTED_TRUE=
78058 GLIBCXX_HOSTED_FALSE='#'
78059 else
78060 GLIBCXX_HOSTED_TRUE='#'
78061 GLIBCXX_HOSTED_FALSE=
78065 if test $enable_libstdcxx_pch = yes; then
78066 GLIBCXX_BUILD_PCH_TRUE=
78067 GLIBCXX_BUILD_PCH_FALSE='#'
78068 else
78069 GLIBCXX_BUILD_PCH_TRUE='#'
78070 GLIBCXX_BUILD_PCH_FALSE=
78074 if test $enable_float128 = yes; then
78075 ENABLE_FLOAT128_TRUE=
78076 ENABLE_FLOAT128_FALSE='#'
78077 else
78078 ENABLE_FLOAT128_TRUE='#'
78079 ENABLE_FLOAT128_FALSE=
78083 if test $enable_libstdcxx_allocator_flag = new; then
78084 ENABLE_ALLOCATOR_NEW_TRUE=
78085 ENABLE_ALLOCATOR_NEW_FALSE='#'
78086 else
78087 ENABLE_ALLOCATOR_NEW_TRUE='#'
78088 ENABLE_ALLOCATOR_NEW_FALSE=
78092 if test $enable_cheaders = c; then
78093 GLIBCXX_C_HEADERS_C_TRUE=
78094 GLIBCXX_C_HEADERS_C_FALSE='#'
78095 else
78096 GLIBCXX_C_HEADERS_C_TRUE='#'
78097 GLIBCXX_C_HEADERS_C_FALSE=
78101 if test $enable_cheaders = c_std; then
78102 GLIBCXX_C_HEADERS_C_STD_TRUE=
78103 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
78104 else
78105 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
78106 GLIBCXX_C_HEADERS_C_STD_FALSE=
78110 if test $enable_cheaders = c_global; then
78111 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
78112 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
78113 else
78114 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
78115 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
78119 if test $c_compatibility = yes; then
78120 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
78121 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
78122 else
78123 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
78124 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
78128 if test $enable_libstdcxx_debug = yes; then
78129 GLIBCXX_BUILD_DEBUG_TRUE=
78130 GLIBCXX_BUILD_DEBUG_FALSE='#'
78131 else
78132 GLIBCXX_BUILD_DEBUG_TRUE='#'
78133 GLIBCXX_BUILD_DEBUG_FALSE=
78137 if test $enable_extern_template = yes; then
78138 ENABLE_EXTERN_TEMPLATE_TRUE=
78139 ENABLE_EXTERN_TEMPLATE_FALSE='#'
78140 else
78141 ENABLE_EXTERN_TEMPLATE_TRUE='#'
78142 ENABLE_EXTERN_TEMPLATE_FALSE=
78146 if test $python_mod_dir != no; then
78147 ENABLE_PYTHONDIR_TRUE=
78148 ENABLE_PYTHONDIR_FALSE='#'
78149 else
78150 ENABLE_PYTHONDIR_TRUE='#'
78151 ENABLE_PYTHONDIR_FALSE=
78155 if test $enable_werror = yes; then
78156 ENABLE_WERROR_TRUE=
78157 ENABLE_WERROR_FALSE='#'
78158 else
78159 ENABLE_WERROR_TRUE='#'
78160 ENABLE_WERROR_FALSE=
78164 if test $enable_vtable_verify = yes; then
78165 ENABLE_VTABLE_VERIFY_TRUE=
78166 ENABLE_VTABLE_VERIFY_FALSE='#'
78167 else
78168 ENABLE_VTABLE_VERIFY_TRUE='#'
78169 ENABLE_VTABLE_VERIFY_FALSE=
78173 if test $enable_symvers != no; then
78174 ENABLE_SYMVERS_TRUE=
78175 ENABLE_SYMVERS_FALSE='#'
78176 else
78177 ENABLE_SYMVERS_TRUE='#'
78178 ENABLE_SYMVERS_FALSE=
78182 if test $enable_symvers = gnu; then
78183 ENABLE_SYMVERS_GNU_TRUE=
78184 ENABLE_SYMVERS_GNU_FALSE='#'
78185 else
78186 ENABLE_SYMVERS_GNU_TRUE='#'
78187 ENABLE_SYMVERS_GNU_FALSE=
78191 if test $enable_symvers = gnu-versioned-namespace; then
78192 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
78193 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
78194 else
78195 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
78196 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
78200 if test $enable_symvers = darwin; then
78201 ENABLE_SYMVERS_DARWIN_TRUE=
78202 ENABLE_SYMVERS_DARWIN_FALSE='#'
78203 else
78204 ENABLE_SYMVERS_DARWIN_TRUE='#'
78205 ENABLE_SYMVERS_DARWIN_FALSE=
78209 if test $enable_symvers = sun; then
78210 ENABLE_SYMVERS_SUN_TRUE=
78211 ENABLE_SYMVERS_SUN_FALSE='#'
78212 else
78213 ENABLE_SYMVERS_SUN_TRUE='#'
78214 ENABLE_SYMVERS_SUN_FALSE=
78218 if test $enable_libstdcxx_visibility = yes; then
78219 ENABLE_VISIBILITY_TRUE=
78220 ENABLE_VISIBILITY_FALSE='#'
78221 else
78222 ENABLE_VISIBILITY_TRUE='#'
78223 ENABLE_VISIBILITY_FALSE=
78227 if test $enable_libstdcxx_dual_abi = yes; then
78228 ENABLE_DUAL_ABI_TRUE=
78229 ENABLE_DUAL_ABI_FALSE='#'
78230 else
78231 ENABLE_DUAL_ABI_TRUE='#'
78232 ENABLE_DUAL_ABI_FALSE=
78236 if test $glibcxx_cxx11_abi = 1; then
78237 ENABLE_CXX11_ABI_TRUE=
78238 ENABLE_CXX11_ABI_FALSE='#'
78239 else
78240 ENABLE_CXX11_ABI_TRUE='#'
78241 ENABLE_CXX11_ABI_FALSE=
78245 if test $ac_ldbl_compat = yes; then
78246 GLIBCXX_LDBL_COMPAT_TRUE=
78247 GLIBCXX_LDBL_COMPAT_FALSE='#'
78248 else
78249 GLIBCXX_LDBL_COMPAT_TRUE='#'
78250 GLIBCXX_LDBL_COMPAT_FALSE=
78254 if test $enable_libstdcxx_filesystem_ts = yes; then
78255 ENABLE_FILESYSTEM_TS_TRUE=
78256 ENABLE_FILESYSTEM_TS_FALSE='#'
78257 else
78258 ENABLE_FILESYSTEM_TS_TRUE='#'
78259 ENABLE_FILESYSTEM_TS_FALSE=
78265 cat >confcache <<\_ACEOF
78266 # This file is a shell script that caches the results of configure
78267 # tests run on this system so they can be shared between configure
78268 # scripts and configure runs, see configure's option --config-cache.
78269 # It is not useful on other systems. If it contains results you don't
78270 # want to keep, you may remove or edit it.
78272 # config.status only pays attention to the cache file if you give it
78273 # the --recheck option to rerun configure.
78275 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78276 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78277 # following values.
78279 _ACEOF
78281 # The following way of writing the cache mishandles newlines in values,
78282 # but we know of no workaround that is simple, portable, and efficient.
78283 # So, we kill variables containing newlines.
78284 # Ultrix sh set writes to stderr and can't be redirected directly,
78285 # and sets the high bit in the cache file unless we assign to the vars.
78287 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78288 eval ac_val=\$$ac_var
78289 case $ac_val in #(
78290 *${as_nl}*)
78291 case $ac_var in #(
78292 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78293 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78294 esac
78295 case $ac_var in #(
78296 _ | IFS | as_nl) ;; #(
78297 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78298 *) { eval $ac_var=; unset $ac_var;} ;;
78299 esac ;;
78300 esac
78301 done
78303 (set) 2>&1 |
78304 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78305 *${as_nl}ac_space=\ *)
78306 # `set' does not quote correctly, so add quotes: double-quote
78307 # substitution turns \\\\ into \\, and sed turns \\ into \.
78308 sed -n \
78309 "s/'/'\\\\''/g;
78310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78311 ;; #(
78313 # `set' quotes correctly as required by POSIX, so do not add quotes.
78314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78316 esac |
78317 sort
78319 sed '
78320 /^ac_cv_env_/b end
78321 t clear
78322 :clear
78323 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78324 t end
78325 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78326 :end' >>confcache
78327 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78328 if test -w "$cache_file"; then
78329 if test "x$cache_file" != "x/dev/null"; then
78330 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78331 $as_echo "$as_me: updating cache $cache_file" >&6;}
78332 if test ! -f "$cache_file" || test -h "$cache_file"; then
78333 cat confcache >"$cache_file"
78334 else
78335 case $cache_file in #(
78336 */* | ?:*)
78337 mv -f confcache "$cache_file"$$ &&
78338 mv -f "$cache_file"$$ "$cache_file" ;; #(
78340 mv -f confcache "$cache_file" ;;
78341 esac
78344 else
78345 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78346 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78349 rm -f confcache
78351 if test ${multilib} = yes; then
78352 multilib_arg="--enable-multilib"
78353 else
78354 multilib_arg=
78357 # Export all the install information.
78359 glibcxx_toolexecdir=no
78360 glibcxx_toolexeclibdir=no
78361 glibcxx_prefixdir=$prefix
78363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78364 $as_echo_n "checking for gxx-include-dir... " >&6; }
78366 # Check whether --with-gxx-include-dir was given.
78367 if test "${with_gxx_include_dir+set}" = set; then :
78368 withval=$with_gxx_include_dir; case "$withval" in
78369 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78370 no) gxx_include_dir=no ;;
78371 *) gxx_include_dir=$withval ;;
78372 esac
78373 else
78374 gxx_include_dir=no
78377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78378 $as_echo "$gxx_include_dir" >&6; }
78380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78381 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78382 # Check whether --enable-version-specific-runtime-libs was given.
78383 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78384 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78385 yes) version_specific_libs=yes ;;
78386 no) version_specific_libs=no ;;
78387 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78388 esac
78389 else
78390 version_specific_libs=no
78393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78394 $as_echo "$version_specific_libs" >&6; }
78397 # Check whether --with-toolexeclibdir was given.
78398 if test "${with_toolexeclibdir+set}" = set; then :
78399 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78403 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78405 esac
78406 else
78407 with_toolexeclibdir=no
78412 # Default case for install directory for include files.
78413 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78414 gxx_include_dir='include/c++/${gcc_version}'
78415 if test -n "$with_cross_host" &&
78416 test x"$with_cross_host" != x"no"; then
78417 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78418 else
78419 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78423 # Version-specific runtime libs processing.
78424 if test $version_specific_libs = yes; then
78425 # Need the gcc compiler version to know where to install libraries
78426 # and header files if --enable-version-specific-runtime-libs option
78427 # is selected. FIXME: these variables are misnamed, there are
78428 # no executables installed in _toolexecdir or _toolexeclibdir.
78429 if test x"$gxx_include_dir" = x"no"; then
78430 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78432 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78433 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78436 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78437 # Install a library built with a cross compiler in tooldir, not libdir.
78438 if test x"$glibcxx_toolexecdir" = x"no"; then
78439 if test -n "$with_cross_host" &&
78440 test x"$with_cross_host" != x"no"; then
78441 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78442 case ${with_toolexeclibdir} in
78444 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78447 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78449 esac
78450 else
78451 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78452 glibcxx_toolexeclibdir='${libdir}'
78454 multi_os_directory=`$CXX -print-multi-os-directory`
78455 case $multi_os_directory in
78456 .) ;; # Avoid trailing /.
78457 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78458 esac
78461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78462 $as_echo_n "checking for install location... " >&6; }
78463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78464 $as_echo "$gxx_include_dir" >&6; }
78472 # Export all the include and flag information to Makefiles.
78474 # Used for every C++ compile we perform.
78475 GLIBCXX_INCLUDES="\
78476 -I$glibcxx_builddir/include/$host_alias \
78477 -I$glibcxx_builddir/include \
78478 -I$glibcxx_srcdir/libsupc++"
78480 # For Canadian crosses, pick this up too.
78481 if test $CANADIAN = yes; then
78482 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78485 # Stuff in the actual top level. Currently only used by libsupc++ to
78486 # get unwind* headers from the libgcc dir.
78487 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78488 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78490 # Now, export this to all the little Makefiles....
78495 # Optimization flags that are probably a good idea for thrill-seekers. Just
78496 # uncomment the lines below and make, everything else is ready to go...
78497 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78498 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78501 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78505 # Determine what GCC version number to use in filesystem paths.
78507 get_gcc_base_ver="cat"
78509 # Check whether --with-gcc-major-version-only was given.
78510 if test "${with_gcc_major_version_only+set}" = set; then :
78511 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78512 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78520 ac_config_files="$ac_config_files Makefile"
78522 ac_config_files="$ac_config_files scripts/testsuite_flags"
78524 ac_config_files="$ac_config_files scripts/extract_symvers"
78526 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78529 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78530 # that multilib installs will end up installed in the correct place.
78531 # The testsuite needs it for multilib-aware ABI baseline files.
78532 # To work around this not being passed down from config-ml.in ->
78533 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78534 # append it here. Only modify Makefiles that have just been created.
78536 # Also, get rid of this simulated-VPATH thing that automake does.
78537 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78540 ac_config_commands="$ac_config_commands generate-headers"
78543 cat >confcache <<\_ACEOF
78544 # This file is a shell script that caches the results of configure
78545 # tests run on this system so they can be shared between configure
78546 # scripts and configure runs, see configure's option --config-cache.
78547 # It is not useful on other systems. If it contains results you don't
78548 # want to keep, you may remove or edit it.
78550 # config.status only pays attention to the cache file if you give it
78551 # the --recheck option to rerun configure.
78553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78555 # following values.
78557 _ACEOF
78559 # The following way of writing the cache mishandles newlines in values,
78560 # but we know of no workaround that is simple, portable, and efficient.
78561 # So, we kill variables containing newlines.
78562 # Ultrix sh set writes to stderr and can't be redirected directly,
78563 # and sets the high bit in the cache file unless we assign to the vars.
78565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78566 eval ac_val=\$$ac_var
78567 case $ac_val in #(
78568 *${as_nl}*)
78569 case $ac_var in #(
78570 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78572 esac
78573 case $ac_var in #(
78574 _ | IFS | as_nl) ;; #(
78575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78576 *) { eval $ac_var=; unset $ac_var;} ;;
78577 esac ;;
78578 esac
78579 done
78581 (set) 2>&1 |
78582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78583 *${as_nl}ac_space=\ *)
78584 # `set' does not quote correctly, so add quotes: double-quote
78585 # substitution turns \\\\ into \\, and sed turns \\ into \.
78586 sed -n \
78587 "s/'/'\\\\''/g;
78588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78589 ;; #(
78591 # `set' quotes correctly as required by POSIX, so do not add quotes.
78592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78594 esac |
78595 sort
78597 sed '
78598 /^ac_cv_env_/b end
78599 t clear
78600 :clear
78601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78602 t end
78603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78604 :end' >>confcache
78605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78606 if test -w "$cache_file"; then
78607 if test "x$cache_file" != "x/dev/null"; then
78608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78609 $as_echo "$as_me: updating cache $cache_file" >&6;}
78610 if test ! -f "$cache_file" || test -h "$cache_file"; then
78611 cat confcache >"$cache_file"
78612 else
78613 case $cache_file in #(
78614 */* | ?:*)
78615 mv -f confcache "$cache_file"$$ &&
78616 mv -f "$cache_file"$$ "$cache_file" ;; #(
78618 mv -f confcache "$cache_file" ;;
78619 esac
78622 else
78623 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78624 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78627 rm -f confcache
78629 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78630 # Let make expand exec_prefix.
78631 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78633 DEFS=-DHAVE_CONFIG_H
78635 ac_libobjs=
78636 ac_ltlibobjs=
78638 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78639 # 1. Remove the extension, and $U if already installed.
78640 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78641 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78643 # will be set to the directory where LIBOBJS objects are built.
78644 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78645 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78646 done
78647 LIBOBJS=$ac_libobjs
78649 LTLIBOBJS=$ac_ltlibobjs
78652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78653 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78654 if test -n "$am_sleep_pid"; then
78655 # Hide warnings about reused PIDs.
78656 wait $am_sleep_pid 2>/dev/null
78658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78659 $as_echo "done" >&6; }
78660 if test -n "$EXEEXT"; then
78661 am__EXEEXT_TRUE=
78662 am__EXEEXT_FALSE='#'
78663 else
78664 am__EXEEXT_TRUE='#'
78665 am__EXEEXT_FALSE=
78668 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78669 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78672 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78673 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78676 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78677 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78680 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78681 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78684 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78685 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78688 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78689 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78692 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78693 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78696 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78697 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78700 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78701 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78704 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78705 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78708 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78709 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78712 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78713 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78716 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78717 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78720 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78721 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78724 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78725 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78728 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78729 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78732 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78733 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78736 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78737 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78740 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78741 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78744 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78745 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78748 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78749 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78752 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78753 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78756 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78757 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78760 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78761 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78764 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78765 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78768 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78769 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78772 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78773 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78776 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78777 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78780 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78781 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78784 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78785 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78788 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78789 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78792 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78793 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78797 : "${CONFIG_STATUS=./config.status}"
78798 ac_write_fail=0
78799 ac_clean_files_save=$ac_clean_files
78800 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78801 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78802 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78803 as_write_fail=0
78804 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78805 #! $SHELL
78806 # Generated by $as_me.
78807 # Run this file to recreate the current configuration.
78808 # Compiler output produced by configure, useful for debugging
78809 # configure, is in config.log if it exists.
78811 debug=false
78812 ac_cs_recheck=false
78813 ac_cs_silent=false
78815 SHELL=\${CONFIG_SHELL-$SHELL}
78816 export SHELL
78817 _ASEOF
78818 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78819 ## -------------------- ##
78820 ## M4sh Initialization. ##
78821 ## -------------------- ##
78823 # Be more Bourne compatible
78824 DUALCASE=1; export DUALCASE # for MKS sh
78825 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78826 emulate sh
78827 NULLCMD=:
78828 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78829 # is contrary to our usage. Disable this feature.
78830 alias -g '${1+"$@"}'='"$@"'
78831 setopt NO_GLOB_SUBST
78832 else
78833 case `(set -o) 2>/dev/null` in #(
78834 *posix*) :
78835 set -o posix ;; #(
78836 *) :
78838 esac
78842 as_nl='
78844 export as_nl
78845 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78846 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78847 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78848 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78849 # Prefer a ksh shell builtin over an external printf program on Solaris,
78850 # but without wasting forks for bash or zsh.
78851 if test -z "$BASH_VERSION$ZSH_VERSION" \
78852 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78853 as_echo='print -r --'
78854 as_echo_n='print -rn --'
78855 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78856 as_echo='printf %s\n'
78857 as_echo_n='printf %s'
78858 else
78859 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78860 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78861 as_echo_n='/usr/ucb/echo -n'
78862 else
78863 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78864 as_echo_n_body='eval
78865 arg=$1;
78866 case $arg in #(
78867 *"$as_nl"*)
78868 expr "X$arg" : "X\\(.*\\)$as_nl";
78869 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78870 esac;
78871 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78873 export as_echo_n_body
78874 as_echo_n='sh -c $as_echo_n_body as_echo'
78876 export as_echo_body
78877 as_echo='sh -c $as_echo_body as_echo'
78880 # The user is always right.
78881 if test "${PATH_SEPARATOR+set}" != set; then
78882 PATH_SEPARATOR=:
78883 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78884 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78885 PATH_SEPARATOR=';'
78890 # IFS
78891 # We need space, tab and new line, in precisely that order. Quoting is
78892 # there to prevent editors from complaining about space-tab.
78893 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78894 # splitting by setting IFS to empty value.)
78895 IFS=" "" $as_nl"
78897 # Find who we are. Look in the path if we contain no directory separator.
78898 as_myself=
78899 case $0 in #((
78900 *[\\/]* ) as_myself=$0 ;;
78901 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78902 for as_dir in $PATH
78904 IFS=$as_save_IFS
78905 test -z "$as_dir" && as_dir=.
78906 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78907 done
78908 IFS=$as_save_IFS
78911 esac
78912 # We did not find ourselves, most probably we were run as `sh COMMAND'
78913 # in which case we are not to be found in the path.
78914 if test "x$as_myself" = x; then
78915 as_myself=$0
78917 if test ! -f "$as_myself"; then
78918 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78919 exit 1
78922 # Unset variables that we do not need and which cause bugs (e.g. in
78923 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78924 # suppresses any "Segmentation fault" message there. '((' could
78925 # trigger a bug in pdksh 5.2.14.
78926 for as_var in BASH_ENV ENV MAIL MAILPATH
78927 do eval test x\${$as_var+set} = xset \
78928 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78929 done
78930 PS1='$ '
78931 PS2='> '
78932 PS4='+ '
78934 # NLS nuisances.
78935 LC_ALL=C
78936 export LC_ALL
78937 LANGUAGE=C
78938 export LANGUAGE
78940 # CDPATH.
78941 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78944 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78945 # ----------------------------------------
78946 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78947 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78948 # script with STATUS, using 1 if that was 0.
78949 as_fn_error ()
78951 as_status=$1; test $as_status -eq 0 && as_status=1
78952 if test "$4"; then
78953 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78954 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78956 $as_echo "$as_me: error: $2" >&2
78957 as_fn_exit $as_status
78958 } # as_fn_error
78961 # as_fn_set_status STATUS
78962 # -----------------------
78963 # Set $? to STATUS, without forking.
78964 as_fn_set_status ()
78966 return $1
78967 } # as_fn_set_status
78969 # as_fn_exit STATUS
78970 # -----------------
78971 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78972 as_fn_exit ()
78974 set +e
78975 as_fn_set_status $1
78976 exit $1
78977 } # as_fn_exit
78979 # as_fn_unset VAR
78980 # ---------------
78981 # Portably unset VAR.
78982 as_fn_unset ()
78984 { eval $1=; unset $1;}
78986 as_unset=as_fn_unset
78987 # as_fn_append VAR VALUE
78988 # ----------------------
78989 # Append the text in VALUE to the end of the definition contained in VAR. Take
78990 # advantage of any shell optimizations that allow amortized linear growth over
78991 # repeated appends, instead of the typical quadratic growth present in naive
78992 # implementations.
78993 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78994 eval 'as_fn_append ()
78996 eval $1+=\$2
78998 else
78999 as_fn_append ()
79001 eval $1=\$$1\$2
79003 fi # as_fn_append
79005 # as_fn_arith ARG...
79006 # ------------------
79007 # Perform arithmetic evaluation on the ARGs, and store the result in the
79008 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79009 # must be portable across $(()) and expr.
79010 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79011 eval 'as_fn_arith ()
79013 as_val=$(( $* ))
79015 else
79016 as_fn_arith ()
79018 as_val=`expr "$@" || test $? -eq 1`
79020 fi # as_fn_arith
79023 if expr a : '\(a\)' >/dev/null 2>&1 &&
79024 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79025 as_expr=expr
79026 else
79027 as_expr=false
79030 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79031 as_basename=basename
79032 else
79033 as_basename=false
79036 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79037 as_dirname=dirname
79038 else
79039 as_dirname=false
79042 as_me=`$as_basename -- "$0" ||
79043 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
79044 X"$0" : 'X\(//\)$' \| \
79045 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
79046 $as_echo X/"$0" |
79047 sed '/^.*\/\([^/][^/]*\)\/*$/{
79048 s//\1/
79051 /^X\/\(\/\/\)$/{
79052 s//\1/
79055 /^X\/\(\/\).*/{
79056 s//\1/
79059 s/.*/./; q'`
79061 # Avoid depending upon Character Ranges.
79062 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
79065 as_cr_digits='0123456789'
79066 as_cr_alnum=$as_cr_Letters$as_cr_digits
79068 ECHO_C= ECHO_N= ECHO_T=
79069 case `echo -n x` in #(((((
79070 -n*)
79071 case `echo 'xy\c'` in
79072 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
79073 xy) ECHO_C='\c';;
79074 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
79075 ECHO_T=' ';;
79076 esac;;
79078 ECHO_N='-n';;
79079 esac
79081 rm -f conf$$ conf$$.exe conf$$.file
79082 if test -d conf$$.dir; then
79083 rm -f conf$$.dir/conf$$.file
79084 else
79085 rm -f conf$$.dir
79086 mkdir conf$$.dir 2>/dev/null
79088 if (echo >conf$$.file) 2>/dev/null; then
79089 if ln -s conf$$.file conf$$ 2>/dev/null; then
79090 as_ln_s='ln -s'
79091 # ... but there are two gotchas:
79092 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
79093 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
79094 # In both cases, we have to default to `cp -pR'.
79095 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
79096 as_ln_s='cp -pR'
79097 elif ln conf$$.file conf$$ 2>/dev/null; then
79098 as_ln_s=ln
79099 else
79100 as_ln_s='cp -pR'
79102 else
79103 as_ln_s='cp -pR'
79105 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
79106 rmdir conf$$.dir 2>/dev/null
79109 # as_fn_mkdir_p
79110 # -------------
79111 # Create "$as_dir" as a directory, including parents if necessary.
79112 as_fn_mkdir_p ()
79115 case $as_dir in #(
79116 -*) as_dir=./$as_dir;;
79117 esac
79118 test -d "$as_dir" || eval $as_mkdir_p || {
79119 as_dirs=
79120 while :; do
79121 case $as_dir in #(
79122 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
79123 *) as_qdir=$as_dir;;
79124 esac
79125 as_dirs="'$as_qdir' $as_dirs"
79126 as_dir=`$as_dirname -- "$as_dir" ||
79127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79128 X"$as_dir" : 'X\(//\)[^/]' \| \
79129 X"$as_dir" : 'X\(//\)$' \| \
79130 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
79131 $as_echo X"$as_dir" |
79132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79133 s//\1/
79136 /^X\(\/\/\)[^/].*/{
79137 s//\1/
79140 /^X\(\/\/\)$/{
79141 s//\1/
79144 /^X\(\/\).*/{
79145 s//\1/
79148 s/.*/./; q'`
79149 test -d "$as_dir" && break
79150 done
79151 test -z "$as_dirs" || eval "mkdir $as_dirs"
79152 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
79155 } # as_fn_mkdir_p
79156 if mkdir -p . 2>/dev/null; then
79157 as_mkdir_p='mkdir -p "$as_dir"'
79158 else
79159 test -d ./-p && rmdir ./-p
79160 as_mkdir_p=false
79164 # as_fn_executable_p FILE
79165 # -----------------------
79166 # Test if FILE is an executable regular file.
79167 as_fn_executable_p ()
79169 test -f "$1" && test -x "$1"
79170 } # as_fn_executable_p
79171 as_test_x='test -x'
79172 as_executable_p=as_fn_executable_p
79174 # Sed expression to map a string onto a valid CPP name.
79175 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
79177 # Sed expression to map a string onto a valid variable name.
79178 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
79181 exec 6>&1
79182 ## ----------------------------------- ##
79183 ## Main body of $CONFIG_STATUS script. ##
79184 ## ----------------------------------- ##
79185 _ASEOF
79186 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
79188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79189 # Save the log message, to keep $0 and so on meaningful, and to
79190 # report actual input values of CONFIG_FILES etc. instead of their
79191 # values after options handling.
79192 ac_log="
79193 This file was extended by package-unused $as_me version-unused, which was
79194 generated by GNU Autoconf 2.69. Invocation command line was
79196 CONFIG_FILES = $CONFIG_FILES
79197 CONFIG_HEADERS = $CONFIG_HEADERS
79198 CONFIG_LINKS = $CONFIG_LINKS
79199 CONFIG_COMMANDS = $CONFIG_COMMANDS
79200 $ $0 $@
79202 on `(hostname || uname -n) 2>/dev/null | sed 1q`
79205 _ACEOF
79207 case $ac_config_files in *"
79208 "*) set x $ac_config_files; shift; ac_config_files=$*;;
79209 esac
79211 case $ac_config_headers in *"
79212 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
79213 esac
79216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79217 # Files that config.status was made for.
79218 config_files="$ac_config_files"
79219 config_headers="$ac_config_headers"
79220 config_commands="$ac_config_commands"
79222 _ACEOF
79224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79225 ac_cs_usage="\
79226 \`$as_me' instantiates files and other configuration actions
79227 from templates according to the current configuration. Unless the files
79228 and actions are specified as TAGs, all are instantiated by default.
79230 Usage: $0 [OPTION]... [TAG]...
79232 -h, --help print this help, then exit
79233 -V, --version print version number and configuration settings, then exit
79234 --config print configuration, then exit
79235 -q, --quiet, --silent
79236 do not print progress messages
79237 -d, --debug don't remove temporary files
79238 --recheck update $as_me by reconfiguring in the same conditions
79239 --file=FILE[:TEMPLATE]
79240 instantiate the configuration file FILE
79241 --header=FILE[:TEMPLATE]
79242 instantiate the configuration header FILE
79244 Configuration files:
79245 $config_files
79247 Configuration headers:
79248 $config_headers
79250 Configuration commands:
79251 $config_commands
79253 Report bugs to the package provider."
79255 _ACEOF
79256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79257 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
79258 ac_cs_version="\\
79259 package-unused config.status version-unused
79260 configured by $0, generated by GNU Autoconf 2.69,
79261 with options \\"\$ac_cs_config\\"
79263 Copyright (C) 2012 Free Software Foundation, Inc.
79264 This config.status script is free software; the Free Software Foundation
79265 gives unlimited permission to copy, distribute and modify it."
79267 ac_pwd='$ac_pwd'
79268 srcdir='$srcdir'
79269 INSTALL='$INSTALL'
79270 MKDIR_P='$MKDIR_P'
79271 AWK='$AWK'
79272 test -n "\$AWK" || AWK=awk
79273 _ACEOF
79275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79276 # The default lists apply if the user does not specify any file.
79277 ac_need_defaults=:
79278 while test $# != 0
79280 case $1 in
79281 --*=?*)
79282 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79283 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
79284 ac_shift=:
79286 --*=)
79287 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79288 ac_optarg=
79289 ac_shift=:
79292 ac_option=$1
79293 ac_optarg=$2
79294 ac_shift=shift
79296 esac
79298 case $ac_option in
79299 # Handling of the options.
79300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79301 ac_cs_recheck=: ;;
79302 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79303 $as_echo "$ac_cs_version"; exit ;;
79304 --config | --confi | --conf | --con | --co | --c )
79305 $as_echo "$ac_cs_config"; exit ;;
79306 --debug | --debu | --deb | --de | --d | -d )
79307 debug=: ;;
79308 --file | --fil | --fi | --f )
79309 $ac_shift
79310 case $ac_optarg in
79311 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79312 '') as_fn_error $? "missing file argument" ;;
79313 esac
79314 as_fn_append CONFIG_FILES " '$ac_optarg'"
79315 ac_need_defaults=false;;
79316 --header | --heade | --head | --hea )
79317 $ac_shift
79318 case $ac_optarg in
79319 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79320 esac
79321 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79322 ac_need_defaults=false;;
79323 --he | --h)
79324 # Conflict between --help and --header
79325 as_fn_error $? "ambiguous option: \`$1'
79326 Try \`$0 --help' for more information.";;
79327 --help | --hel | -h )
79328 $as_echo "$ac_cs_usage"; exit ;;
79329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79330 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79331 ac_cs_silent=: ;;
79333 # This is an error.
79334 -*) as_fn_error $? "unrecognized option: \`$1'
79335 Try \`$0 --help' for more information." ;;
79337 *) as_fn_append ac_config_targets " $1"
79338 ac_need_defaults=false ;;
79340 esac
79341 shift
79342 done
79344 ac_configure_extra_args=
79346 if $ac_cs_silent; then
79347 exec 6>/dev/null
79348 ac_configure_extra_args="$ac_configure_extra_args --silent"
79351 _ACEOF
79352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79353 if \$ac_cs_recheck; then
79354 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79355 shift
79356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79357 CONFIG_SHELL='$SHELL'
79358 export CONFIG_SHELL
79359 exec "\$@"
79362 _ACEOF
79363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79364 exec 5>>config.log
79366 echo
79367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79368 ## Running $as_me. ##
79369 _ASBOX
79370 $as_echo "$ac_log"
79371 } >&5
79373 _ACEOF
79374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79376 # INIT-COMMANDS
79379 srcdir="$srcdir"
79380 host="$host"
79381 target="$target"
79382 with_multisubdir="$with_multisubdir"
79383 with_multisrctop="$with_multisrctop"
79384 with_target_subdir="$with_target_subdir"
79385 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79386 multi_basedir="$multi_basedir"
79387 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79388 CC="$CC"
79389 CXX="$CXX"
79390 GFORTRAN="$GFORTRAN"
79391 GDC="$GDC"
79394 # The HP-UX ksh and POSIX shell print the target directory to stdout
79395 # if CDPATH is set.
79396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79398 sed_quote_subst='$sed_quote_subst'
79399 double_quote_subst='$double_quote_subst'
79400 delay_variable_subst='$delay_variable_subst'
79401 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79402 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79403 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79404 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79405 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79406 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79407 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79408 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79409 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79410 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79411 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79412 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79413 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79414 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79415 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79416 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79417 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79418 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79419 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79420 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79421 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79422 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79423 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79424 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79425 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79426 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79427 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79428 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79429 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79430 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79431 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79432 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79433 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79434 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79435 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79436 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79437 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79438 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79439 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79440 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79441 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79442 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79443 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79444 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79445 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79446 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79447 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79448 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79449 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"`'
79450 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79451 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79452 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79453 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79454 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79455 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79456 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79457 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79458 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79459 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79460 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79461 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79462 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79463 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79464 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79465 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79466 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79467 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79468 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79469 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79470 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79471 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79472 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79473 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79474 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79475 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79476 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79477 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79478 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79479 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79480 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79481 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79482 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79483 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79484 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79485 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79486 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79487 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79488 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79489 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79490 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79491 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79492 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79493 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79494 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79495 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79496 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79497 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79498 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79499 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79500 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79501 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79502 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79503 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79504 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79505 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79506 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79507 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79508 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79509 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79510 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79511 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79512 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79513 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79514 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79515 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79516 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79517 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79518 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79519 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79520 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79521 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79522 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79523 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79524 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79525 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79526 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79527 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79528 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79529 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79530 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79531 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79532 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79533 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79534 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79535 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79536 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79537 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79538 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79539 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79540 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79541 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79542 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79543 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79544 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79545 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79546 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79547 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79548 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79549 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79550 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79551 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79552 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79553 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79554 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79555 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79556 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79557 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79558 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79559 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79560 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79561 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79562 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79563 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79564 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79565 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79566 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79567 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79568 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79569 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79570 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79571 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79572 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79573 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79574 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79575 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79577 LTCC='$LTCC'
79578 LTCFLAGS='$LTCFLAGS'
79579 compiler='$compiler_DEFAULT'
79581 # A function that is used when there is no print builtin or printf.
79582 func_fallback_echo ()
79584 eval 'cat <<_LTECHO_EOF
79586 _LTECHO_EOF'
79589 # Quote evaled strings.
79590 for var in SHELL \
79591 ECHO \
79592 SED \
79593 GREP \
79594 EGREP \
79595 FGREP \
79596 LD \
79597 NM \
79598 LN_S \
79599 lt_SP2NL \
79600 lt_NL2SP \
79601 reload_flag \
79602 OBJDUMP \
79603 deplibs_check_method \
79604 file_magic_cmd \
79605 AR \
79606 AR_FLAGS \
79607 STRIP \
79608 RANLIB \
79609 CC \
79610 CFLAGS \
79611 compiler \
79612 lt_cv_sys_global_symbol_pipe \
79613 lt_cv_sys_global_symbol_to_cdecl \
79614 lt_cv_sys_global_symbol_to_c_name_address \
79615 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79616 lt_prog_compiler_no_builtin_flag \
79617 lt_prog_compiler_wl \
79618 lt_prog_compiler_pic \
79619 lt_prog_compiler_static \
79620 lt_cv_prog_compiler_c_o \
79621 need_locks \
79622 DSYMUTIL \
79623 NMEDIT \
79624 LIPO \
79625 OTOOL \
79626 OTOOL64 \
79627 shrext_cmds \
79628 export_dynamic_flag_spec \
79629 whole_archive_flag_spec \
79630 compiler_needs_object \
79631 with_gnu_ld \
79632 allow_undefined_flag \
79633 no_undefined_flag \
79634 hardcode_libdir_flag_spec \
79635 hardcode_libdir_flag_spec_ld \
79636 hardcode_libdir_separator \
79637 fix_srcfile_path \
79638 exclude_expsyms \
79639 include_expsyms \
79640 file_list_spec \
79641 variables_saved_for_relink \
79642 libname_spec \
79643 library_names_spec \
79644 soname_spec \
79645 install_override_mode \
79646 finish_eval \
79647 old_striplib \
79648 striplib \
79649 compiler_lib_search_dirs \
79650 predep_objects \
79651 postdep_objects \
79652 predeps \
79653 postdeps \
79654 compiler_lib_search_path \
79655 LD_CXX \
79656 reload_flag_CXX \
79657 compiler_CXX \
79658 lt_prog_compiler_no_builtin_flag_CXX \
79659 lt_prog_compiler_wl_CXX \
79660 lt_prog_compiler_pic_CXX \
79661 lt_prog_compiler_static_CXX \
79662 lt_cv_prog_compiler_c_o_CXX \
79663 export_dynamic_flag_spec_CXX \
79664 whole_archive_flag_spec_CXX \
79665 compiler_needs_object_CXX \
79666 with_gnu_ld_CXX \
79667 allow_undefined_flag_CXX \
79668 no_undefined_flag_CXX \
79669 hardcode_libdir_flag_spec_CXX \
79670 hardcode_libdir_flag_spec_ld_CXX \
79671 hardcode_libdir_separator_CXX \
79672 fix_srcfile_path_CXX \
79673 exclude_expsyms_CXX \
79674 include_expsyms_CXX \
79675 file_list_spec_CXX \
79676 compiler_lib_search_dirs_CXX \
79677 predep_objects_CXX \
79678 postdep_objects_CXX \
79679 predeps_CXX \
79680 postdeps_CXX \
79681 compiler_lib_search_path_CXX; do
79682 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79683 *[\\\\\\\`\\"\\\$]*)
79684 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79687 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79689 esac
79690 done
79692 # Double-quote double-evaled strings.
79693 for var in reload_cmds \
79694 old_postinstall_cmds \
79695 old_postuninstall_cmds \
79696 old_archive_cmds \
79697 extract_expsyms_cmds \
79698 old_archive_from_new_cmds \
79699 old_archive_from_expsyms_cmds \
79700 archive_cmds \
79701 archive_expsym_cmds \
79702 module_cmds \
79703 module_expsym_cmds \
79704 export_symbols_cmds \
79705 prelink_cmds \
79706 postinstall_cmds \
79707 postuninstall_cmds \
79708 finish_cmds \
79709 sys_lib_search_path_spec \
79710 sys_lib_dlsearch_path_spec \
79711 reload_cmds_CXX \
79712 old_archive_cmds_CXX \
79713 old_archive_from_new_cmds_CXX \
79714 old_archive_from_expsyms_cmds_CXX \
79715 archive_cmds_CXX \
79716 archive_expsym_cmds_CXX \
79717 module_cmds_CXX \
79718 module_expsym_cmds_CXX \
79719 export_symbols_cmds_CXX \
79720 prelink_cmds_CXX; do
79721 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79722 *[\\\\\\\`\\"\\\$]*)
79723 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79726 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79728 esac
79729 done
79731 ac_aux_dir='$ac_aux_dir'
79732 xsi_shell='$xsi_shell'
79733 lt_shell_append='$lt_shell_append'
79735 # See if we are running on zsh, and set the options which allow our
79736 # commands through without removal of \ escapes INIT.
79737 if test -n "\${ZSH_VERSION+set}" ; then
79738 setopt NO_GLOB_SUBST
79742 PACKAGE='$PACKAGE'
79743 VERSION='$VERSION'
79744 TIMESTAMP='$TIMESTAMP'
79745 RM='$RM'
79746 ofile='$ofile'
79753 GCC="$GCC"
79754 CC="$CC"
79755 acx_cv_header_stdint="$acx_cv_header_stdint"
79756 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79757 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79758 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79759 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79760 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79761 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79762 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79763 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79764 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79765 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79766 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79767 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79768 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79771 _ACEOF
79773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79775 # Handling of arguments.
79776 for ac_config_target in $ac_config_targets
79778 case $ac_config_target in
79779 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79780 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79781 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79782 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79783 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79784 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79785 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79786 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79787 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79788 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79789 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79790 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79791 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79792 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79793 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79794 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79795 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79796 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79797 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79798 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79799 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79801 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79802 esac
79803 done
79806 # If the user did not use the arguments to specify the items to instantiate,
79807 # then the envvar interface is used. Set only those that are not.
79808 # We use the long form for the default assignment because of an extremely
79809 # bizarre bug on SunOS 4.1.3.
79810 if $ac_need_defaults; then
79811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79816 # Have a temporary directory for convenience. Make it in the build tree
79817 # simply because there is no reason against having it here, and in addition,
79818 # creating and moving files from /tmp can sometimes cause problems.
79819 # Hook for its removal unless debugging.
79820 # Note that there is a small window in which the directory will not be cleaned:
79821 # after its creation but before its name has been assigned to `$tmp'.
79822 $debug ||
79824 tmp= ac_tmp=
79825 trap 'exit_status=$?
79826 : "${ac_tmp:=$tmp}"
79827 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79829 trap 'as_fn_exit 1' 1 2 13 15
79831 # Create a (secure) tmp directory for tmp files.
79834 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79835 test -d "$tmp"
79836 } ||
79838 tmp=./conf$$-$RANDOM
79839 (umask 077 && mkdir "$tmp")
79840 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79841 ac_tmp=$tmp
79843 # Set up the scripts for CONFIG_FILES section.
79844 # No need to generate them if there are no CONFIG_FILES.
79845 # This happens for instance with `./config.status config.h'.
79846 if test -n "$CONFIG_FILES"; then
79849 ac_cr=`echo X | tr X '\015'`
79850 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79851 # But we know of no other shell where ac_cr would be empty at this
79852 # point, so we can use a bashism as a fallback.
79853 if test "x$ac_cr" = x; then
79854 eval ac_cr=\$\'\\r\'
79856 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79857 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79858 ac_cs_awk_cr='\\r'
79859 else
79860 ac_cs_awk_cr=$ac_cr
79863 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79864 _ACEOF
79868 echo "cat >conf$$subs.awk <<_ACEOF" &&
79869 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79870 echo "_ACEOF"
79871 } >conf$$subs.sh ||
79872 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79873 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79874 ac_delim='%!_!# '
79875 for ac_last_try in false false false false false :; do
79876 . ./conf$$subs.sh ||
79877 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79879 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79880 if test $ac_delim_n = $ac_delim_num; then
79881 break
79882 elif $ac_last_try; then
79883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79884 else
79885 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79887 done
79888 rm -f conf$$subs.sh
79890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79891 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79892 _ACEOF
79893 sed -n '
79895 s/^/S["/; s/!.*/"]=/
79898 s/^[^!]*!//
79899 :repl
79900 t repl
79901 s/'"$ac_delim"'$//
79902 t delim
79905 s/\(.\{148\}\)..*/\1/
79906 t more1
79907 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79910 b repl
79911 :more1
79912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79915 s/.\{148\}//
79916 t nl
79917 :delim
79919 s/\(.\{148\}\)..*/\1/
79920 t more2
79921 s/["\\]/\\&/g; s/^/"/; s/$/"/
79924 :more2
79925 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79928 s/.\{148\}//
79929 t delim
79930 ' <conf$$subs.awk | sed '
79931 /^[^""]/{
79933 s/\n//
79935 ' >>$CONFIG_STATUS || ac_write_fail=1
79936 rm -f conf$$subs.awk
79937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79938 _ACAWK
79939 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79940 for (key in S) S_is_set[key] = 1
79941 FS = "\a"
79945 line = $ 0
79946 nfields = split(line, field, "@")
79947 substed = 0
79948 len = length(field[1])
79949 for (i = 2; i < nfields; i++) {
79950 key = field[i]
79951 keylen = length(key)
79952 if (S_is_set[key]) {
79953 value = S[key]
79954 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79955 len += length(value) + length(field[++i])
79956 substed = 1
79957 } else
79958 len += 1 + keylen
79961 print line
79964 _ACAWK
79965 _ACEOF
79966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79967 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79968 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79969 else
79971 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79972 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79973 _ACEOF
79975 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79976 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79977 # trailing colons and then remove the whole line if VPATH becomes empty
79978 # (actually we leave an empty line to preserve line numbers).
79979 if test "x$srcdir" = x.; then
79980 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79982 s///
79983 s/^/:/
79984 s/[ ]*$/:/
79985 s/:\$(srcdir):/:/g
79986 s/:\${srcdir}:/:/g
79987 s/:@srcdir@:/:/g
79988 s/^:*//
79989 s/:*$//
79991 s/\(=[ ]*\).*/\1/
79993 s/\n//
79994 s/^[^=]*=[ ]*$//
79998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79999 fi # test -n "$CONFIG_FILES"
80001 # Set up the scripts for CONFIG_HEADERS section.
80002 # No need to generate them if there are no CONFIG_HEADERS.
80003 # This happens for instance with `./config.status Makefile'.
80004 if test -n "$CONFIG_HEADERS"; then
80005 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
80006 BEGIN {
80007 _ACEOF
80009 # Transform confdefs.h into an awk script `defines.awk', embedded as
80010 # here-document in config.status, that substitutes the proper values into
80011 # config.h.in to produce config.h.
80013 # Create a delimiter string that does not exist in confdefs.h, to ease
80014 # handling of long lines.
80015 ac_delim='%!_!# '
80016 for ac_last_try in false false :; do
80017 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
80018 if test -z "$ac_tt"; then
80019 break
80020 elif $ac_last_try; then
80021 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
80022 else
80023 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80025 done
80027 # For the awk script, D is an array of macro values keyed by name,
80028 # likewise P contains macro parameters if any. Preserve backslash
80029 # newline sequences.
80031 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80032 sed -n '
80033 s/.\{148\}/&'"$ac_delim"'/g
80034 t rset
80035 :rset
80036 s/^[ ]*#[ ]*define[ ][ ]*/ /
80037 t def
80039 :def
80040 s/\\$//
80041 t bsnl
80042 s/["\\]/\\&/g
80043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80044 D["\1"]=" \3"/p
80045 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80047 :bsnl
80048 s/["\\]/\\&/g
80049 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80050 D["\1"]=" \3\\\\\\n"\\/p
80051 t cont
80052 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
80053 t cont
80055 :cont
80057 s/.\{148\}/&'"$ac_delim"'/g
80058 t clear
80059 :clear
80060 s/\\$//
80061 t bsnlc
80062 s/["\\]/\\&/g; s/^/"/; s/$/"/p
80064 :bsnlc
80065 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
80066 b cont
80067 ' <confdefs.h | sed '
80068 s/'"$ac_delim"'/"\\\
80069 "/g' >>$CONFIG_STATUS || ac_write_fail=1
80071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80072 for (key in D) D_is_set[key] = 1
80073 FS = "\a"
80075 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
80076 line = \$ 0
80077 split(line, arg, " ")
80078 if (arg[1] == "#") {
80079 defundef = arg[2]
80080 mac1 = arg[3]
80081 } else {
80082 defundef = substr(arg[1], 2)
80083 mac1 = arg[2]
80085 split(mac1, mac2, "(") #)
80086 macro = mac2[1]
80087 prefix = substr(line, 1, index(line, defundef) - 1)
80088 if (D_is_set[macro]) {
80089 # Preserve the white space surrounding the "#".
80090 print prefix "define", macro P[macro] D[macro]
80091 next
80092 } else {
80093 # Replace #undef with comments. This is necessary, for example,
80094 # in the case of _POSIX_SOURCE, which is predefined and required
80095 # on some systems where configure will not decide to define it.
80096 if (defundef == "undef") {
80097 print "/*", prefix defundef, macro, "*/"
80098 next
80102 { print }
80103 _ACAWK
80104 _ACEOF
80105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80106 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
80107 fi # test -n "$CONFIG_HEADERS"
80110 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
80111 shift
80112 for ac_tag
80114 case $ac_tag in
80115 :[FHLC]) ac_mode=$ac_tag; continue;;
80116 esac
80117 case $ac_mode$ac_tag in
80118 :[FHL]*:*);;
80119 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
80120 :[FH]-) ac_tag=-:-;;
80121 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
80122 esac
80123 ac_save_IFS=$IFS
80124 IFS=:
80125 set x $ac_tag
80126 IFS=$ac_save_IFS
80127 shift
80128 ac_file=$1
80129 shift
80131 case $ac_mode in
80132 :L) ac_source=$1;;
80133 :[FH])
80134 ac_file_inputs=
80135 for ac_f
80137 case $ac_f in
80138 -) ac_f="$ac_tmp/stdin";;
80139 *) # Look for the file first in the build tree, then in the source tree
80140 # (if the path is not absolute). The absolute path cannot be DOS-style,
80141 # because $ac_f cannot contain `:'.
80142 test -f "$ac_f" ||
80143 case $ac_f in
80144 [\\/$]*) false;;
80145 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
80146 esac ||
80147 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
80148 esac
80149 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
80150 as_fn_append ac_file_inputs " '$ac_f'"
80151 done
80153 # Let's still pretend it is `configure' which instantiates (i.e., don't
80154 # use $as_me), people would be surprised to read:
80155 # /* config.h. Generated by config.status. */
80156 configure_input='Generated from '`
80157 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
80158 `' by configure.'
80159 if test x"$ac_file" != x-; then
80160 configure_input="$ac_file. $configure_input"
80161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
80162 $as_echo "$as_me: creating $ac_file" >&6;}
80164 # Neutralize special characters interpreted by sed in replacement strings.
80165 case $configure_input in #(
80166 *\&* | *\|* | *\\* )
80167 ac_sed_conf_input=`$as_echo "$configure_input" |
80168 sed 's/[\\\\&|]/\\\\&/g'`;; #(
80169 *) ac_sed_conf_input=$configure_input;;
80170 esac
80172 case $ac_tag in
80173 *:-:* | *:-) cat >"$ac_tmp/stdin" \
80174 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
80175 esac
80177 esac
80179 ac_dir=`$as_dirname -- "$ac_file" ||
80180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80181 X"$ac_file" : 'X\(//\)[^/]' \| \
80182 X"$ac_file" : 'X\(//\)$' \| \
80183 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
80184 $as_echo X"$ac_file" |
80185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80186 s//\1/
80189 /^X\(\/\/\)[^/].*/{
80190 s//\1/
80193 /^X\(\/\/\)$/{
80194 s//\1/
80197 /^X\(\/\).*/{
80198 s//\1/
80201 s/.*/./; q'`
80202 as_dir="$ac_dir"; as_fn_mkdir_p
80203 ac_builddir=.
80205 case "$ac_dir" in
80206 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
80208 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
80209 # A ".." for each directory in $ac_dir_suffix.
80210 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
80211 case $ac_top_builddir_sub in
80212 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
80213 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
80214 esac ;;
80215 esac
80216 ac_abs_top_builddir=$ac_pwd
80217 ac_abs_builddir=$ac_pwd$ac_dir_suffix
80218 # for backward compatibility:
80219 ac_top_builddir=$ac_top_build_prefix
80221 case $srcdir in
80222 .) # We are building in place.
80223 ac_srcdir=.
80224 ac_top_srcdir=$ac_top_builddir_sub
80225 ac_abs_top_srcdir=$ac_pwd ;;
80226 [\\/]* | ?:[\\/]* ) # Absolute name.
80227 ac_srcdir=$srcdir$ac_dir_suffix;
80228 ac_top_srcdir=$srcdir
80229 ac_abs_top_srcdir=$srcdir ;;
80230 *) # Relative name.
80231 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
80232 ac_top_srcdir=$ac_top_build_prefix$srcdir
80233 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
80234 esac
80235 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
80238 case $ac_mode in
80241 # CONFIG_FILE
80244 case $INSTALL in
80245 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
80246 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
80247 esac
80248 ac_MKDIR_P=$MKDIR_P
80249 case $MKDIR_P in
80250 [\\/$]* | ?:[\\/]* ) ;;
80251 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
80252 esac
80253 _ACEOF
80255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80256 # If the template does not know about datarootdir, expand it.
80257 # FIXME: This hack should be removed a few years after 2.60.
80258 ac_datarootdir_hack=; ac_datarootdir_seen=
80259 ac_sed_dataroot='
80260 /datarootdir/ {
80264 /@datadir@/p
80265 /@docdir@/p
80266 /@infodir@/p
80267 /@localedir@/p
80268 /@mandir@/p'
80269 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
80270 *datarootdir*) ac_datarootdir_seen=yes;;
80271 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
80272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
80273 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
80274 _ACEOF
80275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80276 ac_datarootdir_hack='
80277 s&@datadir@&$datadir&g
80278 s&@docdir@&$docdir&g
80279 s&@infodir@&$infodir&g
80280 s&@localedir@&$localedir&g
80281 s&@mandir@&$mandir&g
80282 s&\\\${datarootdir}&$datarootdir&g' ;;
80283 esac
80284 _ACEOF
80286 # Neutralize VPATH when `$srcdir' = `.'.
80287 # Shell code in configure.ac might set extrasub.
80288 # FIXME: do we really want to maintain this feature?
80289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80290 ac_sed_extra="$ac_vpsub
80291 $extrasub
80292 _ACEOF
80293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80295 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
80296 s|@configure_input@|$ac_sed_conf_input|;t t
80297 s&@top_builddir@&$ac_top_builddir_sub&;t t
80298 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80299 s&@srcdir@&$ac_srcdir&;t t
80300 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80301 s&@top_srcdir@&$ac_top_srcdir&;t t
80302 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80303 s&@builddir@&$ac_builddir&;t t
80304 s&@abs_builddir@&$ac_abs_builddir&;t t
80305 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80306 s&@INSTALL@&$ac_INSTALL&;t t
80307 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80308 $ac_datarootdir_hack
80310 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80311 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80313 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80314 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80315 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80316 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80318 which seems to be undefined. Please make sure it is defined" >&5
80319 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80320 which seems to be undefined. Please make sure it is defined" >&2;}
80322 rm -f "$ac_tmp/stdin"
80323 case $ac_file in
80324 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80325 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80326 esac \
80327 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80331 # CONFIG_HEADER
80333 if test x"$ac_file" != x-; then
80335 $as_echo "/* $configure_input */" \
80336 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80337 } >"$ac_tmp/config.h" \
80338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80339 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80340 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80341 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80342 else
80343 rm -f "$ac_file"
80344 mv "$ac_tmp/config.h" "$ac_file" \
80345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80347 else
80348 $as_echo "/* $configure_input */" \
80349 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80350 || as_fn_error $? "could not create -" "$LINENO" 5
80352 # Compute "$ac_file"'s index in $config_headers.
80353 _am_arg="$ac_file"
80354 _am_stamp_count=1
80355 for _am_header in $config_headers :; do
80356 case $_am_header in
80357 $_am_arg | $_am_arg:* )
80358 break ;;
80360 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80361 esac
80362 done
80363 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80364 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80365 X"$_am_arg" : 'X\(//\)[^/]' \| \
80366 X"$_am_arg" : 'X\(//\)$' \| \
80367 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80368 $as_echo X"$_am_arg" |
80369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80370 s//\1/
80373 /^X\(\/\/\)[^/].*/{
80374 s//\1/
80377 /^X\(\/\/\)$/{
80378 s//\1/
80381 /^X\(\/\).*/{
80382 s//\1/
80385 s/.*/./; q'`/stamp-h$_am_stamp_count
80388 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80389 $as_echo "$as_me: executing $ac_file commands" >&6;}
80391 esac
80394 case $ac_file$ac_mode in
80395 "default-1":C)
80396 # Only add multilib support code if we just rebuilt the top-level
80397 # Makefile.
80398 case " $CONFIG_FILES " in
80399 *" Makefile "*)
80400 ac_file=Makefile . ${multi_basedir}/config-ml.in
80402 esac ;;
80403 "libtool":C)
80405 # See if we are running on zsh, and set the options which allow our
80406 # commands through without removal of \ escapes.
80407 if test -n "${ZSH_VERSION+set}" ; then
80408 setopt NO_GLOB_SUBST
80411 cfgfile="${ofile}T"
80412 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80413 $RM "$cfgfile"
80415 cat <<_LT_EOF >> "$cfgfile"
80416 #! $SHELL
80418 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80419 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80420 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80421 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80423 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80424 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80425 # Written by Gordon Matzigkeit, 1996
80427 # This file is part of GNU Libtool.
80429 # GNU Libtool is free software; you can redistribute it and/or
80430 # modify it under the terms of the GNU General Public License as
80431 # published by the Free Software Foundation; either version 2 of
80432 # the License, or (at your option) any later version.
80434 # As a special exception to the GNU General Public License,
80435 # if you distribute this file as part of a program or library that
80436 # is built using GNU Libtool, you may include this file under the
80437 # same distribution terms that you use for the rest of that program.
80439 # GNU Libtool is distributed in the hope that it will be useful,
80440 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80441 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80442 # GNU General Public License for more details.
80444 # You should have received a copy of the GNU General Public License
80445 # along with GNU Libtool; see the file COPYING. If not, a copy
80446 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80447 # obtained by writing to the Free Software Foundation, Inc.,
80448 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80451 # The names of the tagged configurations supported by this script.
80452 available_tags="CXX "
80454 # ### BEGIN LIBTOOL CONFIG
80456 # Which release of libtool.m4 was used?
80457 macro_version=$macro_version
80458 macro_revision=$macro_revision
80460 # Whether or not to build shared libraries.
80461 build_libtool_libs=$enable_shared
80463 # Whether or not to build static libraries.
80464 build_old_libs=$enable_static
80466 # What type of objects to build.
80467 pic_mode=$pic_mode
80469 # Whether or not to optimize for fast installation.
80470 fast_install=$enable_fast_install
80472 # Shell to use when invoking shell scripts.
80473 SHELL=$lt_SHELL
80475 # An echo program that protects backslashes.
80476 ECHO=$lt_ECHO
80478 # The host system.
80479 host_alias=$host_alias
80480 host=$host
80481 host_os=$host_os
80483 # The build system.
80484 build_alias=$build_alias
80485 build=$build
80486 build_os=$build_os
80488 # A sed program that does not truncate output.
80489 SED=$lt_SED
80491 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80492 Xsed="\$SED -e 1s/^X//"
80494 # A grep program that handles long lines.
80495 GREP=$lt_GREP
80497 # An ERE matcher.
80498 EGREP=$lt_EGREP
80500 # A literal string matcher.
80501 FGREP=$lt_FGREP
80503 # A BSD- or MS-compatible name lister.
80504 NM=$lt_NM
80506 # Whether we need soft or hard links.
80507 LN_S=$lt_LN_S
80509 # What is the maximum length of a command?
80510 max_cmd_len=$max_cmd_len
80512 # Object file suffix (normally "o").
80513 objext=$ac_objext
80515 # Executable file suffix (normally "").
80516 exeext=$exeext
80518 # whether the shell understands "unset".
80519 lt_unset=$lt_unset
80521 # turn spaces into newlines.
80522 SP2NL=$lt_lt_SP2NL
80524 # turn newlines into spaces.
80525 NL2SP=$lt_lt_NL2SP
80527 # An object symbol dumper.
80528 OBJDUMP=$lt_OBJDUMP
80530 # Method to check whether dependent libraries are shared objects.
80531 deplibs_check_method=$lt_deplibs_check_method
80533 # Command to use when deplibs_check_method == "file_magic".
80534 file_magic_cmd=$lt_file_magic_cmd
80536 # The archiver.
80537 AR=$lt_AR
80538 AR_FLAGS=$lt_AR_FLAGS
80540 # A symbol stripping program.
80541 STRIP=$lt_STRIP
80543 # Commands used to install an old-style archive.
80544 RANLIB=$lt_RANLIB
80545 old_postinstall_cmds=$lt_old_postinstall_cmds
80546 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80548 # Whether to use a lock for old archive extraction.
80549 lock_old_archive_extraction=$lock_old_archive_extraction
80551 # A C compiler.
80552 LTCC=$lt_CC
80554 # LTCC compiler flags.
80555 LTCFLAGS=$lt_CFLAGS
80557 # Take the output of nm and produce a listing of raw symbols and C names.
80558 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80560 # Transform the output of nm in a proper C declaration.
80561 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80563 # Transform the output of nm in a C name address pair.
80564 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80566 # Transform the output of nm in a C name address pair when lib prefix is needed.
80567 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80569 # The name of the directory that contains temporary libtool files.
80570 objdir=$objdir
80572 # Used to examine libraries when file_magic_cmd begins with "file".
80573 MAGIC_CMD=$MAGIC_CMD
80575 # Must we lock files when doing compilation?
80576 need_locks=$lt_need_locks
80578 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80579 DSYMUTIL=$lt_DSYMUTIL
80581 # Tool to change global to local symbols on Mac OS X.
80582 NMEDIT=$lt_NMEDIT
80584 # Tool to manipulate fat objects and archives on Mac OS X.
80585 LIPO=$lt_LIPO
80587 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80588 OTOOL=$lt_OTOOL
80590 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80591 OTOOL64=$lt_OTOOL64
80593 # Old archive suffix (normally "a").
80594 libext=$libext
80596 # Shared library suffix (normally ".so").
80597 shrext_cmds=$lt_shrext_cmds
80599 # The commands to extract the exported symbol list from a shared archive.
80600 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80602 # Variables whose values should be saved in libtool wrapper scripts and
80603 # restored at link time.
80604 variables_saved_for_relink=$lt_variables_saved_for_relink
80606 # Do we need the "lib" prefix for modules?
80607 need_lib_prefix=$need_lib_prefix
80609 # Do we need a version for libraries?
80610 need_version=$need_version
80612 # Library versioning type.
80613 version_type=$version_type
80615 # Shared library runtime path variable.
80616 runpath_var=$runpath_var
80618 # Shared library path variable.
80619 shlibpath_var=$shlibpath_var
80621 # Is shlibpath searched before the hard-coded library search path?
80622 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80624 # Format of library name prefix.
80625 libname_spec=$lt_libname_spec
80627 # List of archive names. First name is the real one, the rest are links.
80628 # The last name is the one that the linker finds with -lNAME
80629 library_names_spec=$lt_library_names_spec
80631 # The coded name of the library, if different from the real name.
80632 soname_spec=$lt_soname_spec
80634 # Permission mode override for installation of shared libraries.
80635 install_override_mode=$lt_install_override_mode
80637 # Command to use after installation of a shared archive.
80638 postinstall_cmds=$lt_postinstall_cmds
80640 # Command to use after uninstallation of a shared archive.
80641 postuninstall_cmds=$lt_postuninstall_cmds
80643 # Commands used to finish a libtool library installation in a directory.
80644 finish_cmds=$lt_finish_cmds
80646 # As "finish_cmds", except a single script fragment to be evaled but
80647 # not shown.
80648 finish_eval=$lt_finish_eval
80650 # Whether we should hardcode library paths into libraries.
80651 hardcode_into_libs=$hardcode_into_libs
80653 # Compile-time system search path for libraries.
80654 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80656 # Run-time system search path for libraries.
80657 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80659 # Whether dlopen is supported.
80660 dlopen_support=$enable_dlopen
80662 # Whether dlopen of programs is supported.
80663 dlopen_self=$enable_dlopen_self
80665 # Whether dlopen of statically linked programs is supported.
80666 dlopen_self_static=$enable_dlopen_self_static
80668 # Commands to strip libraries.
80669 old_striplib=$lt_old_striplib
80670 striplib=$lt_striplib
80673 # The linker used to build libraries.
80674 LD=$lt_LD
80676 # How to create reloadable object files.
80677 reload_flag=$lt_reload_flag
80678 reload_cmds=$lt_reload_cmds
80680 # Commands used to build an old-style archive.
80681 old_archive_cmds=$lt_old_archive_cmds
80683 # A language specific compiler.
80684 CC=$lt_compiler
80686 # Is the compiler the GNU compiler?
80687 with_gcc=$GCC
80689 # Compiler flag to turn off builtin functions.
80690 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80692 # How to pass a linker flag through the compiler.
80693 wl=$lt_lt_prog_compiler_wl
80695 # Additional compiler flags for building library objects.
80696 pic_flag=$lt_lt_prog_compiler_pic
80698 # Compiler flag to prevent dynamic linking.
80699 link_static_flag=$lt_lt_prog_compiler_static
80701 # Does compiler simultaneously support -c and -o options?
80702 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80704 # Whether or not to add -lc for building shared libraries.
80705 build_libtool_need_lc=$archive_cmds_need_lc
80707 # Whether or not to disallow shared libs when runtime libs are static.
80708 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80710 # Compiler flag to allow reflexive dlopens.
80711 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80713 # Compiler flag to generate shared objects directly from archives.
80714 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80716 # Whether the compiler copes with passing no objects directly.
80717 compiler_needs_object=$lt_compiler_needs_object
80719 # Create an old-style archive from a shared archive.
80720 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80722 # Create a temporary old-style archive to link instead of a shared archive.
80723 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80725 # Commands used to build a shared archive.
80726 archive_cmds=$lt_archive_cmds
80727 archive_expsym_cmds=$lt_archive_expsym_cmds
80729 # Commands used to build a loadable module if different from building
80730 # a shared archive.
80731 module_cmds=$lt_module_cmds
80732 module_expsym_cmds=$lt_module_expsym_cmds
80734 # Whether we are building with GNU ld or not.
80735 with_gnu_ld=$lt_with_gnu_ld
80737 # Flag that allows shared libraries with undefined symbols to be built.
80738 allow_undefined_flag=$lt_allow_undefined_flag
80740 # Flag that enforces no undefined symbols.
80741 no_undefined_flag=$lt_no_undefined_flag
80743 # Flag to hardcode \$libdir into a binary during linking.
80744 # This must work even if \$libdir does not exist
80745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80747 # If ld is used when linking, flag to hardcode \$libdir into a binary
80748 # during linking. This must work even if \$libdir does not exist.
80749 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80751 # Whether we need a single "-rpath" flag with a separated argument.
80752 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80754 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80755 # DIR into the resulting binary.
80756 hardcode_direct=$hardcode_direct
80758 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80759 # DIR into the resulting binary and the resulting library dependency is
80760 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80761 # library is relocated.
80762 hardcode_direct_absolute=$hardcode_direct_absolute
80764 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80765 # into the resulting binary.
80766 hardcode_minus_L=$hardcode_minus_L
80768 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80769 # into the resulting binary.
80770 hardcode_shlibpath_var=$hardcode_shlibpath_var
80772 # Set to "yes" if building a shared library automatically hardcodes DIR
80773 # into the library and all subsequent libraries and executables linked
80774 # against it.
80775 hardcode_automatic=$hardcode_automatic
80777 # Set to yes if linker adds runtime paths of dependent libraries
80778 # to runtime path list.
80779 inherit_rpath=$inherit_rpath
80781 # Whether libtool must link a program against all its dependency libraries.
80782 link_all_deplibs=$link_all_deplibs
80784 # Fix the shell variable \$srcfile for the compiler.
80785 fix_srcfile_path=$lt_fix_srcfile_path
80787 # Set to "yes" if exported symbols are required.
80788 always_export_symbols=$always_export_symbols
80790 # The commands to list exported symbols.
80791 export_symbols_cmds=$lt_export_symbols_cmds
80793 # Symbols that should not be listed in the preloaded symbols.
80794 exclude_expsyms=$lt_exclude_expsyms
80796 # Symbols that must always be exported.
80797 include_expsyms=$lt_include_expsyms
80799 # Commands necessary for linking programs (against libraries) with templates.
80800 prelink_cmds=$lt_prelink_cmds
80802 # Specify filename containing input files.
80803 file_list_spec=$lt_file_list_spec
80805 # How to hardcode a shared library path into an executable.
80806 hardcode_action=$hardcode_action
80808 # The directories searched by this compiler when creating a shared library.
80809 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80811 # Dependencies to place before and after the objects being linked to
80812 # create a shared library.
80813 predep_objects=$lt_predep_objects
80814 postdep_objects=$lt_postdep_objects
80815 predeps=$lt_predeps
80816 postdeps=$lt_postdeps
80818 # The library search path used internally by the compiler when linking
80819 # a shared library.
80820 compiler_lib_search_path=$lt_compiler_lib_search_path
80822 # ### END LIBTOOL CONFIG
80824 _LT_EOF
80826 case $host_os in
80827 aix3*)
80828 cat <<\_LT_EOF >> "$cfgfile"
80829 # AIX sometimes has problems with the GCC collect2 program. For some
80830 # reason, if we set the COLLECT_NAMES environment variable, the problems
80831 # vanish in a puff of smoke.
80832 if test "X${COLLECT_NAMES+set}" != Xset; then
80833 COLLECT_NAMES=
80834 export COLLECT_NAMES
80836 _LT_EOF
80838 esac
80841 ltmain="$ac_aux_dir/ltmain.sh"
80844 # We use sed instead of cat because bash on DJGPP gets confused if
80845 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80846 # text mode, it properly converts lines to CR/LF. This bash problem
80847 # is reportedly fixed, but why not run on old versions too?
80848 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80849 || (rm -f "$cfgfile"; exit 1)
80851 case $xsi_shell in
80852 yes)
80853 cat << \_LT_EOF >> "$cfgfile"
80855 # func_dirname file append nondir_replacement
80856 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80857 # otherwise set result to NONDIR_REPLACEMENT.
80858 func_dirname ()
80860 case ${1} in
80861 */*) func_dirname_result="${1%/*}${2}" ;;
80862 * ) func_dirname_result="${3}" ;;
80863 esac
80866 # func_basename file
80867 func_basename ()
80869 func_basename_result="${1##*/}"
80872 # func_dirname_and_basename file append nondir_replacement
80873 # perform func_basename and func_dirname in a single function
80874 # call:
80875 # dirname: Compute the dirname of FILE. If nonempty,
80876 # add APPEND to the result, otherwise set result
80877 # to NONDIR_REPLACEMENT.
80878 # value returned in "$func_dirname_result"
80879 # basename: Compute filename of FILE.
80880 # value retuned in "$func_basename_result"
80881 # Implementation must be kept synchronized with func_dirname
80882 # and func_basename. For efficiency, we do not delegate to
80883 # those functions but instead duplicate the functionality here.
80884 func_dirname_and_basename ()
80886 case ${1} in
80887 */*) func_dirname_result="${1%/*}${2}" ;;
80888 * ) func_dirname_result="${3}" ;;
80889 esac
80890 func_basename_result="${1##*/}"
80893 # func_stripname prefix suffix name
80894 # strip PREFIX and SUFFIX off of NAME.
80895 # PREFIX and SUFFIX must not contain globbing or regex special
80896 # characters, hashes, percent signs, but SUFFIX may contain a leading
80897 # dot (in which case that matches only a dot).
80898 func_stripname ()
80900 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80901 # positional parameters, so assign one to ordinary parameter first.
80902 func_stripname_result=${3}
80903 func_stripname_result=${func_stripname_result#"${1}"}
80904 func_stripname_result=${func_stripname_result%"${2}"}
80907 # func_opt_split
80908 func_opt_split ()
80910 func_opt_split_opt=${1%%=*}
80911 func_opt_split_arg=${1#*=}
80914 # func_lo2o object
80915 func_lo2o ()
80917 case ${1} in
80918 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80919 *) func_lo2o_result=${1} ;;
80920 esac
80923 # func_xform libobj-or-source
80924 func_xform ()
80926 func_xform_result=${1%.*}.lo
80929 # func_arith arithmetic-term...
80930 func_arith ()
80932 func_arith_result=$(( $* ))
80935 # func_len string
80936 # STRING may not start with a hyphen.
80937 func_len ()
80939 func_len_result=${#1}
80942 _LT_EOF
80944 *) # Bourne compatible functions.
80945 cat << \_LT_EOF >> "$cfgfile"
80947 # func_dirname file append nondir_replacement
80948 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80949 # otherwise set result to NONDIR_REPLACEMENT.
80950 func_dirname ()
80952 # Extract subdirectory from the argument.
80953 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80954 if test "X$func_dirname_result" = "X${1}"; then
80955 func_dirname_result="${3}"
80956 else
80957 func_dirname_result="$func_dirname_result${2}"
80961 # func_basename file
80962 func_basename ()
80964 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80968 # func_stripname prefix suffix name
80969 # strip PREFIX and SUFFIX off of NAME.
80970 # PREFIX and SUFFIX must not contain globbing or regex special
80971 # characters, hashes, percent signs, but SUFFIX may contain a leading
80972 # dot (in which case that matches only a dot).
80973 # func_strip_suffix prefix name
80974 func_stripname ()
80976 case ${2} in
80977 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80978 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80979 esac
80982 # sed scripts:
80983 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80984 my_sed_long_arg='1s/^-[^=]*=//'
80986 # func_opt_split
80987 func_opt_split ()
80989 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80990 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80993 # func_lo2o object
80994 func_lo2o ()
80996 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80999 # func_xform libobj-or-source
81000 func_xform ()
81002 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81005 # func_arith arithmetic-term...
81006 func_arith ()
81008 func_arith_result=`expr "$@"`
81011 # func_len string
81012 # STRING may not start with a hyphen.
81013 func_len ()
81015 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81018 _LT_EOF
81019 esac
81021 case $lt_shell_append in
81022 yes)
81023 cat << \_LT_EOF >> "$cfgfile"
81025 # func_append var value
81026 # Append VALUE to the end of shell variable VAR.
81027 func_append ()
81029 eval "$1+=\$2"
81031 _LT_EOF
81034 cat << \_LT_EOF >> "$cfgfile"
81036 # func_append var value
81037 # Append VALUE to the end of shell variable VAR.
81038 func_append ()
81040 eval "$1=\$$1\$2"
81043 _LT_EOF
81045 esac
81048 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81049 || (rm -f "$cfgfile"; exit 1)
81051 mv -f "$cfgfile" "$ofile" ||
81052 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
81053 chmod +x "$ofile"
81056 cat <<_LT_EOF >> "$ofile"
81058 # ### BEGIN LIBTOOL TAG CONFIG: CXX
81060 # The linker used to build libraries.
81061 LD=$lt_LD_CXX
81063 # How to create reloadable object files.
81064 reload_flag=$lt_reload_flag_CXX
81065 reload_cmds=$lt_reload_cmds_CXX
81067 # Commands used to build an old-style archive.
81068 old_archive_cmds=$lt_old_archive_cmds_CXX
81070 # A language specific compiler.
81071 CC=$lt_compiler_CXX
81073 # Is the compiler the GNU compiler?
81074 with_gcc=$GCC_CXX
81076 # Compiler flag to turn off builtin functions.
81077 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
81079 # How to pass a linker flag through the compiler.
81080 wl=$lt_lt_prog_compiler_wl_CXX
81082 # Additional compiler flags for building library objects.
81083 pic_flag=$lt_lt_prog_compiler_pic_CXX
81085 # Compiler flag to prevent dynamic linking.
81086 link_static_flag=$lt_lt_prog_compiler_static_CXX
81088 # Does compiler simultaneously support -c and -o options?
81089 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
81091 # Whether or not to add -lc for building shared libraries.
81092 build_libtool_need_lc=$archive_cmds_need_lc_CXX
81094 # Whether or not to disallow shared libs when runtime libs are static.
81095 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
81097 # Compiler flag to allow reflexive dlopens.
81098 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
81100 # Compiler flag to generate shared objects directly from archives.
81101 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
81103 # Whether the compiler copes with passing no objects directly.
81104 compiler_needs_object=$lt_compiler_needs_object_CXX
81106 # Create an old-style archive from a shared archive.
81107 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
81109 # Create a temporary old-style archive to link instead of a shared archive.
81110 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
81112 # Commands used to build a shared archive.
81113 archive_cmds=$lt_archive_cmds_CXX
81114 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
81116 # Commands used to build a loadable module if different from building
81117 # a shared archive.
81118 module_cmds=$lt_module_cmds_CXX
81119 module_expsym_cmds=$lt_module_expsym_cmds_CXX
81121 # Whether we are building with GNU ld or not.
81122 with_gnu_ld=$lt_with_gnu_ld_CXX
81124 # Flag that allows shared libraries with undefined symbols to be built.
81125 allow_undefined_flag=$lt_allow_undefined_flag_CXX
81127 # Flag that enforces no undefined symbols.
81128 no_undefined_flag=$lt_no_undefined_flag_CXX
81130 # Flag to hardcode \$libdir into a binary during linking.
81131 # This must work even if \$libdir does not exist
81132 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
81134 # If ld is used when linking, flag to hardcode \$libdir into a binary
81135 # during linking. This must work even if \$libdir does not exist.
81136 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
81138 # Whether we need a single "-rpath" flag with a separated argument.
81139 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
81141 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81142 # DIR into the resulting binary.
81143 hardcode_direct=$hardcode_direct_CXX
81145 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81146 # DIR into the resulting binary and the resulting library dependency is
81147 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81148 # library is relocated.
81149 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
81151 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81152 # into the resulting binary.
81153 hardcode_minus_L=$hardcode_minus_L_CXX
81155 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81156 # into the resulting binary.
81157 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
81159 # Set to "yes" if building a shared library automatically hardcodes DIR
81160 # into the library and all subsequent libraries and executables linked
81161 # against it.
81162 hardcode_automatic=$hardcode_automatic_CXX
81164 # Set to yes if linker adds runtime paths of dependent libraries
81165 # to runtime path list.
81166 inherit_rpath=$inherit_rpath_CXX
81168 # Whether libtool must link a program against all its dependency libraries.
81169 link_all_deplibs=$link_all_deplibs_CXX
81171 # Fix the shell variable \$srcfile for the compiler.
81172 fix_srcfile_path=$lt_fix_srcfile_path_CXX
81174 # Set to "yes" if exported symbols are required.
81175 always_export_symbols=$always_export_symbols_CXX
81177 # The commands to list exported symbols.
81178 export_symbols_cmds=$lt_export_symbols_cmds_CXX
81180 # Symbols that should not be listed in the preloaded symbols.
81181 exclude_expsyms=$lt_exclude_expsyms_CXX
81183 # Symbols that must always be exported.
81184 include_expsyms=$lt_include_expsyms_CXX
81186 # Commands necessary for linking programs (against libraries) with templates.
81187 prelink_cmds=$lt_prelink_cmds_CXX
81189 # Specify filename containing input files.
81190 file_list_spec=$lt_file_list_spec_CXX
81192 # How to hardcode a shared library path into an executable.
81193 hardcode_action=$hardcode_action_CXX
81195 # The directories searched by this compiler when creating a shared library.
81196 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
81198 # Dependencies to place before and after the objects being linked to
81199 # create a shared library.
81200 predep_objects=$lt_predep_objects_CXX
81201 postdep_objects=$lt_postdep_objects_CXX
81202 predeps=$lt_predeps_CXX
81203 postdeps=$lt_postdeps_CXX
81205 # The library search path used internally by the compiler when linking
81206 # a shared library.
81207 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
81209 # ### END LIBTOOL TAG CONFIG: CXX
81210 _LT_EOF
81213 "include/gstdint.h":C)
81214 if test "$GCC" = yes; then
81215 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
81216 else
81217 echo "/* generated for $CC */" > tmp-stdint.h
81220 sed 's/^ *//' >> tmp-stdint.h <<EOF
81222 #ifndef GCC_GENERATED_STDINT_H
81223 #define GCC_GENERATED_STDINT_H 1
81225 #include <sys/types.h>
81228 if test "$acx_cv_header_stdint" != stdint.h; then
81229 echo "#include <stddef.h>" >> tmp-stdint.h
81231 if test "$acx_cv_header_stdint" != stddef.h; then
81232 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
81235 sed 's/^ *//' >> tmp-stdint.h <<EOF
81236 /* glibc uses these symbols as guards to prevent redefinitions. */
81237 #ifdef __int8_t_defined
81238 #define _INT8_T
81239 #define _INT16_T
81240 #define _INT32_T
81241 #endif
81242 #ifdef __uint32_t_defined
81243 #define _UINT32_T
81244 #endif
81248 # ----------------- done header, emit basic int types -------------
81249 if test "$acx_cv_header_stdint" = stddef.h; then
81250 sed 's/^ *//' >> tmp-stdint.h <<EOF
81252 #ifndef _UINT8_T
81253 #define _UINT8_T
81254 #ifndef __uint8_t_defined
81255 #define __uint8_t_defined
81256 #ifndef uint8_t
81257 typedef unsigned $acx_cv_type_int8_t uint8_t;
81258 #endif
81259 #endif
81260 #endif
81262 #ifndef _UINT16_T
81263 #define _UINT16_T
81264 #ifndef __uint16_t_defined
81265 #define __uint16_t_defined
81266 #ifndef uint16_t
81267 typedef unsigned $acx_cv_type_int16_t uint16_t;
81268 #endif
81269 #endif
81270 #endif
81272 #ifndef _UINT32_T
81273 #define _UINT32_T
81274 #ifndef __uint32_t_defined
81275 #define __uint32_t_defined
81276 #ifndef uint32_t
81277 typedef unsigned $acx_cv_type_int32_t uint32_t;
81278 #endif
81279 #endif
81280 #endif
81282 #ifndef _INT8_T
81283 #define _INT8_T
81284 #ifndef __int8_t_defined
81285 #define __int8_t_defined
81286 #ifndef int8_t
81287 typedef $acx_cv_type_int8_t int8_t;
81288 #endif
81289 #endif
81290 #endif
81292 #ifndef _INT16_T
81293 #define _INT16_T
81294 #ifndef __int16_t_defined
81295 #define __int16_t_defined
81296 #ifndef int16_t
81297 typedef $acx_cv_type_int16_t int16_t;
81298 #endif
81299 #endif
81300 #endif
81302 #ifndef _INT32_T
81303 #define _INT32_T
81304 #ifndef __int32_t_defined
81305 #define __int32_t_defined
81306 #ifndef int32_t
81307 typedef $acx_cv_type_int32_t int32_t;
81308 #endif
81309 #endif
81310 #endif
81312 elif test "$ac_cv_type_u_int32_t" = yes; then
81313 sed 's/^ *//' >> tmp-stdint.h <<EOF
81315 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81316 #ifndef _INT8_T
81317 #define _INT8_T
81318 #endif
81319 #ifndef _INT16_T
81320 #define _INT16_T
81321 #endif
81322 #ifndef _INT32_T
81323 #define _INT32_T
81324 #endif
81326 #ifndef _UINT8_T
81327 #define _UINT8_T
81328 #ifndef __uint8_t_defined
81329 #define __uint8_t_defined
81330 #ifndef uint8_t
81331 typedef u_int8_t uint8_t;
81332 #endif
81333 #endif
81334 #endif
81336 #ifndef _UINT16_T
81337 #define _UINT16_T
81338 #ifndef __uint16_t_defined
81339 #define __uint16_t_defined
81340 #ifndef uint16_t
81341 typedef u_int16_t uint16_t;
81342 #endif
81343 #endif
81344 #endif
81346 #ifndef _UINT32_T
81347 #define _UINT32_T
81348 #ifndef __uint32_t_defined
81349 #define __uint32_t_defined
81350 #ifndef uint32_t
81351 typedef u_int32_t uint32_t;
81352 #endif
81353 #endif
81354 #endif
81356 else
81357 sed 's/^ *//' >> tmp-stdint.h <<EOF
81359 /* Some systems have guard macros to prevent redefinitions, define them. */
81360 #ifndef _INT8_T
81361 #define _INT8_T
81362 #endif
81363 #ifndef _INT16_T
81364 #define _INT16_T
81365 #endif
81366 #ifndef _INT32_T
81367 #define _INT32_T
81368 #endif
81369 #ifndef _UINT8_T
81370 #define _UINT8_T
81371 #endif
81372 #ifndef _UINT16_T
81373 #define _UINT16_T
81374 #endif
81375 #ifndef _UINT32_T
81376 #define _UINT32_T
81377 #endif
81381 # ------------- done basic int types, emit int64_t types ------------
81382 if test "$ac_cv_type_uint64_t" = yes; then
81383 sed 's/^ *//' >> tmp-stdint.h <<EOF
81385 /* system headers have good uint64_t and int64_t */
81386 #ifndef _INT64_T
81387 #define _INT64_T
81388 #endif
81389 #ifndef _UINT64_T
81390 #define _UINT64_T
81391 #endif
81393 elif test "$ac_cv_type_u_int64_t" = yes; then
81394 sed 's/^ *//' >> tmp-stdint.h <<EOF
81396 /* system headers have an u_int64_t (and int64_t) */
81397 #ifndef _INT64_T
81398 #define _INT64_T
81399 #endif
81400 #ifndef _UINT64_T
81401 #define _UINT64_T
81402 #ifndef __uint64_t_defined
81403 #define __uint64_t_defined
81404 #ifndef uint64_t
81405 typedef u_int64_t uint64_t;
81406 #endif
81407 #endif
81408 #endif
81410 elif test -n "$acx_cv_type_int64_t"; then
81411 sed 's/^ *//' >> tmp-stdint.h <<EOF
81413 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81414 #ifndef _INT64_T
81415 #define _INT64_T
81416 #ifndef int64_t
81417 typedef $acx_cv_type_int64_t int64_t;
81418 #endif
81419 #endif
81420 #ifndef _UINT64_T
81421 #define _UINT64_T
81422 #ifndef __uint64_t_defined
81423 #define __uint64_t_defined
81424 #ifndef uint64_t
81425 typedef unsigned $acx_cv_type_int64_t uint64_t;
81426 #endif
81427 #endif
81428 #endif
81430 else
81431 sed 's/^ *//' >> tmp-stdint.h <<EOF
81433 /* some common heuristics for int64_t, using compiler-specific tests */
81434 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81435 #ifndef _INT64_T
81436 #define _INT64_T
81437 #ifndef __int64_t_defined
81438 #ifndef int64_t
81439 typedef long long int64_t;
81440 #endif
81441 #endif
81442 #endif
81443 #ifndef _UINT64_T
81444 #define _UINT64_T
81445 #ifndef uint64_t
81446 typedef unsigned long long uint64_t;
81447 #endif
81448 #endif
81450 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81451 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81452 does not implement __extension__. But that compiler doesn't define
81453 __GNUC_MINOR__. */
81454 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81455 # define __extension__
81456 # endif
81458 # ifndef _INT64_T
81459 # define _INT64_T
81460 # ifndef int64_t
81461 __extension__ typedef long long int64_t;
81462 # endif
81463 # endif
81464 # ifndef _UINT64_T
81465 # define _UINT64_T
81466 # ifndef uint64_t
81467 __extension__ typedef unsigned long long uint64_t;
81468 # endif
81469 # endif
81471 #elif !defined __STRICT_ANSI__
81472 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81474 # ifndef _INT64_T
81475 # define _INT64_T
81476 # ifndef int64_t
81477 typedef __int64 int64_t;
81478 # endif
81479 # endif
81480 # ifndef _UINT64_T
81481 # define _UINT64_T
81482 # ifndef uint64_t
81483 typedef unsigned __int64 uint64_t;
81484 # endif
81485 # endif
81486 # endif /* compiler */
81488 #endif /* ANSI version */
81492 # ------------- done int64_t types, emit intptr types ------------
81493 if test "$ac_cv_type_uintptr_t" != yes; then
81494 sed 's/^ *//' >> tmp-stdint.h <<EOF
81496 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81497 #ifndef __uintptr_t_defined
81498 #ifndef uintptr_t
81499 typedef u$acx_cv_type_intptr_t uintptr_t;
81500 #endif
81501 #endif
81502 #ifndef __intptr_t_defined
81503 #ifndef intptr_t
81504 typedef $acx_cv_type_intptr_t intptr_t;
81505 #endif
81506 #endif
81510 # ------------- done intptr types, emit int_least types ------------
81511 if test "$ac_cv_type_int_least32_t" != yes; then
81512 sed 's/^ *//' >> tmp-stdint.h <<EOF
81514 /* Define int_least types */
81515 typedef int8_t int_least8_t;
81516 typedef int16_t int_least16_t;
81517 typedef int32_t int_least32_t;
81518 #ifdef _INT64_T
81519 typedef int64_t int_least64_t;
81520 #endif
81522 typedef uint8_t uint_least8_t;
81523 typedef uint16_t uint_least16_t;
81524 typedef uint32_t uint_least32_t;
81525 #ifdef _UINT64_T
81526 typedef uint64_t uint_least64_t;
81527 #endif
81531 # ------------- done intptr types, emit int_fast types ------------
81532 if test "$ac_cv_type_int_fast32_t" != yes; then
81533 sed 's/^ *//' >> tmp-stdint.h <<EOF
81535 /* Define int_fast types. short is often slow */
81536 typedef int8_t int_fast8_t;
81537 typedef int int_fast16_t;
81538 typedef int32_t int_fast32_t;
81539 #ifdef _INT64_T
81540 typedef int64_t int_fast64_t;
81541 #endif
81543 typedef uint8_t uint_fast8_t;
81544 typedef unsigned int uint_fast16_t;
81545 typedef uint32_t uint_fast32_t;
81546 #ifdef _UINT64_T
81547 typedef uint64_t uint_fast64_t;
81548 #endif
81552 if test "$ac_cv_type_uintmax_t" != yes; then
81553 sed 's/^ *//' >> tmp-stdint.h <<EOF
81555 /* Define intmax based on what we found */
81556 #ifndef intmax_t
81557 #ifdef _INT64_T
81558 typedef int64_t intmax_t;
81559 #else
81560 typedef long intmax_t;
81561 #endif
81562 #endif
81563 #ifndef uintmax_t
81564 #ifdef _UINT64_T
81565 typedef uint64_t uintmax_t;
81566 #else
81567 typedef unsigned long uintmax_t;
81568 #endif
81569 #endif
81573 sed 's/^ *//' >> tmp-stdint.h <<EOF
81575 #endif /* GCC_GENERATED_STDINT_H */
81578 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81579 rm -f tmp-stdint.h
81580 else
81581 mv -f tmp-stdint.h include/gstdint.h
81585 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81586 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81587 "include/Makefile":F) cat > vpsed$$ << \_EOF
81588 s!`test -f '$<' || echo '$(srcdir)/'`!!
81589 _EOF
81590 sed -f vpsed$$ $ac_file > tmp$$
81591 mv tmp$$ $ac_file
81592 rm vpsed$$
81593 echo 'MULTISUBDIR =' >> $ac_file
81594 ml_norecursion=yes
81595 . ${multi_basedir}/config-ml.in
81596 { ml_norecursion=; unset ml_norecursion;}
81598 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81599 s!`test -f '$<' || echo '$(srcdir)/'`!!
81600 _EOF
81601 sed -f vpsed$$ $ac_file > tmp$$
81602 mv tmp$$ $ac_file
81603 rm vpsed$$
81604 echo 'MULTISUBDIR =' >> $ac_file
81605 ml_norecursion=yes
81606 . ${multi_basedir}/config-ml.in
81607 { ml_norecursion=; unset ml_norecursion;}
81609 "src/Makefile":F) cat > vpsed$$ << \_EOF
81610 s!`test -f '$<' || echo '$(srcdir)/'`!!
81611 _EOF
81612 sed -f vpsed$$ $ac_file > tmp$$
81613 mv tmp$$ $ac_file
81614 rm vpsed$$
81615 echo 'MULTISUBDIR =' >> $ac_file
81616 ml_norecursion=yes
81617 . ${multi_basedir}/config-ml.in
81618 { ml_norecursion=; unset ml_norecursion;}
81620 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81621 s!`test -f '$<' || echo '$(srcdir)/'`!!
81622 _EOF
81623 sed -f vpsed$$ $ac_file > tmp$$
81624 mv tmp$$ $ac_file
81625 rm vpsed$$
81626 echo 'MULTISUBDIR =' >> $ac_file
81627 ml_norecursion=yes
81628 . ${multi_basedir}/config-ml.in
81629 { ml_norecursion=; unset ml_norecursion;}
81631 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81632 s!`test -f '$<' || echo '$(srcdir)/'`!!
81633 _EOF
81634 sed -f vpsed$$ $ac_file > tmp$$
81635 mv tmp$$ $ac_file
81636 rm vpsed$$
81637 echo 'MULTISUBDIR =' >> $ac_file
81638 ml_norecursion=yes
81639 . ${multi_basedir}/config-ml.in
81640 { ml_norecursion=; unset ml_norecursion;}
81642 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81643 s!`test -f '$<' || echo '$(srcdir)/'`!!
81644 _EOF
81645 sed -f vpsed$$ $ac_file > tmp$$
81646 mv tmp$$ $ac_file
81647 rm vpsed$$
81648 echo 'MULTISUBDIR =' >> $ac_file
81649 ml_norecursion=yes
81650 . ${multi_basedir}/config-ml.in
81651 { ml_norecursion=; unset ml_norecursion;}
81653 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81654 s!`test -f '$<' || echo '$(srcdir)/'`!!
81655 _EOF
81656 sed -f vpsed$$ $ac_file > tmp$$
81657 mv tmp$$ $ac_file
81658 rm vpsed$$
81659 echo 'MULTISUBDIR =' >> $ac_file
81660 ml_norecursion=yes
81661 . ${multi_basedir}/config-ml.in
81662 { ml_norecursion=; unset ml_norecursion;}
81664 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81665 s!`test -f '$<' || echo '$(srcdir)/'`!!
81666 _EOF
81667 sed -f vpsed$$ $ac_file > tmp$$
81668 mv tmp$$ $ac_file
81669 rm vpsed$$
81670 echo 'MULTISUBDIR =' >> $ac_file
81671 ml_norecursion=yes
81672 . ${multi_basedir}/config-ml.in
81673 { ml_norecursion=; unset ml_norecursion;}
81675 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81676 s!`test -f '$<' || echo '$(srcdir)/'`!!
81677 _EOF
81678 sed -f vpsed$$ $ac_file > tmp$$
81679 mv tmp$$ $ac_file
81680 rm vpsed$$
81681 echo 'MULTISUBDIR =' >> $ac_file
81682 ml_norecursion=yes
81683 . ${multi_basedir}/config-ml.in
81684 { ml_norecursion=; unset ml_norecursion;}
81686 "po/Makefile":F) cat > vpsed$$ << \_EOF
81687 s!`test -f '$<' || echo '$(srcdir)/'`!!
81688 _EOF
81689 sed -f vpsed$$ $ac_file > tmp$$
81690 mv tmp$$ $ac_file
81691 rm vpsed$$
81692 echo 'MULTISUBDIR =' >> $ac_file
81693 ml_norecursion=yes
81694 . ${multi_basedir}/config-ml.in
81695 { ml_norecursion=; unset ml_norecursion;}
81697 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81698 s!`test -f '$<' || echo '$(srcdir)/'`!!
81699 _EOF
81700 sed -f vpsed$$ $ac_file > tmp$$
81701 mv tmp$$ $ac_file
81702 rm vpsed$$
81703 echo 'MULTISUBDIR =' >> $ac_file
81704 ml_norecursion=yes
81705 . ${multi_basedir}/config-ml.in
81706 { ml_norecursion=; unset ml_norecursion;}
81708 "python/Makefile":F) cat > vpsed$$ << \_EOF
81709 s!`test -f '$<' || echo '$(srcdir)/'`!!
81710 _EOF
81711 sed -f vpsed$$ $ac_file > tmp$$
81712 mv tmp$$ $ac_file
81713 rm vpsed$$
81714 echo 'MULTISUBDIR =' >> $ac_file
81715 ml_norecursion=yes
81716 . ${multi_basedir}/config-ml.in
81717 { ml_norecursion=; unset ml_norecursion;}
81719 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81721 esac
81722 done # for ac_tag
81725 as_fn_exit 0
81726 _ACEOF
81727 ac_clean_files=$ac_clean_files_save
81729 test $ac_write_fail = 0 ||
81730 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81733 # configure is writing to config.log, and then calls config.status.
81734 # config.status does its own redirection, appending to config.log.
81735 # Unfortunately, on DOS this fails, as config.log is still kept open
81736 # by configure, so config.status won't be able to write to it; its
81737 # output is simply discarded. So we exec the FD to /dev/null,
81738 # effectively closing config.log, so it can be properly (re)opened and
81739 # appended to by config.status. When coming back to configure, we
81740 # need to make the FD available again.
81741 if test "$no_create" != yes; then
81742 ac_cs_success=:
81743 ac_config_status_args=
81744 test "$silent" = yes &&
81745 ac_config_status_args="$ac_config_status_args --quiet"
81746 exec 5>/dev/null
81747 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81748 exec 5>>config.log
81749 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81750 # would make configure fail if this is the last instruction.
81751 $ac_cs_success || as_fn_exit 1
81753 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81755 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}